Skip to content

[Backport into 4.18] Postgres queries on object metadata and datablocks take too long to complete #8909

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
Mar 27, 2025

Conversation

liranmauda
Copy link
Contributor

@liranmauda liranmauda commented Mar 27, 2025

Explain the Changes

  • agent_blocks_reclaimer looks for deleted unreclaimed blocks.
  • This query can take a long time for large tables.
  • This index is usually small, and is only updated for deleted blocks and not for new blocks inserts

Signed-off-by: Danny Zaken [email protected]
(cherry picked from commit 983d5f2)

https://issues.redhat.com/browse/DFBUGS-1839

- agent_blocks_reclaimer looks for deleted unreclaimed blocks.
- This query can take a long time for large tables.
- This index is usually small, and is only updated for deleted blocks and not for new blocks inserts

Signed-off-by: Danny Zaken <[email protected]>
(cherry picked from commit 983d5f2)
@liranmauda liranmauda merged commit 56b7b84 into noobaa:5.18 Mar 27, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants