120 likes | 256 Views
Join Chris Schneider and Kevin Knapp as they explore MySQL scaling methodologies, including local vs. shared storage solutions, and the impact of different file systems like EXT3, XFS, and ZFS on performance. This presentation highlights key considerations for optimizing InnoDB and MyISAM configurations, effective backup strategies, and the importance of benchmarking with tools like Sysbench and Supersmack. Discover real-world case studies, including shared hosting environments with thousands of users, and learn how to enhance your MySQL database performance through best practices and insightful Q&A.
E N D
MySql Scaling Presenters: Chris Schneider And Kevin Knapp
Intro • Consolidation methodologies • Local vs Shared • Local storage, NFS, iSCSI, Fiber • File systems • EXT3, XFS, VXFS and ZFS • Sun hardware • Innodb Performance • Sharding
Local vs. SAN • Considerations • Partitioning • Type of disk and setup • Backups • LVM, mysqldump, parallel, rdiff, innodb hot backup • The key is to Benchmark • Sysbench • Supersmack • Home grown
Test on different file systems • EXT3 • Traditional and widely used • XFS • Has been great to work with in my experience • Show best performance in in my benchmarks • ZFS • Snapshots with no penalties
The Tortus and the Hare • Waterfalls • Seven Falls • Niagra • The case study: • Shared hosting environment • Hundreds of thousands of users • Users with almost full autonomy • MySql 4.0, 4.1 and 5.0
Performance • Memory Allocations • Optimized SQL • Normalize till it hurts denormalize till it works • Innodb vs MyISAM • Transactions and concurrent inserts • Timing and location of script and backup execution • Recoverability • Point in time
Q & A • Questions