Quantcast
Channel: SCN : Document List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 1183

Migrating tables to specified nodes

$
0
0

Many time you would like to move one or few tables from one node to another.we can do that with the help of below steps:-

 

 

1. First we should find the current location of the table on the system.Below SQL helps us to find that:

 

select * from"SYS"."M_TABLE_LOCATIONS"orderby LOCATION,table_name



2. Take a note of storage of the current node and the target node.



3. Once we know the current location , we move the table to desired node . Please keep the current location marked somewhere so that when needed you can bring it back .


ALTER TABLE <SCHEMA_NAME>.<TABLE> MOVE TO ‘XXXnode02:30003’


4. Now you can see the  increase of node 2 storage




Viewing all articles
Browse latest Browse all 1183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>