Alter the Replication Scheme
In order to perform the database defragmentation on the ttdb1 database, perform the following:
If you modified a unidirectional replication scheme, the ttdb2
database now acts as the master database in the unidirectional scheme; the
ttdb1 database acts as the subscriber database in the
unidirectional replication scheme. Now, the master database is functional and the
next step is to recreate the new database ttdb1 by duplicating the
previously defragmented database ttdb2. For details, see Destroy and Re-Create a Database.