Hello all
I have a MOSS 2007 (SharePoint 2007) farm setup. I'm mirroring the database servers. I have a maintenance plan I created with the wizard. Part of the plan shrinks the database. I called microsoft today to see if this would be ok. They told me the mirror databases would not reflect the principal databases ahter shrinking them. The pointed me to a KB article that describes this and has a workaround. You create a stored proc. Here's the KB
So i followed this, created the stored proceedure, then i created a job and entered this for each database
EXEC sp_shrink_mirrored_database 'database1'
EXEC sp_shrink_mirrored_database 'database2'
EXEC sp_shrink_mirrored_database 'database3'
Etc for each of my databases. Should I do it this way or can i run the EXEC sp_shrink_mirrored_database 'mydb' against all of my db's as so
EXEC sp_shrink_mirrored_database 'database1, database2, database3'
Thanks.
I have a MOSS 2007 (SharePoint 2007) farm setup. I'm mirroring the database servers. I have a maintenance plan I created with the wizard. Part of the plan shrinks the database. I called microsoft today to see if this would be ok. They told me the mirror databases would not reflect the principal databases ahter shrinking them. The pointed me to a KB article that describes this and has a workaround. You create a stored proc. Here's the KB
So i followed this, created the stored proceedure, then i created a job and entered this for each database
EXEC sp_shrink_mirrored_database 'database1'
EXEC sp_shrink_mirrored_database 'database2'
EXEC sp_shrink_mirrored_database 'database3'
Etc for each of my databases. Should I do it this way or can i run the EXEC sp_shrink_mirrored_database 'mydb' against all of my db's as so
EXEC sp_shrink_mirrored_database 'database1, database2, database3'
Thanks.