Skip to content
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

Feat/apply vacuum to schema only #69

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Conversation

jmkerloch
Copy link
Contributor

If the database used for pivot or pgr is also used for other services, a VACUUM ANALYSE command can be quite long.

This PR limit VACUUM ANALYSE command only to the created tables.

  • non_comm / edges / nodes for pivot table
  • ways / ways_vertices_pgr / turn_restrictions for pgr

@jmkerloch jmkerloch added the enhancement New feature or request label Jan 31, 2024
@jmkerloch jmkerloch self-assigned this Jan 31, 2024
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1027 377 37% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
r2gg/_pivot_to_pgr.py 4% 🟢
TOTAL 4% 🟢

updated for commit: 119f1da by action🐍

@jmkerloch jmkerloch requested a review from azarz January 31, 2024 09:18
Copy link
Member

@azarz azarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the big enhancement!

@lgrd lgrd merged commit 3a5dc66 into develop Feb 1, 2024
5 checks passed
azarz pushed a commit that referenced this pull request Feb 2, 2024
* feat(vacuum): analyse only created pivot table

* feat(vacuum): analyse only created pgr tables

* feat(changelog): update for VACUUM ANALYSE
@azarz azarz deleted the feat/apply_vacuum_to_schema_only branch February 14, 2024 10:12
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.

3 participants