Skip to content

Commit bca2aa3

Browse files
committed
[SSMS] [dta] Edit utility article - Edit line 244 and 247
1 parent 4e93b58 commit bca2aa3

1 file changed

Lines changed: 26 additions & 25 deletions

File tree

‎docs/tools/dta/dta-utility.md‎

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,11 @@ dta -d AdventureWorks2012 ...
240240
**-ix** _input_XML_file_name_
241241
Specifies the name of the XML file containing **dta** input information. This must be a valid XML document conforming to DTASchema.xsd. Conflicting arguments specified from the command prompt for tuning options override the corresponding value in this XML file. The only exception is if a user-specified configuration is entered in the evaluate mode in the XML input file. For example, if a configuration is entered in the **Configuration** element of the XML input file and the **EvaluateConfiguration** element is also specified as one of the tuning options, the tuning options specified in the XML input file will override any tuning options entered from the command prompt.
242242

243-
**-k** MaxTotalIndexes
244-
243+
**-k** MaxTotalIndexes
244+
Maximum number of indexes in the recommendation.
245+
245246
**-K** MaxTotalIndexes
247+
Maximum number of indexes per table.
246248

247249
**-m** _minimum_improvement_
248250
Specifies the minimum percentage of improvement that the recommended configuration must satisfy.
@@ -392,33 +394,32 @@ dta -D orders -if orders_wkld.sql -of script.sql -A 15 -n 10
392394
```
393395

394396
**D. Tune specific tables listed in a file**
395-
397+
396398
This example demonstrates the use of *table_list_file* (the **-Tf** argument). The contents of the file table_list.txt are as follows:
397-
398-
```
399+
400+
```
399401
AdventureWorks2012.Sales.Customer 100000
400402
AdventureWorks2012.Sales.Store
401403
AdventureWorks2012.Production.Product 2000000
402-
```
403-
404-
The contents of table_list.txt specifies that:
405-
406-
- Only the **Customer**, **Store**, and **Product** tables in the database should be tuned.
407-
408-
- The number of rows in the **Customer** and **Product** tables are assumed to be 100,000 and 2,000,000, respectively.
409-
410-
- The number of rows in **Store** are assumed to be the current number of rows in the table.
411-
412-
Note that there can be one or more spaces between the number of rows count and the preceding table name in the *table_list_file*.
404+
```
405+
406+
The contents of table_list.txt specifies that:
407+
408+
- Only the **Customer**, **Store**, and **Product** tables in the database should be tuned.
413409

414-
The tuning time is 2 hours (`-A 120`) and the output is written to an XML file (`-ox XMLTune.xml`).
410+
- The number of rows in the **Customer** and **Product** tables are assumed to be 100,000 and 2,000,000, respectively.
415411

416-
```
412+
- The number of rows in **Store** are assumed to be the current number of rows in the table.
413+
414+
Note that there can be one or more spaces between the number of rows count and the preceding table name in the *table_list_file*.
415+
416+
The tuning time is 2 hours (`-A 120`) and the output is written to an XML file (`-ox XMLTune.xml`).
417+
418+
```
417419
dta -D pubs -if pubs_wkld.sql -ox XMLTune.xml -A 120 -Tf table_list.txt
418-
```
419-
420-
## See Also
421-
[Command Prompt Utility Reference (Database Engine)](../../tools/command-prompt-utility-reference-database-engine.md)
422-
[Database Engine Tuning Advisor](../../relational-databases/performance/database-engine-tuning-advisor.md)
423-
424-
420+
```
421+
422+
## See Also
423+
424+
- [Command Prompt Utility Reference (Database Engine)](../../tools/command-prompt-utility-reference-database-engine.md)
425+
- [Database Engine Tuning Advisor](../../relational-databases/performance/database-engine-tuning-advisor.md)

0 commit comments

Comments
 (0)