on 07-21-2017 6:11 AM
Hi, everyone!
Is there a sql-statement to determine the REAL size of a schema in HANA?
sql request provided by SAP is not showing schema size, it shows schema RAM consumption.
select SCHEMA_NAME as "Schema", round(sum(MEMORY_SIZE_IN_TOTAL) /1024/1024) as "MB Used" from M_CS_TABLES GROUP by SCHEMA_NAME order by "MB Used" desc
I'm able to determine true schema size by exporting schema and measuring exported folder.
According to request results SBOCOMMON consumes 9 MB memory, but the real size of schema - 3,7 GB
currently I'm using script that exports and measures exported schema size automatically
Hi Rinat,
I looked for a similar function or sql statement a year ago and I didn't find it, so I create a procedure that gives a real size of column, table or schema. I can post the code if you want.
Can you tell me which script did you use to export and mesure schema ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.