MySQL Forums
Forum List  »  Newbie

Re: indexing on every column?
Posted by: Phil Smy
Date: November 20, 2009 07:17AM

Thanks Ben!

Unfortunately the data is fast and furious on inserts AND selects! I am going to try and pair down the column sizes.

I do have an index on starting_time which does seem to help. BUT that index doesn't seem to get used when doing:
starting_time > x and starting_time < y for some reason (not does it get used when doing a between) if I also have 'and id = z' in there.

I guess I was hoping for a 'oh, just do this!' answer :-)

Thanks again - more investigation warranted.

Options: ReplyQuote


Subject
Written By
Posted
November 19, 2009 07:06AM
November 19, 2009 07:09PM
November 19, 2009 09:29PM
November 20, 2009 02:17AM
November 20, 2009 07:11AM
Re: indexing on every column?
November 20, 2009 07:17AM
November 20, 2009 10:42AM
November 22, 2009 01:38PM
November 22, 2009 04:13PM


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.