| От | mlw |
|---|---|
| Тема | analyze after a database restore? |
| Дата | |
| Msg-id | 3E5E4A90.1020605@mohawksoft.com обсуждение |
| Ответы |
Re: analyze after a database restore?
Re: analyze after a database restore? |
| Список | pgsql-hackers |
I just dumped and restored a rather large database, I upgraded from 7.2.x to 7.3.x. When I went to test my application against the new database, it was dog slow. It had all the indexes, and looked fine. Then it dawned on me, Doh! ANALYZE! Should pg_dump appened an ANALYZE for each table? On small tables, this shouldn't take too long. On large tables, you're gonna have to do it anyway. I guess it could be an option as well. It just seems like on of the tasks that is required for a "restored" database to work properly, and as such, should probably be specified in the backup procedure.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера