slow cursor

Поиск
Список
Период
Сортировка
От Sriram Dandapani
Тема slow cursor
Дата
Msg-id 6992E470F12A444BB787B5C937B9D4DF0406A546@ca-mail1.cis.local
обсуждение исходный текст
Ответы Re: slow cursor
Список pgsql-performance

Hi

 

I have a cursor that fetches 150K rows and updates or inserts a table with 150K rows.

 

It takes several minutes for the process to complete (about 15 minutes). The select by itself (without cursor) gets all rows in 15 seconds.

 

Is there a way to optimize the cursor to fetch all records and speed up the process. I still need to do the record by record processing

 

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

Предыдущее
От: Christian Storm
Дата:
Сообщение: Re: pgmemcache
Следующее
От: "Sriram Dandapani"
Дата:
Сообщение: creating of temporary table takes very long