From: Eric Bergen Date: March 4 2005 4:34pm Subject: Re: Speed of Inserts into MyIsam tables from mysqlbinlog List-Archive: http://lists.mysql.com/mysql/180878 Message-Id: <11b1bd9905030408346316bd2c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Since playing back binary logs is just like doing normal queries the tips on this page mostly apply. http://dev.mysql.com/doc/mysql/en/insert-speed.html Depending on your shell scripting level you might have to mysqlbinlog to a file then add in lock statments or whatever you decide to use. -Eric On Fri, 4 Mar 2005 00:20:55 -0500, Thomas Lekai wrote: > I was running a table in InnoDB, and the table had about 6 indexes, none > of which seemed to be affected when I ran mysqlbinlog against the tables > in order to apply bin-logs from production against a test system. I was > manage to process upwards of 2300 queries per second by throwing about > 1.8 GB of memory into the innodb_buffer_pool. > > Now that I am dealing with MyIsam tables, I shifted my memory towards > the key_buffer, and am considering using bulk_insert_buffer_size. I am > not sure what is a good value for the bulk_insert_buffer_size. I have > also removed all indexes that are not needed from the table while it is > being loaded with data. > > My question, is there anything else that I can do to increase the speed > of the inserts into this MyIsam table as the bin_logs are played back on > the system? This is also used to help gauge performance, so this method > of inserting data is important to the process as a whole. > > Regards, > > Thomas. > > -- Eric Bergen eric.bergen@stripped http://www.ebergen.net