Column Statistics - How to dertermine for whole database

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема Column Statistics - How to dertermine for whole database
Дата
Msg-id 1205373205.20864.16.camel@neuromancer.home.net
обсуждение исходный текст
Ответы Re: Column Statistics - How to dertermine for whole database
Список pgsql-general
Hi,

I finally figure out how come (i think) my analyszing of some specific
tables is taking so freaking long. 12million rows, ~11GB table.

I had some of the columns with the stat level set up to 1000. (this was
previously because I was trying to optimise somethings to make things
faster. ) When the table was small, the analyse of that table went by
pretty fast, until it became bigger, now it's a headache.

So, my investigation found that It was due to the stats level I put into
that column. (normal stat level = 100).

Is there a query to pg_catalog tables to find out which table/column has
the stat level not at default in 1 sweep?

Appreciate any pointers.

В списке pgsql-general по дате отправления:

Предыдущее
От: Berend Tober
Дата:
Сообщение: Re: Trigger to run @ connection time?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: porting vb6 code to pgplsql, referencing fields