????? ????? ??? ??? ???????? ?? SQL Server 2005

?????? ????????? ?????? ?????????
???? ???????: 907511 - ??? ???????? ???? ????? ????? ??? ???????.
??? ??? ?? ????? "??????? ???????"? ????? ?? ??????? ??????? ???????? ???????? ????????? ?? ?????? ??? ??????? ??????? ????.
????? ???? | ?? ????

??????

?? Microsoft SQL Server 2005? ????? ????? ??? ??? ?????? ?? ????? ?????? ?????? ??????? ??? ?????????. ???? ??????? ???? ????? ?????? ?????? ????. ??? ???? ??? ????? ??? ??? ??? ?????? ???? ??? ?????? ?? ???? ?????? ??? ??? ???????? ??????.

???? ??? ??????? ????? ??????? ????? DBCC SHRINKFILE ????? ??? ??? ???????? ?????? ??? ???? ????????? ?????? ?? ????? ?????? SQL Server 2005. ????? ??????? ???? ??????? ?????? ??? ??? ???????? ?? SQL Server 2005 ?? ????? ?? ??????? ???? ??????? ?????? ??? ??? ???????? ?? SQL Server 2000. ????? ?? ????????? ??? ????? ????? ??? ??? ???????? ?? SQL Server 2000? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
272318????? ??? ????????? ?? SQL Server 2000 ?? DBCC SHRINKFILE

??????? ????

?? SQL Server 2005? ????? ?? ????? ????? (DBCC SHRINKFILE) ????? ??? ??? ???????? ??????? ????? ??????? ????. ?????? ??? ??? ???????? ?????? ??? ???? ????????? ??????? ??? ????? ????????? ??? ??? ????????. ?? ?????? ????? DBCC SHRINKFILE ????? ??? ??? ????????.

????? ????? ??? ??? ???????? ?? SQL Server 2005 ???? ?? ????? ??? ??? ???????? ?? SQL Server 2000. ?????? ?? ?? SQL ???? 2005 ???? ????? ??????? ?? ???? ??????? ????? ????? ???????? ??? ??? ??? ????? ??????? ????? ????? ??????. ?????? ????? ??? ??? ???????? ???? ?? ???? ??? ????? ?? ????? ?????.

??? ???? ??????? ?? ???? ???? ??? ??? ???????? ????? ????? ??????? 100 ???? ??????? ????? ????? ??????? 2 ???. ?? ???? SQL Server 2000 ?????? ??? ????? ??????? ???????? ????? ?? ??? ??? ??? ???????? ??????? ??????? ??? ????? ??????? ?? ??? ??? ??? ????????. ?????? ??? ??? ???????? ??? ????? ????? ??????? 2 ???? ???? SQL Server ????? ??????? ?? ??? ????? ??????? ?????? ???????? ??? ???? ???????. ???? SQL Server ????? ????? ??????? ??? ?????? ?????? ???????? ??? ????? ?????? ?????? ????? ???????. ????? ??????? ?? ????? ??? ??? ????? ?? ??? ??? ??? ???????? ??? ??? ?? ??? ???????? ??? ????? ??????. ?? ??? ??????? ?????? ???? ??????? ?????? ????? ????????? ??? ?????? ? ?????? ??????? ?????? ?????? ??? ??? ???????? ????? ??? 2 ????? ??? ????????. ??? ???? ??????? ??? ??????? ?? ???? ??? ??????? 50 ??? ?????? ????? ????????? ?????? 50 ?????? ????? ??? ??? ???????? ????? ??? ????? ????? ??????? 2.

??? ???? ?? SQL Server 2005? ????? ????? ????? DBCC SHRINKFILE ????? ?????? ??? ??? ???????? ?????? ??? ????? ????? ??????? 2. ????? ?????? ???? ??? ????? ??????? SQL Server 2005 ?????? ????? ????? ??????? 2 ?????? ??????? ????? ????? ??????. ???? ?? ?? ????? ??? ???????? ?? ????? ??? ??? ?????????.

??? ?????? ????? ??? ??? ?????? ????? ??? ????? ??? ????? ?? SQL Server 2005? ?? ???? ????? ????? ????? ??????? ??? ??????. ????? ????? ????????? ????? ?????? ??????? ??? ??? ???????? ??? ??? ????. ????? ????? ????????? ??? ???????? ??? ???? ????? ????? ????? ??? ??? ???????? ?? SQL Server 2000. ????? ?? ?????????? ???? ????? ????? ????? Microsoft ???????? ?? ??? "??????". ?????? ??? ??? ?????? ????? ??? ????? ??? ????? ?? SQL Server 2005? ???? ??????? ???????:
  1. ????? ??? ??????? ???? ??? ????????? ???? ???? ????? ????? ??????? ?????? ??? ???. ????? ???? ????? ????? ????? ???????? ??? ??? ?? ???? ?????. ?????? ????? ??? ????? SQL Server ????? Studio ?? ?? ?????? ????? SQL ???????? ?????? ??? ??? ????? SQL ????????.
    BACKUP LOG <DatabaseName> TO DISK = '<BackupFile>'
    ?????? ?? ??? ??????? <DatabaseName></DatabaseName>????? ????? ???? ????? ???????? ???? ??? ???? ????? ?????????? ? <BackupFile></BackupFile> ???? ???? ?????? ?????? ???? ????? ?????????.

    ??? ???? ??????? ????? ????? SQL ???????? ???????.
    BACKUP LOG TestDB TO DISK='C:\TestDB1.bak'
  2. ????? ??? ??? ????????. ?????? ????? ?? ?????? ????? SQL ???????? ?????? ??? ??? ????? SQL ????????.
    DBCC SHRINKFILE (<FileName>, <TargetSize>) WITH NO_INFOMSGS
    ?????? ?? ??? ??????? <FileName></FileName>????? ????? ???? ??? ??? ????????? ? <TargetSize></TargetSize> ?? ???? ???? ???? ????? ???? ????? ?? ???? ??? ??? ????????. ??? ?? ???? ??? ????? ??????. ??? ???? ??????? ?? ????? ????? ??? ??? ???????? ??? ??? ????? ????? ??????? ??? ?? 2.
  3. ??? ?? ??? ????? DBCC SHRINKFILE ????? ??? ??? ???????? ????? ???? ?????? ??????? "??? ????? ?????????" ??????? ?? ?????? 1 ?????? ?????? ????? ????? ???????? ??? ???.
  4. ????? ??????? DBCC SHRINKFILE ??????? ?? ?????? 2. ??? ??? ???????? ??? ?? ???? ??? ??? ???????? ????? ?? ??? ?????.
????????? ????? ???????? ????? ??????? ?????? ??? ??? ????? ??????? ?????? ?? SQL Server 2005. ????? ?? ????? ????? ??? ??? ???????? ?? SQL Server 2005 ?? ????? ??? ??? ???????? ?? SQL Server 2000.
  • ??? ??? ??? ??? ?????? ?? ??????? ?????? ????? ??? ??? ???????? ?? SQL Server 2005 ???? ?? ????? ??? ??? ???????? ?? SQL Server 2000.
  • ??? ??? ??? ??? ?? ???? ????? ???? ????? ??? ??? ???????? ?? SQL Server 2005 ?? ??? ????? ??? ??? ???????? ?? SQL Server 2000.
  • ??? ??? ??? ??? ????? ??? ?????? ?? ???? ??? ????? ??? ??????? ??? ?????? ??????? ?? SQL Server 2005 ??? ??? ????? ??? ????? ?? SQL Server 2000.

?????

????? ?? ????????? ??? ????? ????? ??? ?????????? ????? ??? ????? ??? ????????? ???? ???? ????? Microsoft (MSDN).

????? ?? ????????? ??? ???? ???????? DBCC SHRINKFILE? ????? ??? SHRINKFILE DBCC (SQL ????????) ???? MSDN ??? ???.

????? ?? ????????? ??? ?????? ??? ?????????? ????? ??? ?????? ??? ????????? ???? MSDN ??? ???.

???????

???? ???????: 907511 - ????? ??? ??????: 01/?????/1433 - ??????: 1.0
????? ???
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Express Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Workgroup Edition
????? ??????: 
kbsqlsetup kbsql2005engine kbinfo kbmt KB907511 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????907511

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com