Kikyou1997 opened a new issue, #18603:
URL: https://github.com/apache/doris/issues/18603

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master: 09a4e9fd6bdb9a0672a62a749404179113db81e0
   
   
   ### What's Wrong?
   
   Analyze asynchronizely blocks client too long time.
   
   ### What You Expected?
   
   Return in subseconds
   
   ### How to Reproduce?
   
   Create tpch 1G databases by tools in codebase
   cost below sqls to mysql client at once
   
   ```sql
   analyze table customer;
   analyze table lineitem;
   analyze table nation  ;
   analyze table orders  ;
   analyze table part    ;
   analyze table partsupp;
   analyze table region  ;
   analyze table supplier;
   ```
   
   ### Anything Else?
   
   It blocked on the logic of deletion of statistics in the 
`AnalysisManager#createAnalysisJob`
   
   ### 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: [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