From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Russell Smith <mr-russ(at)pws(dot)com(dot)au> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: parallel pg_restore - WIP patch |
Date: | 2008-09-26 13:25:04 |
Message-ID: | 48DCE2B0.4060101@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Russell Smith wrote:
> I'm sorry, I meant processes there. I'm aware there are no threads.
> But my feeling was that when you forked with open files you got all of
> the open file properties, including positions, and as you dupped the
> descriptor, you share all that it's pointing to with every other copy of
> the descriptor. My brief research on that shows that in 2005 there was
> a kernel mailing list discussion on this issue.
> http://mail.nl.linux.org/kernelnewbies/2005-09/msg00479.html was quite
> informative for me. I again could be wrong but worth a read. If it is
> true, then the file needs to be reopened by each child, it can't use the
> duplicated descriptor. I haven't had a change to implementation test is
> as it's late here. But I'd take a stab that it will solve the
> compression library problems.
>
> I hope this helps, not hinders
>
>
>
I'm sure that's the problem. Should be fairly easily fixable, I believe.
Thanks for the info.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2008-09-26 13:34:41 | Re: Updates of SE-PostgreSQL 8.4devel patches |
Previous Message | Heikki Linnakangas | 2008-09-26 13:20:21 | Re: FSM, now without WAL-logging |