Select the product you need help with
??? ????????? ??? grows ????????? ??? ?? ?? ???? SQL Server ??? ??? ???????? ?? ????? ?? ???????? ID: 317375 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??. ?? ????? ??????????? SQL Server 7.0, SQL Server 2000 ???, ?? SQL Server 2005, autogrow ?????? ?? ??? ??? ????????? ??? ???? ??????? ?? ???? ????:? ??????????, ????????? ??? ????? ?? ???? stabilizes ?? ??? ????????? ??? truncations ?? checkpoints ?? ????????? ??? ????? ?????? ?? ??? ?? ???? ??? ?? ????????? ?? ?????? ?????? ????? ?? ???? ???? ???????, ??? ????????? ??? ????????? ??? ?? ???? ?? ???? ???? ?? ?? ????? ?? ???? ?? ???? ?? ?? ????? ?? ???? ???? ??????????, ???? ????? ?????? ????? ??????? ???? ??? ??? ????????? ?????? ????? ????? ????? takes ??? ?? ???? ?? ???? ??? ??????? ???? ???? ?? ????: ??????: 9002, Severity: 17, ??????: 2 ??????? ?? ??? ??? ????? ' %. * ls' ????? ??? ??????: 9002, Severity: 17, ??????: 2 ????????? ??? ??????? ?? ??? ' %. * ls' ????? ??? ?? ?????? ?? ??? ????? ??? ??? ????? reused ???? ????, sys.databases log_reuse_wait_desc ????? ????? ??? ??, ????????? ??? ??????? ????? ????????? ??? ?????? ?? ???? ??:
??????? ???? ??????? ?????? ?? ?? ???????? ?? ????????? ??? ??????? ?? ???? ??:
Uncommitted ????????? ?? ?? ?????? COMMIT ?? ?????? ???? ???? ????? ?????? ????????? uncommitted ??? ?? ??????? ?? ??? ????????? ???? ???? ???? ?? ??? ???? ?????? ???? ???? ???? SQL ????? Transact ???? issues ?? ????? ???? ??? ????????? ???????? ???? ??, ????? ??? ???? ??? ???; ?????, SQL ????? ????? ????????? ?????? ????????? ??? ?? ???? ?? ??????? ?? ???? ?? ??? ???? ?? ?? ?? ???? ?? ????? ??? ?? ?? ????? ??? ??? ?? ??????? ??? ??? ?????? ????????? ?? ?????? ???? ?? ??? ?? DBCC OPENTRAN Transact-SQL ?????? ?? ????? ?? ??????? ????? ?????? ?? ???? ??? ???? ??????? ?? ??? ?????? ?? Microsoft ???????? ??? ????? ?? ??? ????? ???? ???????? ?? ????? ????:295108
(http://support.microsoft.com/kb/295108/
)
?????? ????????? ??? ???? ?????? ??? locks ?? ??? ???????? ?? ???? ?? ???? ??171224 ??? ??, SQL ??? "DBCC OPENTRAN" ???? ?? ????? ????? ???????? ???????
(http://support.microsoft.com/kb/171224/
)
???? ??? Transact SQL ????? ' ???? ?? ????????????? uncommitted ????????? ??? ?????? ?? ???? ??:
???? ???????? ??????????????? ??? ????? ??? ??? ??????? ????????? ?? ????????? ?? ???? ?? ???? ?? ??? ???? ??? ????????? ??????? ??, ?? ????????? ?? ??? ????????? ??????? ??? ??? ???? ?????? ????????? ??? ?? ?? ?? ?? ??? ???? ???? ?? ???? ?? ??? ??? ??????? ??? ?????? ?? ???? ???? ??? ????????? ???????? ??, ?? ??? ????? ?? ???? ?? ?????? ????? ????? ????? ?? ?????? 9002 ?? ???? ?????? ????? "????????? ??? ?????" ?????? ?? ????? ?? ?? ?? ?????? ?? ?????? ????? ??????? ???? ?? ?? ???? ???? ?? ???? ??? ???????? ??????? ?? ??? ?????? ???? ?? ???? ??? "???? ???????" ??? ??? ??? ??? ??, ???? ?? ??? ?? ??? ????????? ?? ?????? ???? ?? ??? SQL Server overhead ?? ?????????????: DBCC DBREINDEX ?? CREATE INDEXSQL Server 2000 ??? ????????????? ???? ??? ???????? ?? ???? ?? ????? ????????????? ??? ?? ????? ???? ?? ????? DBCC DBREINDEX, ????????? ??? ?? ???? ?? ??????? ???????????? ???? ????? ???? ???? SQL Server 7.0 ?? ?????? ????????????? ??? ??? "Trunc ?? ??? ?? SELECT ??? ?? ???? ?????? ??? ????????? ?? ????? ??? ??? ?? chkpt."?????????????? ??? DBREINDEX ???????? ???? ?? ??? ?? ???? ??? ??? ?????? ?? ???? ??, ?????? ?? approach ??? ???????????? ?? ????? ???????? ???? ??? ????????? ??? ????? ?? ???????????? ???? ????? ????? Microsoft ???????? ???? ???? ??? ????? ???? ??? ??:232196
(http://support.microsoft.com/kb/232196/
)
????? ?? ???????????? ???? ?? ??? ????? ???? ?? ??? ????? ??? ?? ????? ??? ????? ???? ????? ?? SQL Server 2000 ???? ?????? ??? ??? ?? ????? ???? ?? ??? ??? ?? ?? ?? ???? ?????? ??? ????????? ?? ??? SELECT ??? ?????, ???????? ????????? ???? ?? ??????? ???? ?? ?? ?? ????? ?? ????????? ??? ?????? ?????? ?? ???? ????????? ??? ?? ????? ???, ?? ?? ?? ?? ?? ??? ???? ???????? ???? ?? ???????? ???????????? ???? ?? ???, ?????? ?? ?? ????????? ??? ???? ?????? ??? SQL Server 7.0 ?? ?????? ?? ????? ???? ??? SQL Server 7.0 ???? ??????? ???-?? extents ??? ??? ??, ????? ?? ???????? extents ??????? ???? ??? ?????, ?????? ???? SQL Server 2000 ??? ???????????? ???? ??? ?? ????? ???? ???? ?? ??? ??? ????? ???? ??? ??? ??? SQL Server 7.0 ??? ??? ?? ????? ??? ???? ??????? ????????? ??? ?????? ?? ??????? ????SQL ????? ?? ??? ??? ?????? ????? ?? ?? ?? ????? ???? ?????? ?????, ??? ?? ?? ???? ?? locks ???? ?? concurrency ???? ????? ?? ?? ??????????? ?? ???, ?? ???? ?????? ????? suppose ?? ?????? ????????? ???? ?????? ????????? ???? ?? ??? ?? ??????? ?? ??? ????? SQL ????? ??????, compiles ????, ?? ?????? ?? ????? ??? ???? ???? ?? ?? ?? ???? locks ???? ?????? ?? ??????? ???? ?? ??? ???? ??? ?????? ????????? ??? ?? ????? ?? ??? ???? ???? ??? ??, suppose ?? ??? ????????? ?? SQL Server TDS ????? ?? ??? (???? ?????? ?? ????? ??????? ?? ??? communicates)? TDS ????? ??? ??? ??? ?? ??????? ?? ??? ???? ??? ??? ????? ????? ?? ??? ????????? TDS ????? ?? ??? ???? ???, ??? SQL ????? ?? ????? ?? ???? ????? releases ?? ????? ????? ????? ?? ?? ???? ????? ???? ?????? ??? ???? ??? SQL ????? ?? ???? (?? ?? ???? ??? ??? ?????? ?? ??? DBNEXTROW/DBRESULTS, SQLNextRow/SQLResults ?? FetchLast/FetchFirst ?? ????? ????) ?? ??? ?????? ???? ?? ??? ??????? ?? ??? ????????? ????? ???? ???? ?? ?? ?? ???? ????? ?? held ?? ??????? ???? ?? ??? ??? ?????? ???? ??? ????? ????? ?? ???? ?? ?????? ???? ?? ???? ??????????? ?? ?????????? ?? ?? ?? ???? ??? ???? ???? ?? ??? ????????? ??? ?? ???? ???? ?? ??????? ?? ?? ??? '??? ?????' ?????? ????? ??????? ???? ?? ?? ??? ????? ????????? ?????? ???, ??????, ???????? ????? ????? ?? ?? ??? ?? ?? "?? ?????" ?????? ????? ?????????? ?????? SQL Server 7.0 ?? SQL Server 2000 ?? ??? ?????? ??? ??? ?????? ??? ????????? ??? ???? ???? ?? ??? ??, ?? ???????? ??? ?? ??????? ???? ?? ??? ????????? ??? ???? ?? ???? ???? ?? ???????? ??? ?? ???? ??, ?? ??? ?????? ???? ?? ???? ?? ?? ?? ?? ???? ???? ????-??? ???? ?? ???? ?? ???? ??? SQL Server 7.0 ?? ?????? ??? 9002 ?????? ???? ??? ?? ?????? ?? SQL Server 2000 ?? ??? ???? ???? ????? SQL Server 2000 ???, ??? ???? ???????:-shrink?????? ???? ??????? ?? ????, ????? ???? ??????? ?? ??? ???? ??? ???????? ???? ??? ?? ?? ?? ????? ??? ????????? ??? ???? ?? ?????? ???? ???????? ??? ?? ??????? ????????:-shrink?????? ?? ??? ?? ??? ??? ?? ??? ?????????? ?? 9002 ?????? ?? ???? ?? ?? ???? ??? ??????????, ????????? ??? ????? ?? ????: ???????? ???? ??????? ??? ???????, ????? ????????? ??? ?? ???? ??? ??????? ?? ????:
Unreplicated ???????? ????????? ??? ?????????????????? ?? ??????? ?? ???? ??? ??? ?? ????????? ?? ????? ?? ??? ???? ????????? ??? ?? ????????? ???????? ?? ???????? ???? ??? "?? ??? ?????????." ?? ??? ??? ??????? ???? ??? ?? ?????????, ???? uncommitted ??? ??? ????? ???? ???????? ?? ??? ?? ?? ??? ?? ????????? ??? ?? ????? ??????? ?? ????????? ?? ????????? ????? ?? ?? ?????? unmarks ??? ???? ????? ?? ??? ??? ??? ???? ????? ?? ??? ??? ?????? ?? ?? ????? ?? ?? ????????? ??? ??????????????????, ????????? ??? ?? ???? ?? ???-????????? ????????? ?????? ?? ?????? ?? ??? ??? ??????? ???? ?? ??? ???? ?? ???? ??? ?? ?????? ?? ???-????????? ????????? ?? ??????? ?? ??? DBCC OPENTRAN Transact-SQL ?????? ?? ????? ?? ???? ???Unreplicated ????????? ?????? ?????? ?? ???? ??? ???? ??????? ?? ??? SQL Server ???????? ?????? ??? "sp_replcounters" ?? "sp_repldone" ???? ?? ?????? ???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ???????? ????? ????:: 306769
(http://support.microsoft.com/kb/306769/
)
FIX: ???????? ??????? ???????? ?? ????????? ??? ???? ???? ?? ???? ????240039
(http://support.microsoft.com/kb/240039/
)
FIX: DBCC OPENTRAN ??????? ???? ????????? ???????198514
(http://support.microsoft.com/kb/198514/
)
FIX: ???????????? ???? ?? ??? ?? ????? ???? ??? ??? ???? ?? ??? ?????????? ?????????? ??????? ?? ??? ????????? ??? ??????? ?? ?? ??? ??????? ??? (VLFs) ??? ?? ??????? ???? ?? ?? ??? ????? ?? ????? ??? ?????? ?????? ?? ??? ???? ?? ?????? ????? ???? SQL Server internally ????????? ???? ?? ??? ??? ???????? ?? ???? ??? ?? ??????? ???? ??? ????? ?? ???? VLFs ?? ??????? ??? ?? ?? ?? ???? ?? VLF ???? ??????? ???? ?? ???? ???? ??? ????????? ??? ?? ?? ??? ??? VLF ????? ?? ???? ???: ??????, RECOVERABLE ?? REUSABLE.
???????? ??????? ?? ??? SQL Server ???????? ?????? ??? "????????? ??? ????? ???????????" ???? ?? ?????? ??? ??, ?? excellent ???? ?? ????? ?? ?? "???? SQL Server 7.0" ?? 190 ????? ?? (Soukup, Ron ??? ???? ???? ?????? Microsoft SQL Server 7.0, Microsoft ?????, 1999), ?? ?? ??? ????? 182 "???? SQL Server 2000" ?? 186 ?? ?????? ?? (Delaney, Kalen. ?????? Microsoft SQL Server 2000, Microsoft ?????, 2000)?SQL Server 7.0 ?? SQL Server 2000 ??????? ??? autogrow ?? autoshrink ???? ?? ??? ?????? ??? ??????? ???? ?? ???? ????????? ??? ?? ??????? ???? ?? ??? ??? ???? ?? ??? ?? ?? ???????? ?? ????? ?? ???? ???? ?? ?????? ???? ????? ?? ???????? ???? ?? ???? ??? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????: 315512 ????????? ??? ????? ?? ??????? ???? truncation ?? ??? ?? ???? ??? ?? SQL Server truncates ????????? ??? ????? ??, ???? ???? ?? (?????? ?? ???, ???? ?????????) ?? ????? ?? ??????? ??? ?? ???? ???? ???????, ?? ?? ??? ??? ??? ???? ????? ????? ???????????? ??? ?? ????? ?? ???? (?????? ?? ???, Windows Explorer ??? ?? ?? ????? ??dir????) ???? ?????????? ???? ??? ???????, .ldf ????? ?? ???? ????? ?? ???? ??? ?? ?? reused ?? ????????? ?? ??????? ???? ?? SQL Server shrinks ????????? ??? ????? ?? ???? ??, ???? ?? ?????? ??? ??? ????? ??? ????? ?? ???? ??? ???????? ????
(http://support.microsoft.com/kb/315512/
)
??? SQL Server Autogrow ?? Autoshrink ??????????? ?? ??? ?????????????? ??? ?? ???? ???? ?? ??? ???? ???? ?? ???? ??? ???? ??????? ?? ??? ?????? ?? Microsoft ???????? ??? ????? ?? ??? ????? ???? ???????? ?? ????? ????: 256650
(http://support.microsoft.com/kb/256650/
)
SQL Server 7.0 ????????? ??? ?? ???? ???? ?? ??? ???? ????272318 SQL Server 6.5 ????????? ??? ????? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
(http://support.microsoft.com/kb/272318/
)
??? SQL Server 2000 DBCC SHRINKFILE ?? ????????? ??? shrinking110139
(http://support.microsoft.com/kb/110139/
)
???? SQL ????????? ??? ?? ?????????? SQL Server 2005 ??? ??? ????? ?? ?? ??? ?????? ?? ??? ?? ???? ?? ?? ?????? ?? ??? ???? ????SQL ????? 2005 ??? ?? sys.dm_tran_database_transactions ???????? ??????? ????? (DMV) ?? ??? ????? ?? ?????? ?? ??? ?? ??? ?? ???? ???????? ?? ?????? ?? ??? ????? ?? ????? ????? ????? ??? sys.dm_tran_database_transactions DMV ???? ?????? ??:
Sys.dm_tran_database_transactions DMV ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?? ????: HTTP://msdn2.Microsoft.com/en-us/library/ms186957.aspx Sys.dm_tran_session_transactions DMV ?? ???? ??? ???? ??????? ?? ??? ????? MSDN ??? ???? ?? ????:
(http://msdn2.microsoft.com/en-us/library/ms186957.aspx)
HTTP://msdn2.Microsoft.com/en-us/library/ms188739.aspx Sys.dm_exec_requests DMV ?? ???? ??? ???? ??????? ?? ??? ????? MSDN ??? ???? ?? ????:
(http://msdn2.microsoft.com/en-us/library/ms188739.aspx)
HTTP://msdn2.Microsoft.com/en-us/library/ms177648.aspx
(http://msdn2.microsoft.com/en-us/library/ms177648.aspx)
??????? ID: 317375 - ????? ???????: 17 ??????? 2011 - ??????: 3.0 ???? ???? ???? ??:
???? ?????? ???????? ??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:317375
(http://support.microsoft.com/kb/317375/en-us/
)
| ???? ??????
|




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








