SQL Server 2005, Shrinking replication database -


I am currently using transaction replication with an updateable membership. Is there any way (including T-SQL) that can be used to remove the distribution database used within the replication schema? The file was named distribution.MDF

In addition to this, I got huge data stored on the folder repldata Are files saved in deletion? And how?

Deliver < / Strong> The database is just a regular system database, so you can shrink it in the same way as you can with all other databases (this is located under the system database folder) for example management studio

However, since that database is being used to store the data needed for replication. Received, it is to be increased again when put more data, so it is shrinking can not always be recommended.

> repldata must have a snapshot for replication and is required for new subscriptions and is necessary for the resumption of the previous ones. Unless you are using snapshot publishing, I believe it is safe for you to remove content. I have not received any documentation that confirms that it is supported, so it is not a good idea to do this (though, since SQL Server 2000 and supports the optional location of new snapshots, in which delete Known media, should not care about it)


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -