MySQL 二进制日志事件中的 "table_id" 是什么?

What is "table_id" in MySQL binary log events?

在MySQL二进制日志事件中有没有对table_id的描述?它是唯一值吗?

this post

中找到了答案

This value comes from an incrementing global counter in sql/sql_base.cc. It increments every time a table is added to the cache of open tables that is limited in size by the global variable open_table_cache... so if that value is smaller than the number of tables being periodically accessed, you should see it increment more frequently. All of the tables will have a new id on the next generated binlog event after a FLUSH TABLES.