"borajetta" <borajetta@hotmail.com> writes:
> I am trying to firgure out what the best order is?
> Vacuum Full table;
> Cluster table;
> Analyze table;
If you are going to CLUSTER then you can forget the VACUUM part
entirely. Just do CLUSTER and then ANALYZE.
regards, tom lane
Tom Lane <tgl@sss.pgh.pa.us> writes: > If you are going to CLUSTER then you can forget the VACUUM part > entirely. Just do CLUSTER and then ANALYZE. Out of curiosity, does cluster also effectively do a reindex? -- greg
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> If you are going to CLUSTER then you can forget the VACUUM part
>> entirely. Just do CLUSTER and then ANALYZE.
> Out of curiosity, does cluster also effectively do a reindex?
Yes, of course. It rewrites a whole new table and then rebuilds
the indexes.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера