NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
U-12
Considerations—UPGRADE CATALOG
catalogs
specifies the catalogs to upgrade. It can be a single catalog name or a name that
specifies multiple catalogs by including the following wild-card characters:
For example, these names specify multiple catalogs:
Catalogs specified by catalogs can be either local or remote, but cannot be
system catalogs. (Use UPGRADE SYSTEM CATALOG to convert a system
catalog.)
The default is the current default catalog.
If ServerWare SMF is installed on your node, catalogs cannot specify any
catalog on a $*.ZYS*. subvolume.
TO version
specifies the catalog format version for the upgraded catalog.
You can express version as an integer (2, 300, 310, 315, 320, 325, or 330) or as a
string (A011, A300, A310, A315, A320, A325, or A330), but the version you
specify must be newer than the current version of the catalogs you specify with
catalogs. In addition, version must not specify a version newer than the
version of the NonStop SQL/MP software executing UPGRADE CATALOG or
newer than the version of the NonStop SQL/MP software running on the node of the
catalog being upgraded.
The default is the version of the NonStop SQL/MP software installed on the node on
which the catalogs reside, or the version of the NonStop SQL/MP software
executing UPGRADE CATALOG, whichever is older.
See Versions
on page V-5 or the NonStop SQL/MP Version Management Guide if you
need more information about NonStop SQL/MP versions.
Considerations—UPGRADE CATALOG
Authorization and access requirements
To upgrade a catalog, you must be a generalized owner of the catalog. You must also
have authority to write to the CATALOGS table in the system catalog.
UPGRADE CATALOG requires exclusive access to the catalogs being upgraded.
Other processes cannot access the catalogs during the upgrade. The upgrade fails if
?
matches any single character
*
matches 0 to 8 characters
MYCAT?
matches MYCAT1, MYCAT2, and MYCATX (and possibly
others), but not MYCAT48
$DATA.*
matches all catalogs on volume $DATA
$*.*
matches all catalogs on the current default node except the system
catalog