Re: Separate memory contexts for relcache and catcache
От | Jeff Davis |
---|---|
Тема | Re: Separate memory contexts for relcache and catcache |
Дата | |
Msg-id | 0da3b8e7f1d46883617daeb3790e27184c46a57f.camel@j-davis.com обсуждение исходный текст |
Ответ на | Re: Separate memory contexts for relcache and catcache (Melih Mutlu <m.melihmutlu@gmail.com>) |
Ответы |
Re: Separate memory contexts for relcache and catcache
|
Список | 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: https://www.postgresql.org/message-id/flat/78599c442380ddb5990117e281a4fa65a74231af.camel@j-davis.com 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
В списке pgsql-hackers по дате отправления: