Overview of the True Cache Configuration

A True Cache environment can have a uniform or partitioned configuration.

Uniform Configuration

In a uniform configuration, you can deploy multiple, identical True Caches that use the same True Cache database application service.

Client sessions are evenly distributed among True Caches, which all cache the same set of data.

See the following technical architecture diagram for details and an example of a uniform configuration: True Cache Uniform Configuration

Partitioned Configuration

In a partitioned configuration, the data is divided across multiple True Caches, which each cache a different subset of the data.

The total size of the cached data across all True Caches can be much larger than it would be for a single primary database or a single cache in a uniform configuration.

See the following technical architecture diagrams for details and examples of partitioned configurations:

True Cache Configuration Process Overview

At a high level, creating a True Cache configuration involves the following steps.

  1. Configure the network for True Cache and the primary database, and optionally create a remote listener for high availability.

  2. Create True Cache.

  3. Create and start the True Cache database application services.

Best Practices for Database Application Services

Associate each primary database application service with a corresponding True Cache database application service.

To distinguish the True Cache database application services, it’s a good practice to use the primary service name followed by _TC.

For example, if the primary service is SALES, the True Cache service would be SALES_TC.

Also, only start the True Cache services on True Caches, and make sure they’re read-only.

Best Practices for Maximum Availability Architecture (MAA) with True Cache

Follow these best practices for maximum availability with True Cache.

Pluggable Database (PDB) Behavior and Restrictions with True Cache

To achieve maximum availability, PDBs on True Cache and the primary database have the following behavior and restrictions.

The following example illustrates how a PDB can be open on one True Cache and closed on another True Cache that’s connected to the same primary database.

  1. PDB 1 is open on the primary database.

  2. True Cache 1 connects to the primary database and sees that PDB 1 is open, so it opens PDB 1.

  3. The primary database closes PDB 1, but PDB 1 stays open on True Cache 1.

  4. The primary database is bounced but doesn’t reopen PDB 1.

  5. True Cache 2 connects to the primary database and sees PDB 1 is in a mounted state, so PDB 1 stays closed and mounted on True Cache 2.