Re: Suspending SELECTs - Mailing list pgsql-performance

From Tom Lane
Subject Re: Suspending SELECTs
Date
Msg-id 9997.1137435038@sss.pgh.pa.us
Whole thread Raw
In response to Re: Suspending SELECTs  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-performance
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I wonder if we could have a way to "suspend" a transaction and restart
> it later in another backend.  I think we could do something like this
> using the 2PC machinery.
> Not that I'm up for coding it; just an idea that crossed my mind.

It's not impossible, perhaps, but it would require an order-of-magnitude
expansion of the 2PC machinery --- the amount of state associated with
an open execution plan is daunting.  I think there are discussions about
this in the archives.

            regards, tom lane

pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Suspending SELECTs
Next
From: Mark Lewis
Date:
Subject: Re: Suspending SELECTs