Skip to content

Commit 406a302

Browse files
committed
Update 0018_over_indexing.md
1 parent fb95ff9 commit 406a302

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

0018_over_indexing.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ But bear with me today and I promise you'll be very surprised.
1212

1313
## Indexes and write overhead
1414

15-
Obviously, if you create a new index, then with each statement changing rows (`INSERT`, `UPDATE`), Postgres needs to update this
16-
index too – this means, write statements are going to take longer to execute.
15+
Obviously, if you create a new index, then with each statement that produces new row versions (`INSERT`, `UPDATE`), Postgres needs to update this index too – this means, write statements are going to take longer to execute.
1716

1817
For `UPDATE`s, there is a special optimization – **HOT updates**, **Heap-Only-Tuple updates** – that might let Postgres
1918
avoid such overhead. This can happen if two conditions are met:

0 commit comments

Comments
 (0)