Skip to content

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Sep 9, 2024

This fixes an issue where if we are vacuuming many row groups, the system was first vacuuming everything into in-memory row groups, followed by checkpointing them later on. By directly executing the checkpoint we can checkpoint the row groups while they are still fresh in-memory, and we avoid having to keep them in-memory for an extended period of time.

This partially alleviates the need for the max_vacuum_tasks introduced in #13811 - although having a limit is likely still a good idea.

@duckdb-draftbot duckdb-draftbot marked this pull request as draft September 9, 2024 17:38
@Mytherin Mytherin marked this pull request as ready for review September 9, 2024 17:39
@duckdb-draftbot duckdb-draftbot marked this pull request as draft September 9, 2024 20:45
@Mytherin Mytherin marked this pull request as ready for review September 9, 2024 20:47
@Mytherin Mytherin merged commit 403f0fc into duckdb:main Sep 10, 2024
41 checks passed
@Mytherin Mytherin deleted the interleavevacuumcheckpoint branch September 11, 2024 21:14
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Sep 25, 2024
Merge pull request duckdb/duckdb#13825 from Mytherin/interleavevacuumcheckpoint
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Sep 25, 2024
Merge pull request duckdb/duckdb#13825 from Mytherin/interleavevacuumcheckpoint

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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