This page is being written. Screenshots of the other screens follow.
Product
ASHFlow is a desktop application for Oracle DBAs, built on Active Session History. There is no server to install, no agent on the database host and no repository database: it connects directly to the database you name.
Features marked (Diagnostics Pack) below read ASH or AWR and need that pack, which Oracle licenses separately from the database, for Enterprise Edition only.
Screens
- SQL Plans
- Where a plan's time went, line by line: the percentage of total and the
seconds on each plan line, from ASH (Diagnostics Pack). Without the pack,
plans come from the cursor cache, timed by elapsed time, without per-line
time. Estimated against actual cardinality,
shaded by severity and plan position (Tuning Pack).
Plan detail for SQL_ID 4drhmxx6mqwya. The optimizer estimated 1,000 rows from ORDER_ITEMS and got 7,716,663; the full scan of ORDERS, estimated at 1 row, returned 8,128. The statistics were made stale on purpose on our demo database.
The same screen for an UPDATE, SQL_ID 68vkudy84d5pg, that spends its time waiting rather than working: all of it Application class. Hovering names the event: 1.30 active sessions in enq: TX - row lock contention, 13:11:40 to 13:11:50. Caused on purpose: sessions updating the same three rows. - Database Activity
- The ASH activity chart by wait class (Diagnostics Pack). Hover a band for its wait class,
then each wait event in it, busiest first.
Hovering the Application band splits it into its wait events: 1.40 active sessions in enq: TX - row lock contention, 13:05:00 to 13:05:10. - Editor
- SQL editing with explain plan.
- Schema Surfer
- The schema's objects. Unindexed foreign keys are tinted and marked.
- Statistics
- Builds the
DBMS_STATScall from your choices, with every parameter explained, and shows it before running it on a session of its own. Seeds column usage and creates extended statistics. Reached from a plan line, Schema Surfer or an advisor finding. - Trace Analysis
- Analysis of 10046 trace files.
- SQL Tuning Tasks and SQL Tuning Sets
- Oracle's SQL Tuning Advisor tasks and SQL tuning sets, each on a screen of its own (Tuning Pack). Building a tuning set from AWR snapshots also needs the Diagnostics Pack.
- AWR SQL Reports
- AWR SQL reports from the application (Diagnostics Pack).
- Log Switch Heatmap
- Redo log switches per hour, from today back to the first day the database's
log history holds. Click an hour for every
switch in it and the DML that generated the redo. The statements and redo
totals behind each hour come from ASH and AWR (Diagnostics Pack).
Redo log switches on our demo database, from Sunday 22 November back to Thursday 12 November, the first day its log history holds. The busiest hour: 53 switches, Sunday 22 November, 12:00. Below, the last hour's switches and the DML behind them.
Oracle pack licensing
ASHFlow asks, for each database it connects to, whether you hold the
Diagnostics and Tuning Packs, and keeps a local audit log of each decision. It
leaves a pack off without asking when the database's
control_management_pack_access excludes it. It turns a pack on
without asking when the database's own feature-usage records show that pack
already in use.
Answer no to the Diagnostics Pack and ASHFlow's own queries read no ASH, AWR or ADDM. Home ranks Top SQL by elapsed time. SQL Plans shows plans from the cursor cache without per-line time. Database Activity, the Activity chart, and Redo Generation's statements and redo totals say they need the pack. AWR SQL Reports is unavailable. SQL you run yourself in the Editor is not checked. These are aids: whether you hold a license is yours to determine.
Every
session names itself in V$SESSION: module ASHFlow, the version in
client info, and the screen as the action.
AI assistant (optional, beta)
An optional AI page uses your own AI provider account and API key. It reads
through a read-only database user, either ASHFLOW_AI or an existing
user you choose, which ASHFlow checks before use, proposes actions without
running them, and shows everything it sent.
An administrator can remove it. The terms are Schedule B of the
license agreement.