500 Error while loading Admin Page

Hi All,

We have faced 500 error intermittently during accessing admin page. Could you please help how to resolve this.

{"method":"GET","path":"/admin","format":"html","controller":"Admin::DashboardController","action":"index","status":500,"error":"ActionView::Template::Error: PG::QueryCanceled: ERROR: canceling statement due to statement timeout\n: SELECT COUNT(*) FROM \"notes\"","duration":62870.27,"view":0.0,"db":62760.22,"time":"2019-08-18T03:43:18.504Z","params":[],"remote_ip":"10.143.80.215","user_id":18615,"username":"sachis"}

Hi,

Anyone faced this issue in 10.6.4 Gitlab version ? Is there any fix or workaround ?