如我之前提到的那样,切分迫使您重视主键,因为您将需要亲自管理这些主键。
As I mentioned earlier, sharding forces you to be keenly aware of primary keys, as you'll manage them yourself.
现在已经开始支持自动生成主键和未知的主键字段处理,而且越来越多的人开始使用它。
Primary key generation and unknown primary key field handling is now becoming supported, and more people are beginning to use it.
对于创建外键,则需要另外一个具有主键的表,且该主键具有兼容的数据类型。
For foreign key creation, another table with a primary key with a compatible data type is required.
应用推荐