Вы находитесь на странице: 1из 2

There are three types of information views: attribute view, analytic view, and calculation

view.
All three types of information views are non-materialized views. This creates agility
through the rapid deployment of changes.
Attribute View
An attribute view is used to model an entity based on the relationships between
attribute data contained in multiple source tables.
For example, customer ID is the attribute data that describes measures (that is, who
purchased a product). However, customer ID has much more depth to it when joined with
other attribute data that further describes the customer (customer address, customer
relationship, customer status, customer hierarchy, and so on).
You create an attribute view to locate the attribute data and to define the relationships
between the various tables to model how customer attribute data, for example, will be
used to address business needs.

Analytic View
An analytic view is used to model data that includes measures.
For example, an operational data mart representing sales order history would include
measures for quantity, price, and so on.
The data foundation of an analytic view can contain multiple tables. However, measures
that are selected for inclusion in an analytic view must originate from only one of these
tables (for business requirements that include measure sourced from multiple source
tables, see calculation view).
Analytic views can be simply a combination of tables that contain both attribute data and
measure data.
For example, a report requiring the following:
Customer_ID, Order_Number, Product_ID, Quantity_Ordered, Quantity_Shipped
Optionally, attribute views can also be included in the analytic view definition. In this way,
you can achieve additional depth of attribute data can be achieved. The analytic view
inherits the definitions of any attribute views that are included in the definition.
For example:
Customer_ID/Customer_Name/Order_Number

Product_ID/Product_Name/Product_Hierarchy Quantity_Ordered Quantity_Shipped


Calculation View
A calculation view is used to define more advanced slices on the data in SAP HANA
database. Calculation views can be simple and mirror the functionality found in both
attribute views and analytic views.
However, they are typically used when the business use case requires advanced logic
that is not covered in the previous types of information views.
For example, calculation views can have layers of calculation logic, can include measures
sourced from multiple source tables, can include advanced SQL logic, and so on. The
data foundation of the calculation view can include any combination of tables, column
views, attribute views and analytic views. You can create joins, unions, projections, and
aggregation levels on the sources.
Calculation views can include measures and be used for multi-dimensional reporting or
can contain no measures and used for list-type of reporting. Calculation views can either
be created using a graphical editor or using a SQL editor. These various options provide
maximum flexibility for the most complex and comprehensive business requirements.

Вам также может понравиться