Schema Change Log

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 表结构变更记录

| username: Running

Does TiDB store table structure change records?

| username: ddhe9527 | Original post link

Table structure changes are DDL operations. The information_schema.ddl_jobs table can be used to find the currently executing DDL tasks and recent historical records. Additionally, the slow query log will record DDL statements that take longer than 300ms to execute.