????? ????? ????? ?????? ?? SQL Server

?????? ????????? ?????? ?????????
???? ???????: 307487 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

?????? ??? ??????? ?????? ?? ????? ???? ????? ????????? ?????? ????? ?????? ?? Microsoft SQL Server. ??? ?? ???? ?????? ????? ?????? ???????? ????? ??????? ?? ??? ???????? ?????? ???? ??? ??? ??? ???:
  • ??? ????? ????? ??? ?????? ??? ??? ??? ?????? (?? ????? ?????????? ?? ??? ?????? ???? ?? ?????? ???????? ????? ????? ????????) ??? ?? ????? ????? ?????. ????? ??? ??? ??? ???? ???????? ??? ?????? ?? ?????? ??? ???? ???? ?????? ?? ??? ???????? ?? ?? ????????? ???? ?? ??????? ?? ??? ???????. ????? ???????? ???? ????? ???? SQL Server ?????? ??? ??????. ????? ????? ?????? ???? ?? ???? ???? ??? ???? ???? SQL.
  • ?? SQL Server 2005 ?????????? ??????? ????? ????? ?????? ?? ?? ????? ????? ?????? ?????? ???????? ??????? ?? ????? ????? ????? ?????? ??? ????? ??????? ???? ?? ????? ????? ????? ???? SQL Server.
  • ???? ???? ?????? ????? ?? ?????? ????? ?????? ???? ?????. ??? ???? ??? ????? ????? ???? ??? ??? ????? ?????? ????? ????? ??? ????? ?? ?????. ?????? ???? ?????? ?? ?? ???? ??? ??????? ???? ?? ???? ???? ????? ???? ?????? ?? ??? ???????? ?????? ?? ????? ???? ??????? ??????.

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

????? ?????? ??? ?????. ?????? SQL Server ?????? ?????? ?????? ?? ??????. ??? ??? ??? ?????? ?? ???:
  • ????? ??????? ??????? ???? ?? ??????? ???? ????
  • Worktables ???????? ?????? ??????? ???? ?? ??????? ????? ????????? ?????? ??????
  • ????? ?????? ?????
  • ????? ????? ??????? ??? ????????? ??????? ??? ???? ?? ??????? ??? ???? ???????? ???????
???? ???? SQL ??????? ????? ?? ??? ?????? ?????? ???????? ??????? ??? ??? ??? ????? ????????? ????? ??????? ????? ????????. ???? ??? ?????? ????? ???????? ?? ?????? ??????. ???????? ??? ???? ?? ??? ?????? ??????? ?????? ??? ????? ?????? ????? ?????? ?? ??? ??? ????? ????? SQL Server. ????? ?? ?? ???? ????? ??? ??? ?????? ?? ?????? ??? ?????? ???????. ??? ??? ????? ???? SQL ????? ?????? ???????? ???? ?? ????? ?????? ??????? ??? ????? ????? ???? ???? ???. ??? ?????? ?? ??? ?????? ?????? ???? ?? ?????? ???????? ??? ??? ????? ????? ??? ????? ????? ???????? ???? ?????? ???? ????? ????? ?? ????? DBCC SHRINKFILE .

???? ???????? ??? ????? ????? ?????? ????? ???????? ??? ??????. ????? ????? ???????? ??? ?? ?????? ????? ?? ??? ????? ??? ??? ???? ?? ????? ???????. ????? ????? ???? SQL ????? ?????? ????? ??? ?????? ???? ???? ???.

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

?? ??? ??????????? ??? ??????
?????????? ????? ???????????? ?? ?????????
????? ????? ???????????????? ????? ?????? ?? ??? ????? ?????? ???????? (tempdev ????????).
DBCC SHRINKDATABASE?????? ??? ????? ????? ????????.
DBCC SHRINKFILE??????? ????? ??????? ???????.
Studio ????? ???? SQL????? ????? ????? ?????? ????? ????? ???????? ?? ???? ????? ???????? ????????.

?????? Studio ????? ???? SQL ?? SQL Server 2005 ?? ???? ????? ?????? ?????? ?????? ??? ????? ?????. ?????? ??? ??? ?????? "??????? ??????? ?????" ?? sys.master_files ?? ??? ??? ??? ????? ??? ?????? ??? ???? ????? ????? ?????? ??????. ?????? ??? ????? ?????? ?????? ?????? ??? ????? ?????? ????? ??????? ??????? ?? Studio ????? ???? SQL:

use tempdb

select (size*8) as FileSizeKB from sys.database_files
??? ?????? ???????? ??????? ?????? ???.

?????? ?????? SQL Server 2000? ??? ??????? "???? ???????" ????? ?? SQL Server ????? Studio. ????? ??? ????? ??????? DBCC ??? ????? ???????? ?? ??? ???????? ??????.

????? ??????? ????? ?????? ??????? ?????? ?????? ??? ??? ???? ?? ??? ??????? ??.

??????? ??????: ????? SQL ????????

??????? ???????: ??????? ????? DBCC SHRINKDATABASE

??????? ???????: ??????? ????? DBCC SHRINKFILE

????? 2501 ? 8909 ????? ???? ?????? ?????? ???????

?? ???? ??????? ??????? ??????? ????? ???????? ????? DBCC SHRINKDATABASE ?? DBCC SHRINKFILE ? ?? ????? ????? ?????? ??? ???? ???? ?????? SQL Server ???? ???????:

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

????: Msg 8909? 16 ??????? 1 ???? ?? ??? ?????? 1: ????? ???? ?????? 0? ???? ??????-1? ???? 0? ???? ???? ????? 0 (??? ?????)? ???? ?????? (6:8040) ????? ??? ???? ???? ??? ???? ?? ??? ??????. ????? ?? ??? ?????? = (0:0).

SQL Server 2000
????: Msg 2501? ????? 16? ???? 1? ????? 1 ?? ?? ??? ???? ???? '1525580473'. ???? ?? sysobjects.

??????: Msg 8909? 16 ??????? 1 ???? ??? ???? ?? 0: 1 ???? ????, ???? ?????? 0? ?????? % ???? S_PGID. ????? ?? ??? ?????? = % S_PGID.



???????
  • ??? ??????? ?? ???? ??? ?? ??? ?????? ??????. ??? ????? ?? ???? ??? ?? ???? ??? ?? ???? ???? ????? ???? ?????? ??? ???????? ??????? ??? ??? 8909 ??? ??? ??????? ????? ????? ?????? ?????? ?????/?????. ?????? ??? ??? ????? ???? ?????? ???????? ??? ?????? ??????? ?? ?????????.
  • ?? SQL Server 2005 ?????????? ??????? ??? ????? ?? ?? ??? ????? ????? 8909 ??????? ?? ???????? ???? ??? ?????? ????? ????? ?????? ??????? ?? ????.
  • ?? SQL Server 2000 ?????????? ???????? ??? ??????? ????? ??????? ?????? ???. ???????? ????? ????? ??????? ???? ????? ????? SQL Server ?????? ????? ??????. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ????? Microsoft":
    277848 ???? ????? ????? "???? ????? ?????? 0? ???? ?????? 0? ???? ??????" ??? ????? DBCC DBREINDEX ?? SQL Server


?????

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

???????

???? ???????: 307487 - ????? ??? ??????: 01/???/1435 - ??????: 3.1
????? ???
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 7.0 Standard Edition
  • Microsoft SQL Server 2000 64-bit Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Workgroup Edition
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 R2 Datacenter
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Parallel Data Warehouse
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Web
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Web
  • Microsoft SQL Server 2008 Workgroup
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Parallel Data Warehouse
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2012 Web
????? ??????: 
kbsqlsetup kbhowtomaster kbmt KB307487 KbMtar
????? ????
???: ??? ????? ??? ??????? ???????? ????? ?????????? ??????? ?????? ??? ??????? ?? ??? ??????? ?? ??????? ??? ??? ?? ???? ????????? ???? ??????? ???????(CTF) ?? ?? ???? ????? ????. ???? ?? ???? ?????????? ??? ???????? ???????? ???? ??? ?? ???????? ??????? ?? ??? ??????? ???????? ?? ??? ??????? ??????? ??? ?????? ?? ?????? ??? ???? ???????? ???????? ?? ????? ??????? ????? ????? ??????. ??? ?? ???????? ???????? ?? ????? ??? ????? ?? ???????? ?? ???? ????? ?? ?????. ?????? ??? ???? ?????????? ???? ?????? ?? ??? ????? ?? ??? ??? ?? ??????? ?? ??? ????? ?? ???? ????? ????? ?? ????? ??????? ???? ?? ???????? ?? ??? ???????.
???? ??? ????? ??????? ?????? ??????????307487

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

 

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