|
vor 6 Jahren | |
---|---|---|
.. | ||
README.md | vor 6 Jahren | |
qta-demo.zip | vor 6 Jahren |
This is a repro package to demonstrate how to upgrade a database compatibility level using Query Tuning Assistant. This feature is using telemtry from the Query Store feature we launched with Azure SQL Database and SQL Server 2016 to detect upgrade-related regressions.
This repro assumes the following:
Install ostress from the package RML_Setup_AMD64.msi. Add C:\Program Files\Microsoft Corporation\RMLUtils to your path.
Attach the AdventureWorksDW2012 database to your SQL Server 2016+ instance. The adventure-works-2012-dw-data-file.mdf is provided in https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks2012
Start QTA following instructions in https://docs.microsoft.com/en-us/sql/relational-databases/performance/upgrade-dbcompat-using-qta.
When requested to run a baseline collection, run PreUpgrade.cmd to customize the AdventureWorksDW2012 database and start the demo. Run it to completion...
After its completed, continue QTA workflow.
When requested to re-run the same workload, run PostUpgrade.cmd. Run it to completion...
After its completed, continue QTA workflow.