开发者

What is a ideal column length to set while creating a BTREE index?

开发者 https://www.devze.com 2023-03-01 06:01 出处:网络
I\'m creating a BTREE index for a large table with data length of about 1.5GB. What would be a ideal Column le开发者_如何学编程ngth while creating a BTREE index?Are you talking about the index prefix

I'm creating a BTREE index for a large table with data length of about 1.5GB. What would be a ideal Column le开发者_如何学编程ngth while creating a BTREE index?


Are you talking about the index prefix length for a column? It depends on your data. If you expect that your data will usually be unique after X characters, use X.

0

精彩评论

暂无评论...
验证码 换一张
取 消