osx - MySQL InnoDB insertion is very slow -


We use the MySQL server 5.1.43 64-bit version. InnoDB is used as an engine.

We have a SQL script, which we execute every time we create an application.

With MySQL server and InnoDB engine, it takes about 55 seconds on the Ubuntu machine to complete the execution.

If I run the same script on OSX, it takes about 3 minutes!

Any ideas why OSX is so slow when executing this script?

You start the server with my.ini changed

You can try to use
  innodb_flush_log_at_trx_commit = 2  

and

  innodb_flush_log_at_trx_commit = 1  to use the output Back to 

I doubt that FSINC API in OSX is slower than Linux?


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -