On Sun, Dec 4, 2011 at 5:10 PM, Vinay Sajip <[email protected]> wrote: > > On Dec 5, 12:57 am, Anssi Kääriäinen <[email protected]> wrote: > >> There is one easy thing you can do for testing, set fsync to off in >> postgresql.conf. The file is probably at /etc/postgresql/9.1/main/ >> postgresql.conf. Then restart the server and tests should be way >> faster. Note that if your machine crashes, you will likely lose all >> data. But as this is testing server that should not matter. > > I've already done the fsync = off, but it didn't make that much > difference :-(
See also: http://www.revsys.com/writings/postgresql-performance.html Postgresql ships with some not-great default settings. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
