Quote:
Originally posted by slimdave
The trouble is that the myth of table and index separation is so ingrained that many people now view it as "a basic step" -- it's like it's as natural as breathing.
I don't think that the benefits of spreading of table and index segments are confined to RAID arrays. What you want to do on anything but the smallest, simplest system is spread the load out as much as possible. When you have thirty users accessing the db at the same time you want to spread out your hot tables and indexes so that the disk that is accessed is virtually random. When a batch job scans a couple of big tables you want to spread out the impact as much as possible, not focus it on one or two disks.
Even if you have only 4 simple unraided disks, spread the table over all four, and spread the index over all four. When the system is being loaded up by your users, you want to see all the disk lights flashing at the same time. If you saw disk2 2 & 4 light up, then 1 & 3, then 2 & 4 again, it would be a pretty clear indication that your loadis not spreadout, and someone, somewhere, is getting excessive waiting on i/o operation. Monitor the length of the disk queue on your disks. If the values are not pretty evenly distributed, then you have the same problem.
Dave :