Skip to content
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

sp_BlitzLock fails on Amazon RDS #2037

Closed
BrentOzar opened this issue Apr 26, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@BrentOzar
Copy link
Member

commented Apr 26, 2019

Version of the script
All versions

What is the current behavior?
When you run sp_BlitzLock in RDS SQL Server, you get an error:

It's because AWS RDS doesn't support the stats streams options for UPDATE STATISTICS.

What is the expected behavior?
If we're running on AWS RDS, skip this line:

UPDATE STATISTICS #t WITH ROWCOUNT = 100000000, PAGECOUNT = 100000000;

Unless we get a good answer to this DBA.se question.

@BrentOzar BrentOzar added this to the 2019-04 Release milestone Apr 26, 2019

@BrentOzar BrentOzar self-assigned this Apr 26, 2019

BrentOzar added a commit that referenced this issue Apr 27, 2019

#2037 sp_BlitzLock support for AWS RDS
Skips update stats with options that RDS doesn't support. Closes #2037.

BrentOzar added a commit that referenced this issue Apr 27, 2019

#2037 sp_BlitzLock support for AWS RDS (#2038)
Skips update stats with options that RDS doesn't support. Closes #2037.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.