Moving to a new patch release of timesten – Oracle Audio Technologies B31679-01 User Manual

Page 104

Advertising
background image

96

Oracle TimesTen In-Memory Database Installation Guide

utility. (See

"ttAdmin"

in

Oracle TimesTen In-Memory Database API

Reference Guide

.) In order to unload a data store:

1.

Disconnect all applications from the data store.

2.

In this example, the data store

original

is from the previous release.

The data store

upgrade

is in the new release. If replication has been

started, pause replication on the data stores, and then stop replication on
the data store that you are unloading from memory, using the
commands:

ttRepAdmin -receiver -name upgrade -state pause original

ttRepAdmin -receiver -name original -state pause upgrade

ttAdmin -repStop upgrade

3.

If the cache agent has been started for the data store, stop the cache
agent with the command:

ttAdmin -cacheStop upgrade

4.

Verify that the RAM policy allows the data store to be unloaded. If the
RAM policy is set to

manual

, unload the data store using the command:

ttAdmin -ramUnload upgrade

If the RAM policy is set to

always

or

inUse

, change it to

manual

. If the

RAM policy is

inUse

and a grace period is set, set the grace period to 0

or wait for the grace period to elapse.

5.

Use the

ttStatus

utility to verify that the data store has been unloaded

from memory. (See

"ttStatus"

in

Oracle TimesTen In-Memory Database

API Reference Guide

.)

Moving to a new patch release of TimesTen

All applications concurrently connected to a data store must be directly
linked to a TimesTen ODBC driver of the same major release. TimesTen
data stores from different patch releases are structurally equivalent or
identical. For example, when upgrading from release 7.0.10.0.0 to
7.0.20.0.0, you do not need to migrate your existing data stores.
However, during the installation of a new major or minor release, you
should disconnect your application and stop the TimesTen daemon. If
you have not explicitly performed these steps, the prior release's
TimesTen daemon process is stopped, effectively disconnecting all
applications from the data store. While preparing for the upgrade, make
sure that all data stores are unloaded from memory before upgrading
TimesTen.

For a description of the procedures for unloading a data store from
memory, see

“Unloading a data store” on page 95.

Advertising