Skip Headers
Oracle® Beehive Installation Guide
Release 1 (1.5) for Solaris Operating System (SPARC 64-Bit)

Part Number E14832-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

2 Oracle Beehive Database Requirements

This section describes Oracle Beehive database requirements, creating databases, and configuring database settings. It covers the following topics:

Note:

The installation scenario "Installing Oracle Beehive for Demilitarized Zone (DMZ)" described in "What You Should Know Before Installing Oracle Beehive" does not require a database. Refer to this section for more information about this scenario.

General Requirements

Oracle Beehive requires an existing database with the following characteristics:

Patches

Microsoft Windows

For Microsoft Windows (32-bit and 64-bit versions), install the latest patch bundle for Oracle Database 10g Release 2 (10.2.0.4), Oracle Database 11g Release 1 (11.1.0.6), or Oracle Database 11g Release 1 (11.1.0.7) Enterprise Edition.

Operating Systems Other Than Microsoft Windows

Install the following patches for Oracle Database 10g Release 2 (10.2.0.4):

Install the following patches for Oracle Database 11g Release 1 (11.1.0.6):

Install the following patches for Oracle Database 11g Release 1 (11.1.0.7):

Initialization Parameters

The database requires some initialization parameters to have a minimum value as specified in the following table:

Table 2-1 Minimum Values of Oracle Database Initialization Parameters

Property Value

compatible

10.2.0.0.0

Notes: Do not modify this parameter if it is already set to a higher value.

Ensure that the value of this parameter is in the form x.x.x.x.x (for example, 11.1.0.7.0). If this format isn't used, you may encounter a validation error stating that the compatible parameter is not of the proper minimum version.

db_block_size

Either this parameter must be set to 8192, or one of the following parameters have to be set:

  • db_8k_cache_size

  • db_16k_cache_size

  • db_32k_cache_size

The db_cache_size parameter specifies in bytes of the cache of standard block size buffers. Oracle Beehive will use this value for the block size of its tablespaces.

If any of the db_nk_cachce_size parameters are set, then Oracle Beehive will use the lowest value that is equal or greater than 8192.

Refer to "Specifying Database Block Sizes" in "Oracle Database Administrator's Guide" for more information.

java_pool_size

50M (52428800)

job_queue_processes

10

processes

150

sga_max_size

1G

sga_target

500M

streams_pool_size

100M

If your SGA (System Global Area) of the database is large (more than 3G), then set this parameter to 200M.

undo_retention

3600


Note:

You may have to increase the values of processes and sessions if you are using Oracle RAC.

To see all parameters (in alphabetical order) along with their current values, use the following SQL*Plus command:

SQL> SHOW PARAMETERS

You may display parameters that contain a specified string. For example, to display all parameters having COMPATIBLE in their names, use the following command:

SQL> SHOW PARAMETERS COMPATIBLE

Set initialization parameters with the ALTER SYSTEM command. For example, to set the COMPATIBLE parameter with the value 11.1.0.7.0, use the following command:

SQL> ALTER SYSTEM SET COMPATIBLE = '11.1.0.7.0' SCOPE = SPFILE;

Note:

After setting initialization parameters, restart the database.

Logging Settings

The archive log mode of the database must be ARCHIVELOG, which enables the archiving of the redo logs. Oracle Beehive uses Change Data Capture (CDC), which requires that the archive log mode be turned on. Use the following command to determine the database's archive log mode:

SQL> SELECT LOG_MODE FROM SYS.V$DATABASE;

To set the archive log mode to ARCHIVELOG, use the following commands:

SQL> shutdown immediate
SQL> startup mount exclusive
SQL> alter database archivelog;
SQL> alter database open;

Note:

By default, Change Data Capture is in asynchronous HotLog mode. In this mode, change data capture is performed asynchronously on the same database.

For more information about modes of Change Data Capture, refer to "Change Sources and Modes of Change Data Capture" in Chapter 16, "Change Data Capture" in Oracle Database Data Warehousing Guide.

Creating a Database

You may use Database Configuration Assistant (DBCA) to create and configure a database. For more information about this tool, refer to "Using DBCA to Create and Configure a Database" in Chapter 2, "Installing Oracle and Building the Database" in Oracle Database 2 Day DBA.

Tip:

When creating a database for Oracle Beehive with DBCA, you may choose any template. With DBCA, you may also turn on the archive log mode (by selecting the option Enable Archiving), set the character set to AL32UTF8, and set initialization parameters listed in "Initialization Parameters".

Using Oracle Real Application Clusters Database

Refer to "Configuring and Installing Oracle Beehive for Oracle RAC" for pre-installation and post-installation steps required for Oracle Beehive deployments that use Oracle Real Application Clusters (RAC) databases.

Customizing Oracle Beehive Tablespaces Layout

You may customize the layout of Oracle Beehive tablespaces with the script <Oracle home>/beehive/db/framework/beehive_custom_ts.sql. You may change tablespace names, initial size of the datafile, block size, and datafile autoextend options.

By default, Oracle Beehive uses eleven tablespaces. The beehive_custom_ts.sql script maps each tablespace to a placeholder. The Oracle Beehive Install Wizard uses these placeholders (instead of the real tablespace name) for configuration.

For example, in the beehive_custom_ts.sql script, the tablespace BEE_DATA is mapped to the placeholder ts_data:

REM Tables containing transactional data
DEFINE ts_data            = BEE_DATA
DEFINE ts_data_path       = ''
DEFINE ts_data_sz         = 512M
DEFINE ts_data_bsz        = 8192
DEFINE ts_data_ae         = ON
DEFINE ts_data_ae_nx      = 128M

You must specify the mapping between the placeholders, such as ts_data and ts_index, and the corresponding tablespaces. If one tablespace is to be shared across multiple placeholders, adjust the tablespace size accordingly.

This script creates a special view named bee_tablespaces, which then is used by the install scripts. You may drop the view after a successful installation. Since the tablespace mapping information can be reused for subsequent product reinstallations, the installation script does not drop it.

The script also produces an output file with the actual CREATE TABLESPACE commands. The output file name is create_beehive_tablespaces.sql

After making your changes to the script, run it with SYS privileges.

Minimum Tablespace Sizes

By default, Oracle Beehive tablespaces are created with autoexend enabled. If you prefer to manage the size of the Oracle Beehive tablespaces yourself, the total size of all Oracle Beehive tablespaces should be at least 15 Gb.

Using Raw Storage

If you want to use a database that uses raw storage, customize the script <Oracle home>/beehive/db/framework/beehive_custom_ts.sql. Refer to "Customizing Oracle Beehive Tablespaces Layout" for more information about this script.

To use a raw device (which you have created and properly configured) for a particular tablespace, specify the full path of its datafile in the appropriate variable. For example, if you want to use a raw device for the BEE_DATA tablespace, specify the full path of its datafile in the ts_data_path variable.

By default, Oracle Beehive uses eleven tablespaces. The beehive_custom_ts.sql script maps each tablespace to a placeholder. The Oracle Beehive Install Wizard uses these placeholders (instead of the real tablespace name) for configuration.

To use a raw device (which you have created and properly configured) for a particular tablespace, specify the full path of its datafile in the appropriate variable. For example, if you want to use a raw device for the BEE_DATA tablespace, specify the full path of its datafile in the ts_data_path variable.

In addition, set the variable APPEND_FILE_NAME to N.

After making your changes to the script, run it with SYS privileges.

Post-Installation Procedures for Oracle Beehive Databases

After you have successfully installed Oracle Beehive, refer to "Oracle Beehive Database Post-Installation Procedures" for tuning recommendations to perform on your Oracle Beehive database.