MySQL Forums
Forum List  »  Performance

Re: Optimizing the MySQL server performance
Posted by: KimSeong Loh
Date: September 28, 2005 10:06PM

You have a lots of INSERT.

How do you actually do the INSERT?
1 row per INSERT statement or multi row INSERT.
1 multi-row insert of 100 rows is faster than 100 single row insert.

And, can you do a LOAD DATA INFILE to batch load the data instead of using INSERT since you have lots of data to insert.

INSERT DELAYED is another possible option.

Another note is that indexes slow down INSERT, do you have unnecessary indexes you can remove.

Options: ReplyQuote


Subject
Views
Written By
Posted
1849
September 21, 2005 04:29PM
1379
September 23, 2005 01:59PM
1412
September 27, 2005 09:16AM
Re: Optimizing the MySQL server performance
1452
September 28, 2005 10:06PM
1427
September 29, 2005 08:23AM


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.