MySQL Forums
Forum List  »  General

Re: Indexing problems
Posted by: James Woodward
Date: October 27, 2004 01:20PM

Embarassingly enough this was a single query. The WebApp was written by somebody else quite awhile ago. When I realized what you said as far as how much data was being transfered I re-wrote large portions of this page. I'm not confident that this will solve the indexing problem but it's something that should have been fixed.

So I've done a ' show stats LIKE 'Keys%'; and here are the results
i did this test with the code before the change and the code after the change and
the results were identical. Obviosly there was a large difference in the Bytes_sent
but all I've listed are the Key values. The only difference between now and last night
was that I stopped the database to do a few myisamchk checks with -a and -e.
I did a myisamchk -r just in case.

------------------------------------
After Flush
Key_blocks_used: 313
Key_read_requests: 0
Key_reads: 0
Key_write_requests: 0
Key_writes: 0
------------------------------------
After Query 1
Key_blocks_used: 313
Key_read_requests: 118
Key_reads: 0
Key_write_requests: 0
Key_writes: 0
------------------------------------
After Query 10
Key_blocks_used: 313
Key_read_requests: 1180
Key_reads: 0
Key_write_requests: 0
Key_writes: 0
------------------------------------

Options: ReplyQuote


Subject
Written By
Posted
October 25, 2004 07:31PM
October 25, 2004 07:49PM
October 25, 2004 08:25PM
October 25, 2004 08:39PM
October 25, 2004 08:55PM
October 26, 2004 08:15PM
October 26, 2004 08:22PM
October 26, 2004 11:11PM
October 26, 2004 11:29PM
October 27, 2004 12:01AM
October 27, 2004 01:21AM
Re: Indexing problems
October 27, 2004 01:20PM
October 27, 2004 06:34PM
October 28, 2004 10:03PM
October 29, 2004 02:20AM
November 07, 2004 01:25AM
October 26, 2004 11:34AM
October 26, 2004 01:48PM
October 26, 2004 02:14PM
November 10, 2004 11:18AM


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.