Databases · Senior · Question 3 of 75

What is table bloat and what usually causes it?

Explanation

Tune autovacuum per table (lower scale factors for hot tables), avoid long transactions, and rebuild bloated objects online with pg_repack or REINDEX CONCURRENTLY.

Further reading

Problem with a question

Databases · Senior · question 3

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz