Skip to content

Make it possible to specify the schema the dump needs to use#31

Open
megawubs wants to merge 1 commit into
beyondcode:mainfrom
megawubs:specify-schema
Open

Make it possible to specify the schema the dump needs to use#31
megawubs wants to merge 1 commit into
beyondcode:mainfrom
megawubs:specify-schema

Conversation

@megawubs

@megawubs megawubs commented Apr 20, 2026

Copy link
Copy Markdown

The package loads all available tables from all schemas into memory. This is not ideal when working in a multi-tenant environment as it can slow down the dump significantly when there are a lot of schemas available.

Another problem with loading all tables from all schemas is that it also breaks when another schema has tables that the current schema does not have.

For example, we have a central table that holds all relevant tenant information and some other related tables. In the current setup we need to exclude these tables from the dump. But it shouldn't be loaded in the first place in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant