Re: making relfilenodes 56 bits
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Heikki Linnakangas <hlinnaka@iki.fi>, Thomas Munro <thomas.munro@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-06T15:57:40Z
Lists: pgsql-hackers
On Wed, Jul 6, 2022 at 7:55 AM Dilip Kumar <dilipbalaut@gmail.com> wrote: > Okay, changed that and changed a few more occurrences in 0001 which > were on similar lines. I also tested the performance of pg_bench > where concurrently I am running the script which creates/drops > relation but I do not see any regression with fairly small values of > VAR_RELNUMBER_PREFETCH, the smallest value I tried was 8. That > doesn't mean I am suggesting this small value but I think we can keep > the value something like 512 or 1024 without worrying much about the > performance, so changed to 512 in the latest patch. OK, I have committed 0001 now with a few changes. pgindent did not agree with some of your whitespace changes, and I also cleaned up a few long lines. I replaced one instance of InvalidOid with InvalidRelFileNumber also, and changed a word in a comment. I think 0002 and 0003 need more work yet; I'll try to write a review of those soon. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Fix typos in comments, code and documentation
- 33ab0a2a527e 16.0 cited
-
Increase width of RelFileNumbers from 32 bits to 56 bits.
- 05d4cbf9b6ba 16.0 landed
-
Move RelFileNumber declarations to common/relpath.h.
- 2f47715cc864 16.0 landed
-
Include RelFileLocator fields individually in BufferTag.
- 82ac34db2036 16.0 landed
-
Convert macros to static inline functions (buf_internals.h)
- 3ac88fddd92c 16.0 landed
-
Remove the restriction that the relmap must be 512 bytes.
- d8cd0c6c95c0 16.0 landed
-
Change internal RelFileNode references to RelFileNumber or RelFileLocator.
- b0a55e43299c 16.0 landed
-
Reorder subskiplsn in pg_subscription to avoid alignment issues.
- 79b716cfb7a1 15.0 cited
-
Fix DROP {DATABASE,TABLESPACE} on Windows.
- 4eb2176318d0 15.0 cited
-
Restructure smgr API as per recent proposal. smgr no longer depends on
- 87bd95638552 8.0.0 cited