Re: Dept of ugly hacks: eliminating padding space in system indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dept of ugly hacks: eliminating padding space in system indexes
Date
Msg-id 4440.1214262551@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dept of ugly hacks: eliminating padding space in system indexes  (Mark Mielke <mark@mark.mielke.cc>)
Responses Re: Dept of ugly hacks: eliminating padding space in system indexes  (Mark Mielke <mark@mark.mielke.cc>)
List pgsql-hackers
Mark Mielke <mark@mark.mielke.cc> writes:
>> Tom Lane wrote:
>>> Cutting a third off the size of a system index has got to be worth
>>> something, but is it worth a hack as ugly as this one?

> Were you able to time any speedup?

I didn't try; can you suggest any suitable benchmark?

The performance impact is probably going to be limited by our extensive
use of catalog caches --- once a desired row is in a backend's catcache,
it doesn't take a btree search to fetch it again.  Still, the system
indexes are probably "hot" enough to stay in shared buffers most of the
time, and the smaller they are the more space will be left for other
stuff, so I think there should be a distributed benefit.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Testing pg_terminate_backend()
Next
From: daveg
Date:
Subject: Re: [PATCHES] Patch for Prevent pg_dump/pg_restore from being affected by statement_timeout