- Notifications
You must be signed in to change notification settings - Fork28
Commitd67dae0
committed
Don't count zero-filled buffers as 'read' in EXPLAIN.
If you extend a relation, it should count as a block written, notread (we write a zero-filled block). If you ask for a zero-filledbuffer, it shouldn't be counted as read or written.Later we might consider counting zero-filled buffers with a separatecounter, if they become more common due to future work.Author: Thomas MunroReviewed-by: Haribabu Kommi, Kyotaro Horiguchi, David RowleyDiscussion:https://postgr.es/m/CAEepm%3D3JytB3KPpvSwXzkY%2Bdwc5zC8P8Lk7Nedkoci81_0E9rA%40mail.gmail.com1 parent471a7af commitd67dae0
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
733 | 733 |
| |
734 | 734 |
| |
735 | 735 |
| |
736 |
| - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
737 | 740 |
| |
738 | 741 |
| |
739 | 742 |
| |
| |||
746 | 749 |
| |
747 | 750 |
| |
748 | 751 |
| |
749 |
| - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
750 | 756 |
| |
751 | 757 |
| |
752 | 758 |
| |
|
0 commit comments
Comments
(0)