Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I have a table with some 670000 records inside it and some indexes.
I created a new index and now I need to know if I have to manually go and reindex that table or Postgres will automatically do that.
reindex
So I found the answer and it is NO, Postgres does not automatically reindex all the table when you add a new index to it.
Anyway, @a_horse_with_no_name point is good, usually there is no need to reindex all the table when you add a new index to it
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
reindexwill re-create all indexes on the table. Why do you think you would need that if you just add a new index?