Re: TopMemoryContext - Configuration Mistake?
| От | Edoardo Innocenti |
|---|---|
| Тема | Re: TopMemoryContext - Configuration Mistake? |
| Дата | |
| Msg-id | 4C6AA65E.1020502@savinodelbene.com обсуждение |
| Ответ на | Re: TopMemoryContext - Configuration Mistake? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-admin |
Il 17/08/2010 15:44, Tom Lane ha scritto:
These tables do not grow fast, 300 record max. Is it possible that
the statistics are the cause?
We have pg_autovacuum enable and we launch vacuumdb -z every weeks.Edoardo Innocenti <edoardo.innocenti@savinodelbene.com> writes:Query Plan:<br> "HashAggregate (cost=4910.06..4910.19 rows=1 width=659)"Hm ... the planner seems to think that this is a small query that isn't going to take long, which is a bit at odds with the fact that you're running out of memory. I suspect that these rowcount estimates are far too low, which would suggest that you need to make sure your ANALYZE statistics are up-to-date, and perhaps raise the statistics targets. Try to get the plan's estimated rowcounts to approximate reality.
These tables do not grow fast, 300 record max. Is it possible that
the statistics are the cause?
BTW, you might want to think about turning off your mail program's HTML option. What other people are seeing looks like this: http://archives.postgresql.org/pgsql-admin/2010-08/msg00126.php and it's not pretty. regards, tom lane
--
Edoardo Innocenti Infrastructure Coordinator SDB Information Technology Phone: +39.055.3811222 Fax: +39.055.5201411
Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalità amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/news/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
В списке pgsql-admin по дате отправления: