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

sp_QuickieStore: Add the ability to sort by arbitrary orders, but particularly wait stats and "plan count by hashes". #459

Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e9f12d4
First attempt at adding the ability to sort by the number of plan has…
ReeceGoding Jul 7, 2024
9710fe9
Removed some syntax errors.
ReeceGoding Jul 7, 2024
7d7c6b3
Fixed scoping of sorting column.
ReeceGoding Jul 7, 2024
5f39baa
Adding sorting column to all relevant outputs.
ReeceGoding Jul 7, 2024
007db70
Added #plan_ids_with_query_hashes to debug output.
ReeceGoding Jul 7, 2024
f81fabe
Fixed QueryHashesWithCounts Join
ReeceGoding Jul 7, 2024
38e5686
Renamed the new sort order, made debug output work when the new order…
ReeceGoding Jul 13, 2024
7093fab
Fixed plurals.
ReeceGoding Jul 13, 2024
2217a25
Made new sort order fit better with @Top
ReeceGoding Jul 13, 2024
131d7ad
Truncated #plan_ids_with_query_hashes
ReeceGoding Jul 18, 2024
6f766ab
Added sort order for many wait stats. Minor edits to previous sort or…
ReeceGoding Jul 21, 2024
3e00059
Fixed syntax erorrs in debug.
ReeceGoding Jul 21, 2024
c424a2e
Alaised new sort column. Fixed n column
ReeceGoding Jul 21, 2024
d6f26a1
Added sort_order for total waits. Improve debug output. Added missing…
ReeceGoding Jul 22, 2024
236737a
Formatted and sorted new columns correctly. Added comment to explain …
ReeceGoding Jul 24, 2024
e0e7096
Made 'plan count by hashes' code much shorter and faster, and made it…
ReeceGoding Jul 27, 2024
150d3e2
Typo fix.
ReeceGoding Jul 27, 2024
b4f71d1
Made new tables include database_ids to make @Get_All_Databases=1 work.
ReeceGoding Jul 27, 2024
c4f6cf8
Fixed primary key violation in new tables.
ReeceGoding Jul 27, 2024
ff8273c
Added more checks for database_id with the new tables.
ReeceGoding Jul 27, 2024
a26a404
Made new database_id checks agree with what is in scope.
ReeceGoding Jul 27, 2024
0a71f02
Stopped multiplication of results in #plan_ids_with_query_hashes
ReeceGoding Jul 27, 2024
a714af8
Stopped mixing tabs and spaces.
ReeceGoding Jul 27, 2024
fc27178
Moved sort-helping tables to just before #distinct_plans. This lets m…
ReeceGoding Jul 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading