Prevent logs from filling up the server:
- Log in to the Microsoft SQL 2005/2008 Server as an administrator.
- Open up SQL Management Studio.
- Right-click the database that VirtualCenter is using.
- Click Properties.
- Click the Options link.
- Set the Recovery Model to Simple
- Click OK.
- Once this is complete, right click on the database again.
- Click Tasks>Shrink>Files.
- On the Shrink Database window select the file type as 'Log' . The file name appears in the filename drop down as databasename_log
- The space used versus the space allocated displays. After you set the recovery model to Simple, the majority of the space in the transaction log released.
- Ensure that the Release unused space radio button is selected.
- Click OK on this window to shrink the transaction log.
No comments:
Post a Comment