How to Access a Cache With JMX Using Oracle CEP Visualizer

13-2 Oracle Complex Event Processing Developers Guide ■ Section 13.1.3, Playing Back Events ■ Section 13.1.4, Querying Stored Events ■ Section 13.1.5, Record and Playback Example

13.1.1 Storing Events in the Persistent Event Store

When you record events, Oracle CEP server stores them in a persistent event store. You can use the persistent event store that Oracle CEP server provides or define your own: ■ Section 13.1.1.1, Default Persistent Event Store ■ Section 13.1.1.2, Custom Persistent Event Store ■ Section 13.1.1.3, Persistent Event Store Schema

13.1.1.1 Default Persistent Event Store

By default, Oracle CEP uses a Berkeley DB instance bundled with the Oracle CEP server to store recorded events. Berkeley DB is a fast, scalable, transactional database engine with industrial grade reliability and availability. For more information, see: ■ http:www.oracle.comtechnologyproductsberkeley-dbjeindex. html ■ http:www.oracle.comtechnologydocumentationberkeley-dbjei ndex.html By default, Oracle CEP server creates the Berkeley DB instance in: ORACLE_CEP_HOME user_projectsdomainsdomainnameservernamebdb Where ORACLE_CEP_HOME refers to the directory in which you installed Oracle CEP such as oracle_home, domainname refers to the name of your domain, and servername refers to the name of your server For example, oracle_cepuser_ projectsdomainsmydomainmyserver. You can change this default by configuring the bdb-config element db-env-path child element as Section 13.2.1, Configuring an Event Store for Oracle CEP Server describes.

13.1.1.2 Custom Persistent Event Store

Optionally, you can create a custom persistent event store provider to store recorded events. For example, you could specify a Relational Database Management System such as Oracle Database or Derby as your persistent event store. For more information, see Section 13.3, Creating a Custom Event Store Provider.

13.1.1.3 Persistent Event Store Schema

You do not create the actual database schema used to store the recorded events. Oracle CEP server automatically does this for you after you deploy an application that uses the record and playback feature and recording begins. For more information, see Section 13.2.5, Description of the Berkeley Database Schema .