SQL-Server-First-Responder-Kit icon indicating copy to clipboard operation
SQL-Server-First-Responder-Kit copied to clipboard

BlitzIndex ThresholdMB

Open BlitzErik opened this issue 10 years ago • 1 comments

Problem: This item was originally RE: BlitzIndex should warn about Partitioning (anything else?) regardless of the size. That's still true, but we need to re-think ThresholdMB in general. It defaults to 250MB, which is fine for larger databases with larger tables, but may not be good for smaller ones.

Solution: If ThresholdMB is not passed in, set it to a percentage of the size of the database. 5% is a good starting point, I think. This gives us some flexibility in cases where larger databases have many smaller tables, or small but important databases don't have qualifying table sizes.

BlitzErik avatar Jun 23 '16 13:06 BlitzErik

This idea has the opposite problem for large databases. BlitzIndex has enough going on without overly complicated logic to figure out a good threshold. Closing out.

BlitzErik avatar Jun 26 '16 14:06 BlitzErik