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

   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   Describe the overview of changes.
   In order to improve  to improve the performance of like/not like string 
matching, this PR would pushdown the function to storage engine. Test shows it 
can get 2x-3x performance gain.
   
   ```
   select sum(lo_quantity),sum(lo_extendedprice),lo_orderdate from lineorder 
where lo_orderpriority like '%MED%' group by lo_orderdate order by lo_orderdate;
   
   vectorized: 
   before: ~0.6s,  after: ~0.3s
   
   not vectorized:
   before: ~3s,  after: ~1.2s
   
   data filtered in segment reader:
   
![image](https://user-images.githubusercontent.com/10161171/175207195-b01aa536-f346-42dd-99c5-db395cb78f73.png)
   
   
   ```
   
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (No)
   2. Has unit tests been added: (No Need)
   3. Has document been added or modified: (No Need)
   4. Does it need to update dependencies: (No)
   5. Are there any changes that cannot be rolled back: (No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) 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: commits-unsubscr...@doris.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

Reply via email to