SmartData Fabric® Configurations Introduction
Version 8.0.0.490
SDF
Configurations in Deployment This document describes the SmartData
Fabric® concepts, its
various configurations and its deployment options. SmartData
Fabric® , aka SDF, was previously referred to
as EIQ Products or EIQ Server. The two terms are used interchangeably in parts
of this documentation. This document covers the following topics: SDF can be
configured in multiple ways to provide different
functionalities. Understanding the following concepts is important for
configuring SDF. Admins use the EIQ Server
Configuration Tool to configure and manage SDF configurations. SDF server components run as
services and they must be running before clients can connect. PGAdmin/PSQL query client tools can connect to SDF adapter
and federation configurations for executing queries and returning results. SDF provides standard
data access for clients through a Virtual Data Source (VDS) interface.
Clients connect to SDF query servers similarly to how they connect to standard
data source servers through ODBC, JDBC or native connection drivers.
They use a VDS like any other standard relational data source. A Virtual Data Source
(VDS) consists of the following: 1. a
name for client applications to connect to (similar to data source name) 2. a
schema view definition (a business data view or data source native schema), 3. data
source(s) registered with the SDF query server 4. depending
on the configuration, a pairing of EIQ Indexes with corresponding
registered data source A VDS provides access
to a single data source (EIQ Indexed Adapter, EIQ Hybrid Adapter, and
EIQ Conventional Adapter) or multiple data sources (EIQ Federation
Server). An SDF VDS can
provide two types of schema views: 1. a
virtual schema view based on a standard data model, or 2.
native data source schema SDF’s business data
view mapping feature allows admins/data engineers to map data source
specific columns to a business data view for Virtual Data Sources.
This hides data source specific schema names. A VDS without a business
data view exposes the original data source schema to clients. Virtual Data Sources hide details of
configured data sources behind a business data view using a mapping. A business
data view contains one or more tables composed of column names from a business
data dictionary based on a standard data model that are mapped to data source
specific columns containing the corresponding data. SDF configurations execute queries in one of three ways: 1.
at EIQ Indexes corresponding to the data
source being accessed 2.
by passing queries to the data source being
accessed 3.
by passing queries to other SDF configurations In a typical edge-ware configuration, as
an EIQ Indexed Adapter or EIQ Hybrid Adapter (see SDF Configurations
below ), SDF executes queries on EIQ Indexes corresponding to data sources
and access data sources only for retrieving query results. EIQ Indexes, when
cleansed, standardized, and enhanced, enable additional query processing
capabilities otherwise not available at data sources. Admins register data sources with SDF to
provide it with necessary information for connecting to data sources, such as,
log-on credentials, driver type, and data source schema name. In typical
configurations, data sources and their corresponding EIQ Indexes are paired so
that SDF configuration knows which index to use for query execution for a data
source. Depending on the configuration, some SDF configurations may not have
EIQ Indexes. They pass queries to other SDF Configurations or directly to data
sources for execution. When a client connects to an EIQ Indexed Adapter
Virtual Data Source and submits a query, the Indexed Adapter translates the
query from a business data view to data source-specific schema. It
executes the translated query on EIQ Indexes corresponding to the data source.
The query on indexes DOES NOT return the data requested by the client. It
returns only ROWID values for rows in the data source satisfying
query requirements. Then the EIQ Indexed Adapter uses the ROWID values to
retrieve raw data from the rows in the data source. EIQ Federation passes the client query to
other configurations (EIQ Indexed Adapter, EIQ Hybrid Adapter, EIQ Conventional
Adapter, OR yet another EIQ Federation Server) which each in turn process the
query and return the results to the federation . The federation server combines
the results from every EIQ Product server and returns results to clients. Based on factors, such as the number of data sources being
accessed, schema view type, and the component executing the queries, SDF
components can be deployed in the following configurations: Note: EIQ Indexed Adapter, EIQ Hybrid Adapter,
and EIQ Conventional Adapter are collectively referred to as EIQ Edgeware
or EIQ Adapters. These three configurations are used in place of conventional
adapters in federated data systems. EIQ Indexed Adapter uses EIQ Indexes for
query execution. EIQ Conventional Adapter is similar to conventional
adapters by other vendors and passes queries directly to the data source
for execution. EIQ Hybrid Adapter uses both EIQ Indexes and a direct query
passthrough simultaneously. The following table
summarizes the major features of each SDF configuration. Table 2: EIQ Product Server configurations
and connection options for EIQ Server components Feature EIQ Federation Server™ EIQ Indexed Adapter™ EIQ Hybrid Adapter™ EIQ Conventional Adapter™ Typical Use Accessing multiple
data sources through EIQ Adapters Accessing a single
data source Accessing a single
data source Accessing a single
data source Has EIQ Indexes for Query
Processing? No Yes Yes No – queries are
passed through and executed at the data source Schema Business Data View
or data source Native schema Business Data View Business Data View and data source Native
schema Business Data View
or data source Native schema Standardization/Cleansing Data
Transforms at EIQ Indexes? N/A Yes – as per business
data model Yes - as per
business data view No Applies Data Transforms to
Results Not currently
(likely in future) Yes Yes Yes Supports Link Indexes Yes Yes Yes No Query Support Federation SQL
Syntax Business Data View SQL Syntax Business Data View SQL Syntax Data source SQL
Dialect SDF configurations can be flexible. Apart from the ones
mentioned above, users can have special case configurations within a single
instance of an SDF configuration: 1.
A special configuration can be a hybrid of EIQ Indexed
Adapter and EIQ Federation Server configurations - EIQ Federation Server with
local 'Data Source - EIQ Index' pairs for one or more Virtual Data Sources
(VDSs). For an EIQ Indexed Adapter,
the queries can be formed on business data views. To enable this, the server
needs additional configuration for column mapping and PK-FK relationships on
tables across data sources. A single instance of an EIQ Indexed Adapter or
EIQ Hybrid Adapter can be configured to have these two data sources under a
single VDS by registering both 'Data Source - EIQ Index' pairs. Clients can
connect to the VDS and execute queries on tables across data sources. An
example query enabled by this configuration could be: 'Find the total sales
grouped by the sales person's salary grade. Below are some
example deployments of various SDF configurations in relation to data sources,
applications, and third party federation servers. Note that EIQ Federation
Servers present a single view of multiple data sources and EIQ Edgeware servers
(EIQ Indexed Adapter, EIQ Conventional Adapter, and EIQ Hybrid Adapter) provide
access to a single data source each. Figure 5: An
example SDF deployment in a shared-nothing configuration. Figure 6: An
example SDF deployment along with third party adapters. Introduction
SDF
Configuration Concepts
Virtual
Data Source Interface
Schema Views
Query Execution
SDF
Configurations
Configuration
Flexibility
SDF
Configurations in Deployment
Copyright
© 2023 , WhamTech, Inc. All rights reserved. This document is
provided for information purposes only and the contents hereof are subject to
change without notice. Names may be trademarks of their respective owners.