Mysql Scaling: Presenters: Chris Schneider and Kevin Knapp
Mysql Scaling: Presenters: Chris Schneider and Kevin Knapp
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
Dell 2950 Sun T2000 Sun T5220 Sun T5240 SB6000/6300 SB6000/6320
RU 2 RU 2 RU 2 RU 2 RU 10 RU 10 RU
Dell 2950 Sun T2000 Sun T5220 Sun T5240 SB6000/6300 SB6000/6320
Total Instances 752 Instances 752 Instances 752 Instances 752 Instances 752 Instances 752 Instances
Total Systems 188 Systems 94 Systems 47 Systems 24 Systems 9 Systems 5 Systems
Total Rack Units 376 RU 188 RU 94 RU 48 RU 90 RU 50 RU
Total Racks 10 Rack 5 Rack 3 Rack 2 Rack 3 Rack 2 Rack
Systems Focus
Dell 2950 Sun T2000 Sun T5220 Sun T5240 SB6000/6300 SB6000/6320
Total Instances 752 Instances 752 Instances 752 Instances 752 Instances 752 Instances 752 Instances
Total Systems 188 Systems 94 Systems 47 Systems 24 Systems 9 Systems 5 Systems
Total Rack Units 376 RU 188 RU 94 RU 48 RU 90 RU 50 RU
Total Racks 10 Rack 5 Rack 3 Rack 2 Rack 3 Rack 2 Rack
Number of Systems
200
150
100
50
0
Dell 2950 Sun T2000 Sun T5220 Sun T5240 SB6000/6300 SB6000/6320
Datacenter Space
400
300
200
100
0
Dell 2950 Sun T2000 Sun T5220 Sun T5240 SB6000/6300 SB6000/6320
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