Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8201025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:39:44+00:00 2026-06-07T06:39:44+00:00

I have a big table which is suffering from Index bloating because a lot

  • 0

I have a big table which is suffering from Index bloating because a lot of rows are frequently updated. I’m also in the process of deleting a big number of rows.

What would the correct order of executing the following tasks in order to recover disk space?

  • Vacuum, mark dead tuples as free for database reuse, doesn’t return
    space to system.
  • Vacuum Full, rewrites table reducing table bloat,
    returns space to system.
  • Reindex, rewrites indexes reducing index
    bloat, returns space to system.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:39:46+00:00Added an answer on June 7, 2026 at 6:39 am

    Since PostgreSQL 9.0 a VACUUM FULL should return disc space optimally (just like CLUSTER does). I quote the release notes for 9.0 from the current manual here:

    New implementation of VACUUM FULL. This command now rewrites the
    entire table and indexes, rather than moving individual rows to
    compact space. It is substantially faster in most cases, and no longer
    results in index bloat.

    Note that it is not normally necessary or even advisable to run VACUUM FULL. It may slow down UPDATEs if you remove all wiggle room for HOT updates and such from the data pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big table in my database with a lot of words from
I have one BIG table(90k rows, size cca 60mb) which holds info about free
I have a view which is a big table. This table is populated from
I have a MySQL table which has a product_id field (big integer) 1102330008 1102330025
I have big records to copy values from table B to table A. Currently
I have a big problem. I want to extract text from html table that
I have a table which is pretty big, so I need a way to
I have a pretty big table where I want to get certain rows by
I have the following query which obtains transactions from the transactions table and transaction
I have this big table which I want to have fulltext search, so I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.