大批量插入bitmap数据 #45406
大批量插入bitmap数据
#45406
-
有一个user表,数据量1亿。现在想做基于性别,年龄的打标,把userId插入到另一张tag表(bitmap表 user_ids是bitmap类型)中。对这种从doris查,并需要写入另一张doris表的场景,设计了如下两种方案,更推荐哪种?为什么?
|
Beta Was this translation helpful? Give feedback.
Answered by
Jianing-Xu
Feb 18, 2025
Replies: 1 comment
-
数据量不大、任务数少的场景,推荐采用方案1。 如果数据量大且类似任务多,推荐采用方案2,防止doris崩溃,同时保证业务准确性 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jianing-Xu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
数据量不大、任务数少的场景,推荐采用方案1。 如果数据量大且类似任务多,推荐采用方案2,防止doris崩溃,同时保证业务准确性