Re: Experimenting with hash tables inside pg_dump
Nathan Bossart <bossartn@amazon.com>
From: "Bossart, Nathan" <bossartn@amazon.com>
To: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2021-10-21T23:59:57Z
Lists: pgsql-hackers
On 10/21/21, 4:14 PM, "Bossart, Nathan" <bossartn@amazon.com> wrote: > On 10/21/21, 3:29 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote: >> (b) I couldn't measure any change in performance at all. I tried >> it on the regression database and on a toy DB with 10000 simple >> tables. Maybe on a really large DB you'd notice some difference, >> but I'm not very optimistic now. > > I wonder how many tables you'd need to start seeing a difference. > There are certainly databases out there with many more than 10,000 > tables. I'll look into this... Well, I tested with 200,000 tables and saw no difference with this. Nathan
Commits
-
In pg_dump, use simplehash.h to look up dumpable objects by OID.
- 92316a4582a5 15.0 landed
-
Fix frontend version of sh_error() in simplehash.h.
- 974aedcea46d 15.0 landed
- 8cee4be6dc93 14.1 landed
- 2e01d050d989 13.5 landed