???? ID: 231619 - ????? ???????: 29 ????? 2011 - ??????: 4.0

SQL Server ?? ??? ????? ???????? ??????? ?? ??????? ???? ?? ??? SQLIOSim ?????? ?? ????? ???? ????

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

Microsoft SQL Server 2005 ?? ???, SQLIOSim ?? ??? ??????? ????? ?? ??? ??? shipped ???? ??? ??? SQL Server 2008 ?? ??????? ???? ???, SQLIOSim ?? ??? SQL ????? ?????? ??????? ????? ??? SQL Server ??????? ???? ???, ?? ?? SQLIOSim ????? ???? SQL ????? ??????? ??? BINN ??????? ????? ?????? ????? ?? ?? ?????? ???? ??? ??????? ?? ??-????? ?????? IO ??????? ?? ??????? ???? ?? ??? ????? ?? ???? ????

SQLIOSim ???????? SQLIOStress ???????? ????? ??? SQLIOStress ???????? ?? SQL70IOStress ???????? ?? ??? ??? ???? ???? ???

?? ???? ?? ??????? ??????? SQLIOSim ?????? ?? ??? ???

?????

?? ???? ????? ???? ?? ?? SQLIOSim ?????? ??? ?? ????? subsystems ?? ??????????? ?? ?????? ??????? ???? ?? ??? ?? ????? ?? ????? ?? ???? ???? ?? ??????? ????? ?? ???, ????, ??? ?????, ?????, ????? ???? ?? ????? ?? ???-???? ?????????? ?? ??? Microsoft SQL Server ?? ???????? ???????, ??? ?? ?????? ??????? ???? ?? ??? ?? i/O ?????? ??????? ?? ?????? ?? ???????? ???? ?? ??? ??, ?? ?? ?? ????? ???? ?????SQLIO (http://www.microsoft.com/downloads/en/details.aspx?familyid=9a8b005b-84e4-4f24-8d65-cb53442d9e19&displaylang=en) ??????

???? ???????

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

SQLIOSim ???????? SQLIOStress ?????? ?? ???????? ???? ??? ??? SQLIOSim ???????? ?? ???-??? i/O ???????? Microsoft SQL Server 2005, SQL Server 2000 ??, ?? SQL Server 7.0 simulates. I/O ???????? SQL Server ?? ?? ????????? ??? ?? ??-????? ???? ???? SQLIOStress ???????? SQL Server 2005 i/O ?? ?????????? ?? ?? ?????? ?? ??? ??????? ?? ??? ????? ???? ??? ???

SQL Server i/O ???????? ?? ???? ??? ???? ??????? ?? ???, ?????? ????? 2 ?? Microsoft SQL Server i/O ??????? ????, Bob Dorr, Microsoft SQL Server ????????? ??????? ??? ??????? ???? ?? ??? ?????????, Microsoft ?? ????? ??? ???? ?? ????:
http://technet.microsoft.com/en-us/library/cc917726.aspx (http://technet.microsoft.com/en-us/library/cc917726.aspx)
???????-?????? x ?? ??? x86-?????? SQLIOSim ?????? ??? ???? ??, ?? x64-?????? ???????? x. ???? ?????? ?? ??????? ???? ?? ??? ????? ???? ?? ????? ???? ???? ?????? ?? ????

SQLIOSim ??????, x86-?????? ????????? x

?? ??? ?? ??????? ?????? ??? ?? ??????? ????
??????? ????
SQLIOSimX86.exe ?????? ?? ??????? ????? (http://download.microsoft.com/download/3/8/0/3804cb1c-a911-4d12-8525-e5780197e0b5/SQLIOSimX86.exe)

SQLIOSim ??????, x x64-?????? ???????

?? ??? ?? ??????? ?????? ??? ?? ??????? ????
??????? ????
SqliosimX64.exe ?????? ?? ??????? ????? (http://download.microsoft.com/download/6/5/2/65286f65-bff2-42b8-b0c9-87f117855069/sqliosimX64.exe)

SQLIOSim ??????, ???????-?????? ???????

?? ??? ?? ??????? ?????? ??? ?? ??????? ????
??????? ????
SQLIOSimIA64.exe ?????? ?? ??????? ????? (http://download.microsoft.com/download/2/c/f/2cf8fb0a-a943-456b-9cf5-68ce426180a1/SQLIOSimIA64.exe)
?????? ??????: 19-Oct-2006

???? ??????? ?? ??? Microsoft ??????? ???? ?? ??? ???? ???? ?? ???? ??? ??????? ?? ?????? ??, ??? ???? ????? ?? ??? ?????????? ???? ?????? ????? ???? Microsoft ?????? ???:
119591  (http://support.microsoft.com/kb/119591/ ) ?????? ?????? ?? Microsoft ?????? ??????? ?? ??????? ???? ?? ??? ????
Microsoft ?? ????? ??? ????? ?? ?? ??? Microsoft ???? ???? ????? ???? ??? ?????? ?? ?????? ?? ??????? ???-????? ?????????? ?? ????? ????? ???? ??? ??? ????? ?? ????? ??? ??? ?? ???????-??????????? ????? ?? ???????? ?? ???? ?? ??????? ???????? ???? ?? ??? ??????

??? ??????? ???? ?????? ?? ???????, ???? ???? ??? ??? ?? ??? ?? ?? ?? ?????????? ???? ?? ???? ???? i/O ???????? ?? ???? ??????? ????????? ???? ??????? ???? ??? SQL Server ?? ?? ?????????? SQLIOSim ??????, ??? ???????? simulates, ???? ????????, ?? SQL ????? ?? ?????? ????? ???????? ???? ?? ??? ?? ??????? ?? ????, SQLIOSim ???????? simulates ?????????? ??????? ?? SQL ????? ?????? ?? ?????? ???????? ?? ?????? SQLIOSim ????????? ???? ?? ??????? SQL Server ???? ?? ?????????

SQLIOSim ???????? ?????? ?? ?? ???? warrant ????? ?? ???? ???????? ?????? ?? ?? ?????? ??????? ?? ???? ???? ?? ??????? ?????? ????? ?? ??? ??????? ?? ?? ???? SQLIOSim ?????? ??????? ???? ?????? ???????? ?? ?????? ?? ???? ???

????? ?? ???? ?????? ?? ???? ??? ???? ??????? ?? ??? ????? ???? ????? ???? ?????? ???? ?? Microsoft ???????? ??? ?????:
230785  (http://support.microsoft.com/kb/230785/ ) ?????? SQL Server 7.0, SQL Server 2000 ?? SQL ????? 2005 ?? ???? ??????? ?????????? ???? ?? ??????????? ?? ??????? ????
?? ???????? ????? ??????? ??????? ????? ??, SQLIOSim.com ?? SQLIOSim.exe. ????? ???????? ????? ??????? ????? ?????? ??????? ?? ????????? SQLIOSim.com ?? ?? ???? ??? ?? ????-?????? ????? ?? ?????????? ????????? ?? ???? ????? ?? ??? ????????? ????? ??? ???? ?? ???, ???? ???? ?????? ????? ?? ???? ??? ????????, ???????????? ????? ?? ?? ????????? ?? ????? ?? ?? ??????? ??? ????-?????? ??????? ???? ?? ?? ???????? ????????? SQLIOSim.exe ?? ????????? ??? ??, SQLIOSim.exe ?? ???????? ???????????? ???? ??? ???? ???????????? ????????

SQLIOSim.com ????-?????? ????????

SQLIOSim.com ?? ????? ?????? ??? ????-?????? ?????????? ??????? ???? ?? ?????? ??????? ?? ????????? ???? ?? ???? SQLIOSim ???????? ?? ??? ???????????? ????? ????? ??????? ???????? ?????? ???? ??? ?? ????-?????? ????????, ?? ???????????? ????? ?????? ??????????, ????-?????? ???????? ?? ???????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????
-cfg ????Sqliosim.cfg.ini ???????? ???????????? ????? ?? ???????? SQLIOSim ???????? ?????? ???? ?? ?? ?????? ????? ???? ???? ?????
-?????? ???????????????? ??? ??? ???? ???????????? ?????? ????? ??? ??? ?? ????????? ???????????? ????? ????? ?? ??? ?? ?????? ?? ????? ?? ???? ????
-??? ?????????? ??? ????? ?? ?????? ??? ????? ??? ????????? ???? ??? ???????? ????? ??? Sqliosim.log.xml ???
-dir dir(.Mdf) ???? ????? ????? ?? ??? ????? ??? ?? (.ldf) ??? ?????? ??? ?? ?? ?? ???? ??? ?? ???? ??? ???? ???? ??????? ?????? ???, ?? ?????? ??? ?? ??????? ????? ????? ????? ??? ?? ????? ?? ???? ?? ???? ?? ?? ?? UNC ???
-d ?????????? ?? ?? ???? ??? ????? ?? ??? ???? ?? ?????? ??? ?? ??????? ????
-???? MB???????? (MB) ???? ????? ?? ????????? ???? ??? ????? ????? ?? ?? ??? ????????? ???? ?????? ?? ???? ???? ??? ????? ???? ?? ??? ?? ???? ???? ????? ?? ??? ??? ???? ?? ????? ???????, ??? ????? ???? ???? ?? ???? 50 MB ?? ?????

???????????? ????? SQLIOSim

??? ?? ???? ???????????? ????? ?? ????? ???? ?? ??? ???? ??? ??? ?? ????? ???? ???? ???, ?? ?? ???? ????? ?? ???? ?? ???? ??? ?????????? ?? ???????? ??? ???????????? ????? ????? ?? ??? ????? ?????? ??? ?? ????? ??????? ??? ?? ???? ?? ?? ????? ???? ???? ???? ????? ????? ?? ??? ????? ????? ?? ????????? ???? ?? ???:
  • SQLIOSim.com ??? ????-?????? ???????? ?? ????? ???? ????? ???
  • ?? ????? ???? ??????? ?? ???????????? ????? ????? ?? ??? ???? ??? ?? SQLIOSim.exe ????? ?? ????? ?? ????
  • ?? ????? ???? ?????x ???????????? ????? ?? ????
?????
  • ???????? ?? ??? ?? ?? ????? ???? ??, ?? ?? ???????? ?? ???????, ?? ???????? ??? ?? ??? ??? ????????? ?? ?? ?? ?????? ?? ??????? ?? 0.01 ?????? ??????? ??????? ?????? ?? ???, ?? ????? CacheHitRatio ???????? 10 ??????? ??? ?? ??? ?? ??? ??? ?????? ?? 1000 ??????? 10 0.01 ?????? ??????? ??, 1000 ?? ????? ??? ?????? ??? ?? ?? ??????? ???????? ?? 10000.
  • ??? ???????? ?????? ?????????? ??, ?? ???? ????? ??? ???-???????? ??? ?? ??? ???????? SQLIOSim ???????? ???????? ??? ???? ?? ??? 0.
  • ??? ?????? ???????? ?????? ??, ????? ???? ?? ??? ???????? ?? ????? ?? ???? ??? True , ?? false. ???? ????????, ??? ??? ?????? ???? ???? SQLIOSim ???????? ?????? ??? ?? ????? ???? ?????
  • ?????????? ?? ??? ????? ??????? ??? ?? ????? ???? ??, ?? ?? a ?????? ??? ??????? ??? ?????? ??? ?? ???? ???? ???? ?????? ?? ??? ??????, ?? ????? MinIOChainLength ???????? ???? ???? ????? ?? ??? ?? ???? MaxIOChainLength ?????????
  • ??? ?? ???????? ???????, SQLIOSim ?? ?? ?????? ?? ????? ???? ?? ?????? ????? ?? ??????? ???????? ??? ????????? ??? ?? ???? ???? ?? ?? SQLIOSim ???????? ???????????? SQLIOSim ???????? ?? ??? ?? ???? ???? ?? ????????? ???? ?? ????? ?????? ????? ???? ?? ???? ?????

CONFIG ??????

SQLIOSim ?????? ???? ?????? ????????? ??? ???? ?? ??????? ??????? ??????? ???? ?? ??? SQLIOSim ???????????? ????? CONFIG ?????? ????????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
ErrorFilesqliosim.log.xmlXML ?????? ??? ????? ?? ???
CPUCount???????? Cpu ?? ????????????? ?? ?????? Cpu ????? ?? ????????? 64 Cpu ???
??????0?? ??? ???? ???? ?? ??? ????? CPU ???? ????? ??????? Cpu???? ????? ?????? CPU ????? ?? ???? ???? ?????? ??? 0 ??? ?????? Cpu ????? ???? ????? ???? ???
MaxMemoryMB?????? ????? ?????? ?? SQLIOSim ???????? ??????? ???? ?????? ??? ??? MB ??????? ?? ???? ???? ?? ???? ????? ?????? ?? ??? ?????? ?? ???????? ???
StopOnErrorTrue??????? ??? ?? ???? ?? ?? ???? ?????? ?? ???? ?? ??
TestCycles1????? ??????? ?? ??? ?????? ?? ????????? 0 ??????? ?????? ?? ?? ???? ?????? ?? ????? ???? ???
TestCycleDuration300??????? ?????? ????? ??? ?? ??????? ???? ?? ???? ???? ?? ??? ??? ??? ????
CacheHitRatio1000?? SQLIOSim ???????? ????? ?? ???????? ??? ??? ?????? ????? ??
MaxOutstandingIO0??? ??? i/O ???????? ?? ?????? ?????? ?????????-???? ?? ????????? ?? ???? ???? ?? ???? 140000. ??? 0 ?? ???? 140,000 i/O ???????? ???? ?? ?????? ????????? ??? ?? ?????? ?? ???? ???
TargetIODuration100I/O ???????? ??? ????????? ???, ?? ???? ????????? ?????? ????????? ?????? ??? i/O ???? ?? ???? ?? I/O ????, SQLIOSim ???????? throttles ???????? i/O ?? ?????? ??? ?????? ?? ??? ?? i/O ??????? ??? ??? ????? ???? ?? ??? ???????
AllowIOBurstsTrue???? i/o ?????? ????? ???? ?? ??? ????????? ??? ???? ?? ??? ?????? ??? ??????I/O bursts ????????? ?????? ?? ?????, ????????? ????? ??? ????????, ?? ????? ???????? ??????? ?????? ??????? ?? ??? ???? ' MaxOutstandingIO ???????? ??? ?? honored ??? ???? i/O ?? ??????? ?? ???? ??? ???????????
NoBufferingTrueFILE_FLAG_NO_BUFFERING ?????? ?? ????? ????????? SQL ????? ?? ??????? ??????? FILE_FLAG_NO_BUFFERING ?? ????? ???? ??? = = true. ??? ?????????? ?? ??????, ???????? ??????, ???? FILE_FLAG_NO_BUFFERING ?? ????? ???? = = false. ???? ??? ?? ????? ?? ??????? ???? ?? ???, ???????? ?????? ?? ??? ?? ??????? ?? ????????? ?????
WriteThroughTrueFILE_FLAG_WRITE_THROUGH ?????? ?? ????? ????SQL ????? ????? ?? FILE_FLAG_WRITE_THROUGH ?? ????? ?? ??????? ??????? = = true. ???????, ??? ?????? ?? ?????????? ??????? ??????? FILE_FLAG_WRITE_THROUGH ?? ????? ?? ????? = = false. ?????? ?? ???, SQL Server ???????? ?????? ?? ??????? ????? ?? ????? ?? FILE_FLAG_WRITE_THROUGH ?? ????? ???? ??? = = false. ???? ??? ?? ????? ?? ??????? ?? ??? ?? ????????? ???? ???????? ?? ??? ???????? ?? ??????? ?????
ScatterGatherTrueReadScatter/WriteGather APIs ?? ????? ?????? ?? ???????? ??? ???? ?? ??? ?? True, NoBuffering ???????? ?? ??? ???? ??? ?? ???? ?? ??? True.

SQL Server ????? ?????/I/Os ?? ??????? i/O ????? ?????????
ForceReadAheadTrue?? ????-???? ????????? ?? ??? ?? ???? ?? ???? ?? ?? ?????SQLIOSim ?????? ????? ???? ??? ?????? ???? ????? ???? ??? ??? ???? ?? ?? ???

Microsoft SQL Server ?????? ??????????? ????? ???? ???? ?? True i/O ???????? ?? ??????? ???? ?? ??? ??? ?????
DeleteFilesAtStartupTrue??? ????? ????? ????????? ?? ??????? ?? ???????? ????? ?? ???? ??. ?? ?? ???? ???? ??????? ???? ??? ????????? ???? ????????? ?????x ????? ?? ??? ????????? ??? ???? ????? ???? ??? ???????? ??????? ?? ????????? ???? ???? ??, ??? ?????? ??? ?? ???? ????
DeleteFilesAtShutdownfalse??????? ?????? ???? ?? ??? ??????? ???????? ????? ?? ?? ???? ???? ??????? ?? ???? ??? ???? ?????? ????????? ???? ???? ??????? ?????x ????? ?? ??? ????????? ??? ???? ????? ???? ??? ???????? ???? ??????? ?? ????????? ???? ???? ??, ?? SQLIOSim ?? ?????? ??? ???? ????? ?? ???????
StampFilesfalse?? ??? ????????? ?????? ????????? ?????? ????????? ??? ????? ???? ???? ?? ?? ???? ??? ?? ???? ??? ??? ?? ?? ???????? ??? ???? ?? ??? false, ?????? SQLIOSim ?????? ????? ??? ????? ???? ??? ?? ???????

SQL ????? 2005 ?????? ????? ????????? ?????? ?? ????? ???? ?? ???? ??????? ?? ??? ??? ??? ??? ????? ???? ????? ??, ?? ?? ?????? ????? ??????? ???? ????? ???? ??, ????????? ????? SQL Server ????? ???? ??? ????????? ?? ??? SQL ????? ???? SQL Server 2000 ?? ????? ?? ????? ??????????

??? ?? ????? ????? StampFiles ????????? ???? ?? ??????? ?? ????? ???????? ????? ?????? ????? ???? ?? ????? ????????? ??? ??? ?? ????? ????

?????x ??????

SQLIOSim ?????? ?????? ????? ?? ??? ?????? ???? ?? ??? ??????? ???? ??? ?? ??????? ?? ??? ??? ?????x ??? ?? ??? ??? ???????? ???? ???? ?? [File1], [File2] ??????? ??? ???????? ????? ?? ????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
????? ?? ?????? ???????? ???????? ??? ?? ??' ????? ?? ??? ???????? ?? ???? ?? ?? UNC ?? ?? ???? ??? ?? ?? ????? ?? ???? ??? ?? ???????? ??????? ?? ??? ?? ??????? ?????? ?? ???, ????? ?? ??? ???????? ??? ???? ?? ???? ?? ???? ?? ??? file.mdf:stream2.

??? SQL ????? 2005 ???, DBCC ?????? ?????? ?? ????? ????? ?? ??????? ???? ??? ???? ?????? ??????? ???? ???
InitialSize??? ???????? ValueMB ??? ????????? ??????? ?????? ????? ??, ?? ?? ??? ????????? ??? ?? ???? InitialSize ????????, SQLIOSim ???????? ?????? ???????? ???? ????? ??? ??? ?????? ????? ???? ???? ??, ?? SQLIOSim ?? ?????? ?? ??????? ???? ?? ????? ????? ???
MaxSize??? ???????? ValueMB ??? ?????? ??????? ????? ?????? ???? ???? ?? ???? ?? ?? ??? ????????? ??? ?? ???? MaxSize ?????????
??????0???? ??? ?????? ???? ?? ????? grows MB ?? ?? ???? ???? ??? ???? ??????? ?? ???, ?? "ShrinkUser ??????" ??? ????? ????? SQLIOSim ???????? ???????? ???? ?? ?????? ???????? ????????? ?? ?? ????? ?????? ?? ???????:
?????? * MaxExtents< maxmemorymb="">
0 ?????? ??, ?? SQLIOSim ?????? ????? ?? ??? ??? ??? ???? ?? ???-shrinkable.
Shrinkablefalse?? ????? ???? ?? ?? ????? shrunk ?? ???? ??? ?? ??????????? ?????? ??? ?? ?????? ???????? ?? ??? 0, ???-shrinkable ???? ?? ??? ????? ???? ?? ?????? ???, ???? ???? ???? ??? ???? Shrinkable ???????? ?? ??? false. ???? ?????? ??? ?? ?????? ?? ????? ???? ???? ??? ?? ??? ???????? 0, shrinkable ?? ??? ????? ???? ?? ?????? ???, ?? ??? ???? ?????? ?? ' Shrinkable ???????? ?? ??? True.
???????false?? ????? ???? ?? ?? ???? ????????? ??????? ??????? ??? ???? ???? ??????????? ??????? ?? ??? SQLIOSim ?????? ???? ???? ???? ??????? ?? ?? ??? ??????? ??????? ???????? ?? ??? false.

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

?? ??????? ???? ??? ?? ' ????? ' ?? ??????? ????? ?? ??????, ?? ???? ??? ??????? ??? ?????

??? ??? ?? Sparse ??? ???? = True????? ???????? ?? ???, NoBuffering ????????? ???? = false config ?????? ???? ?? ?? ?? ?????? ?????? ?????? ?? ????? ???? ???, ?? ?? ????? ?? ????? ?? ???? ?? ?????? ??? ???? ??:

??????:-= ==== ??????: 0x80070467
?????? ???: ????? ????? ?? ??????? ??? ????? ???????? ?? ???? ??? ??????????? ?????
?????: Buffer ??????? C:\SQLIOSim.mdx ????? ?? ???? ???: 28097
LogFilefalse?? ????? ???? ?? ?? ???? ?? ????? ??? ?????????? ?? ????????? ?? ??? ??????? ?? ?? ?? ?? ?? ??? ????? ????????? ???? ??????

RandomUser ??????

SQLIOSim ?????? ???? ?????? ????????? ??? ???? ?? ????????? ???? ?? ??? ?? SQL ????? ????? ?? ??????? ???? ?? ??? RandomUser ?????? ?????? ????????, ???? ?????? ????????? ??????? ?? ??? ?? (OLTP) i/O ?????????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
UserCount-1?? ????????? ????? ?????? ??????? ?? ?????? ?? ?? ?????? ????? ??? ?? ???? ???? ?? ????:
CPUCount * 1023-100
??? ???????????? ?? ??? ?????? ?? ??? ???? ?? ???? ?? ???? ??? 0 ??? ?? ????????? ??? ???? ?????? ???????????? ?? ?????? ??? -1 ??? ?? ???????? ???????????? ?? ????? ???? ???? ?? ???? ?? ????? ???:
??????? (CPUCount * 2, 8)
???SQL ????? ?????? ??????? ???? ?? ???? ??? ?? ??????? ???? ?????? ?????? ???? ??? ?? ????? ???? count(*) ???????? ?? ??????? ????? sys.dm_exec_requests ?? ??????? ?? ??? ?? ???? ???? ?? ??? ??? ???????? ??????? ????? (DMV) ???????? ??? ?? ??????? ?????

CPUCount ???? ?? ??? ?? ???????? ???? ?? CPUCount ???????? ??? CONFIG.

' ??????? (CPUCount * 2, 8) ????? ?? ??? ?? ??? ???????? ??? ???? CPUCount * 2 , ?? 8.
JumpToNewRegionPercentage500?? ??? ???? ?? ??? ?? ??? ??????? ?? ??????? ??????????? ?? ??????? ??? ????? ???? ??? ??? ?? ???? ??????? ?? ??? ?? ??? ?? ????????? ??? ?? MinIOChainLength ???????? ?? ??? MaxIOChainLength ?????????
MinIOChainLength1??????? ??????? ?? ???? ??? ?????
MaxIOChainLength100?????? ??????? ?? ???? ??? ?????SQL ????? 2005 ??????????? ???????, ?? SQL ????? 2000 ??????????? ??????? ???? ?? ??? ???? ??? 1024 ????????

?? ??????? ??? ?? 0. ?????? ??? ?????? ?? ?????? ????? ?? ?????? ???

??????????, ????????? ?????????? ??????? ?? ???? ???????? ?????? ???? ?? ???? ?? ReadAheadUser ??? ????????? ??? ?? ????? ???? ???????? ?? ???? ?????? ?? ??????? ???? ?? ??? ????
RandomUserReadWriteRatio9000?????? ???? ?? ???? ?? ??? ??????? ?? ????????? ?????????-?????? ???????? ??????? ??? ???? ??? ?? ?? ???? ???? ?? ???? ??? ?? ???????? ????????? ???? ?? ?????? ??? ??, ?? ???? ?? ??? ????? ????? ???? ???? ?? ??? ??????? ?? ????????
MinLogPerBuffer64??????? ??? ??????? ???? ?????? ?????? ???? ?????. ?? ??? ??-????? ?????? ?? ???? ?? ???? ?? ???? ??? ?????? ???? ???? ?? ??-????? ?????? ?????
MaxLogPerBuffer8192?????? ??? ??????? ???? ?????? ????? ??? ??? ???? ?? ???? 64000. ?? ??? ??-????? ?????? ?? ???? ??? ???? ?????? ???
RollbackChance100??-?????? ???????? ?? ?? ????? ?? ??????? ?? ?????? ???????? ?? ???? ??? ?? ?? ?????? ???????? ?? ???? ?? ??, SQL ????? ??? ????? ?? ???? ????
SleepAfter5????? ??? ???????? ???? ?? ??? ??? ?????????

AuditUser ??????

SQLIOSim ?????? ???? ?????? ????????? ??? ???? ?? AuditUser ?????? ?? ????? ?? ??? ?? ???? ???? ?? ??? DBCC ??????? ?? ??????? ???? ?? ??? ????? ?? ???? ??? ???????? ??????? ???? ?? ???? ?? ????? UserCount ???????? ??? ???? ?? ??? ?? 0.
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
UserCount2??????? ??????? ?? ????????? ?? ???? ???? ?? ???? ????? ???:
CPUCount * 1023-100
??? ???????????? ?? ??? ?????? ?? ??? ???? ?? ???? ?? ???? ??? 0 ??? ?? ????????? ??? ???? ?????? ???????????? ?? ?????? ??? -1 ??? ?? ???????? ???????????? ?? ????? ???? ???? ?? ???? ?? ????? ???:
??????? (CPUCount * 2, 8)
???SQL ????? ?????? ??????? ???? ?? ???? ??? ?? ??????? ???? ?????? ?????? ???? ??? ?? ????? ???? count(*) ???????? ?? ??????? ????? sys.dm_exec_requests DMV ??????? ??????? ?? ???????? ?? ??? ?? ???? ???? ?? ??? ??? ????

CPUCount ???? ?? ??? ?? ???????? ???? ?? CPUCount ???????? ??? CONFIG.

' ??????? (CPUCount * 2, 8) ????? ?? ??? ?? ??? ???????? ??? ???? CPUCount * 2 , ?? 8.
BuffersValidated64
DelayAfterCycles2???? ???? AuditDelay ???????? ?? ?????? ?? ??? BuffersValidated ?????? ???? ?? ???? ??
AuditDelay200????????? ?? ??? ???????? ????????? ?? ?????? DelayAfterCycles ????????

ReadAheadUser ??????

SQLIOSim ?????? ??? ????????? ??? ???? ?? ReadAheadUser ?????? ?????-???? ?????? SQL Server ?? ??????? ???? ?? ???? SQL ????? ?????????? i/O ?????? ???? ?? ??? ????? ?? ???-???? ?????? ?? ??? ???? ??. ?????? ?? ?????? ????? ?? ????? ???? ?? ????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
UserCount2????? ?? ???-???? ??????? ?? ????????? ???? ???? ?? ???? ????? ??? ?? ????:
CPUCount * 1023-100
??? ???????????? ?? ??? ?????? ?? ??? ???? ?? ???? ?? ???? ??? 0 ??? ?? ????????? ??? ???? ?????? ???????????? ?? ?????? ??? -1 ??? ?? ???????? ???????????? ?? ????? ???? ???? ?? ???? ?? ????? ???:
??????? (CPUCount * 2, 8)
???SQL ????? ?????? ??????? ???? ?? ???? ??? ?? ??????? ???? ?????? ?????? ???? ??? ?? ????? ???? count(*) ???????? ?? ??????? ????? sys.dm_exec_requests DMV ??????? ??????? ?? ???????? ?? ??? ?? ???? ???? ?? ??? ??? ????

CPUCount ???? ?? ??? ?? ???????? ???? ?? CPUCount ???????? ??? CONFIG.

' ??????? (CPUCount * 2, 8) ????? ?? ??? ?? ??? ???????? ??? ???? CPUCount * 2 , ?? 8.
BuffersRAMin32??????? ????? ???? ?? ????? ?? ??? ??????? ?? ??????' ??????? ??? ?? 0. ?????? ??? ?????? ?????? ?? ????? ???? ???
BuffersRAMax64?????? ????? ???? ?? ????? ?? ??? ??????? ?? ??????SQL ??????????? ??????? ????? ??? ?? ?? ?????? ??? 1024 ????? ??? ???? ???? ??? CPU, ??????, ?? ????? ?? ????? ???? ???????? ?? SQL ????? ??????? ??????, ?? ??? ?? ????? ?? ???? ?? ????? ?? ???-???? ?????? ????? ?????
DelayAfterCycles2???? ???? RADelay ???????? ????????? ?????? ?? ?????? ???? ?? ??? ????? ???
RADelay200????????? ?? ??? ???????? ????????? ?? ?????? DelayAfterCycles ????????

BulkUpdateUser ??????

SQLIOSim ?????? ???? ?????? ????????? ??? ???? ?? ???? ??? ???? ???????? ?? ??????? ???? ?? ??? BulkUpdateUser ?????? ?? ??? ????...??? ?????? ?? ?????? ???? ???????? ?????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ??????????????????
UserCount-1??? ???? ?????? ??????? ?? ????????? ???? ???? ?? ???? ????? ??? ?? ????:
CPUCount * 1023-100
??? -1 ??? ?? ???????? ???????????? ?? ????? ???? ???? ?? ???? ?? ????? ???:
??????? (CPUCount * 2, 8)
???SQL ????? ?????? ??????? ???? ?? ???? ??? ?? ??????? ???? ?????? ?????? ???? ??? ?? ????? ???? count(*) ???????? ?? ??????? ????? sys.dm_exec_requests DMV ??????? ??????? ?? ???????? ?? ??? ?? ???? ???? ?? ??? ??? ????

CPUCount ???? ?? ??? ?? ???????? ???? ?? CPUCount ???????? ??? CONFIG.

' ??????? (CPUCount * 2, 8) ????? ?? ??? ?? ??? ???????? ??? ???? CPUCount * 2 , ?? 8.
BuffersBUMin64???? ????? ?? ?????? ???? ?? ??? ??????? ?? ??????? ??????
BuffersBUMax128?????? ????? ???? ?? ?????? ???? ?? ??? ??????? ?? ??????' ??????? ??? 0 ???? ??? ?????? ??? ?????? ?????? ?? ????? ???? ???
DelayAfterCycles2???? ???? BUDelay ???????? ????????? ?????? ?? ?????? ???? ?? ??? ????? ???
BUDelay10????????? ?? ??? ???????? ????????? ?? ?????? DelayAfterCycles ????????

ShrinkUser ??????

SQLIOSim ?????? ???? ?????? ????????? ??? ???? ?? ShrinkUser ?????? DBCC ?? ??????? ???? ?? ??? ???????? ????????? SQLIOSim ?????? ?? ???? ??? ?????? ????? ????? ?? ??? ?? ShrinkUser ?????? ?? ????? ?????
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
???????????????? ????????
MinShrinkInterval120??????? ?????? ?? ??? ???????? ????????, ??? ?????
MaxShrinkInterval600?????? ?????? ?? ??? ???????? ????????, ??? ?????
MinExtends1????? ?????? ?? ?????? ?? ??????? ?????? SQLIOSim ?????? ???? ?? ?????? ????? ????????? ????
MaxExtends20????? ?????? ?? ?????? ?? ?????? ?????? SQLIOSim ?????? ???? ?? ?????? ????? ????????? ????

????????????. ini ????? ??????????

??????????? ???? (;) ??? ?? ???? ?? ?????? ????????????. ini ????? ???? ?? ?? ??????? ?? ??? ??? ???? ???? ???

????? ?????

SQLIOSim ?????? ??? ???? ??????? ?? ??? ??????? ?? ??? ????? ?? SQL Server ???? ????? ?? ???? ????? ???? ?? i/O ???????? ?? ??????? ???? ??? ?????? SQLIOSim ???????? SQL Server ???? ???? ?? ??? ????? ???? stress ???????? ?????, ??? ?? SQLIOSim ?????? ?? ???????? ?? ??????? ???? ?? ??? ????? ?? ???? ??? ??? ?? SQL ????? ??????? ???? ?? ?????

?? ?? SQLIOSim ???????? ?????, ????? ????????? ???? ?? ?? ????? ????? ?? SQL ????? ?? ??? ?? ?? ????? ?? ????? ????????? ???? ??????? ???????? ??? ?? ??? ???? ???, ?? ??? ??? ?? ?? ??/? ?? simulates ???????? ???? SQL Server ????????

?? ????? ?? ???? ??? ???????? ???? ??????? ?? ?????????? ???? ?????? ??????? ??????? ?? ??? ???????? ?? ?? ?? ????? ?? ???? ??? ?????? ?????????? ???? ??????? ?? ??????? ????? ????? ?? ??? ?????????? ' ??? ?? ????????? ????? ???? ?? ??? ?????? ?????? ????? ??? ??? ????? ????? ?? ???? ????? ?? ??? ?? ?????????? ???

???????? ??? ??, SQLIOSim ???????? ??????? ??????? ?? ????? ??? .mdx ?? .ldx ????? ??? ????????? ??? ?????, ?? ??????? ???? ???? ?????? ???? ?? ???????? ?? ??? ????????

??????? ??????? ?? ??? ???????? SQL Server ??????? ??????? ????????? ???? ??? SQLIOSim ???????? ????????? ??????? ???????? ?? ??? ???? ???????? ?? ???? ?? ???? ???????? SQL Server ???? ?? ??????

SQLIOSim ?????? ??? ?? ????????

SQLIOSim ?????? ?????? ??? ????? ????? ?? ??? ?? ?? ??? ?? ?????????? ???????:
  • ???? ?????? ????????? ????? ?log ????????? ????????
  • ???? ?????? ????????? ????? ErrorFile = Sqliosim.cfg.ini ????? ??? ????
?? ???? ??? ????? SQLIOSim.log.xml ?????? ??? ???? ??? ????????? ?? ????? ?????? ??????? ????? ??? ??????? ??? ?? ??????? ?????? ????? ?? ??????? ????? ?? ????

??? SQLIOSim ?????? ??? ?????? ????? ???, ?? ??????? ???? ??? ?? ??? ?? ???? ?? ??? ????? ??? ??? ???? ?? ??? ???? ????????? ?? ???????? ?? ????? ???????

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

SQLIOSim ???????? accommodates ???-?????-???? ?? ??????? ????, ?? ???-??????????-???? ?? ???????? SQLIOSim ?????? ?? ?? ???? ???????? ???? ???? invocations. ???????, ?? ?? ???? invocations SQLIOStress ?????? ?? ???????? ??? ?? ?? ?? ???? ???????????? SQLIOSim ?????? ?? ?? ??? ???? ??? ?????????? ?????? ???? ???? ???:
  • ??? ???????? ?? ?????? ????? ???????? ???? ??????? ?? ?????? ?????????
  • ' MaxMemoryMB ???????? ?? ???????? ??????? ?? ??? ???????? ?????? ?????? ????? ?? ??????? ?? ???????? ???????? ?? ??? ???????? ???
??? ?? MaxMemoryMB ???????? ???????? ???????? ?? ??? ???? ?????, ???? ???? ?? ????? ??? ????? ?????? ??? ??? ???? phases ???? ???????? ??????? ?? ???? ??? ??????? ????? ???? ???? ??????-???? ???? ?? ?? ????? ?? ???? ?? ?????? ????????? ??? ??? ???? ??? ?? ?? ???? ???????????? ???? ?????? ?????? ?????? ?? ????? ???? ???, ?? ?? ?? ?? ???? ??? ?? ??? ??? ?????? ???????????? ?? ???????

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

???????? ??? Sqliosim.cfg.ini ????? ?? ?????, ????? ????? ??????? ?????? ????? ???
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ???????????????????? ?? ???????? ???????????? ????? ????
Sqliosim.hwcache.cfg.ini????? ?? ???? ????

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

??? ?????? ????? ??
AuditUser ??? ?? ???, ?? ReadAheadUser ?? ??? ???:

CacheHitRatio = 10000
UserCount = 0
Sqliosim.nothrottle.cfg.iniI/O ??????? ?????????

I/O ??????? ?????? ?? ??? ????????? ???? ?? ??? ??? ??
TargetIODuration = 1000000
AuditDelay = 10
RADelay = 10
Sqliosim.seqwrites.cfg.ini???? ???? ????? ??

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

??????? ???-shrinkable ??? ?? ???

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

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

???? ?????? ??? ????? ?? ???? ???? ??? ??????
Shrinkable = FALSE

AuditUser ?????? ?? ???, ReadAheadUser ?? ??? ?????? ?? ?????? ?? ??? RandomUser:

CacheHitRatio = 10000
ForceReadAhead = FALSE
BuffersBUMin = 600
BuffersBUMax = 1000
BUDelay = 1
UserCount = 0
Sqliosim.sparse.cfg.ini???? 32 MB ?? ????? ???? ??????

I/O ?????? ???? ?? ????? ???? ?? ??? ???? ???????? ????? ???????? i/O ????????

????? ?????/????? ????? APIs ?? ??? 8 KB ?? ???????? ????? ?? ??? i/O ????????

1 GB ???-shrinkable ????? ????

1 GB ???-shrinkable ???????? ??????? ??????? ??? ????? ????
MaxMemoryMB = 32
TestCycles = 3
TestCycleDuration = 600
TargetIODuration = 10000
UseScatterGather = FALSE

[File1]
FileName=sqliosim.mdx
InitialSize = 1000 MaxSize = 1000
?????? = 10
Shrinkable = FALSE
LogFile = FALSE
??????? = FALSE

[File2]
FileName=sqliosim.ldx
InitialSize = 50
MaxSize = 50
?????? = 0
Shrinkable = FALSE
LogFile = TRUE
??????? = FALSE

[File3]
FileName=sqliosim.mdx:replica
InitialSize = 1000
MaxSize = 1000
?????? = 10
Shrinkable = FALSE
LogFile = FALSE
??????? = TRUE

??????

86903  (http://support.microsoft.com/kb/86903/ ) SQL ?????, ?? ????? ???????? ??????
234656  (http://support.microsoft.com/kb/234656/ ) ?????? ?? ??? SQL ????? ????? ?????? ?? ????? ????
46091  (http://support.microsoft.com/kb/46091/ ) ????? ????? ???????? ?????? ?? ??? SQL Server ?? ????? ???? ???
826433  (http://support.microsoft.com/kb/826433/ ) ???????? SQL Server ????? ??????????? i/o ?????? ?????? ?? ??? ????? ?? ??? ????? ???

???? ???? ???? ??:
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Workgroup
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2008 R2 Web
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Workgroup
  • Microsoft SQL Server 2008 Express
  • Microsoft SQL Server 2008 Web
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Workgroup Edition
  • Microsoft SQL Server 2005 Express Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 7.0 Standard Edition
??????: 
kbdownload kbhowtomaster kbmt KB231619 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:231619  (http://support.microsoft.com/kb/231619/en-us/ )