Re: pg_restore followed by immediate VACUUM ANALYZE
| От | Bryce Nesbitt |
|---|---|
| Тема | Re: pg_restore followed by immediate VACUUM ANALYZE |
| Дата | |
| Msg-id | 4B1494A6.8070300@obviously.com обсуждение исходный текст |
| Ответ на | Re: pg_restore followed by immediate VACUUM ANALYZE (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_restore followed by immediate VACUUM ANALYZE
|
| Список | pgsql-sql |
Tom Lane wrote:<br /><blockquote cite="mid:19189.1259639712@sss.pgh.pa.us" type="cite"><blockquote type="cite"><pre wrap="">Doespg_restore not update the query planner statistics? </pre></blockquote><pre wrap=""> Correct. Autovacuum might fix them eventually, but usually it's worth forcing the issue once you've completed your data loading. (This might involve multiple steps, which is why pg_restore doesn't try to force it for you.)</pre></blockquote> Hmm. It seems like pg_restore would already know 90% of what it needsto in this case.<br /> Of course I'm just trying to cut down on the 4+ hour VACUUM ANALYZE. But thanks for<br /> thenote, I'll look elsewhere for speed improvements.<br />
В списке pgsql-sql по дате отправления: