pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #12850: ANALYZE of big table is taking extreemly much memory
2+ messages / 2 participants
[nested] [flat]
* BUG #12850: ANALYZE of big table is taking extreemly much memory
@ 2015-03-11 16:35 wnordmann@gmx.de
0 siblings, 1 reply; 2+ messages in thread
From: wnordmann@gmx.de @ 2015-03-11 16:35 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 12850
Logged by: walter nordmann
Email address: wnordmann@gmx.de
PostgreSQL version: 9.4.1
Operating system: Ubuntu 14.4 LTS
Description:
Vacuuming a really big table (139.000.000 records, 66GB tablespace, one
GIN-INDEX of 135 GB!) is consuming extreemly much memory. Much, much more
then maintenance_work_mem (2GB). at this time about 85 GB of virt mem.
see post "autovacuum worker running amok - and me too" at postgresql-general
or ask me for more data. this form is to small for it.
regards
walter
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #12850: ANALYZE of big table is taking extreemly much memory
@ 2015-03-12 15:30 Heikki Linnakangas <hlinnaka@iki.fi>
parent: wnordmann@gmx.de
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Linnakangas @ 2015-03-12 15:30 UTC (permalink / raw)
To: wnordmann@gmx.de; pgsql-bugs
On 03/11/2015 05:35 PM, wnordmann@gmx.de wrote:
> The following bug has been logged on the website:
>
> Bug reference: 12850
> Logged by: walter nordmann
> Email address: wnordmann@gmx.de
> PostgreSQL version: 9.4.1
> Operating system: Ubuntu 14.4 LTS
> Description:
>
> Vacuuming a really big table (139.000.000 records, 66GB tablespace, one
> GIN-INDEX of 135 GB!) is consuming extreemly much memory. Much, much more
> then maintenance_work_mem (2GB). at this time about 85 GB of virt mem.
>
> see post "autovacuum worker running amok - and me too" at postgresql-general
> or ask me for more data. this form is to small for it.
To be precise, the memory leak is in VACUUM of GIN indexes, not ANALYZE.
It was introduced by the 9.4 GIN changes to store the posting lists in a
compressed form.
Fixed, thanks for the report!
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-03-12 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11 16:35 BUG #12850: ANALYZE of big table is taking extreemly much memory wnordmann@gmx.de
2015-03-12 15:30 ` Heikki Linnakangas <hlinnaka@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox