-
Notifications
You must be signed in to change notification settings - Fork 721
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
Update Statistics very slow on a 3Tb database #798
Comments
running sp_updatestats takes just a few seconds (as the statistics are already up to date) |
I have found the issue.
|
Btw, can try dumping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running update statistics on a 3Tb database is very slow
SQL server 2022 ENT
Last version of the script
Command:
EXECUTE dbo.IndexOptimize
@databases = 'ABC',
@FragmentationLow = NULL,
@FragmentationMedium = NULL,
@FragmentationHigh = NULL,
@UpdateStatistics = 'Index',
@OnlyModifiedStatistics = 'Y',
@LogToTable = 'Y',
@MSShippedObjects = 'Y',
@execute = 'N'
The text was updated successfully, but these errors were encountered: