pg_stats explained ... ?

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема pg_stats explained ... ?
Дата
Msg-id 20020213092905.A19107-100000@mail1.hub.org
обсуждение исходный текст
Ответы Re: pg_stats explained ... ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Morning all ...
Can someone explain to me how I should read this:
       tablename        |          attname           | avg_width | n_distinct
-------------------------+----------------------------+-----------+------------iwantu_pro_week         | uid
           |         8 |         -1iwantu_pro_week         | pro_week_agent             |         9 |
9iwantu_pro_week        | pro_week_time              |         8 |  -0.976321iwantu_pro_week         | pro_week_post
         |         5 |          2iwantu_pro_week         | pro_week_club              |         2 |          1
 

n_distinct, I'm taking it, of -1 means its a UNIQUE INDEX, and the
positive numbers are exact #'s ... but, -0.976321? :)

Also, how is the avg_width interpreted?



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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Optimizer(?) off by factor of 3 ... ?
Следующее
От: mlw
Дата:
Сообщение: Re: benchmarking postgres