MySQL Forums
Forum List  »  Performance

Re: speed up query
Posted by: Rick James
Date: May 01, 2010 09:54AM

Disk speed is often the brick wall 'big' databases hit. So, I try to suggests ways that significantly postpone hitting that wall.

Increasing RAM so that all the data fits in cache avoids the disk barrier. But that is costly. Also, you become CPU-bound; as the data grows, so will the CPU time. This cannot be cured with hardware. We have reviewed Indexes; no further fixes available there. It has to be cured with redesigning the schema and/or application. (Hence, that is what I concentrate on.)

Once the data gets too big for cache, you get a 10x slowdown because of disk sluggishness. Then...

Faster disks won't give you 2x improvement.

RAID with striping and battery-backed-write-cache will give perhaps 3x improvement.

SSDs might give you 3x-10x improvement over RAID. But it is costly.

Then you are at the brick wall.

Options: ReplyQuote


Subject
Views
Written By
Posted
4140
April 18, 2010 06:42AM
1506
April 18, 2010 04:04PM
1587
April 18, 2010 05:40PM
1316
April 27, 2010 02:29PM
1455
April 27, 2010 07:59PM
1320
April 28, 2010 12:12AM
1576
April 28, 2010 06:22AM
1523
April 29, 2010 01:03AM
1377
April 29, 2010 02:17AM
1382
April 29, 2010 08:19AM
1385
April 29, 2010 09:18AM
1312
April 30, 2010 12:30AM
1564
April 30, 2010 07:47AM
1485
April 30, 2010 08:21AM
1398
April 30, 2010 10:08AM
1319
May 01, 2010 02:34AM
Re: speed up query
1333
May 01, 2010 09:54AM
1288
May 01, 2010 10:48AM
1415
May 01, 2010 02:20PM
1355
May 02, 2010 03:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.