MySQL Forums
Forum List  »  Performance

Re: Slow insert rate in mysql innodb
Posted by: Dhinakaran Arumugam
Date: February 11, 2014 10:04PM

Thanks for your reply Rick. Sorry i was sick couldn't reply on time.



> KEY `host` (`host`,`priority`,`suppression_flag`)
Currently up to 54 bytes. Changing to MEDIUMINT+ENUM+ENUM = 5 bytes.

>> I'm doing this change and let you know the results.

how many distinct `host`s are there?
>> 200 - 300 Avg, Max 1000.

How many rows do you anticipate in a 1-day PARTITION?
>> Expecting 4000 records per sec (4000 * 60 * 60 * 24 = 345 million) records expected to be inserted, but current rate only 216millin are inserted.

> How big is errorname & message?
>> Errorname and message cab be more than 4000 chars, but we wanted to store only 4000 chars, even if the original is bigger.



Edited 1 time(s). Last edit at 02/11/2014 10:34PM by Dhinakaran Arumugam.

Options: ReplyQuote


Subject
Views
Written By
Posted
2793
January 28, 2014 06:46PM
1789
January 30, 2014 08:31PM
2262
January 31, 2014 08:31PM
1515
February 07, 2014 11:00AM
Re: Slow insert rate in mysql innodb
1380
February 11, 2014 10:04PM
1714
February 12, 2014 07:30PM


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.