Re: Moving more work outside WALInsertLock
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Jeff Janes <jeff.janes@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-12-23T19:54:23Z
Lists: pgsql-hackers
Attachments
- xloginsert-scale-2.patch (text/x-diff) patch
On 23.12.2011 15:23, Robert Haas wrote: > On Fri, Dec 23, 2011 at 3:15 AM, Heikki Linnakangas > <heikki.linnakangas@enterprisedb.com> wrote: >> On 23.12.2011 10:13, Heikki Linnakangas wrote: >>> So, here's a WIP patch of what I've been working on. >> >> And here's the patch I forgot to attach.. > > Fails regression tests for me. I found this in postmaster.log: > > PANIC: could not find WAL buffer for 0/2ECA438STATEMENT: ANALYZE onek2; > LOG: stuck waiting upto 0/3000000 > LOG: server process (PID 34529) was terminated by signal 6: Aborted > DETAIL: Failed process was running: ANALYZE onek2; Sorry. Last minute changes, didn't retest properly.. Here's another attempt. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com