Hi,
Just a question really
I'm working with quite a large amount of data (500,000 test clicks at the moment- but it could go as high as 2million, and maybe ever more)
I have an example query:
SELECT * FROM Clicks WHERE field = 1234 AND TheDate = 20101101 ORDER BY click_id
So, I currently have an index setup with "field", "TheDate" and "click_id"
My question - do I need the "click_id" in the index, or will it be just as quick without? I did a few tests - and it takes about 2.1 seconds to run ... which doesn't seem to bad to me?
TIA
Andy
Just a question really
I'm working with quite a large amount of data (500,000 test clicks at the moment- but it could go as high as 2million, and maybe ever more)
I have an example query:
SELECT * FROM Clicks WHERE field = 1234 AND TheDate = 20101101 ORDER BY click_id
So, I currently have an index setup with "field", "TheDate" and "click_id"
My question - do I need the "click_id" in the index, or will it be just as quick without? I did a few tests - and it takes about 2.1 seconds to run ... which doesn't seem to bad to me?
TIA
Andy