Does USER_DATABASES include databases in AG? #847
Replies: 2 comments 2 replies
-
Indexoptimize is a read write operation only done on primary for the
AG...and databases not in AG of course
|
Beta Was this translation helpful? Give feedback.
1 reply
-
USER_DATABASES are all available databases, meaning read write, on Primary
and databases not in AG. AVAILABILITY_GROUP_DATABASES are only AG
databases, not databases outside AG
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Noiden
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use the parameter "USER_DATABASES" on a server that has AG configured and some databases in the AG, will the Index optimize run on the databases in the AG? or only on databases that is not in AG?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions