| От | Max Baker |
|---|---|
| Тема | Re: speeding up COUNT and DISTINCT queries |
| Дата | |
| Msg-id | 20030313020546.GQ30411@warped.org обсуждение |
| Ответ на | Re: speeding up COUNT and DISTINCT queries (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: speeding up COUNT and DISTINCT queries
|
| Список | pgsql-performance |
On Wed, Mar 12, 2003 at 05:57:50PM -0800, Joe Conway wrote: > Max Baker wrote: > >Thanks for the help. I guess i'm not clear on why there is so much > >extra cruft. Does postgres leave a little bit behind every time it does > >an update? Because this table is updated constantly. > > > > Yes. See: > http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/routine-vacuuming.html That would explain why once a night isn't enough. Thanks. The contents of this table get refreshed every 4 hours. I'll add a vacuum after every refresh and comapre the results in a couple days. -m
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера