Skip Headers
Oracle® TimesTen In-Memory Database Reference
Release 11.2.1

Part Number E13069-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

ttGridDetach

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.

Required privilege

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


ttGridAttach
ttGridCheckOwner
ttGridCreate
ttGridDetachList
ttGridDestroy
ttGridInfo
ttGridNameSet
ttGridNodeStatus
"Configuring a cache grid" in Oracle In-Memory Database Cache User's Guide