Delete

The DELETE command removes a name, region, or segment from the Global Directory. The DELETE command does not delete any actual data. However, GT.M does not access database files that do not have mapped global variables except through extended references using an alternative global directory that does not map to them. Note that GT.M replication does not support global updates made with extended references, unless they actually map to the same file as they would with the master global directory of the instance.

The format of the DELETE command is:

D[ELETE]-N[AME] name-space
D[ELETE]-R[EGION] region-name
D[ELETE]-S[EGMENT] segment-name

The DELETE command requires specification of an object-type and object-name.

Deleting a name removes the name-to-region mapping. Deleting a region unmaps all names mapped to the region. Deleting a segment unmaps the region mapped to the segment.

You may map the deleted names to another region or the deleted region to another segment using the CHANGE command.

The default name-space (*) cannot be deleted.

Example:

GDE> del -name T*

This command deletes the explicit mapping of all global names starting with the letter "T." This command does not delete any global variables. However, it may make preexisting globals starting with the letter "T" invisible, at least while using this global directory, because the T* global names map to the default namespace going forward.