pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Y Sidhu <ysidhu@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Database connection for Tbl_B established
Date: Wed, 30 May 2007 16:36:50 -0700
Message-ID: <b09064f30705301636m16f0f80x21bd4be924cc812e@mail.gmail.com> (raw)
In-Reply-To: <22202.1180564331@sss.pgh.pa.us>
References: <b09064f30705301445q13f2b608j2516c1e3eb4739bc@mail.gmail.com>
	<22202.1180564331@sss.pgh.pa.us>

You are referring to pgpool? BTW, thanks for this insight.

Yudhvir
========

On 5/30/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Y Sidhu" <ysidhu@gmail.com> writes:
> > The question is:  Is this method of repeatedly establishing and
> > re-establishing database connections with the same 3 tables efficient?
>
> No.  Launching a new backend process is a fairly expensive proposition;
> if you're striving for performance you don't want to do it for just one
> or two queries.  Look into connection pooling ...
>
>                         regards, tom lane
>



-- 
Yudhvir Singh Sidhu
408 375 3134 cell

view thread (3+ messages)

Message-ID: <b09064f30705301636m16f0f80x21bd4be924cc812e@mail.gmail.com>
Permalink:  ../b09064f30705301636m16f0f80x21bd4be924cc812e@mail.gmail.com/
Also on:    postgresql.org/message-id/b09064f30705301636m16f0f80x21bd4be924cc812e@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: ysidhu@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Database connection for Tbl_B established
  In-Reply-To: <b09064f30705301636m16f0f80x21bd4be924cc812e@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox