Optimize SQL consists of SQL Rewrite sessions and Plan Control sessions. You can use SQL Rewrite sessions to optimize SQL statements by generating SQL statement or index alternatives. Use Plan Control sessions to generate execution plan alternatives for SQL statements without modifying the SQL text.
To create a new session
Click the arrow beside and select New SQL Rewrite Session or New Plan Control Session.
Tip: Select Switch Default Session Type to Plan Control to change the default setting for new sessions. The default setting is to create a SQL Rewrite session.
To open a session
Click .
Select a SQL Rewrite or Plan Control session to open..
Use SQL Rewrite sessions to optimize SQL statements by using SQL Optimizer's Artificial Intelligence engine to rewrite SQL statement syntax. This process begins with SQL Optimizer analyzing your original SQL statement and generating a list of semantically equivalent statement alternatives. The SQL rewrite process continues until SQL Optimizer cannot generate additional alternatives. SQL Optimizer then applies a set of SQL Server hints to each alternative to generate additional alternatives.
Once SQL Optimizer completes the SQL rewrite process, you can execute the alternatives to retrieve execution plans and run time statistics. You can compare execution times and run time statistics for alternatives to identify the best statements for your database environment.
Notes:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center