Checking Capacity Storage of SQL Server Database

Some time we need to know how much storage of our database that we use, to estimate our server capacity usage.

How we can determine storage capacity of the SQL server database?

its can be done using SQL’s query below:

(run SQL management studio, and put this query on)

query :

——————————————

use database_name;

exec sp_spaceused;

——————————–

example

SQL Server

and the result will be appears, its contain database_name, database_size and unallocated space (which is database storage left) informations

that’s all we have to do

Advertisements

About alamzyah
Name : Alamsyah Nick Name : Alamzyah Place of Birth : Jakarta, 04 June 1983 sex : Male Religion : Moslem Region : Jakarta, Indonesia Specialist : IT, Computer mail : alamzyah@gmail.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: