lschampion commented on issue #58304:
URL: https://github.com/apache/doris/issues/58304#issuecomment-3631047842

   i got the privilege check duration of every table is about 20-40 ms, so that 
realy takes time. and i add a guava cache to class of AccessControllerManager. 
the cache would record the result for 5min, so after query, privilege of query 
faster, example: fist time execute "show tables" takes 17 seoncds, the second 
would take 0.01 seconds. but the privileges would update as a delay job, which 
might equal to the cache invalidation time.


-- 
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