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

Running AdaptiveIndexDefrag on AWS RDS SQL Server #279

Open
JoshuaKongTH opened this issue Jul 8, 2022 · 0 comments
Open

Running AdaptiveIndexDefrag on AWS RDS SQL Server #279

JoshuaKongTH opened this issue Jul 8, 2022 · 0 comments

Comments

@JoshuaKongTH
Copy link

First of all, thank you so very much for this wonderful utility. I just want to share my experience.

I downloaded and installed the script in one of our test AWS RDS SQL Server (Microsoft SQL Server 2016 (SP3) (KB5003279) - 13.0.6300.2 (X64) ); and when I ran it, it gives me an error "The SELECT permission was denied on the object 'dm_db_stats_properties_internal"

The user ID I used to execute the stored proc have db_owner role and does not have "deny" role selected.

After some online research and discussion with colleague, I modified the stored proc and replace "dm_db_stats_properties_internal" with "dm_db_stats_properties".

And voila it worked.

maybe this specific version of AWS RDS does not support dm_db_stats_properties_internal? not sure. but thought I would share here, if it might help others or someone can actually shed some light. thanks.

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

No branches or pull requests

1 participant