Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】Doris中VARCHAR(M)类型,M的大小对性能有影响吗?

Asked Jul 8, 2024 Modified Jul 9, 2024
Viewed 212
2.1

从Hive导数据到Doris,Hive中字段类型是String不确定字符串的长度,Doris字段设置了VARCHAR(255)但是有时候实际的长度会超过255导入会报错,所以想着Doris中VARCHAR直接设置为最大长度,不知道对性能有没有影响?

edited Jul 9, 2024
BingzZ11
asked Jul 8, 2024
1 Answers

【问题状态】处理中
【问题处理】没有影响

edited Jan 1, 1970
黄海军@SelectDB5198
answered Jul 9, 2024
Related Questions
Doris BE 集群1-2个节点过一段时间后内存持续升高,出现OOM,定位是冷数据垃圾回收功能影响
doris2.1.7 truncate table xxx 及 create table 报错,faied to find enugh backend
1 answers
flinksql写Doris标记删除时'sink.enable-delete' = 'false'的含义
1 answers
2.1.0 BE OOM,内存分析求助
1 answers
doris be节点会不定期在凌晨02:00 崩溃
1 answers
doris无法对包含.的文本进行分词
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.