Remove some unused and seldom used fields from RelationAmInfo.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Remove some unused and seldom used fields from RelationAmInfo. This saves some memory from each index relcache entry. At least on a 64-bit machine, it saves just enough to shrink a typical relcache entry's memory usage from 2k to 1k. That's nice if you have a lot of backends and a lot of indexes.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/indexam.c | modified | +13 −6 |
| src/include/utils/rel.h | modified | +2 −8 |