Re: Proof of concept: standalone backend with full FE/BE protocol - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Proof of concept: standalone backend with full FE/BE protocol
Date
Msg-id 1346954212.17637.8.camel@jdavis
Whole thread Raw
In response to Re: Proof of concept: standalone backend with full FE/BE protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proof of concept: standalone backend with full FE/BE protocol
List pgsql-hackers
On Wed, 2012-09-05 at 17:03 -0400, Tom Lane wrote:
> In general I think the selling point for such a feature would be "no
> administrative hassles", and I believe that has to go not only for the
> end-user experience but also for the application-developer experience.
> If you have to manage checkpointing and vacuuming in the application,
> you're probably soon going to look for another database.

Maybe there could be some hooks (e.g., right after completing a
statement) that see whether a vacuum or checkpoint is required? VACUUM
can't be run in a transaction block[1], so there are some details to
work out, but it might be a workable approach.

Regards,Jeff Davis

[1]: It seems like the only reason for that is so a multi-table vacuum
doesn't hold locks for longer than it needs to, but that's not much of a
concern in this case.




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: embedded list v2
Next
From: Robert Haas
Date:
Subject: Re: Minor document updates