Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: ROW_FORMAT设置不同的值对TiDB有影响么?
[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.3
When creating a table and setting ROW_FORMAT=Compact, an error “Row size too large” occurs. Setting ROW_FORMAT=Dynamic works fine.
Since we need to be compatible with both MySQL and TiDB, the table structure needs to be consistent. I would like to ask, does setting ROW_FORMAT to Compact or Dynamic have any impact on TiDB?
The ROW_FORMAT parameter is ignored in TiDB, so you can set it to anything you like.
CREATE TABLE | PingCAP Documentation Center
This is the row format of MySQL. TiDB’s underlying storage is different from MySQL, so you can set this parameter to anything…
You replied quickly, so I’ll give you the best answer.
In MySQL, there will be a difference. TiDB does not recognize it. When migrating from MySQL, it will be ignored.
Thank you, still learning.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.