Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9564

Re: table distribution in hana multi node

$
0
0

Hi,

 

Regarding your question, I've made a test in SAP HANA SPS07 rev. 70 early this year. You can take it as a reference.

 

In my test environment, there were three hosts, one master, one slave and one standby as follows.

 

1.PNG

 

I created a very simple partitioned table named "STUDENT".

2.PNG

 

After the insertion, when you opened the definition of the table and switched to the "Runtime Information", you could find there were 2 records on the master and 1 record on the slave. There was no record on the standby.

 

3.PNG

 

At this time, when you made a select, everything was fine. You could see three records.

 

4.PNG

 

Then I stopped the slave.

 

5.PNG

 

6.PNG

 

At this time, I ran the select statement but failed. This is because there was one record on the slave and the slave was stopped (the standby was not started yet). So you get everything or you get nothing. In this case, you got nothing.

 

7.PNG

 

After the standby was started and took over the data which was on the slave, I could succeed to run the SQL again.

 

8.PNG

 

9.PNG

 

10.PNG

 

In short, if you use host-level HA which means you have only one SAP HANA system and there is(are) standby host(s) in your SAP HANA system, "seamless" is impossible. This is because of the "shared nothing" concept in SAP HANA distributed system.

 

Best regards,

Wenjun


Viewing all articles
Browse latest Browse all 9564

Trending Articles



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