一個經常存取的表,一定要把它的資料和索引分佈在不同的磁碟上嗎?

heroqsx發表於2008-07-18

One popular approach to manual I/O distribution suggests separating a frequently used table from its index. This is not correct. During the course of a transaction, the index is read first, and then the table is read. Because these I/Os occur sequentially, the table and index can be stored on the same disk without contention. It is not sufficient to separate a datafile simply because the datafile contains indexes or table data. The decision to segregate a file should be made only when the I/O rate for that file affects database performance.

-- 引用自 <>

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/136097/viewspace-1007462/,如需轉載,請註明出處,否則將追究法律責任。

相關文章