Server Management - Systems Insight Manager
1754166 Members
3036 Online
108811 Solutions
New Discussion юеВ

Moving database.

 
Simon H
New Member

Moving database.

We have a SIM 5 server where the database has been installed on the C drive, it's now approaching 3GB and causing issues for the OS as we only have about 100MB free, how can I move the DB to another drive?
2 REPLIES 2
Igor Karasik
Honored Contributor

Re: Moving database.

Simon,
Most likely you have full recovery model for SIM database and you don't do transaction log backups.
Change SIM database recovery model to "Simple" and shrink transaction log file.
"How to stop the transaction log of a SQL Server database from growing unexpectedly"
http://support.microsoft.com/kb/873235/en-us
After transaction log shrinking you will have very small and nice HP SIM database :-)

Anyway, without relation to SIM database size, it is good idea to move SIM database files to drive D:
"How to move SQL Server databases to a new location by using Detach and Attach functions in SQL Server"
See "Moving user databases" part
http://support.microsoft.com/kb/224071/en-us
Simon H
New Member

Re: Moving database.

Thanks Igor, I'll try that in the morning, would be good to bothshrink *and* move it, I'll let you know howI get on.