Specifying the Type of Memory for Shared Memory Segment

In TimesTen Classic, the entire database resides in a single shared memory segment.

The behavior for the shared memory segment depends on:

  • SysV shared memory segment: You need to configure the size of the shared memory segment to include the entire database. See Configure shmmax and shmall in the Oracle TimesTen In-Memory Database Installation, Migration, and Upgrade Guide.

  • RAM policy setting: The RAM policy setting designates how to load or unload the database (from the checkpoint files) for all shared memory types. When you unload the database, it destroys the shared memory segment. When you load the database, it creates a new shared memory segment and loads from the checkpoint files. If you specify the RAM policy of enduring, you can alternatively attach, detach, and free the shared memory segment. When you detach, the shared memory segment still exists and can be reused when you attach to it. See Detaching, Attaching, and Freeing the Shared Memory Segment.