![]() | ![]() |
Home |
|
|
WarehouseArchitect - User's Guide |
|
| Part 3 WarehouseArchitect Model |
|
| Chapter 17: Generation for OLAP Systems |
To make informed decisions, decision makers need to analyze data from a number of different perspectives (business dimensions). OLAP systems make it possible to formulate queries using business dimensions. For example, in a query that requests sales by product, or sales by region, product and region are business dimensions.
The data files created by the rebuild and generate cube function are used by Powerplay and TM1. There is no direct interface between PowerDesigner and these MOLAP tools.
You can change the target OLAP engine into which you generate data.
| OLAP tool
| Type
| Requires cube generation
| Generates structure from WAM interface
|
|---|---|---|---|
| Express
| MOLAP
| (
| --
|
| Powerplay
| MOLAP
| (
| --
|
| Essbase
| MOLAP
| (
| (
|
| DSS Agent
| ROLAP
| --
| (
|
| Impromptu
| Query and reporting tool
| --
| ( *
|
| PowerDimensions
| ROLAP
| --
| ( *
|
| TMI
| MOLAP
| (
| --
|
A confirmation box appears.
The Choose the Target OLAP Engine dialog box appears.
ROLAP tools do not require data files, you generate from the cube rebuild and generate functions.
Rebuilding a cube creates a query and inserts it into the SQL Cube box of the fact property sheet. You can view the updated fact property sheet from the multidimensional hierarchy or from the List of Facts dialog box.
You can select only one attribute per dimension to rebuild.
The Rebuild cube for OLAP engines window appears.
The Messages window appears.
Generating a cube executes the query created by the cube rebuild and places the query results into CSV or TXT files. The filenames include the name of the fact table that you generate in the cube.
| Option
| Result of selection
|
|---|---|
| Uppercase
| Script contains all uppercase characters
|
| Lowercase
| Script contains all lowercase characters
|
| No accent
| Non-accented characters replace non-accented characters in script
|
| Codes
| Script refers to objects by their codes
|
| Names
| Script refers to objects by their names
|
| Windows (ANSI)
| Script uses ANSI character set
|
| DOS (OEM)
| Script uses DOS character set
|
The Generate cube for OLAP engines dialog box appears.
or
Select the List radio button, click the Question Mark button, select facts, and click OK.
| Connecting to a data source If you are not already connected to a data source, the ODBC connection dialog box appears. You must connect to the data source via an ODBC driver.
|
The Messages window appears.
The PowerDimensions plug-in is installed by the WarehouseArchitect Setup program. You access the plug-in from the WAM menu in the WarehouseArchitect interface. Using the plug-in interface, you can generate the following types of objects:
| PowerDesigner object
| PowerDimensions object
|
|---|---|
| Table
| Table (imported from data source)
|
| Reference
| Join path
|
| Model
| Model
|
| Dimension
| Dimension
|
| Dimension hierarchy
| Hierarchy
|
| Attribute
| Level
|
| Metric
| Measure
|
PowerDimensions uses these codes to indicate the data source tables it needs to build a schema. Therefore the data source table codes must match the table codes in the PowerDesigner data model.
You can ensure matching table codes by generating the data source database from the PowerDesigner model, or by reverse engineering the PowerDesigner model from the data source database.
Facts in PowerDesigner are not generated as PowerDimensions objects, but any metrics they contain are generated as PowerDimensions measures.
| Login attributes
| Description
|
|---|---|
| User Name
| PowerDimensions server connection user name. The default user name is superuser
|
| Password
| Password of the user. No password is required for the superuser login
|
| Database schema options
| Description
|
|---|---|
| Generate Schema
| Generates the PowerDimensions database schema corresponding to the WAM
|
| Database Server
| Name of the database server
|
| Database Type
| Name of the database driver. You can select any driver supported by PowerDimensions*
|
| Database Name
| Name of the database. This name must be the same as the ODBC data source
|
| User Name
| Name of the database user as defined in the ODBC interface
|
| Password
| Password of the database as defined in the ODBC interface
|
| Model option
| Description
|
|---|---|
| Generate Model
| Generates the multi-dimension model in PowerDimensions
|
| Build Hierarchy
| Generates the data elements for the dimension
|
For information on PowerDimensions extended attributes, see the section PowerDimensions extended attributes
| Unlock the schema and close the model If a schema is locked in PowerDimensions, you cannot generate PowerDimensions objects. If you are generating a model that already exists in PowerDimensions, you must close the model in PowerDimensions before generating it again from PowerDesigner.
|
The PowerDimensions Generation Options dialog box appears.
You can generate 3 different types of file from the WAM to use with Oracle Express:
If you generate all files to the same directory, the program file can automatically load the data files that you create with cube generation.
You need to change the target OLAP engine to Express.
The Generate Express Database window appears.
The Generation Options for OLAP Engine dialog box appears.
You must install Essbase on your local machine or copy the Essbase DLL files to your local machine to be able to access an Essbase server.
You need to change the target OLAP engine to Essbase.
The Essbase Application Generation window appears.
The Generation Options for OLAP Engine dialog box appears.
| Connecting to a data source If you are not already connected to a data source, the ODBC connection dialog box appears. You must connect to the data source via an ODBC driver.
|
You can generate:
You can generate a script file that you can run in your DSS Agent interface environment. You must first generate a project in DSS.
The script you generate inserts SQL queries into the structure metadata database. These queries can then be used by DSS Agent to extract data from the data source.
You can generate for DSS without changing the target OLAP engine.
The Generate Metadata for OLAP Engine window appears. It shows the multidimensional model of the current WAM.
The Generation Options for OLAP Engine dialog box appears.
A standard file selection dialog box appears.
The project must exist in DSS Agent.
A message box shows the progress of the generation process.
Metadata refers to the multidimensional objects that OLAP engines use to formulate queries of data warehouses. The metadata has the same business dimensions defined in the multidimensional model associated with the WAM.
You can generate metadata directly in the OLAP database.
The Generate Metadata for OLAP Engine window appears. It shows the multidimensional model of the current WAM.
or
Click the Select All button to select all checkboxes.
or
Click the Unselect All button to clear all checkboxes.
The Generation Options for OLAP Engine dialog box appears.
| Connecting to a data source If you are not already connected to a data source, the ODBC connection dialog box appears. You must connect to the data source via an ODBC driver.
|
You must install the Impromptu plug-in from the WarehouseArchitect Setup program for the plug-in to work properly. You generate a structure file from the WAM plug-in interface that you can use in Impromptu to obtain your query results.
From Impromptu you must first create a logical database name for a data source. You must also close the database catalog in Impromptu before you generate a catalog file from the WAM.
| Uninstalling the Impromptu plug-in
You must uninstall the Impromptu plugin before you uninstall WarehouseArchitect. To uninstall the Impromptu plugin, you must run PDOBJECT.EXE with /unregserver. You can do this from DOS or from the Start bar Run window. |
The Cognos Impromptu Generation window appears.
A second dialog box asks for the logical database name for Impromptu.
This is the logical database name. If the catalog name already exists in the database, a message box asks if you want to replace it.
The Cognos Impromptu Generation dialog box displays the name of the created CAT file.
If you access an extended attribute list from a property sheet you will not see the prefix. You can view the complete list of extended attributes, with their prefixes, from the Dictionary-->Extended Attributes-->List of Attributes menu in WarehouseArchitect.
The prefixes automatically added to an attribute are:
| OLAP tool
| Prefix
|
|---|---|
| Essbase
| ess_
|
| Express
| exp_
|
| DSS Agent
| dss_
|
| Impromptu
| imp_
|
| PowerDimensions
| Prefix not applied
|
You can assign values to extended attributes in the Multidimensional Hierarchy window from the property sheet of a fact, dimension, hierarchy, attribute, or metric. You can also create new extended attributes.
The Multidimensional Hierarchy window appears.
A context menu appears.
The object properties dialog box appears.
The Extended Attributes Values dialog box appears.
The Extended Attribute Definition dialog box appears.
or
Click the button, if it is active, and select a constant value.
| Creating an extended attribute You can click the New button to create an extended attribute. You select the data type for extended attributes from the Type dropdown listbox, and you assign a value in the Value box.
|
This section lists extended attributes with their descriptions and data types for Sybase PowerDimensions generation. Extended attributes are only provided for dimension attributes that are generated as levels in PowerDimensions.
| Extended attribute
| Data type
| Description
|
|---|---|---|
| AliasColumn
| String
| Column name for alias
|
| KeyColumns
| String
| List of key columns separated by a comma
|
| SortColumn
| String
| Column name for sort
|
This section lists extended attributes with their descriptions, data types, and default values that are necessary for Arbor Essbase OLAP generation.
| Extended attribute
| Data type
| Description and default
|
|---|---|---|
| ess_application
| String
| Application name No default
|
| ess_database
| String
| Database name No default
|
| ess_login
| Boolean
| Login name Default=FALSE
|
| ess_password
| String
| Password No default
|
| ess_server
| String
| Server name No default
|
| ess_username
| String
| User name No default
|
| Extended attribute
| Data type
| Description and default
|
|---|---|---|
| ess_category
| Integer
| Dimension category Default=ess_CAT_NONE
|
| ess_share
| Integer
| Share option Default=ess_SHARE_DATA
|
| ess_storage
| Integer
| Dimension storage type Default=ess_DIMTYPE_DENSE
|
| Extended attribute
| Data type
| Description and default
|
|---|---|---|
| ess_category
| Integer
| Dimension category Default=ess_CAT_NONE
|
| ess_share
| Integer
| Share option Default=ess_SHARE_DATA
|
| ess_storage
| Integer
| Dimension storage type Default=ess_DIMTYPE_DENSE
|
| Extended attribute
| Data type
| Description and default
|
|---|---|---|
| ess_consolidation
| Integer
| Unary consolidation type Default=ess_UCALC_ADD
|
| ess_expense
| Boolean
| Expenditure Default=ess_FALSE
|
| ess_skip
| Integer
| Time balance skip option Default=ess_SKIP_NONE
|
| ess_timebalance
| Integer
| Time balance option Default=ess_TIMEBAL_NONE
|
| ess_twopass
| Boolean
| Calculation order Default=ess_FALSE
|
|
|