2026 May 26 6:31 PM - edited 2026 May 27 12:34 AM
When executing SQLMD for Cross Node Join analysis, the program needs an input file containing Tables and Nodes.
How to generate this file using the data from HANA DB? Wherever I check in System tables/views, this field with Node information is marked as Internal Use only and always return empty result.
So, how to generate the file with Table & Node information required to execute SQLMD?
Thanks
Request clarification before answering.
SQLM cross node joins refers to host as node. Node in M_CS_COLUMNS refers to the internal numa node architecture.
You need to check column host in M_CS_TABLES, then you can build a txt file like this:
Table Name Node
%DEFAULT% 1
tableA 2
tableB 2
...
USR21 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
In this example, USR21 is located on all hosts via OSTR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found the answer here:
M_CS_COLUMNS has details of tables, columns and partitions and the following example may be helpful to check the NUMA locations where tables are distributed across NUMA nodes. In this case CPU load is distributed across NUMA nodes by NUMA-local processing, but memory consumption is also better distributed to the memory attached to each NUMA node.
select table_name, column_name, part_id, string_agg(numa_node_index, ',') from m_cs_columns
group by table_name, column_name, part_id
order by table_name, column_name, part_id;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@dirkhoffmann Host and Nodes are different columns in M_NUMA_NODES.
SQLMD asks for Nodes information. Whereas, your comment says the file should actually contain Host number information.
Could you please confirm once more if the file should contain Node or Host information?
My original question was, which System DB View from HANA, contains the information, that must be used to build the text file required to feed into SQLMD?
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.