Overview: Before starting, ensure you provide machine specifications (CPU cores, memory, disk type and IOPS limit, whether it's mixed deployment), MySQL version and deployment type (self-hosted / cloud RDS and specification), SHOW GLOBAL VARIABLES + two 60-second intervals of SHOW GLOBAL STATUS, workload profile (read/write ratio, QPS/TPS, batch writes, latency sensitivity vs data loss tolerance), and the most pressing current issue (slow performance, connection limits, latency, disk full).
Overview: Before starting, ensure that the MySQL version, whether the SQL runs on the master or slave, table data size, current execution time, and acceptable execution time are provided. If this information is incomplete, clearly label the conclusions as 'pending verification'.
Overview: Prioritize inputting inspection, fault, or slow SQL data as the foundation for the report. If data is incomplete, explicitly list missing items and sources needed to complete the report. Avoid making assumptions or fabricating data.
Overview: Before analysis, ensure that the user provides either the `SHOW GLOBAL STATUS` output or requests a collection script. If the user requests a regular inspection, provide a plan and scheduled task. If the user reports an online issue, transition to an emergency troubleshooting process.
Overview: Provide the table's DDL and row count, or a change ticket for accurate assessment. For large tables (>10 million rows or >10 GB), use gh-ost or pt-osc tools and schedule during low-traffic periods. Ensure rollback steps are included for all changes, especially for irreversible operations like column deletion.
Overview: Before initiating any recovery process, confirm that the database is not actively writing data and verify the presence of binlog files covering the deletion time. Additionally, ensure that the backup chain is closed and that the necessary prerequisites, such as `innodb_file_per_table=ON` for single-table recovery, are met.
Overview: Ensure that the schema or tables to be included in the diagram are specified before generating the output. The tool does not infer joins or relationships that are not explicitly declared as foreign keys.
Overview: Before generating SQL, ensure that semantic constraints (metric expression, default filters, join paths, table whitelist, column enums) are provided. If any of these are missing, the skill will stop and prompt the user to clarify or return to semantic-linking to complete the context.
Overview: The skill requires the following prerequisites: the target database must be bound, the environment must be readable (if not, it is treated as production), the row count and volume of the target table must be known, and the full DDL statement must be provided for review. Additionally, current replication lag, disk usage, and business peak/trough windows must be known.
Overview: Ensure the EXPLAIN output is available and accurate before reviewing. Do not assume or fabricate execution plan details if they are not provided.
Overview: Use IANA timezone names (e.g., US/Eastern, Europe/London, Asia/Shanghai) for precise mapping. Short aliases like 'US' or 'EU' are accepted but will be mapped to a representative timezone with a note.
Overview: Ensure the input file is an Excel workbook (.xlsx) and that the user has confirmed the file path and worksheet name. The output format must be specified, and Python file I/O must use `encoding='utf-8'`.