Re: Inserts optimization?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane writes:

Also, increasing checkpoint_segments and possibly wal_buffers helps a
lot for write-intensive loads.

Following up on those two recomendations from Tom.
Tom mentioned in a different message that if the inserst are small that increasing wal_buffers would not help.

How about checkpoint_segments?
Also commit_delays seems like may be helpfull. Is it too much a risk to set commit_delays to 1 second? If the machine has any problems while having a higher commit_delay will the end result simply be that a larger amount of transactions will be rolled back?

p.s. did not CC Tom because he uses an RBL which is rather "selective" about what it lets through (one of the worst in my opinion).

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux