Learning
Cluster Talk at March 2008 Boston User Group -- Slides and Video Are Up!
- Add new comment
- Read more
- play
- download
- 1 hour 30 min
- 403.12 MB
- 46 plays
- 42 downloads
Backups: A Video Presentation By Keith Murphy From the June 2008 Boston MySQL User Group
- Add new comment
- Read more
- play
- download
- 1 hour 3 min
- 351 MB
- 458 plays
- 431 downloads
Video: A Match Made in Heaven? The Social Graph and the Database
- Add new comment
- play
- download
- 32 min 49 sec
- 228 MB
- 465 plays
- 284 downloads
Video: Falcon for Innodb Users
- Add new comment
- play
- download
- 40 min 47 sec
- 202.35 MB
- 205 plays
- 215 downloads
Video: Architecture of Maria: A New Storage Engine with a Transactional Design
- Add new comment
- play
- download
- 49 min 55 sec
- 293.05 MB
- 195 plays
- 168 downloads
Video: Testing PHP/MySQL Applications with PHPUnit/DbUnit
- Add new comment
- play
- download
- 1 hour 5 sec
- 229 MB
- 244 plays
- 121 downloads
Replication Presentation at the November 2007 Boston MySQL User Group
- Add new comment
- Read more
- play
- download
- 1 hour 56 min
- 645.8 MB
- 375 plays
- 362 downloads
Teaching Thinking Patterns
How do you teach a thinking pattern? In my previous job I worked with a data analyst, who was really good at thinking about how our data correlates among itself. He was good at the data analysis, good at thinking up relationships, and good at coming up with complex comparisons.
However, he wrote some pretty funky SQL. We had him take a course in basics of MySQL, and from time to time I’d take a gander in the slow query logs and pick a few queries and point out the good and bad things. Most of these are optimization tips, such as “Indexes don’t apply to columns when you’re applying a function to that column”.
MySQL Proxy Presentation at the September 2007 Boston MySQL User Group
Official Documentation for MySQL Proxy
Proxy information on the MySQL Forge Wiki, including getting started guide, link to FAQ, forums, and lots more articles.
MySQL Proxy Download
Articles about MySQL Proxy written by Giuseppe Maxia Giuseppe Maxia will be leading Introducing Lua for MySQL Proxy scripting for the [free] MySQL University on Thursday, December 13th at 16:00 CET (15:00 URC, 10:00 EDT, 07:00 PST). Make sure to sign up and read Instructions for Attendees. (From his blog, "MySQL University is a series of online expert lessons that you can join for free and attend from the comfort of your home or office. The slides are provided in either PDF of wiki pages, the audio is an ogg stream, and you can interact with the lecturer via IRC. If you have heard of MySQL Proxy but haven't got the time of getting involved with it yet, this session is for you. If you were interested but you thought that another scripting langiage would be too difficult, give this session a chance.") Note: the wishlist at the end includes startup scripts and integraton with my.cnf, my.cnf, which I am informed will be possible with the chassis currently under development for version 0.70.
The Real Reason Why Oracle Costs So Much
http://www.oracle.com/openworld/2007/appreciation.html
Now, Billy Joel is one of my all-time favorite pop musicians. I saw him in concert and nosebleed seats at the Boston Garden cost me USD $100 per ticket, and I bought 4 tickets (my twin brother is a die-hard Billy Joel fan, they were a holiday surprise 2 years ago!)
Billy Joel regularly sells out sports arenas. I can only imagine how much Oracle paid to have a concert with him.
And don’t get me wrong, the rest of the list is also stellar. Which only adds to my disbelief.
Log Buffer #72 — a Carnival of the Vanities for DBAs
Welcome to the 72nd edition of Log Buffer, the weekly review of database blogs.
Oracle OpenWorld (OOW) is over, and Lucas Jellema of the AMIS Technology blog notes the OOW Content Catalog has been updated with most of the presentations available for download.
On his way home from OOW, Chris Muir of the appropriately titled One Size Doesn’t Fit All blog notes how OOW and the Australian Oracle User Group Conference and OOW compare with regards to 99% fewer attendees in AUSOUG Perth conference - from 45k down to 350.
Top 10 MySQL Best Practices
So, O’Reilly’s ONLamp.com has published the “Top 10 MySQL Best Practices” at http://www.onlamp.com/pub/a/onlamp/2002/07/11/MySQLtips.html. Sadly, I find most “best practice” list do not thoroughly explain the “why” enough so that people can make their own decisions.
For instance, #3 is “Protect the MySQL installation directory from access by other users.” I was intrigued at what they would consider the “installation” directory. By reading the tip, they actually mean the data directory. They say nothing of the log directory, nor that innodb data files may be in different places than the standard myisam data directories.
“kill” Oddness
So, at midnight I got a call from customer service saying our site was slow. I narrowed it down to one of our auxiliary databases, that seems to have gotten wedged just about midnight. Normal queries that took less than 4 seconds started taking longer and longer, moving up to 5 seconds and past 30 seconds in the span of a minute or so.
In the moment, I thought killing off all the queries would be a good move. My kill script, which consists of:
<br />
for i in `/usr/bin/mysql -u user -pPass -e ’show full processlist’ | grep appuser | cut -f1`<br />
do<br />
mysql -u user -pPass -e “kill $i”<br />
done<br />
