단순 XML 입력 파일 샘플(DTA)
적용 대상:SQL Server
워크로드를 튜닝하는 데 사용할 간단한 XML 입력 파일 샘플을 복사하여 즐겨 찾는 XML 편집기 또는 텍스트 편집기에 붙여넣습니다. 그런 다음 Server, Database, Schema, Table, Workload및 TuningOptions 요소에 지정된 값을 특정 튜닝 세션에 대한 값으로 바꿉니다. 이러한 요소에 사용할 수 있는 특성 및 자식 요소에 대한 자세한 내용은 XML 입력 파일 참조(데이터베이스 엔진 튜닝 관리자)를 참조하세요. 다음 샘플에서는 사용 가능한 특성 및 자식 요소 옵션의 하위 집합만 사용합니다.
코드
<?xml version="1.0" encoding="utf-16" ?>
<DTAXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/sqlserver/2004/07/dta">
<DTAInput>
<Server>
<Name>MyServerName</Name>
<!-- To tune multiplate databases, list them and their associated tables in the following section. -->
<Database>
<Name>MyDatabaseName</Name>
<Schema>
<Name>MyDatabaseSchemaName</Name>
<!-- You can list as many tables as necessary in the following section. -->
<Table>
<Name>MyTableName1</Name>
</Table>
<Table>
<Name>MyTableName2</Name>
</Table>
</Schema>
</Database>
</Server>
<Workload>
<!-- The following element specifies a workload file, which can be a trace file or a Transact-SQL script file. -->
<File>c:\PathToYourWorkloadFile</File>
</Workload>
<TuningOptions>
<TuningTimeInMin>60</TuningTimeInMin>
<FeatureSet>IDX_IV</FeatureSet>
<Partitioning>NONE</Partitioning>
<KeepExisting>NONE</KeepExisting>
<OnlineIndexOperation>OFF</OnlineIndexOperation>
</TuningOptions>
</DTAInput>
</DTAXML>
참고 항목
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기