MySQL Forums
Forum List  »  MyISAM

Re: Slow simple query in 4000000 records table
Posted by: Rick James
Date: November 29, 2010 10:55AM

KEY `datetime_reverse` (`datetime_reverse`),
KEY `datetime_r_nid` (`datetime_reverse`,`node_id`),
The former is redundant and can be dropped without loss of functionality.

innodb_buffer_pool_size | 650117120
Are some other tables using InnoDB? If not, then this is a big waste of RAM. Further details: http://mysql.rjweb.org/doc.php/memory

What is the rationale for LIMIT 3450000,50 ?

Can you use ranges of node_id instead of the LIMIT/OFFSET?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Slow simple query in 4000000 records table
1623
November 29, 2010 10:55AM


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.