englefly opened a new pull request, #9881:
URL: https://github.com/apache/incubator-doris/pull/9881

   # Proposed changes
   字典重新排序后,前后两本字典的字典码转换关系原来实现使用map。改为vector保存对应关系,可以提高查找新字典码的速度。
   测试数据 ssb_flat 5G
   SQL: select    count(P_BRAND)    FROM    lineorder_flat        WHERE    
P_BRAND    <=    'MFGR#2228'
   测试对比细节如下(total是sql执行时间,字典转码包含在profile的ShortPredEvalTime counter中)
   - 修改前 (total, ShortPredEvalTime)
   1. 1251ms, 457ms
   2. 1427ms, 512ms
   3. 1247ms 438ms
   - 修改后 (total, ShortPredEvalTime)
   1.  1490ms, 332ms
   4. 800ms, 167ms
   5. 1266ms, 274ms
   
   测试结论:sql执行时间从1317ms提高到1185ms,ShortPredEvalTime 从469 提高到257,提高 45%
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   Describe the overview of changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   6. Has unit tests been added: (Yes/No/No Need)
   7. Has document been added or modified: (Yes/No/No Need)
   8. Does it need to update dependencies: (Yes/No)
   9. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to