When you use Smart
Analytics Optimizer Studio to
deploy the data mart, the data mart definition is imported from an
XML file into an accelerator project in Smart
Analytics Optimizer Studio.
When data is loaded into the data mart, it is enabled automatically
and is in the ACTIVE state. You can disable or enable a loaded data
mart to switch the query acceleration for the data mart on or off.
As part of creating a data mart definition, Informix® Smart
Analytics Optimizer Studio estimates
the amount of space required for the data mart and the data mart definition
is validated.
Important: Loading data into a data
mart can take several hours, depending on the size and the amount
of data that is contained in the tables.
- Import the file into Smart
Analytics Optimizer Studio:
- On the computer where the Smart
Analytics Optimizer Studio is
installed, start Smart
Analytics Optimizer Studio:
- On Linux, open the directory
where you installed Smart
Analytics Optimizer Studio,
and then run the ./datastudio command.
- On Windows,
select
- Create an accelerator project. Right-click the Accelerators folder
and select New Accelerator or choose .
- Right-click the new accelerator project in the Project
Explorer window. Select Import. The value Data
Mart Import is selected by default. Click Next.
- Locate the generated file. Verify that Import
into existing project and the name of the current project
is selected. Click Finish.
- You can deploy the data mart from either the Data Source
Explorer or from the Properties view of the data mart.
- You can start the load process from either the Data Source
Explorer or from the Properties view of the data mart.
- Right-click the data mart and select Load.
- Choose the level of consistency that you want for the loaded
data by specifying a value for the locking parameter for the data
load. Following are the values that you can choose from:
Option |
Description |
NONE |
No locking is done during the load. The data is read from
the different tables similar to a dirty read. Other user sessions
can change the data during the load operation. As a result the loaded
data might be inconsistent. The data inconsistencies might be acceptable
if the primary goal of the data mart is to create statistics and discover
trends rather than to find the exact values of specific data rows.
|
TABLE |
Each table is locked for the duration it takes to gather the
load data from the table. The loaded data is consistent within each
table, but not necessarily across different tables. |
MART |
All of the tables in the data mart are locked for the duration
of the load. The loaded data is consistent from all of the tables.
However, all of the other user sessions are blocked from changing
the data in the tables that are involved in the load. |