question on backends

From: "Luis Alberto Amigo Navarro" <lamigo(at)atc(dot)unican(dot)es>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: question on backends
Date: 2002-07-29 09:32:46
Message-ID: 006e01c236e2$e6152750$cab990c1@atc.unican.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all
As I understand every time there is a request to postgres a new backend is made, and when the request is finished, even if the connection is already active the backend dies. I wonder if is there any parameter that allow backends to remain beyond a transaction. Creating a new backend every time a transaction is made means forking the code and reallocating sort_memory. Although it is not a high resource usage, on short transactions as OLTPs it is a relevant work time, I think it would be interesting that a predefined number of backends were allowed to remain active beyond the transaction.
Thanks and Regards

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Luis Alberto Amigo Navarro 2002-07-29 09:50:42 Re: Question about LWLockAcquire's use of semaphores instead of spinlocks
Previous Message Dave Cramer 2002-07-29 09:28:26 Re: JDBC does not compile