Re: Thousands of schemas and ANALYZE goes out of memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hugo <Nabble>" <hugo(dot)tech(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Thousands of schemas and ANALYZE goes out of memory
Date: 2012-10-01 20:39:10
Message-ID: 1461.1349123950@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Hugo <Nabble>" <hugo(dot)tech(at)gmail(dot)com> writes:
> We have two postgresql 9.0 databases (32-bits) with more than 10,000
> schemas. When we try to run ANALYZE in those databases we get errors like
> this (after a few hours):

> 2012-09-14 01:46:24 PDT ERROR: out of memory
> 2012-09-14 01:46:24 PDT DETAIL: Failed on request of size 421.
> 2012-09-14 01:46:24 PDT STATEMENT: analyze;

I doubt that the number of *schemas* is a big deal here, but the number
of *tables* might well be. How many? Also, 9.0.what?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2012-10-01 20:52:15 Re: Pg, Netezza, and... Sybase?
Previous Message Tom Lane 2012-10-01 20:37:11 Re: Pg, Netezza, and... Sybase?