I insert into a simple small table with 5 attributes and 1000 rows.
I observed when the INNODB engine, each insert takes 0.03-0.05 seconds. I changed the engine to MYISAM, then insert faster. it takes 0.001 to 0.003.
What is the problem. innodb_flush_log_trx_commit = 1 by default. I was as I am. Here is my innodb installation.
innodb_log_buffer_size : 1MB innodb_log_file_size : 5MB innodb_buffer_pool_size: 8MB innodb_flush_log_trx_commit = 1
I could not understand what went wrong. Thanks in advance. Sincerely, Uday
source share