SQL Worksheet and SQL Tuning Advisor
A workspace for DBAs and developers for queries, execution plans, run comparison and tuning.
The SQL Worksheet is the workspace for queries and SQL analysis inside SIAMTECH Monitor. It's available in direct access and in environments opened from the Central.
Features
- Up to eight scripts with autosave and the last 50 queries per connection, stored in the browser. Results aren't stored.
- Autocomplete for objects, columns and functions with
Ctrl+Space, and formatting withCtrl+Shift+F. - Tree plan with operations, predicates and estimates. When execution statistics were collected, it shows actual rows compared to estimates.
- A/B comparison of the latest captured runs: time, CPU, reads, rows and plan.
- Session search by user, machine, module or client identifier.
- Dependencies and dependent objects, with access to the schema explorer.
- Compilation errors with line and position.
- Templates for SELECT, INSERT, UPDATE and PL/SQL calls.
- Export of results as CSV, JSON or INSERT.
For safety, execution in the Worksheet is restricted to queries.
Explain with AI
With the AI enabled, the Worksheet can explain a SQL execution plan and support tuning analysis. The AI receives the SQL and the estimated plan and returns a structured analysis. It never runs commands. See Artificial intelligence.
SQL Tuning Advisor
Oracle's SQL Tuning Advisor can be run:
- from a session's SQL details;
- from AWR history;
- from the text selected in the Worksheet.
Opening the window doesn't run anything. The analysis only starts when you click Run analysis.
- The scope is limited, with a maximum of 60 seconds per analysis.
- The task is created and removed in isolation.
- It requires the corresponding Oracle privilege of the connected user.
- SQL Tuning Advisor is part of the Oracle Tuning Pack, which requires a separate license. The system only runs the analysis when the database has the Tuning Pack enabled (
CONTROL_MANAGEMENT_PACK_ACCESS = DIAGNOSTIC+TUNING). See Licensing and security.
