27 Oracle True Cache: Redis Server and Active Data Guard
Oracle True Cache can act as a Redis server, allowing existing Redis applications and clients to retrieve Oracle AI Database data. By accepting Redis wire protocol connections, True Cache enables applications to access database rows using familiar Redis commands while identifying rows through SQL keys. This approach lets developers integrate Redis-based applications with Oracle AI Database, combining Redis client compatibility with Oracle's security, authentication, and data access controls.
The Using Oracle True Cache as a Redis Server section in Oracle True Cache User's Guide explains how to configure Oracle True Cache to accept Redis connections, authenticate users, construct SQL keys, and use the supported Redis command set to retrieve relational data. It also describes connection-level features that simplify SQL key syntax, outlines supported command behavior, and highlights the functional limitations and restrictions developers should consider when building applications that use True Cache as a Redis server.
Oracle Redis Server can be configured on an Oracle Active Data Guard standby to process Redis requests against read-only standby data while redo apply keeps the standby synchronized with the primary database. Redis applications connect using the standard Redis wire protocol, and Oracle AI Database authenticates each connection with database user credentials while enforcing access through database privileges on tables, views, and JSON-relational duality views. As a result, existing Redis applications can access Active Data Guard standby data without requiring any application code changes. For more information, see Using Oracle Redis Server with Oracle Active Data Guard Standbys in Data Guard Concepts and Administration Guide.