Provide a name for the database, and then select the type of database in the Ensure that the Persist connection pool is not assigned. Provide the Data source name for the standby database. Click OK.

Importing Metadata and Working with Data Sources 4-35 3. Update any connection scripts that write to the database so that they explicitly specify the primary database connection pool. 4. If usage tracking has been enabled, update the usage tracking configuration to use the primary connection. 5. If event polling tables are being used, update the event polling database configuration to use the primary connection. 6. Ensure that Oracle BI Scheduler is not configured to use any standby sources. Even though there are two separate physical data sources for the standby database configuration, you create only one database object in the Physical layer. Figure 4–4 shows the database object and connection pools for the standby database configuration in the Physical layer. Figure 4–4 Standby Database Configuration in the Physical Layer Creating the Database Object for the Standby Database Configuration Use the Administration Tool to create a database object in the repository for the standby database configuration. When you create the database object, make sure that the persist connection pool is not assigned, to prevent the Oracle BI Server from creating temporary tables in the standby database. To create a database object for the standby database configuration: 1. In the Administration Tool, right-click the Physical layer and select New Database .

2. Provide a name for the database, and then select the type of database in the

Database list.

3. Ensure that the Persist connection pool is not assigned.

Figure 4–5 shows the Database dialog for a standby database configuration. 4-36 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition Figure 4–5 Database Dialog for Standby Database Configuration Creating Connection Pools for the Standby Database Configuration After you have created a database object in the repository for the standby database configuration, use the Administration Tool to create two connection pools: one that points to the standby database, and another that points to the primary database. Because the standby connection pool is used for the majority of connections, make sure that the standby connection pool is listed first. To create a standby connection pool for the standby database configuration: 1. In the Administration Tool, in the Physical layer, right-click the database object for the standby database configuration and select New Object, then select Connection Pool . 2. Provide a name for the connection pool, and ensure that the call interface is appropriate for the standby database type.

3. Provide the Data source name for the standby database.

4. Enter a user name and password for the standby database.

5. Click OK.

Figure 4–6 shows the Connection Pool dialog for the standby connection pool. Note: Connection pools are used in the order listed, until the maximum number of connections is achieved. Ensure that the maximum number of connections is set in accordance with the standby database tuning. See Creating or Changing Connection Pools for more information about setting the maximum number of connections. Importing Metadata and Working with Data Sources 4-37 Figure 4–6 Connection Pool Dialog for Standby Connection Pool To create the primary connection pool for the standby database configuration: 1. In the Administration Tool, in the Physical layer, right-click the database object for the standby database configuration and select New Object, then select Connection Pool. 2. Provide a name for the connection pool, and ensure that the call interface is appropriate for the primary database type.

3. Provide the Data source name for the primary database.