Re: tablespace patch - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: tablespace patch
Date
Msg-id 04bb01c31387$637105d0$6500a8c0@fhp.internal
Whole thread Raw
In response to tablespace patch  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
> Well, they shouldn't be using Relations, for sure.  Something based
> on knowing only RelFileNode would be appropriate.  Vadim wrote a few
> messages about this back when he was still active --- check the
> archives.
>
> In my mind a touchstone for a proper redesign of this layer is that
> the checkpoint process should not be handicapped by not being a full
> backend.  Right now, all checkpoint buffer writes happen via
> smgrblindwrt, which is a nontrivial performance loss.  Ideally the
> notion of "blind write" should go away, because you shouldn't need
> anything more than the RelFileNode and block number, which are both
> available from the shared buffer descriptor.

Hmmm...might be a bit out of my league...  I'll look into it all, but
something tells me it'll take me quite a while :)

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: tablespace patch
Next
From: Tom Lane
Date:
Subject: Re: Hypothetical suggestions for planner, indexing improvement