Re: question on backends
От | Luis Alberto Amigo Navarro |
---|---|
Тема | Re: question on backends |
Дата | |
Msg-id | 00ae01c2372c$c0ff22f0$cab990c1@atc.unican.es обсуждение исходный текст |
Ответ на | question on backends ("Luis Alberto Amigo Navarro" <lamigo@atc.unican.es>) |
Ответы |
Re: question on backends
|
Список | pgsql-hackers |
if i put debug_level=1 i get for one connect and several inserts on backend die after each insert ----- Original Message ----- From: "Hannu Krosing" <hannu@tm.ee> To: "Luis Alberto Amigo Navarro" <lamigo@atc.unican.es> Cc: <pgsql-hackers@postgresql.org> Sent: Monday, July 29, 2002 8:42 PM Subject: Re: [HACKERS] question on backends > On Mon, 2002-07-29 at 11:32, Luis Alberto Amigo Navarro wrote: > > 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 think you have misunderstood it. A new backend is forked only when a > new connection is made, not for every transaction. > > There may be some frontends that do make a new connection for each http > request or such, but most of them allow for persistent connections, > either as an option or by default. > > > 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. > > ------------------ > Hannu > >
В списке pgsql-hackers по дате отправления: