Oracle® OLAP Application Developer's Guide, 10g Release 2 (10.2.0.3) Part Number B14349-03 |
|
|
View PDF |
This chapter describes the various administrative tasks that are associated with Oracle OLAP. It contains the following topics:
Because Oracle OLAP is contained in the database and its resources are managed using the same tools, the management tasks of Oracle OLAP and the database converge. Nonetheless, a database administrator or applications developer needs to address management tasks in the specific context of Oracle OLAP, in addition to creating and maintaining analytic workspaces. Following is a list of these tasks.
Tablespaces. Create permanent and temporary tablespaces to prevent I/O bottlenecks, as described in "Creating Tablespaces for Analytic Workspaces".
Security. Users of OLAP applications must have database identities that have been granted the appropriate access rights. For users to have access to files, you must define directory objects and grant users access to them. Refer to "Setting Up User Names".
Database configuration. Set initialization parameters to optimize performance, as described in "Initialization Parameters for Oracle OLAP" and "Initialization Parameters for OracleBI Beans".
Performance. Database monitoring tools can identify recommended changes to the database configuration based on past usage, as described in "Monitoring Performance".
See Also:
Oracle Database Administrator's Guide for detailed information about managing Oracle Database.Before you create an analytic workspace, you should create undo, permanent, and temporary tablespaces that are appropriate for their use. Analytic workspaces contain many objects and each one occupies at least one extent. You should create tablespaces with EXTENT MANAGEMENT LOCAL
and allow an automatic allocation. Otherwise, with a fixed extent size, you may waste most of the allocated space. For example, if an object is 64K and the extents are set to a uniform size of 1M, then only a small portion of the extent is used.
Analytic workspaces are created in the user's default tablespace, unless the user specifies otherwise. The default tablespace for all users is set initially to SYS
. Creating analytic workspaces in the SYS
tablespace can degrade overall performance.
Oracle OLAP makes heavy use of temporary tablespaces, so it is particularly important that they be set up correctly to prevent I/O bottlenecks.
If possible, you should stripe the data files and temporary files across as many controllers and drives as are available.
The following SQL commands create an undo tablespace with the appropriate parameters for use by analytic workspaces:
CREATE UNDO TABLESPACE tablespace DATAFILE 'pathname' SIZE size REUSE AUTOEXTEND ON NEXT size MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL;
Where:
For example:
CREATE UNDO TABLESPACE olapundo DATAFILE '$ORACLE_HOME/oradata/undo.dbf' SIZE 64M REUSE AUTOEXTEND ON NEXT 8M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL;
After creating the undo tablespace, change your system parameter file to include these settings, then restart the database as described in "Initialization Parameters for Oracle OLAP".
UNDO_TABLESPACE=tablespace
UNDO_MANAGEMENT=AUTO
When a user creates an analytic workspace, it is created in the user's default tablespace, which is initially set to the SYS
tablespace. The following SQL statements create a tablespace appropriate for storing analytic workspaces.
CREATE TABLESPACE tablespace DATAFILE 'pathname' SIZE size REUSE AUTOEXTEND ON NEXT size MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO; ALTER USER username DEFAULT TABLESPACE tablespace
Where:
For example:
CREATE TABLESPACE glo DATAFILE '$ORACLE_HOME/oradata/glo.dbf' SIZE 64M REUSE AUTOEXTEND ON NEXT 8M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
If your computer has multiple disks, then you can stripe the tablespace across them. The next example shows SQL statements that distribute the GLO
tablespace across three physical disks:
CREATE TABLESPACE glo DATAFILE 'disk1/oradata/glo1.dbf' SIZE 64M REUSE AUTOEXTEND ON NEXT 8M MAXSIZE 1024M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO; ALTER TABLESPACE glo ADD DATAFILE 'disk2/oradata/glo2.dbf' SIZE 64M REUSE AUTOEXTEND ON NEXT 8M MAXSIZE 1024M, 'disk3/oradata/glo3.dbf' SIZE 64M REUSE AUTOEXTEND ON NEXT 8M MAXSIZE UNLIMITED;
Oracle OLAP uses temporary tablespace to store all changes to the data in an analytic workspace, whether the changes are the result of a data load, what-if analysis, forecasting, aggregation, or some other analysis. An OLAP DML UPDATE
command moves the changes into the permanent tablespace and clears the temporary tablespace.
Oracle OLAP also uses temporary tablespace to maintain different generations of an analytic workspace. This enables it to present a consistent view of the analytic workspace when one or more users are reading it while the contents are being updated. This usage creates numerous extensions within the tablespace, so be sure to specify a small EXTENT MANAGEMENT
size.
The following commands create a temporary tablespace suitable for use by Oracle OLAP.
CREATE TEMPORARY TABLESPACE tablespace TEMPFILE 'pathname' SIZE size REUSE AUTOEXTEND ON NEXT size MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL UNIFORM SIZE size;
Where:
For example:
CREATE TEMPORARY TABLESPACE glotmp TEMPFILE '$ORACLE_HOME/oradata/glotmp.tmp' SIZE 50M REUSE AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K;
You can stripe temporary tablespaces across several disks the same as permanent tablespaces. The next example shows the GLOTMP
temporary tablespace striped across three physical disks.
CREATE TEMPORARY TABLESPACE glotmp TEMPFILE 'disk1/oradata/glotmp1.tmp' SIZE 50M REUSE AUTOEXTEND ON NEXT 5M MAXSIZE 1024M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K; ALTER TABLESPACE glotmp ADD TEMPFILE 'disk2/oradata/glotmp2.tmp' SIZE 50M REUSE AUTOEXTEND ON NEXT 5M MAXSIZE 1024M, 'disk3/oradata/glotmp3.tmp' SIZE 50M REUSE AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED;
To connect to the database, a user must present a user name and password that can be authenticated by database security. All users must have the CONNECT
role. The additional privileges associated with that user name control the user's access to data. As a database administrator, you must set up user names with appropriate credentials for all users of Oracle OLAP applications.
You can define user names and grant them these rights from the Users General Page of Oracle Enterprise Manager Database Control or by using SQL commands.
Two roles are defined on installation of the database explicitly to support Oracle OLAP:
OLAP_USER
role provides users with the privileges to create, manage, or access standard form analytic workspaces. All OLAP users should have the OLAP_USER
role or equivalent privileges.
OLAP_DBA
role provides a DBA or system administrator with privileges to create CWM metadata for relational tables. The OLAP_DBA
role is granted with the DBA role.
See Also:
Oracle Database SQL Reference for more information about granting privileges.To use Analytic Workspace Manager, users need SELECT
privileges on the source schema tables, and an unlimited quota on the tablespace in which the workspace is created. Example 6-1 shows the SQL statements for creating the GLOBAL_AW
user.
Example 6-1 SQL Statements for Creating the GLOBAL_AW User
CREATE USER 'GLOBAL_AW' IDENTIFIED BY 'global_aw' DEFAULT TABLESPACE glo TEMPORARY TABLESPACE glotmp QUOTA UNLIMITED ON glo ACCOUNT UNLOCK; GRANT SELECT ON global.channel_dim TO global_aw; GRANT SELECT ON global.customer_dim TO global_aw; GRANT SELECT ON global.product_dim TO global_aw; GRANT SELECT ON global.time_dim TO global_aw; GRANT SELECT ON global.price_and_cost_history_fact TO global_aw; GRANT SELECT ON global.price_and_cost_update_fact TO global_aw; GRANT SELECT ON global.units_history_fact TO global_aw; GRANT SELECT ON global.units_update_fact TO global_aw;
To access an existing analytic workspace, users must have these access privileges on the table in which the workspace is stored:
To read from the analytic workspace, SELECT
privileges.
To write to the analytic workspace, SELECT
, INSERT
, and UPDATE
privileges.
Note that the name of the table is the same as the name of the analytic workspace, with the addition of an AW$
prefix. For example, the GLOBAL
analytic workspace is stored in the AW$GLOBAL
relational table.
For users to access views of workspace data, they must be granted EXECUTE
privileges explicitly on those views.
Example 6-2 shows the SQL statements that gives all users read-only privileges to the GLOBAL
analytic workspace, and user SCOTT
read/write privileges.
To connect to a database using OracleBI Beans, users must have the following access rights:
CONNECT
role.
SELECT
privileges on the database objects containing the data to be analyzed, whether the data is stored in an analytic workspace or in relational tables. Refer to the previous topic, "SQL Access for Analysts", for information about granting access to analytic workspaces.
QUERY REWRITE
system privilege (for relational tables).
OLAP_USER
role (for relational tables).
Users who want to author or execute Analytic Workspace Java API applications within the Oracle Java Virtual Machine (JVM) may need the following Java permissions, in addition to the OLAP_DBA
or OLAP_USER
role:
Table 6-1 Java Permissions
Permission Type | Action |
---|---|
|
|
|
|
|
|
|
|
You can grant these permissions in either Java or SQL.
See Also:
Oracle Database Java Developer's Guide for information about Oracle JVM security and Java permissions
Oracle OLAP Analytic Workspace Java API Reference for information about using this Java API
Table 6-2 identifies the parameters that affect the performance of Oracle OLAP. Alter your server parameter file or init.ora
file to these values, then restart your database instance. You can monitor the effectiveness of these settings and adjust them as necessary.
The recommendations for memory assume that the computer is dedicated to running Oracle Database. If you want to reserve some resources for other applications, then first calculate the percent of resources that are available to Oracle Database. For example, if your computer has 4G of physical memory and you want to reserve 25% for other applications, then you would calculate PGA_AGGREGATE_TARGET
and SGA_TARGET
based on 75% of 4G, which is 3G.
Table 6-2 Initial Settings for Database Parameter Files
Parameter | Setting |
---|---|
Number of CPUs, plus one additional process for every three CPUs For example, |
|
300 or more to support Analytic Workspace Manager |
|
50% of physical memory to start, then tune as indicated by performance statistics |
|
25% or less of physical memory to start, then tune as indicated by performance statistics |
|
2.5 * maximum number of simultaneous OLAP users |
|
|
|
Name of the undo tablespace, which must be defined first as shown in "Creating an UNDO Tablespace" |
See Also:
Oracle Database Performance Tuning Guide for information about these parameters.Take the following steps to set system parameters:
Open the init
.ora
initialization file in a text editor.
Add or change the settings in the file.
For example, you might enter a command like this:
PGA_AGGREGATE_TARGET=1G
Stop and restart the database, using commands such as the following. Be sure to identify the initialization file in the STARTUP
command.
SQLPLUS '/ AS SYSDBA' SHUTDOWN IMMEDIATE STARTUP pfile=$ORACLE_HOME/admin/rel10g/pfile/initrel10g.ora
OracleBI Beans performs best when the configuration parameters for the database are optimized for its use. During installation of Oracle Database, an OLAP configuration table is created and populated with ALTER SESSION
commands that have been tested to optimize the performance of OracleBI Beans. Each time OracleBI Beans opens a session, it executes these ALTER SESSION
commands.
If a database instance is being used only to support Java applications that use OracleBI Beans, then you can modify your server parameter file or init.ora
file to include these settings. Alternatively, you might want to include some of the settings in the server parameter file and leave others in the table, depending upon how your database instance is going to be used. These are your choices:
Keep all of the parameters in the configuration table, so that they are set as part of the initialization of a OracleBI Beans session. This method fully isolates these configuration settings solely for OracleBI Beans. (Default)
Add some of the configuration parameters to the server parameter file or init.ora
file, and delete those rows from the configuration table. This is useful if your database is being used by other applications that require the same settings.
Add all of the configuration parameters to the server parameter file or init.ora
file, and delete all rows from the configuration table. This is the most convenient if your database instance is being used only by OracleBI Beans.
Regardless of where these parameters are set, you should check the Oracle Technology Network for updated recommendations.
See Also:
Oracle Database SQL Reference for descriptions of initialization parameters that can be set by theALTER SESSION
commandThe OLAP DML contains three types of commands that read from and write to external files:
File read commands that copy data from flat files to workspace objects.
Import and export commands that copy workspace objects and their contents to files for transfer to another database instance.
File input and output commands that read and execute DML commands from a file and redirect command output to a file.
These commands control access to files by using BFILE
security. This database security mechanism creates a logical directory object to represent a physical disk directory. Permissions are assigned to the directory object, which control access to files within the associated physical directory.
You use PL/SQL statements to create a directory object and grant permissions. The relevant syntax of these SQL statements is provided in this chapter.
See Also:
Oracle Database SQL Reference under the entries forCREATE DIRECTORY
and GRANT
for the full syntax and usage notes.To create a directory object, you must have CREATE ANY DIRECTORY
system privileges.
Use a CREATE DIRECTORY
statement to create a new directory, or a REPLACE DIRECTORY
statement to redefine an existing directory, using the following PL/SQL syntax:
{CREATE | REPLACE | CREATE OR REPLACE} DIRECTORY directory AS 'pathname';
Where:
After you create a directory, grant users and groups access rights to the files contained in that directory, using the following PL/SQL syntax:
GRANT permission ON DIRECTORY directory TO {user | role | PUBLIC};
Where:
permission is one of the following:
READ
for read-only accessWRITE
for write-only accessALL
for read and write accessdirectory is the name of the directory object
user is a database user
role is a database role
PUBLIC
is all database users
The following SQL commands create a directory object named OLAPFILES
to control access to a physical directory named /users/oracle/OraHome1/olap
and grant read access to all users.
CREATE DIRECTORY olapfiles as '/users/oracle/OraHome1/olap'; GRANT READ ON DIRECTORY olapfiles TO PUBLIC;
Users access files located in /users/oracle/OraHome1/olap
with DML commands such as this one:
IMPORT ALL FROM EIF FILE 'olapfiles/salesq2.eif' DATA DFNS
The following queries extract OLAP information from the data dictionary. In most of the SELECT
statements, you must replace GLOBAL
with the name of your analytic workspace.
More complex queries are provided in a script that you can download from the Oracle OLAP Web site. For descriptions of these scripts and download instructions, refer to "Monitoring Performance".
The OLAP option is provided with Oracle Database Enterprise Edition. To verify that the OLAP components have been installed, issue this SQL command:
SELECT COMP_NAME, VERSION, STATUS FROM DBA_REGISTRY WHERE COMP_NAME LIKE '%OLAP%'; COMP_NAME VERSION STATUS ------------------------- ------------ ----------- OLAP Analytic Workspace 10.2.0.3.0 VALID Oracle OLAP API 10.2.0.3.0 VALID OLAP Catalog 10.2.0.3.0 VALID
The DBA_AWS
view provides information about all analytic workspaces. Use the following SQL command to get a list of names and their owners:
SELECT OWNER, AW_NAME FROM DBA_AWS; OWNER AW_NAME ------------------------------ ------------------------------ SYS EXPRESS SYS AWMD SYS AWCREATE SYS AWCREATE10G SYS AWXML SYS AWREPORT GLOBAL_AW GLOBAL
To find out the size of the tablespace extensions for a particular analytic workspace, use the following SQL statements, replacing GLOBAL
with the name of your analytic workspace.
COLUMN DBMS_LOB.GETLENGTH(AWLOB) HEADING "Bytes"; SELECT EXTNUM, SUM(DBMS_LOB.GETLENGTH(AWLOB)) FROM AW$GLOBAL GROUP BY EXTNUM; EXTNUM SUM(DBMS_LOB.GETLENGTH(AWLOB)) ---------- ------------------------------ 0 50450928
The DBMS_LOB
PL/SQL package includes a program for reporting the size of a LOB table that stores an analytic workspace. Use a SQL command like the following, replacing GLOBAL
with the name of your analytic workspace and GLOBAL_AW
with the name of the schema.
SELECT ROUND(SUM(DBMS_LOB.GETLENGTH(AWLOB))/1024,0) "KB" FROM global_aw.aw$global; KB ---------- 53700
The DBMS_METADATA
PL/SQL package contains a subprogram that shows how any particular analytic workspace is stored in the database. Use a SQL command like the following, replacing GLOBAL
with the name of your analytic workspace and GLOBAL_AW
with the name of the schema.
SELECT DBMS_METADATA.GET_DDL('TABLE', 'AW$GLOBAL', 'GLOBAL_AW') FROM DUAL; DBMS_METADATA.GET_DDL('TABLE','AW$GLOBAL','GLOBAL_AW') -------------------------------------------------------------------------------- CREATE TABLE "GLOBAL_AW"."AW$GLOBAL" ( "PS#" NUMBER(10,0), "GEN#" NUMBER(10,0), "EXTNUM" NUMBER(8,0), "AWLOB" BLOB, "OBJNAME" VARCHAR2(256), "PARTNAME" VARCHAR2(256) ) PCTFREE 10 PCTUSED 40 INITRANS 4 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT) TABLESPACE "GLOBAL" LOB ("AWLOB") STORE AS ( DISABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 0 CACHE STORAGE( BUFFER_POOL DEFAULT)) PARTITION BY RANGE ("GEN#") SUBPARTITION BY HASH ("PS#","EXTNUM") SUBPARTITIONS 8 . . .
The DBA_OBJECTS
view provides the creation date of the objects in your database. The following SQL command generates an easily readable report for analytic workspaces.
SELECT OWNER ||'.'||SUBSTR(OBJECT_NAME,4) AS AW_NAME, CREATED FROM DBA_OBJECTS WHERE OBJECT_NAME LIKE 'AW$%' AND OBJECT_NAME != 'AW$' GROUP BY OWNER, OBJECT_NAME, CREATED ORDER BY OWNER, AW_NAME; AW_NAME CREATED -------------------- --------- GLOBAL_AW.GLOBAL 10-JUL-06 SYS.AWCREATE 08-JUL-06 SYS.AWCREATE10G 08-JUL-06 SYS.AWMD 08-JUL-06 SYS.AWREPORT 08-JUL-06 SYS.AWXML 08-JUL-06 SYS.EXPRESS 08-JUL-06
Oracle OLAP multidimensional data is stored in analytic workspaces. An analytic workspace can contain a variety of objects, such as dimensions, variables, and OLAP DML programs. These objects typically support a particular application or set of data.
Each analytic workspace is stored in a relational table. Whenever an analytic workspace is created, modified, or accessed, the information is stored in a table in the relational database.
Important:
These tables are vital for the operation of Oracle OLAP. Do not delete them or attempt to modify them directly without being fully aware of the consequences.Analytic workspaces are stored in tables in the Oracle Database. The names of these tables always begin with AW$
.
For example, if the GLOBAL_AW
user creates two analytic workspaces, one named GLOBAL
and the other named GLOBAL_PROGRAMS
, then these tables will be created in the GLOBAL_AW
schema:
AW$GLOBAL AW$GLOBAL_PROGRAMS
Tables are created by default with eight partitions. You can manage these partitions the same as you would for any other table in your database.
The tables store all of the object definitions and data. Each object in an analytic workspace is stored in one or more page spaces, and each page space is stored in a separate row of the table. A page space is grouping of related data pages; a page is a unit for swapping data in and out of memory.
For example, a dimension is stored in three page spaces and thus has three rows (one each for dimension members, a hash index, and a logical-to-physical map). A measure is stored in one row; a partitioned measure has a row for each partition.
Table 6-3 describes the columns of a table that stores an analytic workspace.
Table 6-3 Column Descriptions for Analytic Workspace Tables
Column | Data Type | NULL | Description |
---|---|---|---|
|
|
- |
Extension number Analytic workspaces are stored in physical LOBs (called extensions), which have a default maximum size of 500MB. The first extension is 0, the second is 1, and so forth. |
|
|
- |
Page space number Each object is stored in at least one page space. |
|
|
- |
Generation number A generation (a snapshot of the page space) is maintained for each reader to assure a consistent view of the analytic workspace throughout a session. |
|
|
- |
Analytic workspace LOB Actual storage of the analytic workspace object. |
|
|
- |
Object name The name of the object in the analytic workspace. |
|
|
- |
Partition name A name for the page space in which the object is stored. Each object is stored in its own page space. A partitioned variable is stored with a page space for each partition. The number of partitions and their names are specified when a partition template is created in the analytic workspace. |
Table 6-4 shows a few sample rows of an analytic workspace table, which are the results of the following query.
SELECT ps#, gen#, objname, partname FROM aw$global WHERE OBJNAME = 'TIME' OR OBJNAME = 'UNITS_CUBE_UNITS_STORED' ORDER BY GEN#, PS#;
The SYS
user owns several tables and views associated with analytic workspaces. Most of them are LOB tables that contain analytic workspaces, which are attached automatically to a user's session as needed. Following are brief descriptions of these objects.
AW$
maintains a record of all analytic workspaces in the database, recording its name, owner, and other information.
The following tables contain analytic workspaces:
AW$AWCREATE10G
stores the AWCREATE10G
analytic workspace, which contains programs for using OLAP Catalog metadata in Oracle Database 10g Release 10.1.0.3.
AW$AWMD
stores the AWMD
analytic workspace, which contains programs for creating standard form catalogs.
AW$AWREPORT
stores the AWREPORT
analytic workspace, which contains a program named AWREPORT
for generating a summary space report.
AW$AWXML
stores the AWXML
analytic workspace, which contains programs for creating and managing standard form analytic workspaces for Oracle Database 10g Release 10.2 and later.
AW$EXPRESS
stores the EXPRESS
analytic workspace. This workspace contains objects and programs that support the OLAP DML. The EXPRESS
workspace is used any time that a session is open.
PS$
maintains a history of all page spaces. A page space is an ordered series of bytes equivalent to a file. Oracle OLAP manages a cache of workspace pages. Pages are read from storage in a table and written into the cache in response to a query. The same page can be accessed by several sessions.
The information stored in PS$
enables the Oracle OLAP to discard pages that are no longer in use, and to maintain a consistent view of the data for all users, even when the workspace is being modified during their sessions. When changes to a workspace are saved, unused pages are purged and the corresponding rows are deleted from PS$
.
Among the static views of the database data dictionary are several that provide information about analytic workspaces. Table 6-5 brief descriptions of them. There are corresponding DBA
and USER
views.
Table 6-5 Static Data Dictionary Views for OLAP
View | Description |
---|---|
Describes the analytic workspaces accessible to the current user. |
|
Describes the current objects in all analytic workspaces accessible to the current user. |
|
Describes the OLAP DML properties defined in all analytic workspaces accessible to the current user. |
|
Describes the page spaces currently in use by all analytic workspaces accessible to the current user. |
See Also:
Oracle Database Reference for descriptions of these and other data dictionary views.Each Oracle Database instance maintains fixed tables that record current database activity. These tables collect data on internal disk structures and memory structures. Among them are tables that collect data on Oracle OLAP.
These tables are available to users through a set of dynamic performance views. By monitoring these views, you can detect usage trends and diagnose system bottlenecks. Table 6-6 provides a brief description of each view. Global dynamic performance views (GV$
) are also provided.
See Also:
Oracle OLAP Reference for full descriptions of the OLAP dynamic performance views.Table 6-6 OLAP Dynamic Performance Views
View | Description |
---|---|
Lists the aggregation operators available in the OLAP DML. |
|
Lists the allocation operators available in analytic workspaces. |
|
Collects information about the use of cache space and the status of dynamic aggregation. |
|
Collects status information about SQL fetches. |
|
Collects information about each active session. |
|
Collects information about the status of active analytic workspaces. |
You can download from the Oracle OLAP Web site a file that contains several SQL scripts. These scripts extract information from two or more system views and generate a report that may be useful in tuning a database. To download the file, go to this URL:
http://www.oracle.com/technology/products/bi/olap/DBA_scripts.zip
Table 6-7 describes these scripts. For more information, refer to the README file provided with the scripts.
Table 6-7 OLAP DBA Scripts
SQL Script | Description |
---|---|
|
Identifies the objects in the buffer cache that are related to analytic workspaces. |
|
Tallies the number of reads from temporary segments and the LOB tables where analytic workspaces are stored, the number of cache rights, and the number of rows processed. |
|
Displays the amount of disk space used by each analytic workspace. |
|
Provides extensive information about the tablespaces used by analytic workspaces. |
|
Identifies the users of analytic workspaces. |
|
Indicates whether the database parameters that limit the number of open cursors are set too low. |
|
Determines how much PGA is in use, the size of the OLAP page pool, and the hit/miss ratio for OLAP pages for each user. |
|
Determines how much PGA is consumed by the OLAP page pool to perform operations on analytic workspaces. |
|
Identifies the use of cursors, PGA, and UGA for each open session. |
You can copy analytic workspaces at several levels, either as a way of replicating it on another computer or backing it up.
XML Templates. A template saves the XML definition of logical objects in a standard form analytic workspace. You can save the entire analytic workspace, or individual cubes, dimensions, and calculated measures. Using a saved template, you can create a new analytic workspace exactly like an existing one. The template does not save any data, nor does it save any customizations to the analytic workspace. You can copy a template to a different platform.
EIF Files. An EIF file saves the object definitions of any analytic workspace (not just standard form analytic workspaces), and optionally, saves the data also. You can copy an EIF file to a different platform.
Database Dump Files. Analytic workspaces are copied with the other objects in a schema or database export. Use the expdp
/impdb
database utilities.
Transportable Tablespaces. Analytic workspaces are copied with the other objects to a transportable tablespace. However, you can only transport the tablespace to the same platform (for example, from Linux to Linux, Solaris to Solaris, or Windows to Windows). Use the expdp
/impdb
database utilities. Transportable tablespaces are much faster than dump files.
The owner of an analytic workspace can create an XML template or an EIF file, or export the schema to a dump file. Only users with the EXP_FULL_DATABASE
privilege or a privileged user (such as SYS
or a user with the DBA
role) can export the full database or create a transportable tablespace.
See Also:
Analytic Workspace Manager Help for information about exporting to an XML template or an EIF file. Search for the topic "Saving Analytic Workspaces in Flat Files."
Oracle Database Utilities for information about Oracle Data Pump and the expdp
/impdp
commands.