mysql innodb default configuration performance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-4.1 (Ubuntu) |
Invalid
|
Medium
|
Adam Conrad |
Bug Description
Hello,
I have tried to import data from an sql create/insert export file with a few
records (3K records for the bigger table) and it took 1m25s .
I have tunned the innodb configuration on /etc/mysql/my.cnf based on a file from
a FreeBSD system I had access to, added:
# Set .._log_file_size to 25 % of buffer pool size
innodb_
innodb_
innodb_
innodb_
Removed the logfiles for recreation
sudo rm /var/lib/
Restarted mysql and ran the same import, it now takes 2s .
(I am sure its not the system cache, without the mysql innodb configuration
change I always get the same BAD performance).
I am not sure filling this as a bug is the correct procedure, but since this
makes the default mysql install almost unusable at least for a few KBs of
consecutive inserts on with innodb tables I believe it was the best option.
Please send a unified diff (diff -u) of your old and new configurations.