Vous êtes sur la page 1sur 2

Creating Your First Raisers Edge 7.

81 Instance in Oracle
Creating Your First Raisers Edge 7.81 Instance in Oracle p. 1/2

Welcome to The Raisers Edge 7.81 Oracle. If this is your first time
using The Raisers Edge with an Oracle database, you must set up
and configure a database instance for The Raisers Edge within your
Oracle database. This sheet details the process to create the Raisers
Edge instance and the tablespaces in Oracle 10g or Oracle 9i required
to run The Raisers Edge 7.81 Oracle.

o Blackbaud recommends using a dedicated database instance in
Oracle for The Raisers Edge. You can use an existing instance,
but this will complicate the database updating process when future
versions of The Raiser's Edge are released.

o You need the Administrator Oracle Client installed. This installs
SQL*Plus, which is required to run the various scripts. To launch
SQL*Plus: From the taskbar, select Start, Run. In the Open field,
enter SQLPLUS /NOLOG and click OK.

o A user with DBA privileges must connect to the Oracle database to run the required scripts. The
Oracle defaults are the sys and system user accounts.

o You need to know the location of your Oracle DATAFILEs. For example, if you name your Raisers
Edge instance RE7:
Oracle 9i places your data files in /oracle/oradata/re7 by default.
Oracle 10g places them in /oracle/product/10.2.0/oradata/re7 by default.

Creating a Raisers Edge Database Instance in Oracle

To create the instance, you must create your database and import the REWIN sample database schema.

1. Create a database. We recommend you specify a default temporary tablespace, use automatic undo
management, the spfile, and parameters for the Dynamic SGA.

2. Include the following parameters in the init<sid>.ora or spfile<sid>.ora:

Parameters Notes
QUERY_REWRITE_ENABLED = TRUE
QUERY_REWRITE_INTEGRITY = TRUSTED
OPTIMIZER_MODE = ALL_ROWS
Cost Based Optimizer is Required.
undo_management = AUTO
undo_tablespace = UNDO
Assuming the undo tablespace name is UNDO.
undo_suppress_errors = TRUE
COMPATIBLE = 9.2.0
Compatible should be set to the appropriate Oracle version.
_unnest_subquery = FALSE
For more information about this parameter, send an email to:
reoraclesupport@blackbaud.com.
db_cache_size,
sga_max_size,
pga_aggregate_target
SGA Settings: We strongly recommend using the new SGA Settings
and an SPFILE to take full advantage of Oracle 9i and 10gs Dynamic
Memory Management. For more information about suggested settings,
see the Oracle Installation & Administrators Guide.

3. Edit the create_tbspace_users.sql file.
There are two different create_tbspace_users.sql files, one for Oracle 9i and one for
10g. Modify the appropriate file for your version of Oracle.
The DATAFILE path strings in the CREATE TABLESPACE commands need to be edited so
the file paths reflect where the data files will be created on the server.
We recommend using locally managed tablespaces and tempfiles.
Creating Your First Raisers Edge 7.81 Instance in Oracle
Creating Your First Raisers Edge 7.81 Instance in Oracle p. 2/2

4. To create the tablespaces and database users/roles, execute the create_tbspace_users.sql file
in SQL*Plus:

@<path to file>create_tbspace_users.sql

5. We strongly recommend using Automatic Undo Management. However, if you are using rollback
segments you will need to bring them online by executing this command in SQL*Plus:

ALTER ROLLBACK SEGMENT RE_BIG_RB ONLINE;

6. Run the import using the parameters:

FROMUSER = REWIN
TOUSER = REWIN

For more information about Oracles import utility, see Blackbaud Knowledgebase Solution BB60618.

7. We strongly recommend using Automatic Undo Management. However, if you are using rollback
segments you will need to bring them online by doing the following:

Un-remark the rollback_segments parameter in the init.ora.

Execute the following commands in SQL*Plus:

ALTER ROLLBACK SEGMENT RE_RB_1 ONLINE;
ALTER ROLLBACK SEGMENT RE_RB_2 ONLINE;
ALTER ROLLBACK SEGMENT RE_RB_3 ONLINE;
ALTER ROLLBACK SEGMENT RE_RB_4 ONLINE;

8. To compile the REWIN schema (collection of The Raisers Edge objects), execute the following
commands in SQL*Plus:

EXECUTE DBMS_UTILITY.COMPILE_SCHEMA('REWIN');
@<path to file>func_idx_enable.sql

9. Gather statistics for the optimizer, preferably using DBMS_STATS. For more information, see the
Managing Your Server and Database chapter in the Oracle Installation & Administrators Guide.

10. Run the install program included on The Raiser's Edge Oracle CD on the same machine you intend
to install the Blackbaud Management Console (BMC). The BMC must be installed on a supported
Microsoft Windows based system in order to establish a deploy folder and provide the means to install
The Raisers Edge to client workstations. For more information, see the Managing Your Server and
Database chapter in the Oracle Installation & Administrators Guide.
T



For more information about installing and managing The Raisers Edge Oracle, see the Oracle
Installation & Administrator's Guide. This guide can be found by selecting Support, Product Guides from
the menu bar on Blackbauds Web site.

Vous aimerez peut-être aussi