Re: How to improve the insertion speed
># Innobd Tuning
>innodb_buffer_pool_size=6G # Should 50%-80% of the available RAM
its is too high for a 7G RAM System.
1). you can collect new rows into a temp table and then transfer them into your `messa` table.
2). use latin1 instead of utf8, as utf8 uses upto 3 bytes/char.
3). Try innodb_flush_log_at_trx_commit=2 ( not 0), innodb_doublewrite=OFF ( when top performance is needed rather than concern for data integrity or possible failures)
4). innodb_log_file_size is set to default, try to increase this too ,The larger the value, the less checkpoint flush activity is needed in the buffer pool, saving disk I/O. But larger log files also mean that recovery is slower in case of a crash
Edited 1 time(s). Last edit at 05/21/2009 02:27AM by Aftab Khan.
Subject
Views
Written By
Posted
3955
May 20, 2009 08:31PM
3220
May 20, 2009 11:58PM
2385
May 21, 2009 12:13AM
Re: How to improve the insertion speed
2085
May 21, 2009 02:24AM
2028
May 24, 2009 07:44PM
2168
May 25, 2009 03:08PM
1974
May 25, 2009 05:16PM
2027
May 25, 2009 06:30PM
1951
May 25, 2009 06:58PM
2030
May 26, 2009 12:45AM
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.