NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
C-20
Considerations—CLEANUP
!
(either before or after qualified-fileset-list) directs CLEANUP to delete
all objects in the specified filesets without prompting for confirmation.
If you omit the exclamation point when you use CLEANUP interactively, the
following prompts normally appear:
DO YOU WISH TO CLEANUP THE ENTIRE FILESET
... (name of fileset) ...
(Y[ES], N[ONE], S[ELECT], F[ILES])?
If you allow CLEANUP to prompt, use one of these responses:
[NO] CATALOG[S]
specifies whether to delete catalog tables and associated indexes in addition to other
objects and programs specified in qualified-fileset-list.
To purge catalog tables and indexes, you must specify CATALOG[S] and you must
use the wild-card character (*) in the qualified-fileset-list to indicate all
catalog tables and indexes in the catalog. (CLEANUP can purge only entire
catalogs, not individual catalog tables or indexes within a catalog.)
If you omit CATALOG[S] or specify NO CATALOG[S], CLEANUP deletes only
objects that are not part of a catalog.
SHADOWSONLY
directs SQL to delete shadow labels for objects in qualified-fileset-list,
but not the objects themselves. If you omit SHADOWSONLY, CLEANUP does not
purge shadow labels. (Shadow labels—temporary internal labels created when
objects are dropped from the node—are discussed in the NonStop SQL/MP
Installation and Management Guide.)
You cannot specify SHADOWSONLY and CATALOGS in the same CLEANUP
command.
Considerations—CLEANUP
Authorization requirements
Only the local super ID can use CLEANUP. To delete damaged objects on multiple
nodes, the super ID on each node must run CLEANUP for that node.
CLEANUP display
Y[ES] Purge the whole set
N[ONE] Cancel the command
S[ELECT] Prompt object-by-object
F[ILES] List objects in fileset