Scaling
I am not great at numbers. Especially big numbers, or numbers that need to get converted, like going from KB to GB.
Not KGB. I don’t wanna ever end up there.
Being but a mere mortal, I always find it a whole lot easier to figure out what I’m looking at when there are some separators in there.
For me in all my American Glory, that’s properly placed commas.
π«‘πΊπΈ
BigNumber4U
Some queries can rack up some pretty impressive resource consumption numbers, especially in Query Store where historical data is held for much longer times than the plan cache.
Making matters worse is that it makes sense to scale things to precise numbers that can look really confusing when they hit anything more than eight or nine digits.
That’s why I wanted to make sure sp_QuickieStore had a way to make things easier on us numerically-challenged public school kids.
EXEC sp_QuickieStore
@format_output = 1;
Any number that meets the prerequisites for comma insertion will get one. here’s a small example:

Isn’t that nice?
Thanks for reading!
Going Further
If this is the kind of SQL Server stuff you love learning about, you’ll love my training. Blog readers get 25% off the Everything Bundle β over 100 hours of performance tuning content. Need hands-on help? I offer consulting engagements from targeted investigations to ongoing retainers. Want a quick sanity check before committing to a full engagement? Schedule a call β no commitment required.