| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Markus Wanner <markus(at)bluegap(dot)ch> |
| Cc: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, fazool mein <fazoolmein(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: xlog.c: WALInsertLock vs. WALWriteLock |
| Date: | 2010-10-27 15:06:17 |
| Message-ID: | 1288191884-sup-5858@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Excerpts from Markus Wanner's message of mié oct 27 11:44:20 -0300 2010:
> On 10/26/2010 05:52 PM, Alvaro Herrera wrote:
> > And horrible for performance, I imagine. Those locks are highly trafficked.
>
> Note, however, that offloading this to the file-system just moves
> congestion there. So we are effectively saying that we expect
> filesystems to do a better job (in that aspect) than our WAL implementation.
Well, you can just read at your pace from the filesystem; the data is
going to stay there for a long time. WAL buffers are constantly moving,
and aren't as big.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aidan Van Dyk | 2010-10-27 15:16:03 | Bikeshedding on enum vocabulary |
| Previous Message | Alvaro Herrera | 2010-10-27 14:57:54 | Re: add label to enum syntax |