Re: long running, can't get to use index
General factors: InnoDB table? What is innodb_buffer_pool_size, how much RAM is available to MySQL, does running Analyze Table (to update stats) make a diff?
Specifics: If the table has index(r_userid,r_create_tm,r_status,r_type), you FORCE this index, and yet performance does not much improve, I think you've shown that the optimiser was right in estimating that a table scan would perform just about as well.
Subject
Views
Written By
Posted
1119
March 24, 2017 10:10AM
Re: long running, can't get to use index
625
March 24, 2017 10:32AM
611
March 24, 2017 10:41AM
578
March 27, 2017 10:39AM
642
March 27, 2017 02:04AM
688
April 03, 2017 10:34AM
611
April 03, 2017 12:08PM
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.