# Optimize query

> This skill helps users choose the right path to Optimize a slow-running SQL query. Use this skill BEFORE diving into implementation details — it routes you to the appropriate detail skill based on your situation.

Part of **OceanBase**. Get the full, executable skill via `POST https://www.company-skill.com/api/route`.

## Related queries

optimize slow sql, slow query tuning, troubleshoot slow sql, analyze sql performance, identify full table scan, view execution plan, sql execution plan, diagnose query latency, sql audit analysis, monitor slow queries, explain format extended, gv$sql_audit, v$sql_audit, obclient trace, sql hint tuni

## Get the full skill

```bash
curl -s https://www.company-skill.com/api/route \
  -H 'Content-Type: application/json' \
  -d '{"query": "optimize query", "product": "oceanbase"}'
```

---
Part of [OceanBase](https://www.company-skill.com/p/oceanbase.md) · https://www.company-skill.com/llms.txt
