Skip to content

sp_BlitzIndex: Added warning for persisted sample rates. #3680

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

ReeceGoding
Copy link
Contributor

@ReeceGoding ReeceGoding commented Aug 3, 2025

Closes #3679 .

image

This was disturbingly easy. You will want to check over it very carefully. The only place where I really had to think was the dynamic SQL. I don't have super old versions of SQL Server hanging around, so I have not been able to test any branches other than the one that my 2022 Docker container hits.

The URL that I have given is the best that I could find. I cannot think of anyone who has spoken with the voice of experience about PERSIST_SAMPLE_PERCENT.

I might make an issue for us also not having incremental statistics, but the merge conflict will be a pain unless this is merged first.

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.

sp_BlitzIndex: Warn of persisted statistics if we are checking statistics
1 participant