You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/11 09:33:39 UTC

[GitHub] [doris] zbtzbtzbt opened a new pull request, #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

zbtzbtzbt opened a new pull request, #15824:
URL: https://github.com/apache/doris/pull/15824

   # Proposed changes
   
   delete skiplist for dup table when data load.
   ## Problem summary
   
   when load data, data will be insert into skiplist in memtable, for each row skiplist need to **Find** and **Sort**, which time cost is O(log(n)), I don't think it's a good way.
   
   There are two ways to insert data into memtable:
   
   1. insert into skiplist: **O(log(n))**, when need flush, the data is already sorted
   2. insert into a block(append only): **O(1)**, when need flush, sort once.
   
   this pr implement way2 for duplicate table: **append data to a block and sort when need flush.**
   
   I don't know how good or bad it turned out
   This pr needs to use the community's testing framework
   So I submit first to see the result.
   
   


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15824:
URL: https://github.com/apache/doris/pull/15824#issuecomment-1378918412

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15824:
URL: https://github.com/apache/doris/pull/15824#issuecomment-1378474022

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15824:
URL: https://github.com/apache/doris/pull/15824#issuecomment-1379794440

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] hello-stephen commented on pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

Posted by GitBox <gi...@apache.org>.
hello-stephen commented on PR #15824:
URL: https://github.com/apache/doris/pull/15824#issuecomment-1379828271

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 36.64 seconds
    load time: 517 seconds
    storage size: 17134295852 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230112052016_clickbench_pr_78264.html


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] zbtzbtzbt closed pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable

Posted by GitBox <gi...@apache.org>.
zbtzbtzbt closed pull request #15824: [Enhancement](load) delete skiplist for duplicate table in memtable
URL: https://github.com/apache/doris/pull/15824


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org