Skip to content

Supabase and PostgresDatabase and Postgresreference

Postgres lock table capacity and out of shared memory (53200)

Postgres answers 53200 out of shared memory with a hint that names a setting, and the setting is one of two: max_locks_per_transaction for the shared lock table, max_pred_locks_per_transaction for the predicate-lock table that SERIALIZABLE transactions use. This page measures how many tables each of four operations survives at the platform’s max_connections and at the default and a raised max_locks_per_transaction, and what the error says. The four modelled failures are a major-upgrade step that changes the owner of every object in one transaction, a logical restore of a schema with many tables, a database reset that drops many tables in one transaction, and a SERIALIZABLE workload that exhausts predicate locks.

TL;DR

  • The shared lock table is not at the documented size. At max_connections 90 and max_locks_per_transaction 64 one transaction took 12,016 advisory locks before 53200; the documented formula gives 5,760 (LT02-cal, sb17). The measured capacity was 1.69 to 2.09 times the formula at max_locks_per_transaction 64 to 256 (derived from the table below), and it rose with both terms of the formula.
  • The number of lock entries each table needs sets the limit. A plain table (identity primary key, TOAST (The Oversized-Attribute Storage Technique) table) takes 5 entries in CREATE TABLE, ALTER TABLE ... OWNER TO and REASSIGN OWNED, and 8.02 in DROP SCHEMA ... CASCADE. At capacity 12,016 the highest passing N was 2,401 tables for the first three and 1,497 for the drop; the predicted N matched within 3 tables on every configuration that reached a failure, except one cell on the 15.14 image (2,368 predicted, 2,376 measured) (LT02).
  • A restore of a schema-only dump in one transaction failed at 2,350 to 2,400 tables with psql --single-transaction and with pg_restore --single-transaction; pg_dump itself passed 11,850 and failed at 11,900 (LT02d, LT02e).
  • The 17.11 minor takes 7 entries per CREATE TABLE, not 5: stock17 and sb17b created 1,722 and 1,715 tables where sb17 (17.6) created 2,401 (LT02).
  • Raising max_locks_per_transaction from 64 to 256 took every failure point from 2,401 to 8,996 tables (3.75 times) at max_connections 90, and shared_memory_size from 173MB to 181MB. It has context postmaster, so it needs a restart; the non-superuser postgres role cannot set it by ALTER SYSTEM, ALTER ROLE or SET (LT01).
  • A SERIALIZABLE transaction ran out of the predicate-lock table first, with the other hint: 3,615 tables of one-row point lookups at max_pred_locks_per_transaction 64 (LT03b). A committed transaction kept its predicate locks while another serializable transaction was open (LT03d).
SituationChoiceWhy
A migration touches N tables in one transactionCompute capacity divided by entries per table, and split or raise before NThe predicted N matched the measured N within 3 tables (LT02)
The hint names max_locks_per_transactionReduce the tables per transaction, or raise it with a restartCapacity scales 3.75 times for 4 times the setting (LT02-cal)
The hint names max_pred_locks_per_transactionLook for SERIALIZABLE transactions touching many tables, or left openThe predicate table filled at 3,615 one-row lookups on its own (LT03b)
A restore must run in one transactionCheck the target’s capacity first: the limit sat between 2,350 and 2,400 plain tables at the 17.6, max_connections 90 defaultBoth psql -1 and pg_restore -1 failed within the same 50-table bracket (LT02d)
A schema-only pg_dump of many tablesExpect it to pass far above the restore’s limitIt failed only at 11,850 to 11,900 tables, about 1 entry per table (LT02e)
You hold the postgres role on a managed projectPlan for the platform’s configuration path, not ALTER SYSTEMALTER SYSTEM, ALTER ROLE and SET all failed for that role on the images (LT01); the path itself was not run (LT04)
53200 out of shared memoryWhich setting does the HINT name?max_locks_per_transaction:the lock tablemax_pred_locks_per_transaction:the predicate-lock tableTables in the transaction x entries per tableagainst measured capacitySERIALIZABLE transactions:tables read, or one left openSplit the transaction,or raise the setting and restart

The same flow as text:

  1. Read the HINT of the 53200 error. It names the table that ran out.
  2. If it names max_locks_per_transaction, multiply the tables the transaction touched by the entries per table of the operation and compare with the server’s capacity.
  3. If it names max_pred_locks_per_transaction, look for SERIALIZABLE transactions that read many tables or stay open while others commit.
  4. Split the transaction, or raise the setting and restart.

The hint text differs by major version: HINT: You might need to increase "max_locks_per_transaction". on every 17.x server, and HINT: You might need to increase max_locks_per_transaction. with no quotes on 15.14 (LT02). A matcher on the message needs both forms.

LT01 read pg_settings on each image with no settings passed.

Settingsupabase 17.6supabase 17.11supabase 15.14stock 17.11
max_locks_per_transaction (source, context)64 (default, postmaster)64 (default, postmaster)64 (default, postmaster)64 (default, postmaster)
max_connections (source)100 (default)100 (default)100 (default)100 (configuration file)
max_prepared_transactions0000
max_pred_locks_per_transaction (context)64 (postmaster)64 (postmaster)64 (postmaster)64 (postmaster)
max_pred_locks_per_relation / max_pred_locks_per_page (context)-2 / 2 (sighup)-2 / 2 (sighup)-2 / 2 (sighup)-2 / 2 (sighup)
shared_memory_size174MB174MB174MB143MB

The supabase images’ /etc/postgresql/postgresql.conf has the four settings commented out and nothing under /etc/postgresql-custom sets them, so the values are the compiled-in defaults. The hosted max_connections differs by compute size (90, 160, 240, 380 and 480 for Small, Large, XL (extra large), 2XL and 4XL in other modules of this lab); the image’s own value is 100.

  • ALTER SYSTEM SET max_locks_per_transaction = 128 as the superuser the rig uses succeeded on all four images. After pg_reload_conf() the value still read 64, pending_restart read true and pg_file_settings showed applied false with “setting could not be applied”. After a docker restart (3.2 to 3.4 s on this host, not a hosted figure) it read 128, and shared_memory_size read 177MB on supabase 17.6, 176MB on 15.14 and 146MB on stock: 2 to 3 MB more than at 64.
  • As the non-superuser postgres role on the three supabase images (rolsuper false): ALTER SYSTEM SET max_locks_per_transaction = 128 failed 42501: permission denied to set parameter "max_locks_per_transaction"; ALTER ROLE postgres SET ... and SET ... both failed 55P02: parameter "max_locks_per_transaction" cannot be changed without restarting the server. On a hosted project this role is the one a customer has; the platform path was not exercised.
  • Documented, not tested: the Supabase custom Postgres configuration page lists max_locks_per_transaction as CLI (command-line interface) only with Restart “Yes” and the example --config max_locks_per_transaction=128, and does not list max_pred_locks_per_transaction or max_prepared_transactions (read 2026-12-03).1 The live OpenAPI spec carries max_locks_per_transaction (integer, minimum 10) and restart_database in the update body of /v1/projects/{ref}/config/database/postgres, and no field for the predicate setting (read 2026-12-03).2

Capacity is the number of advisory locks, one lock-table entry each, that a single transaction takes before 53200. One run per configuration, with only the listed settings changed (supabase images unless named). “Docs formula” is max_locks_per_transaction * (max_connections + max_prepared_transactions), the form the PostgreSQL 15 page prints; the 17 page says the table has space for max_locks_per_transaction objects per server process or prepared transaction and no longer prints the product.3

ConfigServermax_connectionsmax_locks_per_transactionmax_prepared_transactionsDocs formulaMeasured capacityshared_memory_size
sb17-mc90-l6417.6906405,76012,016173MB
sb17-mc90-l25617.690256023,04044,992181MB
sb17-mc160-l6417.616064010,24019,413177MB
sb17-mc160-l25617.6160256040,96073,392190MB
sb17-mc90-l1017.6901009002,813171MB
sb17-mc100-l64 (image default)17.61006406,40012,870174MB
sb17-mc240-l6417.624064015,36028,336181MB
sb17-mc380-l6417.638064024,32042,128187MB
sb17-mc480-l6417.648064030,72051,904191MB
sb17-mc90-l64-pt5017.69064508,96017,504176MB
sb17b-mc90-l6417.11906405,76012,016173MB
sb15-mc90-l6415.14906405,76011,888173MB
stock17-mc90-l6417.11906405,76012,064143MB
  • The measured capacity is 1.69 to 2.09 times the documented form at max_locks_per_transaction 64 to 256 (12,016 / 5,760 = 2.09 at sb17-mc90-l64) and 3.13 times at 10. It rises with max_connections at about the same ratio and with max_prepared_transactions (17,504 at 50 against 12,016 at 0). The documented figure is a floor, not the failure point.
  • Why the table accepts more than the formula was not tested. A recalled explanation (the PROCLOCK table is sized for twice the LOCK table, and a single backend uses one PROCLOCK per LOCK, leaving the rest to the LOCK table) fits a ratio of about 1.5 and is unverified; it was not read from the source.
  • Raising max_locks_per_transaction by 4 raised capacity 3.74 times at max_connections 90 (44,992 / 12,016) and 3.78 times at 160 (73,392 / 19,413), and shared_memory_size by 8 MB and 13 MB.

“N tables” is N plain tables: create table (id bigint generated always as identity primary key, a text, b int), which is five relations (the table, its primary-key index, the identity sequence, its TOAST table and the TOAST index). Entries per table were measured on one and two blocks of 50 tables, counting distinct lock targets held just before the rollback. “Predicted” is capacity divided by that count, derived, not probed. Primary configuration sb17-mc90-l64, capacity 12,016:

OperationEntries per tableHighest N that passedLowest N that failedPredicted N
(a) CREATE TABLE with an identity primary key, plain statements in one transaction52,4012,4022,403
(b) DROP SCHEMA ... CASCADE over N tables, one statement8.021,4971,4981,498
(c1) ALTER TABLE ... OWNER TO, N statements in one transaction52,4012,4022,403
(c2) REASSIGN OWNED BY the roles owning N tables52,4012,4022,403
(d) pg_dump --schema-only then psql --single-transaction-2,3502,400 (bracket of 50)-
(d) the same, pg_restore --single-transaction-2,3502,400 (bracket of 50)-
(e) pg_dump of N tables-11,85011,900 (bracket of 50)12,016 (1 entry per table)
  • On sb17 the five relations were the only entries per CREATE. (a) counted inside a PL/pgSQL (procedural language) block with an exception handler at 2,401 tables, and the plain-statement edge was also 2,401 and 2,402. For (c1) the PL/pgSQL count was 2,400 and the plain-statement edge 2,401 and 2,402 (a lock or two more in the function call).
  • The predicted N matched the measured one within 3 tables for (a), (b), (c1) and (c2) on every configuration that reached a failure, except (a) on the 15.14 image: 2,368 predicted, 2,376 measured (5.02 entries per table).
  • (e): pg_dump took ACCESS SHARE on every table in one transaction and failed at 11,850 to 11,900 tables, close to the capacity of 12,016. One entry per table is inferred from that match, not counted. The last failing probe was a catalog query, not a LOCK TABLE: on stock 17.11 pg_dump failed on SELECT s.tableoid, s.oid, s.subname, ... FROM pg_subscription s.
  • The restore with both tools failed within the same 50-table bracket, 2,350 to 2,400, about the failure point of (a). Capacity divided by the bracket gives about 5 entries per table (derived: 12,016 / 2,375 = 5.06). psql stopped on its error (ON_ERROR_STOP) and pg_restore stopped on its error.

The failure text, from the artifact (sb17, primary configuration):

psql:/dumps/lt.sql:83767: ERROR: out of shared memory
HINT: You might need to increase "max_locks_per_transaction".
pg_restore: error: could not execute query: ERROR: out of shared memory
HINT: You might need to increase "max_locks_per_transaction".
Command was: ALTER TABLE ONLY b0047.t_22
ADD CONSTRAINT t_22_pkey PRIMARY KEY (id);

Highest N that passed or lowest N that failed, plain tables: (a) to (c2) exact to one table, (d) and (e) to a bracket of 50. The cap on a search was 14,000 tables, and a cell that reached it reads “none up to 14,000”.

ConfigCapacity(a) create(b) DROP SCHEMA(c1) owner loop(c2) REASSIGN OWNED(d) psql -1(d) pg_restore -1(e) pg_dump
sb17-mc90-l6412,0162,4011,4972,4012,4012,350 / 2,4002,350 / 2,40011,850 / 11,900
sb17-mc90-l25644,9928,9965,6098,9968,9968,900 / 8,9508,900 / 8,950none up to 14,000
sb17-mc160-l6419,4133,8802,4203,8813,8803,850 / 3,9003,850 / 3,900none up to 14,000
sb17-mc160-l25673,39214,6769,149none up to 14,000none up to 14,000none up to 14,000none up to 14,000none up to 14,000
sb15-mc90-l6411,8882,3761,4812,3762,3752,350 / 2,4002,350 / 2,40011,750 / 11,800
stock17-mc90-l6412,0641,7221,5032,4112,4101,700 / 1,7501,700 / 1,75011,900 / 11,950
sb17-mc90-l102,813561350561560550 / 600550 / 6002,650 / 2,700

The cells that hit the 14,000-table cap are past their predicted failure points (about 14,700 and above) and read “not reached”, not “fails after”.

  • Four times max_locks_per_transaction took every failure point from 2,401 to 8,996 (3.75 times); max_connections 90 to 160 took it from 2,401 to 3,880 (1.62 times).
  • stock17 (17.11) and sb17b (17.11) create 1,722 and 1,715 tables where sb17 (17.6) creates 2,401 and sb15 (15.14) 2,376: 7 entries per CREATE TABLE against 5. The breakdown after 100 tables, by kind of distinct lock target: 17.6 and 15.14 hold relation entries only (101 tables, 202 indexes, 100 sequences, 100 TOAST tables, plus one schema object); 17.11, supabase and stock, hold the same relations plus 100 pg_constraint and 100 pg_type object entries. So the minor, not the supabase build, sets the 7. Why 17.11 locks those two objects was not investigated.
  • DROP SCHEMA (8.02 entries per table) and the ownership operations (5) were the same on all four images.

A table with the identity primary key plus a foreign key to a parent, a UNIQUE constraint, a second index, a CHECK, a row-level security policy and a row trigger took 19.02 entries on DROP SCHEMA ... CASCADE (plain: 8.02) and 7 on ALTER TABLE ... OWNER TO (plain: 5). At capacity 12,016 that is 631 tables of the rich shape for a DROP SCHEMA (derived: 12,016 / 19.02, not probed) against 1,497 plain ones (probed). The same ratio holds on every configuration. A table with more indexes, policies, triggers and dependent objects than this shape lowers the figure further, and so do objects in the same transaction that are not tables. The CLI’s reset command was not run and no real schema was dropped.

Settings: max_connections 90, max_locks_per_transaction 64, supabase 17.6 with max_pred_locks_per_transaction 64, 32, 16 and 10, and stock 17.11 at 64; max_pred_locks_per_relation -2 and max_pred_locks_per_page 2 (defaults). A fixture of small tables st.t_N (a primary key and 100 rows each; 130 per unit of max_pred_locks_per_transaction, so 8,320 tables at 64) was ANALYZEd and the plan of each pattern pinned with enable_* settings. Every error below is 53200 out of shared memory; the hint names the table that ran out: “pred” is max_pred_locks_per_transaction, “lock” is max_locks_per_transaction.

Promotion (LT03a). One SERIALIZABLE transaction reads k rows of a 600-page table with one row per page. rel/page/tuple/total are SIReadLock rows by granularity.

Configk at which the 600-page table went to a relation lockHeld after k = 5, 8, 9, 16, 17, 31, 33, 64, 400
p64between 31 (no) and 33 (yes)0/1/5/6, 0/1/8/9, 0/1/9/10, 0/1/16/17, 0/1/17/18, 0/1/31/32, 1/1/0/2, 1/1/0/2, 1/2/0/3
p32between 9 (no) and 16 (yes)0/1/5/6, 0/1/8/9, 0/1/9/10, 1/1/0/2, then 1/1/0/2 and on, 1/2/0/3
p16between 5 (no) and 8 (yes)0/1/5/6, 1/1/0/2, then 1/1/0/2 and on, 1/2/0/3
p10at or below 51/1/0/2 from k = 5 on, 1/2/0/3 at 400

Reading 1,000 and 20,000 scattered rows of a 100,000-row narrow table left 2/0/0/2 held on every config. Reading many rows of one table did not exhaust the table: each heap relation drops to one relation lock after about max_pred_locks_per_transaction / 2 tuple locks (the threshold of the max_pred_locks_per_relation default of -2; between the tested k values on three configs, at k = 5 on p10). The documented sentence “not the number of rows that can be locked” holds here.

One session, many tables (LT03b). Tables read in one transaction before the first error, and SIReadLock rows held when it came (counted after the error; the rows of the aborted sub-block are kept):

ConfigPoint lookup, 1 row of each tableSIReadLock rows held at the error50-row rangeSequential scan of each table
p643,615 (pred)7,2313,614 (pred)5,870 (lock)
p321,807 (pred)3,6151,806 (pred)3,615 (pred)
p16903 (pred)1,807902 (pred)1,807 (pred)
p10564 (pred)1,129563 (pred)1,129 (pred)
stock p643,615 (pred)7,2313,614 (pred)5,846 (lock)
  • A point lookup held 2 rows per table (the heap tuple and an index page) and a sequential scan 1 (the relation). At the error the rows held were 7,231, 3,615, 1,807 and 1,129 for 64, 32, 16 and 10: max_pred_locks_per_transaction * 113 - 1 on all four. That is a fit over four values, not read from the source.
  • At 64 the sequential scans stopped on the lock table, hint max_locks_per_transaction, at 5,870 tables on supabase and 5,846 on stock, about half the lock-table capacity of 12,016. Two entries per table (the table and its index) would give 11,740; that is inferred from the arithmetic, not counted, and the lock-table limit was not tested without SERIALIZABLE. So at the defaults a transaction that reads about 6,000 tables hits the lock table whether or not it is SERIALIZABLE.

Concurrent sessions (LT03c). S sessions each hold a SERIALIZABLE transaction and read one table per step round robin until the first error. Total reads before it:

ConfigDisjoint tables, S = 1, 4, 16, 48Shared tables, S = 1, 4, 16, 48
p643,615, 3,615, 3,615, 3,615 (pred all four)3,615 (pred), 5,916, 6,012, 6,268 (lock)
p321,807 x4 (pred)1,807 (pred), 3,616, 3,616, 3,616 (pred)
p16903 x4 (pred)903 (pred), 1,808, 1,808, 1,808 (pred)
p10564 x4 (pred)564 (pred), 1,130, 1,130, 1,130 (pred)
stock p643,615 x4 (pred)3,615 (pred), 6,044, 6,140, 6,396 (lock)

With disjoint tables the pool is shared: the total is the single-session figure for every S, so a session’s share is the total over S (3,615 / 48 = 75 tables per session at p64 and 48 sessions). With shared tables the targets are shared and the sessions’ holdings are the limit; at p16 the total reached 1,808, twice one session’s 903 (the doubling is inferred, not read from the source). At 64 the lock table ended it first, at 5,916 to 6,396.

Retention after commit (LT03d). One session holds a SERIALIZABLE transaction open (it read a table; the second variant also inserted a row; neither was declared READ ONLY) while another session runs short SERIALIZABLE transactions that each read one row of its own table, insert a row into a log table and commit:

ConfigCommits before the error, holder that readHolder that wroteNo holderSIReadLock rows after (holder / no holder)
p643,615 (pred)3,615 (pred)none up to 8,320 (the fixture)7,231 / 0
p321,807 (pred)1,807 (pred)none up to 4,1603,615 / 0
p16903 (pred)903 (pred)none up to 2,0801,807 / 0
p10564 (pred)564 (pred)none up to 1,3001,129 / 0
stock p643,615 (pred)3,615 (pred)none up to 8,3207,231 / 0

Committed transactions kept their SIReadLock rows while another serializable transaction was open: each retained 2 rows, and the table filled after (max_pred_locks_per_transaction * 113 - 1) / 2 commits, rounded down (3,615 at 64). With no other transaction open the same stream of commits left 0 rows and never failed. A holder declared READ ONLY or DEFERRABLE, which Postgres treats differently, was not run.4

  • Anything on a hosted project: the default max_locks_per_transaction per compute size, whether supabase postgres-config update or PATCH /v1/projects/{ref}/config/database/postgres accepts the change for a given plan and role, whether the project restarts by itself or needs restart_database, the restart’s duration and the downtime a client sees. LT04 is the scaffold; it was not applied.
  • The platform’s max_connections per size came from other modules of this lab; the table operations ran at 90 and 160, the other sizes only as capacity.
  • The major-upgrade script itself, pg_upgrade and the CLI reset command: only their operations were modelled. Objects other than tables (views, functions, types, separately owned sequences, policies on their own), partitioned tables and extensions in the ownership operations.
  • Parallel pg_dump -j and pg_restore -j, data dumps, COPY-based restores and restores through a pooler.
  • PostgreSQL 16, 18 and 19, amd64 images (shared_memory_size and so the slack above the formula may differ), max_pred_locks_per_relation and max_pred_locks_per_page at non-default values, max_prepared_transactions above 0 in the table operations (only in the calibration), and a standby, where the documents say the value must be the same or higher.3
  • Why the lock table accepts 1.69 to 2.09 times the documented capacity, and why 17.11 takes two more entries per CREATE TABLE.
  • SERIALIZABLE on partitioned tables, the error a different shared structure raises when it runs out first, a READ ONLY or DEFERRABLE holder, and a real workload.
  • An “entry” is one lock-table target (a relation, or an object such as a type or a constraint) that a backend holds. Capacity is the advisory-lock count at 53200, so it counts entries in the same unit as the operations.
  • Entries per table were counted as distinct lock targets. A first smoke run counted pg_locks rows, and a backend holding two modes on one relation has two rows but one entry, so CREATE TABLE read 10 where the capacity supports 5; that run is unpublished and the module was corrected.
  • A first LT03 run had unanalysed fixture tables and unpinned plans, and stock 17.11 read 5,967 and 6,223 tables where supabase read 3,615 on the disjoint arms. The most likely cause is a sequential scan on tables autovacuum had analysed, with the set varying by run; the plans were not captured in that run, so this is inferred. The three published runs are of the fixed module.
  • Rates and timings are not reported; the VM was shared.
  • One run per configuration except the primary configuration, which ran three times with identical cells.
PracticeEvidenceModule
Divide capacity by entries per table before a bulk operationThe predicted N matched the measured N within 3 tables for create, drop and both owner changesLT02
Treat the documented formula as a floor and measure the real capacity12,016 measured against 5,760 documented at max_connections 90 and 64LT02-cal
Drop a large schema in batches of under capacity / 8.02 tablesDROP SCHEMA ... CASCADE took 8.02 entries per plain table, so 1,497 tables passed at the 17.6 default; a table with a foreign key, UNIQUE, second index, CHECK, policy and trigger took 19.02LT02
Budget 7 entries per CREATE TABLE on 17.11 and later minors1,722 tables on stock 17.11 and 1,715 on supabase 17.11 against 2,401 on 17.6LT02
Check the target’s capacity before a restore in one transactionpsql -1 and pg_restore -1 both failed at 2,350 to 2,400 tables at the 17.6, max_connections 90 defaultLT02d
Restore thousands of tables without --single-transactionA design choice, not run: the limit applies to one transaction’s locks, and the restore tools’ single-transaction mode is what put every table in oneLT02d (the failure, not the alternative)
Raise max_locks_per_transaction with a restart when splitting is not possible64 to 256 took failure points 2,401 to 8,996 and shared_memory_size 173MB to 181MB; context postmaster; value read 64 until the restartLT02-cal, LT01
Use the platform’s configuration path for the setting, not ALTER SYSTEMThe postgres role got 42501 and 55P02; the path is documented as CLI only with a restart and was not runLT01, LT04 (scaffold, not applied)
Read the hint to pick the right tableThe SERIALIZABLE arms failed on max_pred_locks_per_transaction at 564 to 3,615 tables; the sequential-scan arm at 64 failed on max_locks_per_transactionLT03b
Close a long SERIALIZABLE transaction rather than keeping it open beside many short onesEach commit retained 2 SIReadLock rows while one holder was open; 3,615 commits filled the table at p64, 0 rows and no failure with no holderLT03d
Match the setting on a standby to the primary’s or higherDocumented only; no standby was run3none (documented)

The experiment is experiments/lock-table in supabase-lab. It needs Docker, the four images (three supabase/postgres images of about 1.3 GB each and postgres:17-alpine) and free space in the Docker VM for the dumps.

make probe # LT01, LT02, LT03; writes evidence/<ts>/
make probe ONLY=LT02 LT_CONFIGS=sb17-mc90-l64
make probe ONLY=LT03 LT3_CONFIGS=sb17-mc90-p64
make facts # measurements of the newest run as markdown

Result ids carry the configuration: LT02b-sb17-mc90-l64 is operation (b) on sb17, max_connections 90, max_locks_per_transaction 64.

ClaimStatusHow it was checked
Capacity 12,016 at max_connections 90 and max_locks_per_transaction 64 on 17.6, and the other 12 configurationsmeasured, one run each; the primary three timesLT02-cal, run A facts, calibration facts
Failure points of the four operations and pg_dump, seven configurationsmeasured, one run each; the primary three timesLT02, run A facts, P1 facts, P2 facts
7 entries per CREATE TABLE on 17.11, by lock-target kindmeasured, one runLT02, lock-kind facts
The 17.11 supabase image’s own failure pointsmeasured, one runLT02, 17.11 facts
Image settings, ALTER SYSTEM pending until restart, postgres role refusedmeasured, one runLT01, facts
SERIALIZABLE promotion, tables per session, concurrent sessions, retentionmeasured, 3 runs, identicalLT03, R1 facts, R2 facts, R3 facts
Documented capacity wording, default 64, restart required, standby ruledocumented3PostgreSQL 15 and 17 pages, doc-read 2026-12-03 and again for this page
CLI only, restart “Yes”, example value; spec fieldsdocumented12doc-read 2026-12-03 in the lab RUNLOG; not re-read for the field list
Hosted default per compute size, Management API acceptance, restartnot measuredLT04 scaffold, not applied

No docs-versus-runtime disagreement was found, and the measured capacity above the documented formula is not a disagreement the docs claim to settle, so nothing was filed upstream.

ModuleExperimentTestArtifact
LT01lock-tablelt01-inventory.tsrun-2026-12-03T06-43-25-715Z
LT02lock-tablelt02-failure-points.tsrun-2026-12-03T06-15-08-879Z
LT03lock-tablelt03-serializable.tsrun-2026-12-03T06-25-43-583Z
LT04lock-tablelt04-hosted.tsnone published (scaffold, not applied)
  1. Supabase, “Customizing Postgres configs,” Supabase Docs. https://supabase.com/docs/guides/database/custom-postgres-config ↩ ↩2

  2. Supabase, “Management API,” OpenAPI specification (UpdatePostgresConfigBody, PostgresConfigResponse_Output). https://api.supabase.com/api/v1-json ↩ ↩2

  3. PostgreSQL Global Development Group, “Lock Management,” PostgreSQL 15 and 17 Documentation, max_locks_per_transaction and max_pred_locks_per_transaction. https://www.postgresql.org/docs/17/runtime-config-locks.html ↩ ↩2 ↩3 ↩4

  4. PostgreSQL Global Development Group, “Transaction Isolation,” PostgreSQL 17 Documentation. https://www.postgresql.org/docs/17/transaction-iso.html ↩