Re: Modernizing our GUC infrastructure
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Date: 2022-09-13T16:17:50Z
Lists: pgsql-hackers
Attachments
- 0001-memory-management-preliminaries-2.patch (text/x-diff) patch 0001
- 0002-keep-guc-data-in-a-context-2.patch (text/x-diff) patch 0002
- 0003-use-dynahash-instead-of-array-2.patch (text/x-diff) patch 0003
- 0004-add-auxiliary-lists-2.patch (text/x-diff) patch 0004
I wrote: > Attached is a patch series that attempts to modernize our GUC > infrastructure, in particular removing the performance bottlenecks > it has when there are lots of GUC variables. Rebased over 0a20ff54f. regards, tom lane
Commits
-
Add auxiliary lists to GUC data structures for better performance.
- f13b2088fa2d 16.0 landed
-
Replace the sorted array of GUC variables with a hash table.
- 3057465acfbe 16.0 landed
-
Store GUC data in a memory context, instead of using malloc().
- 407b50f2d421 16.0 landed
-
Make some minor improvements in memory-context infrastructure.
- 9c911ec065df 16.0 landed