Reorganize cache memory contexts
Thread notes
1 note#feature#moderate#enhancement
hackorum-bot#feature#moderate#enhancement
@global #feature #moderate #enhancement
Attached is a patch that reorganizes CacheMemoryContext to be mostly a
parent context, with child contexts such as CatCacheContext,
RelCacheContext, PlanCacheContext, etc.
The goal is to better account for specific caches, which will hopefully
lead to optimizations or other improvements.
Regards,
Jeff Davis
On Wed, 30 Oct 2024 at 09:29, Jeff Davis <pgsql@j-davis.com> wrote:
Attached is a patch that reorganizes CacheMemoryContext to be mostly a
parent context, with child contexts such as CatCacheContext,
RelCacheContext, PlanCacheContext, etc.
Is it worth merging efforts with [1]https://commitfest.postgresql.org/50/4554/? I don't think that patch goes as
far as PlanCacheContext, but it does make the separate contexts for
catcache and relcache.
David
On Wed, 2024-10-30 at 10:28 +1300, David Rowley wrote:
On Wed, 30 Oct 2024 at 09:29, Jeff Davis <pgsql@j-davis.com> wrote:
Attached is a patch that reorganizes CacheMemoryContext to be
mostly a
parent context, with child contexts such as CatCacheContext,
RelCacheContext, PlanCacheContext, etc.Is it worth merging efforts with [1]?
Thank you. Yes, I'll continue in that thread and close this one.
Perhaps I did see that thread in the past and forgot about it -- even
the naming in my patch is similar.
Regards,
Jeff Davis