Tidb: How to create unique rowID on multiple node TiDB

Created on 17 Sep 2019  路  2Comments  路  Source: pingcap/tidb

I read your blog, I have a question: How will the rowID be created on multiple TiDB nodes if the table's primary key is not an int? Because rowID is unique for each table, but we have multiple node TiDB.

image

typquestion

Most helpful comment

I got the same question and dig into the code a bit, I am not sure it's all correct but here is what I found

All 2 comments

I got the same question and dig into the code a bit, I am not sure it's all correct but here is what I found

Close this issue due to no feedback for a long time.
Feel free to reopen it if you need any further help.

Was this page helpful?
0 / 5 - 0 ratings