Skip to content

Commit e3896b2

Browse files
committed
Fixed issue #48
1 parent f532efb commit e3896b2

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

sql2022workshop/03_BuiltinQueryIntelligence/dopfeedback/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ This demo will show you how to see how to get consistent performance with less C
2121
> **Note:** If you try to restore the default sample WideWorldImporters you can use the restorewwi.sql, populatedata.sql and rebuild_index.sql scripts to customize the database for the exercise.
2222
2323
1. Restore this database to your SQL Server 2022 instance. You can use the provided **restorewwi.sql** script. You may need to change the directory paths for the location of your backup and where you will restore the database files.
24+
25+
> **IMPORTANT:** If you have permission issues to restore the backup you can try to copy the backup into the default "data" folder for your SQL Server installation and try the restore again. You will need to edit the restorewwi.sql script accordingly. The default for most instances is C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA
26+
2427
1. Execute **proc.sql** to create a stored procedure
2528
1. Execute **dopxe.sql** to create and start an XEvent session. Use SSMS to Watch the XE session to see Live Data.
2629
1. Execute **dopfeedback.sql** to set Query Store settings and db setting for DOP feedback.

sql2022workshop/03_BuiltinQueryIntelligence/persistedmgf/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ The following is an exercise to learn memory grant feedback persistence in SQL S
1515
**Note**: If you try to restore the default sample WideWorldImportersDW you can use the extendwwidw.sql script to customize the database for the exercise.
1616

1717
1. Restore this database to your SQL Server 2022 instance. You can use the provided **restorewwidw.sql** script. You may need to change the directory paths for the location of your backup and where you will restore the database files.
18+
19+
> **IMPORTANT:** If you have permission issues to restore the backup you can try to copy the backup into the default "data" folder for your SQL Server installation and try the restore again. You will need to edit the restorewwidw.sql script accordingly. The default for most instances is C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA
20+
1821
1. Setup the demo by executing the script **setup.sql**
1922
1. Simulate statistics out of date by executing the script **set_stats.sql**.
2023
1. Using SSMS choose the button to see Include Actual Execution plan (or use `<Ctrl>`+`<M>`) and execute a query that will use a memory grant from **execute_query.sql**. The query will take about 30 seconds to complete.

sql2022workshop/03_BuiltinQueryIntelligence/pspopt/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ The following is an exercise to learn Parameter Sensitive Plan Optimization in S
1717
> **Note**: If you try to restore the default sample WideWorldImporters you can use the restorewwi.sql, populatedata.sql and rebuild_index.sql scripts to customize the database for the exercise.
1818
1919
1. Restore this database to your SQL Server 2022 instance. You can use the provided **restorewwi.sql** script. You may need to change the directory paths for the location of your backup and where you will restore the database files.
20+
21+
> **IMPORTANT:** If you have permission issues to restore the backup you can try to copy the backup into the default "data" folder for your SQL Server installation and try the restore again. You will need to edit the restorewwi.sql script accordingly. The default for most instances is C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA
22+
2023
1. Create a new procedure to be used for the workload test using **proc.sql**.
2124
1. Execute the script **setup.sql** from SSMS. This will ensure the WideWorldImporters database is at **dbcompat 150** and clear the query store.
2225

0 commit comments

Comments
 (0)