15 Ways to Kill Your MySQL Application Performance
From Technical Presentations
| Presenter(s): | Jay Pipes, Community Relations Manager, North America, MySQL AB |
|---|---|
| Where: | PHP Tek 2007 |
| When: | April 26, 2007 |
| Topics: | MySQL, Performance |
| Download: |
[edit] 15 Ways to ...
- Thinking too small
- Not using EXPLAIN
- Choosing the wrong data types
- Using persistent connections in PHP
- Using a heavy DB abstraction layer
- Not understanding storage engines
- Not understanding index layouts
- Not understanding how the query cache works
- Using stored procedures improperly
- Operating on an indexed column with a function
- Having missing or useless indexes
- Not being a join-fu master
- Not accounting for deep scans
- Doing SELECT COUNT(*) without WHERE on an InnoDB table
- Not profiling or benchmarking
- Not using AUTO_INCREMENT
- Not using ON DUPLICATE KEY UPDATE
[edit] Profiling tools
- EXPLAIN
- ApacheBench (ab)
- Slow Query Log
- MyBench
- mysqlslap
- SHOW PROFILE
- JMeter/Ant
- MyTop/innotop
- super-smack
- SysBench
Facts about 15 Ways to Kill Your MySQL Application PerformanceRDF feed
| Date | 26 April 2007 + |
| PDF Document URL | http://hades.phparch.com/files/tek07/jay_pipes-kill_mysql_performance.pdf + |
| Presented at | PHP Tek 2007 + |
| Presenter | Jay Pipes + |
| Presenter Company | MySQL AB + |
| Screenshot | 15 Ways to Kill Your MySQL Application Performance.jpg + |
| SlideShare presentation | how-to-kill-mysql-performance-1201635569837936-3 + |
| Topic | MySQL +, and Performance + |