5 Configuring True Cache on Oracle Database Free

To configure True Cache on Oracle Database Free, set up Oracle Database Free on the primary node and then configure True Cache in another True Cache node.

Licensing Restrictions for True Cache

True Cache has the following licensing restrictions.

  • You can deploy at most one Oracle Database Free True Cache for an Oracle Database Free primary database.
  • When BaseDB EE, BaseDB EEHP, or BaseDB EEEP are configured as True Cache, the BaseDB edition must match the edition of the primary database. For example:
    • If the primary database is BaseDB EE, then True Cache must be configured based on BaseDB EE or higher.
    • If the primary database is BaseDB EEHP, then True Cache must be configured based on BaseDB EEHP or higher.
    • If the primary database is BaseDB EEEP, then True Cache must be configured based on BaseDB EEEP.
  • A Free True Cache must comply with all Oracle Database Free licensing restrictions for memory, CPUs, and user data, with the following exceptions:

    • Redo shipping from a Free primary database or to a Free True Cache is not subject to limitations.
    • A Free True Cache will match the MAX_PDBS initialization parameter on the primary database.

Set Up Oracle Database Free Primary Database

Before you configure Oracle Database Free True Cache, install and set up the Oracle Database Free primary database on the primary node.

To set up Oracle Database Free primary database:
  1. Install Oracle Database Free using RPM packages and then create and configure the primary database using the steps described in Installing Oracle Database Free Using RPM Packages.
  2. Ensure that a primary database is running on the primary node in archive logging (ARCHIVELOG) mode.

    The primary database must be in ARCHIVELOG mode to ship redo log files to the True Cache node.Oracle DBCA verifies that the primary database is in ARCHIVELOG mode.

    If the primary database is not in ARCHIVELOG mode, restart it in mount mode, run the ALTER DATABASE ARCHIVELOG command, and open the primary database again.

    Note:

    Don't set LOG_ARCHIVE_CONFIG and LOG_ARCHIVE_DEST_n on the primary database. True Cache automatically configures these for the primary database.

Configuring Oracle Database Free True Cache

After you set up the primary database, configure Oracle Database Free True Cache on the True Cache node.

To configure Oracle Database Free True Cache:
  1. Install only the Oracle Database Free software using the RPM packages. See, Installing Oracle Database Free RPM.

    Note:

    Do not create and configure the database on the True Cache node.
  2. Log in as the oracle user.
  3. Copy the password file /opt/oracle/product/23ai/dbhomeFree/dbs/orapwFREE from the primary database node to the True Cache node under a temp location /opt/oracle/tmp.
  4. Run Oracle DBCA to complete the True Cache configuration.
    ./dbca -silent -createTrueCache -gdbName FREE -sourceDBConnectionString  primary.example.com:1521/FREE.example.com -passwordFileFromSourceDB /opt/oracle/tmp/orapwFREE

    Enter the password for the Oracle Database Free primary database.

    Enter Remote DB SYS user password:
    password
  5. To configure database application services for True Cache, see Create Database Application Services on the Primary Database
  6. To verify the True Cache configuration, see Verifying the True Cache Configuration