Home > Back-end >  How to build the Tree index B?
How to build the Tree index B?

Time:09-19

Varchar field as the primary key, how to build a B + tree index? Is how to judge the size of the varchar field values? And varchar field as the primary key can increase, then why do you want to use the varchar when a primary key?

CodePudding user response:

Where is this?

CodePudding user response:

Why can not as a primary key, string also have more rules, only without the digital type fast, to produce more pieces, while on the id only can insert into the most the right side of the tree, will be faster,
  • Related