vacuum, analyze and reindex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi all
I've a question about vacuuming, ...
Vacuum: cleans out obsolete and deleted registers...
Analyze: update statistics for the planner
Reindex: rebuild indexes
I think the correct order to perform the database maintenance for performance is:
1 - Vacuum
2 - Reindex
3 - Analyze
So the planner is updated with the updated indexes.
The autovacuum daemon does vacuum and analyze. Not reindex.
So, no way to perform it in that order.
What do you think?
How often do you reindex your tables?
Thx all
[Postgresql General]
[Postgresql PHP]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Yosemite]