1.smart Data Access
1.smart Data Access
Keeping Business need in view, SAP has introduced Smart Data Access in SAP HANA which is
a Virtualization Technique. This feature is introduced from SPS6 in SAP HANA.
SAP HANA smart data access enables remote data to be accessed via SQL queries as if they are
local tables in HANA, without copying the data into SAP HANA.
Not only does this capability provide operational and cost benefits, but most importantly it
supports the development and deployment of the next generation of analytical applications which
require the ability to access and integrate data from multiple systems in real-time regardless of
where the data is located or what systems are generating it.
Smart Data Access is a technology which enables remote data access as if they are local tables in
HANA without copying data into SAP HANA.
It is based on local virtual tables that maps to an existing object at the remote data source site.
Data required from other sources will remain in virtual tables. Virtual tables will point to remote
tables in different data sources. It will enable real time access to data regardless of its location
and at same time, it will not affect SAP HANA database.
Customers can then write SQL queries in SAP HANA, which could operate on virtual tables.
The HANA query processor optimizes these queries, and executes the relevant part of the query
in the target database, returns the results of the query to HANA, and completes the operation.
Data in virtual tables cannot be modified i.e. insert, update and delete operations are not possible
on virtual tables. However, we can do select on virtual table and put data in HANA table.
Virtual table does not support BLOB/CLOB data type. Workaround of this problem is to create
view on remote table by excluding column of BLOB/CLOB type and then create virtual table
with the help of view.
Virtual Tables cannot be used in multi node HANA cluster. However, it is possible to access
virtual table from one HANA server to other.
Right click on remote source<-click refresh, now we can see new source
“HANA_LOCAL_INDIA5” is created
Go to catalog<-BEST schema<-tables<right click on tables<-click on new virtual table
Give the table name and schema type and then click on browse