MySQL Forums
Forum List  »  Performance

Re: Challenging performance demand
Posted by: Daniel Nichter
Date: June 03, 2005 07:50AM

Here's an idea: Make a composite index on the whole table (every column, starting of course with symbol, etc. as you have it now). Even though the queries are using an index, MySQL still has to hit the hard drive to get the other column values since the queries are SELECT *, and since the current index already covers 4 of 7 total columns, why not just add in the remaining 3? This would allow MySQL to fetch entire rows from the index and avoid the hard drive. Then, you could load the entire index into RAM with LOAD INDEX INTO CACHE. Along with DELAY_KEY_WRITE already, MySQL should handle the table entirely in RAM.

Options: ReplyQuote


Subject
Views
Written By
Posted
2708
June 02, 2005 03:16PM
1824
June 03, 2005 07:10AM
Re: Challenging performance demand
1815
June 03, 2005 07:50AM
1760
July 13, 2005 10:10AM
1786
July 14, 2005 10:02AM
1888
July 14, 2005 12:03PM
1798
July 17, 2005 03:07AM


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.