Created
September 23, 2019 19:23
-
-
Save yogananda-muthaiah/f7e6219627665a02c8d4aa6635827f9f to your computer and use it in GitHub Desktop.
HANA Memory Consumption
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
c.host, c.user_name, c.connection_status, c.transaction_id, s.last_executed_time, | |
round(s.allocated_memory_size/1024/1024/1024,2) as "Alloc Mem (GB)", | |
round(s.used_memory_size/1024/1024/1024,2) as "Used Mem (GB)", s.statement_string | |
from | |
m_connections c, m_prepared_statements s | |
where | |
s.connection_id = c.connection_id and c.connection_status != 'IDLE' | |
order by | |
s.allocated_memory_size desc | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment