[Django]-Django is terribly slow on Mac OS X Lion

4👍

OK, so to answer my own question, I found out it was actually just bad default settings for the MySQL installation. I ran over this script called MySQLTuner and it showed me some variables I should change. After following it’s recommendations the tests finish in normal times again.

👤Dennis

2👍

According to this TechCrunch article: Nine Things You Should Do After Installing OS X Lion, Lion is re-indexing your files. Leave it alone for a good few hours.

👤Kit

0👍

Following link may help >> http://www.stereoplex.com/blog/speeding-up-django-unit-test-runs-with-mysql

I config /etc/my.cnf with this suggestion, and Django runs fast!

[mysqld]
skip-sync-frm=OFF
👤ax003d

Leave a comment