Andres Freund wrote: > On 2014-02-14 08:06:40 +0100, Jesper Krogh wrote:
> > The build in mechanism, that cleanup is i cost paid by the process who > > happened to fill the pendinglist, is really hard to deal with in > > production. More control is appreciated, perhaps even an explicit > > flush-mechanism.. I'd like to batch up inserts during one transaction > > only and flush on commit. > > That doesn't seem likely to work with a reasonable amount of effort. The > fastupdate list is shared across all processes, so one backend will > always pay the price for several others. Unless some other process does it, such as autovacuum. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers