Re: persistent connections, AOLserver (Was: maybe Offtopic : - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: persistent connections, AOLserver (Was: maybe Offtopic :
Date
Msg-id 20011216193909.T46323-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: persistent connections, AOLserver (Was: maybe Offtopic :  (marc@oscar.eng.cv.net (Marc Spitzer))
List pgsql-sql
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.




pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: performance tuning in large function / transaction
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: performance tuning in large function / transaction