slowness with holdable cursor

Поиск
Список
Период
Сортировка
От Andrea Grassi
Тема slowness with holdable cursor
Дата
Msg-id 000701c65e14$340bc020$e901027b@andreag
обсуждение исходный текст
Ответы Re: slowness with holdable cursor
Список pgsql-www
Hi.
I have a problem of fastness with "declare xxx cursor WITH HOLD". My
postgres version is 7.4.6
I have a table with 20000 rows named "base_a_artico"

If I use "declare a cursor with hold for select cdart,descr from
base_a_artico" outside a transaction I wait 2 seconds.
If I use the same statement (or the similar without "WITH HOLD") inside a
trasaction, I wait only 4 msec (milliseconds) !!!
I don't understand why this happens ....
I have to set some parameters in the postgresql.conf ?

thanks

Andrea Grassi


Le informazioni contenute in questo messaggio di posta elettronica sono di
natura confidenziale; qualsiasi pubblicazione, utilizzo o diffusione anche
parziale dello stesso non può essere effettuata senza autorizzazione e
potrebbe costituire un illecito penale ai sensi del Decreto Legs.vo N°
196/2003 sulla Protezione dei Dati Personali e del Codice Penale, Art.
617-621-635 bis oltre che della legge 547/93. Qualora non siate tra i
legittimi destinatari di questa e-mail Vi preghiamo cortesemente di
cancellarla dal Vostro sistema dopo aver notificato al mittente, rispondendo
alla comunicazione, l'errore da questi commesso.



В списке pgsql-www по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: techdocs.postgresql.org php seems broke
Следующее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: slowness with holdable cursor