Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Detaches a node from a cache grid.
This procedure should be used before destroying a cache grid. You cannot destroy a cache grid if there are any nodes attached to the cache grid.
This procedure requires the CACHE_MANAGER privilege.
Syntax
ttGridDetach(['nodeMemberName',] [force])
Parameters
ttGridDetach has the optional parameters:
Parameter | Type | Description |
---|---|---|
nodeMemberName |
TT_VARCHAR (200) | Specifies the node to detached from the grid.
Each node of an active standby pair must be detached separately. |
force |
TT_INTEGER | This optional parameter forces a node to be detached without checking whether it is dead. Valid value is 1. |
Result set
ttGridDetach returns no results.
Example
To detach the current node from the grid, use
CALL ttGridDetach();
To detach the remote node TTGRID_alone2_2
from the grid, use
CALL ttGridDetach('TTGRID_alone2_2',1);
See also