All Questions
Postgresql hard

The 'Heap Only Tuples' (HOT) optimization improves UPDATE performance. Which specific set of conditions must be met for a HOT update to occur?

  1. A The update only modifies columns that are part of a GIN or GiST index, and the row is vacuumed.
  2. B The update does not modify any indexed columns, and space is available on the original data page.
  3. C The update is performed on a table with no active foreign key constraints or check conditions.
  4. D The update uses the `CONCURRENTLY` flag to prevent locking the table during the physical write.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions