Using Advisor
Advisor is a WhaTap AI feature that inspects monitoring targets against rules defined for each product and reports the problems it finds, their causes, and the actions to take. Instead of opening several monitoring screens and comparing values, you see the judgments, findings, likely causes, and recommended actions together on the Advisor screen.
You start Advisor per project. When you select a project, the menu appears at the top of the sidebar, and once Advisor is started, every member of the project shares the same Advisor screen.
Advisor works on the following principles.
- Before you start: No project data is read before you start using Advisor.
- Rule-based judgment: Normal, Caution, and Fatal judgments come from defined criteria and values. WhaTap AI writes the explanations, causes, and actions.
- Data sent to WhaTap AI: For each inspection, the values used for the judgment and the findings are sent to WhaTap AI.
- Actions are suggestions: The person in charge reviews a recommended action and applies it.
What Advisor does is shown as cards in the What I handle area of the home screen. Diagnosis and action inspects whether anything is wrong now and, if something is, tracks it from the finding through the cause to the action. Daily inspection inspects the 24 hours before 08:00 each day and stores the result by date. Stored records serve morning checks, shift handover, and daily reports.
Advisor is currently available in database projects as the DB Advisor menu. The steps and examples below are based on DB Advisor.
Prerequisites
- Supported databases: PostgreSQL, MySQL, SQL Server, Oracle, and Oracle Pro projects. Amazon RDS and Amazon Aurora running these database engines are also supported. Cluster projects are not supported.
- Permission to start: Only members with project edit permission or project Flex board edit permission can start or stop DB Advisor.
- On-premises environments: The menu appears only when
ui_whatap_ai_modein front.conf is set toshow. In SaaS environments, no setup is needed.
How to use it
Select Project > DB Advisor
- Select a project, then select the DB Advisor menu at the top of the sidebar.
- The first time, click the Start DB Advisor button on the guide screen. The first inspection starts right away and the DB Advisor home screen opens.
- In the What I handle area of the home screen, select the Diagnosis and action or Daily inspection card.
Neither Diagnosis and action nor Daily inspection runs automatically at a fixed time. Both inspect when you open the screen. They differ in the window they inspect and how they keep results.
| Screen | Inspection window | Result |
|---|---|---|
| Diagnosis and action | Based on when you open the screen. A fixed window for each morning, afternoon, and evening inspection | Adds anomalies to the finding list and tracks the progress of actions |
| Daily inspection | The 24 hours before 08:00 each day | Stored by date. Values and judgments stay the same if you reopen it that day |
Analysis result structure
A DB Advisor result consists of judgments made by inspection rules and explanations written by WhaTap AI. Reading them separately tells you what is a confirmed result and what is an estimate.
| Part | Written by | Content |
|---|---|---|
| Judgment | Inspection rules | Normal, Caution, Fatal, or Verification required, based on the criteria and values shown on screen |
| Explanation | WhaTap AI | Inspection summary, probable cause, and recommended action. Values are quoted as calculated by the inspection rules |
| Action | User | Review the recommended action and apply it to the database yourself |
The What the advisor does area of the Diagnosis and action screen shows the results of the following five inspections.
| Inspection | What it checks |
|---|---|
| Instance status inspection | Judges the state over the last 30 minutes from CPU usage and session count. Sessions are compared with the usual value |
| Event watch | Critical alerts and repeated warning alerts in the last 24 hours |
| Degrading SQL watch | SQL whose average response time is 3 times or more that of the same hours the previous day |
| Baseline performance diagnosis | Load concentration where one SQL accounts for 40% or more of execution time in the last 6 hours |
| Capacity watch | Storage at 80% usage or more that is expected to run out within 30 days |
The usual value is the median of the hourly averages collected over the last 14 days. For the exact criteria of each inspection, see the DB Advisor document for each database.
Verification required means no judgment could be made because collection stopped or data is insufficient. Do not treat it as normal. Check the agent collection status.
When to use it
Morning checks and shift handover (most useful)
Review the database state for the past 24 hours on one screen, and use the result for shift handover and daily reports.
- After 08:30, select the Daily inspection card on the DB Advisor home screen. The first time you open it that day, it inspects the 24 hours before 08:00 and stores the result.
- Check the Fatal and Caution counts in the judgment totals, then review Verified result and basis for those rows in the inspection result table.
- In a Caution or Fatal row, click the Cause button. The WhaTap AI chat window opens with the item's judgment criteria, judgment, and verified result attached, so you do not have to describe the situation again.
- Click the Copy summary button at the top of the screen and paste the summary into a handover document or daily report.
When a record exists for the previous day, the change from that day is shown below the inspection result table. For days you did not open the screen, use the Fill in the previous 7 days button to create records up to 21 days back. Handover note on the home screen organizes the current inspection results and the actions you applied into a handover document.
During incident response
When responses slow down or alerts keep firing, look for likely causes in the database.
- Select the Diagnosis and action card on the DB Advisor home screen. It sets the inspection window from the time you open it and inspects right away. For example, if you open it in the afternoon, it inspects from 06:00 that day until now.
- Click a high-priority item in the finding list. The detail panel on the right shows Judgment criteria, Cause, the Trend chart, and Basis.
- To investigate further, click the Ask the advisor to investigate button. WhaTap AI looks up more related data based on the selected finding to investigate the cause.
- To check the values yourself, click the move button that matches the finding, such as View in Top SQL. The analysis screen opens with the target instance and inspection window already set.
For the full incident response flow, see Incident response scenario.
Tracking whether actions worked
After applying a recommended action, check at the next inspection whether it worked.
- Review the recommended action and apply it to the database yourself.
- Click the Mark as applied button in the finding's detail panel. The action state changes to Verifying.
- If the same finding does not appear again at the next inspection, it is shown as Effective. If it appears again, it is shown as No effect.
The time before the effect is judged differs by inspection: 12 hours for Event watch, 3 days for Capacity watch, and 6 hours for Instance status inspection, Degrading SQL watch, and Baseline performance diagnosis. The Day n, Recurred after resolution, and Continuing after no effect labels in the finding list help you spot recurring problems.
Understand the limits of AI analysis
WhaTap AI's explanation is a first hypothesis for analyzing the cause. Keep the following in mind.
- Judgments come from inspection rules. The judgments in an inspection record do not change based on the WhaTap AI chat.
- A cause suggested by WhaTap AI is a hypothesis. Confirm it with the values and trend chart in the detail panel before deciding on an action.
- DB Advisor does not run commands against the database. Before applying a recommended action, review its impact on the production environment.
- If you Regenerate the inspection summary, the wording may change. Base your decisions on the judgments and the supporting values.
Adjacent AI analysis features
| Feature | When to use it |
|---|---|
| AI SQL tuning guide | Analyze the execution plan of degrading SQL or SQL with concentrated load found by DB Advisor. AI SQL tuning guide |
| AI active stack analysis | Find bottlenecks in application transactions. AI active stack analysis |
| WhaTap AI | Query WhaTap data in natural language. WhaTap AI |
Next steps
- DB Advisor screens and daily inspection items for each database: PostgreSQL, Oracle, Oracle Pro, MySQL, SQL Server
- Checking database state in real time: Real-time database monitoring
- Full incident response flow: Incident response scenario