Sunteți pe pagina 1din 15

Hyperion Essbase 7X: New Features

4
Managing Aggregate Storage
Databases

2005 Hyperion Solutions Corporation. All Rights Reserved.

Objectives
At the end of this lesson, you should be able to:
Manage tablespaces and storage caches
Optimize outline paging
Identify security considerations
List steps to back up an aggregate storage application
Explain database statistics

2005 Hyperion Solutions Corporation. All Rights Reserved.

Tablespace Overview
A tablespace defines database storage in the form of file locations.
Each aggregate storage application has four tablespaces

Default: the database values


Temp: temporary work space
Log: transaction log files
Metadata: the database data structure

A file location specifies a physical disk space for storing database files.
Tablespace

File location 1

File location 2

2005 Hyperion Solutions Corporation. All Rights Reserved.

Specifying Location Properties


Location properties specify
a physical directory for storing database files
maximum disk space to be used in the directory
maximum file size allowed within the location
File location path

Application subdirectory

C:\Hyperion\Essbase\ASO\<appname>\<tablespace_name>

16MB

ess00001.dat

8MB

Max Disk Size: 200MB


Max File Size: 16MB

ess00002.dat

2005 Hyperion Solutions Corporation. All Rights Reserved.

Managing Tablespaces
You can manage only the Default and Temp tablespaces by using either
of the two methods:
Administration Console

MaxL DDL statements


alter tablespace
ASOsamp.'default'
add file_location
'D:\ASO_store'
set max_file_size
128 mb;

2005 Hyperion Solutions Corporation. All Rights Reserved.

Aggregate Storage Cache Overview


Essbase allocates an aggregate storage cache, a small area in
memory, per application to speed up data loads, aggregations, and
retrievals.
The 32 Mb default cache size supports 2Gb of level 0 data.
Your cache size, in Mb = 32Mb * (Your size of level-0 data, in Gb / 2Gb)

The cache size is affected by the number of application threads.

CALCPARALLEL = 3

essbase.cfg

Cache
2005 Hyperion Solutions Corporation. All Rights Reserved.

ASO DB

Viewing the Aggregate Cache Statistics


You can check the following runtime
statistics for the aggregate storage
cache:
Cache hit ratio
Current cache size
Current cache size limit

2005 Hyperion Solutions Corporation. All Rights Reserved.

Managing the Aggregate Storage Cache


You can change the aggregate cache size limit by using either of the two
methods:
Administration Console

MaxL DDL statements


alter tablespace
ASOsamp.'default'
set cache_size
64 mb;

2005 Hyperion Solutions Corporation. All Rights Reserved.

Outline Paging Overview


Outline paging helps decrease memory consumption.
Analytic
Services Server

Outline
Paging Cache

.otl

Outline
Paging File
8192 bytes
8192 bytes

1535pages = 12280Kb/8192bytes

OPGCACHESIZE = 12280

essbase.cfg
2005 Hyperion Solutions Corporation. All Rights Reserved.

Outline pages

Optimizing Outline Paging


1. Determine the outline paging cache hit rate:
MAXL> query application ASOsamp get opg_cache statistics;
total_cache_size_gi total_cache_size_by requested_pages_fou
requested_pages_not clean_pages_forced_ current_clean_buffe
current_dirty_buffe
+-------------------+-------------------+------------------+-------------------+-------------------+------------------+------------------0
10487684
271382
594
0
594
0
OK/INFO - 1241044 - Records returned: [1].

Hit rate = 271382 / (271382 + 594) * 100 % = 99 %

2. Modify the OPGCACHESIZE parameter in the essbase.cfg file:


OPGCACHESIZE 12280

3. Restart the Analytic Services Server


2005 Hyperion Solutions Corporation. All Rights Reserved.

Compacting the Outline File


Deleting members does not compact the outline file.
You can compact the outline in the Administration Console or MaxL.

1
2

2005 Hyperion Solutions Corporation. All Rights Reserved.

Applying Security to ASO Databases


Levels of permissions can be

granted to users and groups


defined at the system, application, or database scope
set for database filters

Aggregate storage security permissions exceptions:

Defining and executing aggregations requires Calculation (Essbase


Administration Services) or Execute (MaxL) permissions or higher
Building dimensions requires Write permissions on the database

2005 Hyperion Solutions Corporation. All Rights Reserved.

Backing Up Aggregate Storage


Applications

To back up an aggregate storage application:


1. Stop the application
2. Copy contents of the application directory
3. Copy the application tablespaces that are not located under the application
directory.

ESSCMD command BEGINARCHIVE does not support aggregate


storage databases

MaxL statement alter database begin does not support


aggregate storage databases

2005 Hyperion Solutions Corporation. All Rights Reserved.

Aggregate Storage Database Statistics


Aggregate storage statistics

Dimension, # of stored levels and


bits used
Maximum key length in bits and
bytes
Number of input level cells
Number of aggregate views
Number of aggregated cells
Input level data size
Aggregate data size

Run-time statistics

Aggregate storage cache statistics


Page reads/writes since the last
startup
Page size
Disk space allocated and used
Temporary disk space allocated and
used
2005 Hyperion Solutions Corporation. All Rights Reserved.

Summary
In this lesson, you should have
learned how to:
Manage tablespaces and storage
caches
Optimize outline paging
Identify security considerations
List steps to back up an aggregate
storage application
Explain database statistics

2005 Hyperion Solutions Corporation. All Rights Reserved.

S-ar putea să vă placă și