Skip to content

Drop unused types for sp_costs#6264

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-some-sp-costs
Apr 27, 2022
Merged

Drop unused types for sp_costs#6264
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-some-sp-costs

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Apr 27, 2022

We create a lot of rows in sp_costs but do not currently use them for any reporting. The removed types account for around 79% of the total rows, so this should save a significant amount of overhead on the database side.

@mitchellhenke mitchellhenke requested a review from stevegsa April 27, 2022 20:54
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/drop-some-sp-costs branch from d6908e7 to 627e18f Compare April 27, 2022 21:10
changelog: Internal, Optimization, Do not create sp_costs for unused cost types
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/drop-some-sp-costs branch from 627e18f to 3da7120 Compare April 27, 2022 21:16
@mitchellhenke mitchellhenke merged commit 1181c82 into main Apr 27, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/drop-some-sp-costs branch April 27, 2022 21:37
peggles2 pushed a commit that referenced this pull request May 3, 2022
changelog: Internal, Optimization, Do not create sp_costs for unused cost types
peggles2 pushed a commit that referenced this pull request May 5, 2022
changelog: Internal, Optimization, Do not create sp_costs for unused cost types
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.

3 participants