| From: | Denis Perchine <dyp(at)perchine(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Postgres eats up memory when using cursors |
| Date: | 2001-03-01 19:12:33 |
| Message-ID: | 01030201123309.00608@dyp.perchine.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> >> This doesn't seem to actually be related to Denis' problem, but a
> >> leak is a leak ...
> >
> > Is this is the same leak? I mean I do not use psql in any mean...
>
> It isn't.
>
> I'm now suspecting that your problem must be related to doing inserts
> while a cursor is held open. Are the inserts done by the same backend,
> or a different one?
By different ones. This backend just do fetches.
> Could you experiment and see if you can devise a complete example? I'm
> kinda busy right now looking at WAL...
Inserts are the only operations done besides fetching. This is a complete
example. There are no other actions are taken on this table. Only inserts
made by other backend, and fetches trough only on cursor. I mean that this is
the only backend doing fetches.
--
Sincerely Yours,
Denis Perchine
----------------------------------
E-Mail: dyp(at)perchine(dot)com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Justin Yung | 2001-03-01 19:17:54 | Making the datestyle be SQL on postmaster startup |
| Previous Message | Peter Eisentraut | 2001-03-01 19:08:34 | Re: Users in pg_shadow |