Re: generating catcache control data

2019-10-18 Thread John Naylor
On Fri, Oct 11, 2019 at 3:14 AM Tom Lane wrote: > I do not like attaching this data to the DECLARE_UNIQUE_INDEX macros. > It's really no business of the indexes' whether they are associated > with a syscache. It's *certainly* no business of theirs how many > buckets such a cache should start off

Re: generating catcache control data

2019-10-10 Thread Tom Lane
... BTW, one other issue with changing this, at least if we want to precompute tupdescs for all system catalogs used in catcaches, is that that would put a very big crimp in doing runtime changes to catalogs. While we'll probably never support changes in the physical layouts of catalog rows, there

Re: generating catcache control data

2019-10-10 Thread Tom Lane
John Naylor writes: > While digging through the archives, I found a thread from a couple > years back about syscache performance. There was an idea [1] to > generate the cache control data at compile time. That would to remove > the need to perform database access to complete cache initialization,

generating catcache control data

2019-10-10 Thread John Naylor
Hi, While digging through the archives, I found a thread from a couple years back about syscache performance. There was an idea [1] to generate the cache control data at compile time. That would to remove the need to perform database access to complete cache initialization, as well as the need to