Skip to content

Speed up concise_* tables calculation#13331

Open
gregorbg wants to merge 20 commits intothewca:mainfrom
gregorbg:feature/speedup-concise-calculation
Open

Speed up concise_* tables calculation#13331
gregorbg wants to merge 20 commits intothewca:mainfrom
gregorbg:feature/speedup-concise-calculation

Conversation

@gregorbg
Copy link
Member

@gregorbg gregorbg commented Feb 2, 2026

This basically does what the title says. The query itself is not being changed, except for the fact that I've moved the nested query into a "proper" CTE.

The idea is that instead of joining everything for the GROUP BY on-the-fly, we already have all the data in the records lookup table. This enables indexes which can speed up the grouping significantly.

The price that we need to pay is storage space, though.

@FinnIckler
Copy link
Member

This has nothing to do with the Ranks Single or Ranks Average table right?

@gregorbg
Copy link
Member Author

gregorbg commented Feb 2, 2026

Right. You're probably talking about #13293, which is an entirely separate PR

2 similar comments
@gregorbg
Copy link
Member Author

gregorbg commented Feb 2, 2026

Right. You're probably talking about #13293, which is an entirely separate PR

@gregorbg
Copy link
Member Author

gregorbg commented Feb 2, 2026

Right. You're probably talking about #13293, which is an entirely separate PR

@gregorbg gregorbg force-pushed the feature/speedup-concise-calculation branch from 0a25a62 to cf3a13b Compare February 18, 2026 16:53
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.

2 participants