8000 Use libpq Single Row Mode when fetching catalogs. by dimitri · Pull Request #584 · dimitri/pgcopydb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use libpq Single Row Mode when fetching catalogs. #584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

dimitri
Copy link
Owner
@dimitri dimitri commented Dec 18, 2023

Catalog queries may return a very large number of rows when the source database contain a very large number of objects (tables, indexes, etc). To best cope with that use Single Row Mode to fetch one row at a time in-memory before inserting it to our internal SQLite catalogs.

See #545
Fixes #532

Catalog queries may return a very large number of rows when the source
database contain a very large number of objects (tables, indexes, etc). To
best cope with that use Single Row Mode to fetch one row at a time in-memory
before inserting it to our internal SQLite catalogs.
@dimitri dimitri added the enhancement New feature or request label Dec 18, 2023
@dimitri dimitri added this to the v0.15 milestone Dec 18, 2023
@dimitri dimitri self-assigned this Dec 18, 2023
@dimitri dimitri merged commit 6ecc11a into main Dec 18, 2023
@dimitri dimitri deleted the feature/single-row-mode branch December 19, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design proposal for fixing the "Failed to fork a worker process: Cannot allocate memory" error
1 participant
0