Hey Dinesh
PSA tables should never be rowstore tables. If they are, then something different went wrong and needs to be fixed.
Idele Badenhorst: just as with any other DBMS deleting records/rows does not immediately lead to reduced memory footprint.
Typically actions like a delta merge need to be performed to reduce the internal memory allocation by finally removing deleted data that had only been marked invalid before.
If your instance is using too much memory then I'd recommend to check whether delta merges are actually happening. The M_DELTA_MERGE_STATISTICS system view also provides the reason code if the merge doesn't happen.
You may also want to check out SAP note
1969700 | SQL statement collection for SAP HANA |
from my colleague Martin Frauendorfer
--> HANA_Memory_TopConsumers.txt
--> HANA_Tables_LargestTables.txt
--> HANA_Tables_ColumnStore_Overview.txt
With these scripts it shouldn't be too difficult to find out what is using up memory in your database.
- Lars