space noused

  • Howdy Everybody,

    I have this information about my database:

    NAME data_allocateddata_usedlog_allocatedlog_usedrecovery_model_desc

    XXX 817108 4504391348 94 FULL

    I want to know how can I free unused space this database??

    thanks...

  • DBCC SHRNIKDATABASE(<db_name>)

    ..and don't forget to run INDEX REBUILD for all indexes because the SHRINK operation will introduce a lot of fragmentation.

    Regards,

    IgorMi

    Igor Micev,My blog: www.igormicev.com

  • Thanks you so much guy, but about this command:

    DBCC SHRNIKDATABASE(<db_name>)

    I use NOTRUNCATE, TRUNCATEONLY or some else?

    i dont understand the perfect functionality of notruncante, truncateonly... i just have a free space disk

  • LOVER OF SQL (12/11/2013)


    Thanks you so much guy, but about this command:

    DBCC SHRNIKDATABASE(<db_name>)

    I use NOTRUNCATE, TRUNCATEONLY or some else?

    i dont understand the perfect functionality of notruncante, truncateonly... i just have a free space disk

    Find it here http://technet.microsoft.com/en-us/library/ms190488.aspx

    You don't need to add additional options. However it's your choice.

    Igor Micev,My blog: www.igormicev.com

  • Thanks man!

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

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