I'm working on a database with the following characteristics:
I already know a fair bit about postgres optimization, but I was hoping there might be some additional tricks that are more suited to my particular use case.
You can disable the WAL, perhaps by pointing it to /dev/null or RAMDISK. Note there is some speculation that you may not be able to restart the DB after even a clean stop, so I advise caution and testing.
Make sure you cluster your tables. Partitioning might help as well.
Certainly disable synchronous_commits.
http://wiki.postgresql.org/wiki/FAQ#How_do_I_tune_the_database_engine_for_better_performance.3F
You might want to use unlogged tables (available as of 9.1) for that. It's basically a table for which the WAL is disabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With