Hana DB
Hana DB
here are 3 components of your computer here. For your CPU to start
executing your program, the required information should be available in
your RAM. If the program was not called recently, the information would
not be available here and would need to be picked up from the persistent
disk – your hard drive. Consequently, when you call a program for the first
time, the information is loaded to the RAM and then processed by the
CPU. The second time when you called it, it was already there in the
RAM and hence got processed really fast.
RAM access is really fast and any data present there is referred to as data
in-memory.
HANA
SAP R/1
R/2
In RAM, we read and write the data but on the other hand in the
hard disk, we can only read the data and can’t over-write it.
RAM is volatile i.e. temporary storage data can’t be stored for a longer period but on the
other hand, hard disk is non-volatile data can be stored for a longer period.
RAM is used to increase the speed while the hard disk is used to increase the storage
space.
RAM is very expensive because of the used semiconductor in it while the hard drive is less
expensive because of the use of magnetic tape.
RAM can be added without updating the windows but if you are adding the hard drive you
need to update the windows i.e. if you are moving from windows 7 to windows 10.
SAP created an in-memory database that keeps all of the customer data
online/in-memory. So, in a way you could picture this as a gigantic RAM
running multiple cores of CPUs and hence delivering lightning fast
response times.
Now before you throw your disks out for being a disappointment, it’s
important to understand that the RAM is volatile memory, i.e. it loses its
data on loss of power. Thus, it’s important for backups to be taken to
persistent disks. Backups are scheduled jobs executed as per the
configurations to make sure no data is lost in case of SAP HANA DB down
times.
Data now resides in main-memory (RAM) and as well as on a hard disk for backup.
It is a combination of hardware and software made to process massive real time data using In-
Memory computing(On Fly Calc).
An in-memory database means all the data is stored in the memory (RAM). No time wasted in
loading the data from hard-disk to RAM or storing the data in hard-disk. Everything is stored inside
memory for all the time, which gives quick access ability to the CPUs while processing data.
The speed advantages offered by this RAM storage system are further accelerated by the use of
multi-core CPUs, and multiple CPUs per board, and multiple boards per server appliance.
Column Storage – It stores table records in a sequence of columns i.e. the entries of a
column is stored in contiguous memory locations.