From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, andres(at)anarazel(dot)de, vignesh C <vignesh21(at)gmail(dot)com> |
Subject: | Re: Separate memory contexts for relcache and catcache |
Date: | 2024-10-29 22:00:02 |
Message-ID: | 0da3b8e7f1d46883617daeb3790e27184c46a57f.camel@j-davis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 2024-04-03 at 16:12 +0300, Melih Mutlu wrote:
> Rebased. PSA.
Thank you. I missed your patch and came up with a similar patch over
here:
I closed my thread and we can continue this one.
One difference is that I tried to capture almost all uses of
CacheMemoryContext so that it would become just a parent context
without many allocations of its own.
The plan cache and SPI caches can be important, too. Or, one of the
other caches that we expect to be small might grow in some edge cases
(or due to a bug), and it would be good to be able to see that.
I agree with others that we should look at changing the initial size or
type of the contexts, but that should be a separate commit.
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2024-10-29 22:23:55 | Re: Vacuum statistics |
Previous Message | Jeff Davis | 2024-10-29 21:44:19 | Re: Reorganize cache memory contexts |