Click here to read “How to Synchronize Analysis Services Database Using Synchronize Database Wizard in SSMS” article from the beginning.
Step 6: In Synchronization Options Wizard screen, you can specify security and compression settings. Different options available for Security roles and members are:-
- Copy all: – All roles and members will be copied to the destination database. Any existing role and membership data will be replaced.
- Skip Membership: – Only roles will be copied to the destination database, leaving members intact. This operation can result in addition or deletion of roles on the destination server.
- Ignore all: – No security information will be copied. Any existing roles and members remain unaffected.
Recommendation: One can select the check box “Use compression when synchronizing databases” to use compression feature while synchronizing analysis services database.

Step 7: In Select Synchronization Method wizard screen there are options available to Synchronize the analysis database immediately or to save the Synchronization XMLA scripts for future usage.

Step 8: In Completing the wizard screen you will be able to see a quick summary of all the selections you have done so far. To close the Synchronization Database Wizard click Finish.

XMLA Script to Synchronize Analysis Services Database
<Synchronize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Source>
<ConnectionString>Provider=MSOLAP.4;Data Source=SOURCESERVER;ConnectTo=10.0;Integrated Security=SSPI;Initial Catalog=MyTechMantra</ConnectionString>
<Object>
<DatabaseID>MyTechMantra</DatabaseID>
</Object>
</Source>
<SynchronizeSecurity>CopyAll</SynchronizeSecurity>
<ApplyCompression>true</ApplyCompression>
</Synchronize>
Reference
Trending Analysis Services Articles and Tips
- How to Detach SSAS Database in SQL Server
- How to Attach SSAS Database in SQL Server
- How to Synchronize Analysis Services Database Using Synchronize Database Wizard in SSMS
- How to Restore Analysis Services Database in SQL Server Using SQL Server Management Studio
- How to Automate Backup of Analysis Services Database Using SQL Server Agent Job
- How to Backup Analysis Services Database in SQL Server Using SQL Server Management Studio
- Database Consistency Checker DBCC CHECK For Analysis Services Database in SQL Server 2016 for Tabular and Multidimensional Databases

Add comment