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

Introduce summary table for git_repo_metric #219

Merged
merged 5 commits into from
Nov 17, 2023
Merged

Conversation

dabico
Copy link
Member

@dabico dabico commented Nov 17, 2023

Rather than aggregating the code metrics in a view, we pre-compute them in a separate table called git_repo_metric_aggregate, which is kept in sync with git_repo_metric through triggers. The usage of a summary table allows us to also define indexes on it, which will no doubt make querying more efficient.

@dabico dabico merged commit e5c4139 into master Nov 17, 2023
7 checks passed
@dabico dabico deleted the enhancement/summary branch November 17, 2023 10:11
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