MySQL Forums
Forum List  »  Newbie

Re: Inserting a MySQL select result not working?
Posted by: Amanda J
Date: October 15, 2017 11:09AM

I had mis-understood the BETWEEN syntax. Thought the 0 year was counted.

I had to re-calculate all of my moving averages to get 5 year values.

But very happy to say all of the tables are now updated and loaded,

The global table (956536 rows) took 19 mins 3.83 sec to return a result.

Re-running with the UPDATE 30 mins 21.125 sec. Everything else was returning a result in under 10 seconds

This was with innodb_buffer_pool_size = 11G. The sort_buffer_size = 2M.

Also now get GROUP BY - just had it back to front :).

So my very warm thanks for the patient guidance. A serious value add!

Options: ReplyQuote


Subject
Written By
Posted
Re: Inserting a MySQL select result not working?
October 15, 2017 11:09AM


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.