Reducing Storage Space

Reducing Storage Space

Post by Thiag » Thu, 18 Jul 2002 12:47:52



Hi All

I am currently trying to reduce the storage space of a 80
GB SQL Server 7.0 database.

One Major work i am trying to do is to convert all the
datetime datatype columns to smalldatetime and all numeric
datatype columns to int.

Since 30% of the columns in the database have columns of
this datatype. This should reduce the storage space.

After i changed the column type of all the tables. I don't
see any change in storage space per table. I got the info
using sp_spaceused.

Even after i issue dbcc dbreindex, and then sp_spaceused ,
these is not difference in the storage allocation.

Is there any other way of doing this.

Thanks in advance

 
 
 

Reducing Storage Space

Post by Richard Siddawa » Thu, 18 Jul 2002 21:08:00


If the reduction in row  size that you achieve by changing
the data types doesn't allow you to get at least one more
row on a page you won't see any benefit.

The dbreindex command will only save space if the fill
factor + decrease in row size allow you to get more rows
on a page

Quote:>-----Original Message-----
>Hi All

>I am currently trying to reduce the storage space of a 80
>GB SQL Server 7.0 database.

>One Major work i am trying to do is to convert all the
>datetime datatype columns to smalldatetime and all
numeric
>datatype columns to int.

>Since 30% of the columns in the database have columns of
>this datatype. This should reduce the storage space.

>After i changed the column type of all the tables. I
don't
>see any change in storage space per table. I got the info
>using sp_spaceused.

>Even after i issue dbcc dbreindex, and then
sp_spaceused ,
>these is not difference in the storage allocation.

>Is there any other way of doing this.

>Thanks in advance
>.


 
 
 

Reducing Storage Space

Post by Allan Mitche » Fri, 19 Jul 2002 06:48:31


Have you tried DBCC SHRINKFILE()

www.SQLDTS.com

On Wed, 17 Jul 2002 05:08:00 -0700, "Richard Siddaway"


>If the reduction in row  size that you achieve by changing
>the data types doesn't allow you to get at least one more
>row on a page you won't see any benefit.

>The dbreindex command will only save space if the fill
>factor + decrease in row size allow you to get more rows
>on a page

>>-----Original Message-----
>>Hi All

>>I am currently trying to reduce the storage space of a 80
>>GB SQL Server 7.0 database.

>>One Major work i am trying to do is to convert all the
>>datetime datatype columns to smalldatetime and all
>numeric
>>datatype columns to int.

>>Since 30% of the columns in the database have columns of
>>this datatype. This should reduce the storage space.

>>After i changed the column type of all the tables. I
>don't
>>see any change in storage space per table. I got the info
>>using sp_spaceused.

>>Even after i issue dbcc dbreindex, and then
>sp_spaceused ,
>>these is not difference in the storage allocation.

>>Is there any other way of doing this.

>>Thanks in advance
>>.

Allan Mitchell
www.SQLDTS.com
 
 
 

1. Reduce Storage Space

Hi All

I am currently trying to reduce the storage space of a 80
GB SQL Server 7.0 database.

One Major work i am trying to do is to convert all the
datetime datatype columns to smalldatetime and all numeric
datatype columns to int.

Since 30% of the columns in the database have columns of
this datatype. This should reduce the storage space.

After i changed the column type of all the tables. I don't
see any change in storage space per table. I got the info
using sp_spaceused.

Even after i issue dbcc dbreindex, and then sp_spaceused ,
these is not difference in the storage allocation.

Is there any other way of doing this.

Thanks in advance

2. Oracle 8.1.6 on Solaris 2.8

3. Reducing Storage Space

4. broadvision

5. Patch to reduce WAL log space usage

6. Msxml2.DOMDocument.4.0 update text data

7. Reduce allocated log space (newbie)

8. Project Manager - Software Licensing - SAP - At Synopsys

9. Reducing Allocated Space

10. What can reduce the database device space ?

11. Help!! Transaction Log - need to reduce allocated space

12. Reducing DAO's use of temp space.

13. Truncate reduces log space to 0