pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Y Sidhu <ysidhu@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Database connection for Tbl_B established
Date: Wed, 30 May 2007 14:45:07 -0700
Message-ID: <b09064f30705301445q13f2b608j2516c1e3eb4739bc@mail.gmail.com> (raw)

I have a question regarding "connection for xxyy established" The situation
below shows records being added to 3 tables which are heavily populated. We
never "update" any table, only read from them. Or we delete a full-day worth
of records from them.

The question is:  Is this method of repeatedly establishing and
re-establishing database connections with the same 3 tables efficient? As
in, is there a better way to add data?

Apr 25 03:38:47 saw alert_mgr[33696]: Database connection for Tbl_A
established
Apr 25 03:38:51 saw alert_mgr[33698]: Database connection for Tbl_B
established
Apr 25 03:38:54 saw alert_mgr[33700]: Database connection for Tbl_A
established
Apr 25 03:38:55 saw alert_mgr[25182]: user_new_locked: added 64 entries
(66880 total)
Apr 25 03:38:57 saw alert_mgr[33702]: Database connection for Tbl_B
established
Apr 25 03:38:59 saw alert_mgr[33704]: Database connection for Tbl_A
established
Apr 25 03:39:02 saw alert_mgr[33706]: Database connection for Tbl_B
established
Apr 25 03:39:04 saw alert_mgr[33708]: Database connection for Tbl_C
established
Apr 25 03:39:05 saw alert_mgr[33710]: Database connection for Tbl_A
established
Apr 25 03:39:06 saw alert_mgr[25182]: user_new_locked: added 64 entries
(66944 total)
Apr 25 03:39:06 saw alert_mgr[33712]: Database connection for Tbl_B
established
Apr 25 03:39:08 saw alert_mgr[33714]: Database connection for Tbl_A
established
Apr 25 03:39:11 saw alert_mgr[33716]: Database connection for Tbl_B
established
Apr 25 03:39:13 saw alert_mgr[33718]: Database connection for Tbl_A
established
Apr 25 03:39:15 saw alert_mgr[25182]: user_new_locked: added 64 entries
(67008 total)
Apr 25 03:39:18 saw alert_mgr[33720]: Database connection for Tbl_B
established

-- 
Yudhvir Singh Sidhu
408 375 3134 cell

view thread (3+ messages)  latest in thread

Message-ID: <b09064f30705301445q13f2b608j2516c1e3eb4739bc@mail.gmail.com>
Permalink:  ../b09064f30705301445q13f2b608j2516c1e3eb4739bc@mail.gmail.com/
Also on:    postgresql.org/message-id/b09064f30705301445q13f2b608j2516c1e3eb4739bc@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ysidhu@gmail.com
  Subject: Re: Database connection for Tbl_B established
  In-Reply-To: <b09064f30705301445q13f2b608j2516c1e3eb4739bc@mail.gmail.com>
  References: <b09064f30705301445q13f2b608j2516c1e3eb4739bc@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