2. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
2
SAP HANA Overview –
SAPHANA,shortfor “High-PerformanceAnalyticAppliance”isanin-memory, column-oriented,
relational database managementsystemdevelopedbySAP.
SAPHANA isnothingbutHybriddatabase whichmeansitis RDBMS [Traditional Database] that
completelyresideswithinmemory.
Data now residesinmain-memory(RAM) andno longerona hard disk.
It isa combinationof hardware and software made to processmassive real time datausingIn-Memory
computing.
It combinesrow-based,column-baseddatabase technology.
An in-memorydatabasemeansall the dataisstoredinthe memory(RAM).Notime wastedinloading
the data from hard-disktoRAMor storingthe data inhard-disk.Everythingisstoredinsidememoryfor
all the time,whichgivesquickaccessabilitytothe CPUswhile processingdata.
3. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
3
Why SAP Hana? –
To overcome the limitationof operationreportingwe wenttoSAPBW.To work SAPBW efficientlywe
maintaintwosystemsSAPBWA andDatabase Layerso theycomeswithnew Productcalled SAPHANA.
Reasons Customers Choose SAP HANA –
1. Speed –
SAPHANA managesmassive datavolume athighspeed
2. Real Time –
SAPHANA managesmassive datavolume athighspeedandreal-time enterprise solutions.
3. Any Data –
SAPHANA helpsyouto gaininsightsfromstructuredandunstructureddata.SAPHANA
integratesstructuredandunstructureddatafrominternal andexternal sources,andcanwork on
detaileddatawithoutaggregations.
4. Any Source –
SAP HANA provides multiplewaystoloadyourdata fromexistingdatasources intoSAP
HANA. SAPHANA can be integratedintoawide range of enterprise environments,allowingitto
handle datafrom Oracle databases,MicrosoftSQLServer,andIBMDB2.
5. Analysis –
Using SAPHANA we can done Predictive Analysis,TrendAnalysis,Complex Analysisand
IntelligentAnalysis.
4. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
4
NeedforSAPHANA–
Today,most successful companies respond quickly to market changes and new opportunities. A key to this is
the effective and efficient use of data and information by analyst and managers.
HANA overcomes the limitations mentioned below −
Due to increase in“Data Volume”,itisa challenge forthe companiestoprovide accesstoreal time data
for analysis and business use.
It involves high maintenance cost for IT companies to store and maintain large data volumes.
Due to unavailability of real time data, analysis and processing results are delayed.
SAPHANAVendors–
SAPhas partneredwithleadingIThardware vendorslike IBM,Dell,Ciscoetc.andcombineditwithSAPlicensed
services and technology to sell SAP HANA platform.
There are,total,11 vendorsthat manufacture HANA Appliancesandprovideonsitesupportforinstallation and
configuration of HANA system.
Top few Vendors include −
IBM
Dell
HP
Cisco
Fujitsu
Lenovo(China)
NEC
Huawei
5. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
5
SAP HANA –
There are three differenttypesof technologywhichisbackingwithSAPHANA.
1. TREX Engine –
TREX Engine isTextRetrieval andExtractionEngine
TREX Engine hasIn Memory capacities.
All the ReadPerformance of SAPHANA systemare done byTREX Engine.
2. P*Time –
P*Time isLight WeightRDBMS System.
It supportthe Write Performance of SAPHANA System.
3. Max DB –
The Max DB ismechanical device.
The Max DB isusedas Backup option.
SAP HANA
[Hybrid Database]
TREX Engine P*Time Max DB
6. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
6
SAP HANA Database Architecture –
The SAP HANA database isdevelopedin C++and runson SUSE Linux Enterprise Server.The SAPHANA system
consists of multiple serverssuchasIndex Server,Name Server,PreprocessorServer,Statistical ServerandXS
Engine.
Index Server –
The main SAPHANA database managementcomponentisknownasthe index server.
The index servercontainsthe actual dataand it storesandthe processingthe dataandit can holdthe
data.
The index serverprocessesincomingSQL or MDX statementsinthe authenticatedsessionsand
transactions.WhenfiresSQLor MDX statementIndex Serverprocessesthese commands.
7. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
7
1. Connectionand SessionManagement–
Thiscomponentisresponsible forcreatingandmanagingsessionsandconnectionsforthe
database clients.
Once a sessionisestablished,clientscan communicate withthe SAPHANA database usingSQL
statements. Foreachsessionasetof parametersare maintained.
Users are Authenticatedeitherbythe SAPHANA database itself (loginwithuserandpassword)
or authenticationcanbe an external authenticationproviderssuchasan LDAPdirectory.
2. AuthorizationManager –
ThiscomponentisinvokedbySAPHANA database componentstocheckwhetherthe user
has the required privilegestoexecutethe requestedoperationssuchascreate,update,
select,executeandsoon.
3. SQL Processer–
Users are Authenticatedeitherbythe SAPHANA database itself (loginwithuserand
password) orauthenticationcanbe an external authenticationproviderssuchasan LDAP
directory.
8. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
8
3.1 SQL Script –
The SAP HANA database hasitsown scriptinglanguage namedSQL Scriptthatis designed
to enable optimizationsandparallelization.SQL Scriptisa collectionof extensionstoSQL.
3.2 Multidimensional Expressions –
MDX isa language forqueryingandmanipulatingthe multidimensional datastoredinOLAP
cubes.
IncomingMDX requestsare processedbythe MDX engine andalsoforwardedtothe Calc
Engine.
3.3 PlanningEngine –
PlanningEngine allowsfinancial planningapplicationstoexecutebasicplanningoperationsin
the database layer.
One such basicoperationistocreate a new versionof a data setas a copy of an existingone
while applyingfiltersandtransformations.Forexample:planning datafora new yeariscreated
as a copy of the data fromthe previousyear.
3.4 Calc Engine –
The SAP HANA database featuressuchasSQL Scriptand Planningoperationsare implemented
usinga commoninfrastructure calledthe Calcengine.
The SQL Script,MDX, PlanningModel andDomain-Specificmodelsare convertedinto
CalculationModels.The CalcEngine createsLogical ExecutionPlanforCalculationModels.The
CalculationEngine will breakupamodel,forexample some SQLScript,intooperations thatcan
be processedinparallel.
4. Transaction Manager –
In HANA database,eachSQL statementisprocessedinthe contextof atransaction.
The transactionmanageralso cooperateswiththe persistencelayertoachieve atomicand
durable transactions.
5. Metadata Manager –
Metadata can be accessedviathe MetadataManager component.Inthe SAPHANA database,
metadatacomprisesavarietyof objects,suchas definitionsof relationaltables,columns,
views,indexesandprocedures.
9. InfoVille SolutionsIndiaPvtLtd
SAP HANA Overview
9
6. Row Store –
The Row Store isthe SAPHANA database row-basedin-memoryrelationaldataengine.
7. ColumnStore –
The ColumnStore storestablescolumn-wise.Itoriginatesfromthe TREX.
8. Persistence Layer–
The Persistence Layerisresponsiblefordurabilityandatomicityof transactions.This
layerensuresthatthe database isrestoredtothe mostrecentcommittedstate afterarestart and that
transactionsare eithercompletelyexecutedorcompletelyundone.
Name Server–
Name Serverholdthe informationaboutthe completelylandscape.
Name Serverisresponsible forTopologyof SAPHANA system.
Name Serverknowsthatwhere the componentare runningandhow data are spreadintodifferent
serverssothat the purpose of Name Server.
PreprocessorServer–
PreprocessorServerisusedforTextDataAnalysis
Index Serverisutilizethe capabilityof PreprocessorServerinTextData AnalysisandSearchingaswell.
Statistical Server–
Statistical Serveris usedtocollectthe datafrom systemmonitorandhelpsyoutoknow the healthof
HANA system.
Statistical Serverisresponsible forcollectingdatarelatingtostatus,resource allocationand
Performance of SAPHANA System.