Drop Database connections in MS Sql Server 2000 -


I have a database with which we have problems, somehow the logs have become 400 GB and the database was rendered useless. I want to leave all the existing connections in the database and then want to separate the database.

What I am going to do is rid of the huge log files and create a new account and if it works then if it does not again, then we can restore it from backup Going.

If the log is useless, then you use these commands, but by applying to a production server Please firstly document on yourself.

To ignore log pages, backup logs with NO_LOG,

to view the name of the files sp_helpdb

DBCC SHRINKFILE ( 'Your log filename', 0) - For trunking the physical file in the specified file.


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%? -