danhuawang commented on issue #8089: URL: https://github.com/apache/gravitino/issues/8089#issuecomment-3188651522
> > <img alt="Image" width="1719" height="1332" src="https://private-user-images.githubusercontent.com/35210666/477993920-f2a9d938-7be5-4a74-bbfb-6bb231890a17.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTUxNzgyMTcsIm5iZiI6MTc1NTE3NzkxNywicGF0aCI6Ii8zNTIxMDY2Ni80Nzc5OTM5MjAtZjJhOWQ5MzgtN2JlNS00YTc0LWJiZmItNmJiMjMxODkwYTE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODE0VDEzMjUxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2MTNlYTc0NzExZmQzNDViYzczMDAxOWIyODNlY2I1NGY5YjIwNzA1MjBhMjllNzZmMTIzODBkODRhMjIwOWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oNhFJElUK9HTB1Pr-TH8ZHfx6FNSEkZXGnxtEXVZoKs"> After analyzing the flame graph, it appears that the main cause of the prolonged execution time is that listRole went through the cache layer, but since the cach e layer does not support RelationalEntityStore, it resulted in multiple database accesses. > > Could you please test it again using the configuration below? > > ``` > gravitino.cache.enableWeigher = true > ``` I test it both `gravitino.cache.enableWeigher =false` and `gravitino.cache.enableWeigher = true` . No changes. -- 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]
