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
1215
March 24, 2017 10:10AM
Re: long running, can't get to use index
708
March 24, 2017 10:32AM
667
March 24, 2017 10:41AM
648
March 27, 2017 10:39AM
703
March 27, 2017 02:04AM
752
April 03, 2017 10:34AM
679
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.