Hi Baji,
in java stack, you can integrate your database into a abap dbacockpit (solution manager). Or you can use the same query as Thorsten mentioned.
In integrate the database into dbacockpit, you can check note:
1371928 - DBA Cockpit: SAP MaxDB/liveCache as remote database
Best regards,
James