Reorganize cache memory contexts

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Reorganize cache memory contexts
Date: 2024-10-29 20:29:07
Message-ID: 78599c442380ddb5990117e281a4fa65a74231af.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Reorganize-cache-memory-contexts.patch text/x-patch 46.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2024-10-29 20:29:52 Re: Skip collecting decoded changes of already-aborted transactions
Previous Message Masahiko Sawada 2024-10-29 20:24:15 Re: Skip collecting decoded changes of already-aborted transactions