Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Returns the automatic refresh status of the data store and the specified cache group. If you do not specify any values for the parameters, the procedure returns the automatic refresh status for the data store.
This procedure requires no privilege.
Syntax
ttCacheDbCgStatus([cgowner, cgName])
Parameters
ttCacheDbCgStatus has these optional parameters:
Parameter | Type | Description |
---|---|---|
cgOwner |
VARCHAR2(30) | Specifies the user name of the cache group owner. |
cgName |
VARCHAR2(30) | Specifies the cache group name. |
Result set
ttCacheDbCgStatus returns the result:
Column | Type | Value |
---|---|---|
dbStatus |
VARCHAR2(20) | Specifies the status of all the cache groups in the data store with respect to autorefresh. The status is one of:
|
cgStatus |
VARCHAR2(20) | Specifies the autorefresh status of the specified cache group. The status is one of:
|
Examples
This example shows that the automatic refresh status of the data store is alive
. The automatic refresh status of the cache group is ok
.
CALL ttCacheDbCgStatus ('terry', 'cgemployees'); < alive, ok > 1 row found.
To determine the automatic refresh status of the data store, call ttCacheDbCgStatus
with no parameters:
CALL ttCacheDbCgStatus; < dead, <NULL> > 1 row found.
Notes
This procedure is available only for IMDB Cache.
See also