Re: Postgres eats up memory when using cursors
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Denis Perchine <dyp@perchine.com>
Cc: pgsql-general@postgresql.org
Date: 2001-03-01T15:33:52Z
Lists: pgsql-general
Denis Perchine <dyp@perchine.com> writes: > I declare a cursor on the table of approx. 1 million rows. > And start fetching data by 1000 rows at each fetch. > Data processing can take quite a long time (3-4 days) > Theoretically postgres process should remain the same in size. > But it grows... In the end of 3rd day it becames 256Mb large!!!! Query details please? You can't expect any results from such a vague report. regards, tom lane