Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TIDB可以后添加主键索引吗

Can TiDB add a primary key index later?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TIDB可以后添加主键索引吗
Can TiDB add a primary key index later?
Currently, only adding and deleting operations for NONCLUSTERED primary keys are supported; CLUSTERED is not.
Only supports adding and deleting operations for NONCLUSTERED primary keys.
Clustered primary keys can only be added when creating the table, while non-clustered ones can be added later.
Only supports adding and deleting operations for NONCLUSTERED primary keys.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.