MySQL Forums :: InnoDB :: mysql got signal 6 and restarted twice in last 2 days


Advanced Search

Re: mysql got signal 6 and restarted twice in last 2 days
Posted by: Peter Brawley ()
Date: February 27, 2017 11:00AM

> where column41 in(select c_id from tbl_e where c_b_s !='xys') and c_time between 'timestamp' and 'timestamp' limit 50000;

Limit does not optimise well. That query will perform much better if you precompute timestamp boundaries of the desired chunk. If it still behaves like a pig, also precompute the ...!=tbl_c.id... condition.

And tbl_e is somewhat like this table? Consider carefully monitoring how much swapping these queries elicit. Everything about this problem says you need more RAM for what you're trying to do.

Options: ReplyQuote


Subject Views Written By Posted
mysql got signal 6 and restarted twice in last 2 days 263 Vaibhav Upadhyay 02/22/2017 04:24AM
Re: mysql got signal 6 and restarted twice in last 2 days 115 Jon Stephens 02/22/2017 05:01PM
Re: mysql got signal 6 and restarted twice in last 2 days 97 Vaibhav Upadhyay 02/23/2017 08:28AM
Re: mysql got signal 6 and restarted twice in last 2 days 92 Vaibhav Upadhyay 02/24/2017 03:27AM
Re: mysql got signal 6 and restarted twice in last 2 days 110 Peter Brawley 02/24/2017 11:11AM
Re: mysql got signal 6 and restarted twice in last 2 days 88 Vaibhav Upadhyay 02/25/2017 02:38PM
Re: mysql got signal 6 and restarted twice in last 2 days 86 Peter Brawley 02/25/2017 09:05PM
Re: mysql got signal 6 and restarted twice in last 2 days 138 Vaibhav Upadhyay 02/26/2017 07:19AM
Re: mysql got signal 6 and restarted twice in last 2 days 88 Peter Brawley 02/26/2017 11:56AM
Re: mysql got signal 6 and restarted twice in last 2 days 122 Vaibhav Upadhyay 02/27/2017 06:35AM
Re: mysql got signal 6 and restarted twice in last 2 days 74 Peter Brawley 02/27/2017 11:00AM
Re: mysql got signal 6 and restarted twice in last 2 days 96 Vaibhav Upadhyay 02/27/2017 12:42PM
Re: mysql got signal 6 and restarted twice in last 2 days 24 Vaibhav Upadhyay 04/24/2017 06:57AM


Sorry, only registered users may post in this forum.

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.