Re: persistent connections, AOLserver (Was: maybe Offtopic :

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: persistent connections, AOLserver (Was: maybe Offtopic :
Дата
Msg-id 20011216193909.T46323-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: persistent connections, AOLserver (Was: maybe Offtopic :  (marc@oscar.eng.cv.net (Marc Spitzer))
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: performance tuning in large function / transaction
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: performance tuning in large function / transaction