pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Marc Spitzer <marc@oscar.eng.cv.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: persistent connections, AOLserver (Was: maybe Offtopic :
Date: Sun, 16 Dec 2001 19:40:24 -0800 (PST)
Message-ID: <20011216193909.T46323-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <slrna1qkde.206t.marc@oscar.eng.cv.net>


On Mon, 17 Dec 2001, Marc Spitzer wrote:

> In article <20011203110458.E93680-100000@megazone23.bigpanda.com>,
> Stephan Szabo wrote:
> > On Fri, 30 Nov 2001, Steve Brett wrote:
> >
> >> is there a limit/guide to the number of inserts you should use in a
> >> transaction block ?
> >
> > Not a hard one, but I usually do thousands of rows (around 5k) per
> > transaction when I'm batch inserting, and I usually set it there so
> > I can watch its progress from another db session as the counts rise.
> >
>
> How do you set up the other session to watch?

Usually I just set up something to do throw an occasional query to the
server every so often (small script or something).  Something like a
select count(*) or select id order by id desc limit 1 type query.





view thread (4+ messages)

Message-ID: <20011216193909.T46323-100000@megazone23.bigpanda.com>
Permalink:  ../20011216193909.T46323-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20011216193909.T46323-100000@megazone23.bigpanda.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-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, marc@oscar.eng.cv.net
  Subject: Re: persistent connections, AOLserver (Was: maybe Offtopic :
  In-Reply-To: <20011216193909.T46323-100000@megazone23.bigpanda.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