How can I reduce my Database size Buy Truncating and Shrinking it?

For each transaction, the database create a log file, by over time, the high volume of database space will be occupied. But you can apply through the instructions bellow to delete the log files.

Depending on the type of service you are using, one of the following methods can be used for entering to SQL Web Manager:

If you are using Website Panel as your hosting panel (2008 services):

Type cp.yourdomainname then enter your username and password to login to your WSP control panel. Click on database after that SQL Server 2008.In the current page click on browse database that is in front of your database name.

If you are using Helm as your hosting panel (2003 services):

Type cp.yourdomainname then enter your username and password to login to your Helm control panel. Click in domains then your domain’s name. In the current page select Database option and then click on the database name. You can now use the connection information to the database server’s address. (i.e. sql2.yourdomain/sqladmin)

1-      Type the address in the address bar of your browser.

2-      After entering the username and password, you can enter "SQL Web Manager".

3-      In the left pane click the "logs truncate" button.

4-      Click on the "truncate" button in the page loaded bellow.

5-      This time, click on the Shrink button.

6-      After that, in target percentage put 0 then click the shrink button.

After completion you can see the database’s volume on the current page (see the bottom of the left pane)

Was this answer helpful?

 Print this Article

Also Read

How can I migrate my data from MySQL to SQL Server?

Microsoft TechNet has an article specificaly for migrating MySQL databases to SQL Server. Follow...

I get \"SQL Server does not exist or access is denied\" error when I tried to connect to MS SQL database on your server?

  This error indicates that Enterprise Manager cannot make a connection the remote SQL...

How do I connect to SQL Server using Visual Studio .NET?

  SUMMARYVisual Studio .NET 2002 includes a built in database management tool (similar to...

What is the port that SQL Server clients (Enterprise Manager, Query Analyser, etc) use?

SQL Clients (Enterprise Manager, Query Analyser, etc) use TCP port 1433. If you cannot connect to...

I get this error when trying to connect to my database using SQL Management Studio 2008. "The server principal "username" is not able to access the database "some_database_name" under the current security context. (Microsoft SQL Server, Error: 916)"

This error can be encountered when connecting to either SQL 2005 or SQL 2008 databases using SQL...