In our other post ‘ SAP ABAP Tips‘, we shared some uncommon but very useful tips on ABAP. In this post, I would like to share similar useful tips in regards to SAP HANA.
i) Parameter to limit the CPU usage for a thread in SAP HANA
There is a parameter that can be used to limit the amount of CPU, a thread can take in SAP HANA.
indexserver.ini -> parallel = numes_cores
ii) How to find the size of the HANA DB?
We have two aspects here:
a. Column store
b. Row store
a. To find column store utilization:
SELECT round (sum(MEMORY_SIZE_IN_TOTAL)/1024/1024) AS "Column Tables MB" FROM M_CS_TABLES;
b. To find row store utilization:
SELECT round (sum(USED_FIXED_PART_SIZE + USED_VARIABLE_PART_SIZE)/1024/1024) AS "Row Tables MB" FROM M_RS_TABLES
iii) Migrating tables to specified nodes in SAP HANA multi-node system
If you want to migrate a particular table from one node of HANA to another for performance or space issue:
a. To view current location of table
Open SQL editor on HANA studio and run the sql query:
select * from "SYS"."M_TABLE_LOCATIONS" order by LOCATION, table_name
b. To view current location decide the node where you want to move it and run the below query on SQL editor of HANA studio:
ALTER TABLE MOVE TO ‘node:port number’
Also Read: ‘Smart Data Integrator & Data Load In SAP HANA’
iv) Delivery Classes for tables (Not specific to HANA)
While doing some migrations (BW on HANA ) I felt that we as technical consultant need to have a better understanding of delivery classes. I felt that we need to recap the concept. I am intending to have a small listing of the same. For each database table, a delivery class has to be specified. The delivery class determines the handling of the entries for a specific table during
– Transports
– Client Copies
– Installation & Upgrades
SE11 Delivery Classes for tables:
Delivery Classes for tables:
Examples:
C – Common Address Data (Country: T005)
E – Messages (T100)
G – Communication: country dialling code (T005K)
L – Lock Arguments (E070USE)
S – Language Key (T002)
A – Personal Address Data, Username (USR01)
W – Transport (E070), Tables (DD02L)
Delivery Classes – Client Copy & Client Transport:
Delivery Classes – Transport SAP -> Customer
Delivery Classes – Transport Customer -> Customer
For more details, please refer SAP Note: 2857
If you want to get such practical tweaks and tricks straight to your inbox, please SUBSCRIBE. We respect your privacy and take protecting it seriously.
If you liked this post, please hit the Share buttons. Please like us at facebook and encourage us.
Thank you very much for your time!!
Series on SAP HANA
3. View the HANA Views from different angles
4. ‘ABAP for SAP HANA’ Points to remember
5. SAP HANA ; S/4 HANA and S/4 HANA Finance in Nutshell
6. Smart Data Integrator & Data Load In SAP HANA
to be updated..
Image source: rahulurs.com(modified)