Overview of OceanBase SQL Diagnoser
SQL Diagnoser is an agile diagnostic tool for OceanBase Database designed to identify and analyze SQL performance issues. It utilizes two rule engines:
- Static Rule Engine: Parses the SQL syntax tree to implement rules based on predicate calculus and implicit conversion.
- Dynamic Rule Engine: Queries internal performance views (
gv$(ob_)sql_auditandgv$(ob_)plan_cache_plan_stat), tables, and indexes to analyze execution exceptions.