forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit87ae9e7
committed
Remove some unused and seldom used fields from RelationAmInfo.
This saves some memory from each index relcache entry. At least on a 64-bitmachine, it saves just enough to shrink a typical relcache entry's memoryusage from 2k to 1k. That's nice if you have a lot of backends and a lot ofindexes.1 parentc74d586 commit87ae9e7
2 files changed
+15
-14
lines changedLines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 |
| |
118 | 125 |
| |
119 | 126 |
| |
| |||
671 | 678 |
| |
672 | 679 |
| |
673 | 680 |
| |
674 |
| - | |
| 681 | + | |
675 | 682 |
| |
676 | 683 |
| |
677 | 684 |
| |
678 |
| - | |
| 685 | + | |
679 | 686 |
| |
680 | 687 |
| |
681 |
| - | |
| 688 | + | |
682 | 689 |
| |
683 | 690 |
| |
684 | 691 |
| |
| |||
698 | 705 |
| |
699 | 706 |
| |
700 | 707 |
| |
701 |
| - | |
| 708 | + | |
702 | 709 |
| |
703 | 710 |
| |
704 | 711 |
| |
705 |
| - | |
| 712 | + | |
706 | 713 |
| |
707 | 714 |
| |
708 |
| - | |
| 715 | + | |
709 | 716 |
| |
710 | 717 |
| |
711 | 718 |
| |
|
Lines changed: 2 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
51 |
| - | |
| 50 | + | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 | 63 |
| |
68 |
| - | |
69 |
| - | |
70 | 64 |
| |
71 | 65 |
| |
72 | 66 |
| |
|
0 commit comments
Comments
(0)