hust-hhb opened a new issue, #18917: URL: https://github.com/apache/doris/issues/18917
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description In my test on tpch lineitem data, loading table whith three replica takes three times longer than single replica table, and the cause is when inserting memtable , the compare method of skiplist takes up too much time, in my test it will takes up approximately 50% of the time. ### Solution Here is a way to reduce load time, memtable store row in vector and sort it on async flush stage, in my test dup key can reduce 50% load time. Now i'm working on dup key, and the test show that it can reduce 50% time. https://github.com/apache/doris/pull/18894 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org