creating database on compressed drive

  • Hi all

    is it possible to create the database on Compressed drive by SQL server 2008 ....

    Regards,
    Shivrudra W

  • Yes it is possible.

    SQL Server 2008 has row/page compression option. You can utilize it.

    Compressed drive for SQL Server database is to be used only if you don't have any other option.

    Because it is synchronous operation and can slow down SQL Server.

  • Thanks,

    can you please provide me the sample Example (Script) for same

    Regards,
    Shivrudra W

  • row/page compression supports tables and indexes.

    Sample:

    CREATE TABLE T2

    (c1 int, c2 nvarchar(50) )

    WITH (DATA_COMPRESSION = PAGE);

    GO

    For more information please see BOL.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply