Explain Plan
Paste an execution plan from Oracle, SQL Server, PostgreSQL, MySQL or MongoDB. dbCove AI finds the step that costs the time and tells you what to change.
How to get the plan
Run the statement with the GATHER_PLAN_STATISTICS hint, then:
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR('&sql_id', NULL, 'ALLSTATS LAST'));In SSMS, include the actual execution plan, run the query, right-click the plan and Show Execution Plan XML. Or:
SET STATISTICS PROFILE ON;Run the query under:
EXPLAIN (ANALYZE, BUFFERS) SELECT ...;8.0.18 and later:
EXPLAIN ANALYZE SELECT ...;In mongosh:
db.orders.find({...}).explain("executionStats")This was one statement. dbCove watches all of them.
On your own databases dbCove AI has the history of every plan, every wait and every change, so it can tell you why a plan flipped, not only that it is slow. Free for 2 databases of each engine.
Questions
Is what I paste kept?
It is sent to our AI provider to be explained and kept by us for up to 12 months to improve the tools; the AI provider does not keep it or train on it. Remove passwords and personal data before you paste.
Which plans give the best answer?
Plans with runtime statistics: ALLSTATS LAST in Oracle, the actual plan in SQL Server, EXPLAIN ANALYZE in PostgreSQL and MySQL, executionStats in MongoDB. A plan with estimates only still gets an answer, ranked by the optimizer's cost.
Does it see my database?
No. It sees only what you paste. dbCove, installed on your own server, sees the history of every plan, wait and statistic, so its AI can tell why a plan changed, not only what is slow.