MySQL Forums
Forum List  »  Performance

Re: Optimize multiple writes on the same row
Posted by: Rick James
Date: March 18, 2012 10:06AM

1000 inserts/sec is over 3 million rows per hour, or 1 billion in two weeks. Please provide some actual numbers so I can tailor a solution to your needs.

Also, please provide SHOW CREATE TABLE for the data table and the table with the averages. SHOW TABLE STATUS will provide the sizes.

And, the query that you run frequently to compute the averages, etc.

Recomputing the average of a million rows every time a row is added is not the best way to do it.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Optimize multiple writes on the same row
944
March 18, 2012 10:06AM


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.