| От | Tom Lane |
|---|---|
| Тема | Re: [SQL] index file's growing big |
| Дата | |
| Msg-id | 19232.952413236@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [SQL] index file's growing big (Karl Denninger <karl@Denninger.Net>) |
| Список | pgsql-sql |
Karl Denninger <karl@Denninger.Net> writes:
> Further, if the tables are large you want to use "vacuum analyze" to reorder
> the indices in a fashion that makes queries more efficient.
Just a side comment here: VACUUM ANALYZE has nothing whatever to do
with "reordering" indexes. What it does that a plain VACUUM does
not do is gather statistics about the table contents (minimum, maximum,
and most common value of each column, at present). These stats are then
used by the optimizer to make better planning choices. At least we'd
like to think they're better, Lord willin' an' the creek don't rise...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера