Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    52

    Unanswered: HELP! How to reduce the unused spaces ..

    HI all,

    I have a database that allocated:

    Data: 7300 MB
    Log: 2000 MB

    But only used

    Data: 5500MB
    Log: 50MB

    How can I free the unused space in the transaction log because
    the database is getting too big.

    Thank you for your suggestion.

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    BOL:

    DBCC SHRINKFILE
    ( { file_name | file_id }
    { [ , target_size ]
    | [ , { EMPTYFILE | NOTRUNCATE | TRUNCATEONLY } ]
    }
    )
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •