You can configure a SQL Performance Analyzer to run the Oracle Exadata simulation. For information about how SQL Performance Analyzer simulates the effects of an Exadata Storage Server installation on the performance of a SQL workload, see "Using the Exadata Simulation Workflow".
To enable Exadata simulation for an analysis task:
Call the SET_ANALYSIS_TASK_PARAMETER
procedure before creating the post-change SQL trial, as shown in the following example:
EXEC DBMS_SQLPA.SET_ANALYSIS_TASK_PARAMETER(task_name => 'my_spa_task', - parameter => 'CELL_SIMULATION_ENABLED', - value => 'TRUE');
This will enable Exadata simulation when you create the post-change SQL trial, which can then be compared to the pre-change SQL trial that was created with Exadata simulation disabled.
Alternatively, you can run the Exadata simulation using the tcellsim.sql
script.
To run the Exadata simulation using tcellsim.sql:
At the SQL prompt, enter:
@$ORACLE_HOME/rdbms/admin/tcellsim.sql
Enter the name and owner of the SQL tuning set to use:
Enter value for sts_name: MY_STS Enter value for sts_owner: IMMCHAN
The script then runs the following four steps automatically:
Creates a SQL Performance Analyzer task
Test executes SQL statements with Exadata simulation disabled
Test executes SQL statements with Exadata simulation enabled
Compares performance and generates analysis report
Oracle Database PL/SQL Packages and Types Reference for information about the DBMS_SQLPA.SET_ANALYSIS_TASK_PARAMETER
procedure