Create the External Reporting Database User
To create an external reporting database user
N
You must have database administrator permissions to create an adm_olap user and have
OTE
$ORACLE_HOME/bin dir in the PATH to install and configure the host on which the external database is
installed.
1
Switch to a user with oracle permissions for example:
$ su - oracle
$Password:
2
Change directory to unzip_path/adm_olap/schema/oracle/:
cd unzip_path/adm_olap/schema/oracle/
where unzip_path/adm_olap/schema/oracle/ is the directory in which the
v.X.X-XXX
adm_olap_
3
Log in to the SQLplus server:
$ sqlplus '/as sysdba'
SQL*Plus: Release 10.1.0.2.0 - Production on Wed Dec 12 14:17:01 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.1.0.2.0 - Production
4
Verify that the instance is running, the database is mounted, and the listener is started.
5
Run the SQL script to create the adm_olap user:
sql> @create_olap_user.sql
User created.
Grant succeeded.
N
The user created here must be the same user that was defined when setting up the External Reports
OTE
Scheme Configuration policy. The External Reports Scheme Configuration defines the FTP server where
the extracted data files are transferred and how often the synchronization occurs.
6
Type quit to exit the sqlplus prompt.
Create the adm_olap Tables
To create the adm_olap tables
N
The adm_olap schema creation is meant to be managed by the client Database Administrator (DBA).
OTE
Simple SQL scripts are provided to support the basic ADM tables. To support additional information add
external tables. Changes to the tables provided with ADM are overwritten with each load. The scripts are
located where the adm_olap_
1
Log in to SQLplus as adm_olap:
sqlplus adm_olap/adm_olap
2
Run the SQL script to create the tables:
SQL> @create_tables.sql
3
Type quit to exit the sqlplus prompt.
N
Do not add constraints. With the constraints turned on, the loader fails to load the data.
OTE
VMware, Inc.
.zip file was extracted.
v.X.X-XXX
.zip file was extracted followed by/schema/oracle.
Chapter 3 External Database Setup
17