You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-platform/core-converged-db/real-application-testing/sql-performance-analyzer/scripts-spa/README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
## scripts-spa
2
-
This folder provides SQL scripts for the usage of SQL Performance Analyzer. They can be used to test changes on the same system or to run tests on a remote server.
2
+
This folder provides SQL scripts for the usage of SQL Performance Analyzer (SPA). They can be used to test changes on the same system or to run tests on a remote server.
3
3
4
4
Before you start with SQL Performance Analyzer, you need to provide a SQL Tuning Set.
5
5
For more information see also:
@@ -8,7 +8,7 @@ For more information see also:
8
8
Please note all SQL Performnace Analyzer tasks require the privilege ADVISOR.
9
9
10
10
## SQL Performance Analyzer Scripts
11
-
Please follow the steps in the suggested order. In step 2 you can decide between two testing scenarios. The tuning of regressed statements with SQL Plan Baselines at the end is optional.
11
+
Please follow the steps in the suggested order. In step 2 you can choose between two test scenarios - on the same system or on a remote system. The tuning of regressed statements with SQL Plan Baselines at the end is optional.
12
12
13
13
1. Create and monitor the tuning task and executions
14
14
- Create a SPA task : create-spa-task.sql
@@ -22,23 +22,25 @@ Change the system
22
22
- Execute second trial: trial-execute.sql
23
23
24
24
Scenario B:
25
-
2. Import STS on the remote system and use execution statistics for the first trial
26
-
- Use Stats for the first trial: trial-use-stats.sql
27
-
- Execute more then one trial : trial-execute.sql
25
+
2. Import STS on the remote system and use execution statistics for the first trial
26
+
- Use the executions statistics for the first trial: trial-use-stats.sql
27
+
- Execute the trial (more than once is recommended): trial-execute.sql
28
28
29
29
30
-
3. Generate the comparition results
30
+
3. Generate the comparison results
31
31
- Compare performance of two executions: compare-performance.sql
32
32
33
33
4. Generate reports
34
34
- Generate summary report in HTML : report-summary.sql
35
35
- Generate detailed report in HTML: report-all-details.sql
36
36
37
37
38
-
Optional: Tune regressed statements with SQL Plan Baselines
38
+
Optional:
39
+
Tune regressed statements with SQL Plan Baselines
39
40
1. Create STS for regressed statements: create-sts-regressed.sql
40
41
2. Load original plans : loadplans-for-regressed.sql
41
-
License
42
+
43
+
# License
42
44
Copyright (c) 2023 Oracle and/or its affiliates.
43
45
44
46
Licensed under the Universal Permissive License (UPL), Version 1.0.
0 commit comments