MySQL Forums
Forum List  »  Performance

Re: Index Not being used.
Posted by: Rick James
Date: May 27, 2016 11:29PM

You want to receive 5,134,336 rows? And you want it 'fast'? Think about network timing -- it cannot be done 'fast'.

Did you time it with and without the FORCE INDEX? Either one _might_ be faster.

How much RAM do you have? What is the setting of key_buffer_size?

Which columns are in which tables? Please
* Qualify each column whenever using JOIN.
* Provide SHOW CREATE TABLE for each table.

Is this "Data Warehousing"? And the data in the table does not change after it is inserted? Then Summary tables is the answer. Easily get 10x speedup. See my blog: http://mysql.rjweb.org/doc.php/summarytables .

Options: ReplyQuote


Subject
Views
Written By
Posted
2824
May 26, 2016 02:29PM
1272
May 26, 2016 03:53PM
1121
May 27, 2016 12:45AM
1028
May 27, 2016 07:05AM
Re: Index Not being used.
1028
May 27, 2016 11:29PM
1143
May 31, 2016 07:04AM
973
May 31, 2016 09:26PM
1036
June 01, 2016 05:40AM
847
June 01, 2016 11:29AM
1074
June 01, 2016 11:41AM
1012
June 04, 2016 05:14PM
1040
May 27, 2016 10:14AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.