Skip to content

Spirng boot+mybatis 批量写入慢 #13888

Answered by zy-kkk
a3225167 asked this question in Q&A
Discussion options

You must be logged in to vote

Spirng boot+mybatis方式以及原始JDBC方式都不推荐,相当于大量的insert into放到doris进行,这种效率是极低的,而且会引起-235问题,我们建议采用stream load方式来进行对doris的写入,而Spirng boot+mybatis可以对Doris进行查询,以及少量的改和删
stream load demo:https://github.com/apache/doris/blob/master/samples/stream_load/java/DorisStreamLoad.java

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@sollhui
Comment options

@liaoxin01
Comment options

@flyzyh
Comment options

@liaoxin01
Comment options

@flyzyh
Comment options

Answer selected by a3225167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants