I'm working on a database with the following characteristics:
- Many inserts (in the range of 1k/second)
- Lots of indices on the data, complex joins
- NO Deletes or updates, only inserts, read and table drops
- I don't care if the reads to the database reflect accurate state
- Data isn't critical, I'm already running fsync=off
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.
INSERTs orSELECTs? You've hit the biggies. Unlogged tables are going to be hot, but until then... have you increased yourcheckpoint_segmentsyet?