max_locks_per_transaction
In a handful of Baserow features, such as snapshotting and duplicating, we take the specified database and fetch all of its tables to perform operations on them.
Unfortunately if the total number of tables in the database is very high (i.e. 5,000-10,000), it’s possible to exceed
the total number of locks specified in PostgreSQL’s max_locks_per_transaction
configuration setting.
To resolve this, the steps are as follows:
postgresql.conf
. In psql
this can be found with SHOW config_file
.max_locks_per_transaction
.max_connections
and max_prepared_transactions
are set to. We recommend experimenting with higher values.If you are hosting Baserow with a managed database, please ask your hosting provider how max_locks_per_transaction
can be increased, they may be able to increase it for you.