SQL/MX 3.2 Management Manual (H06.25+, J06.14+)

Table Of Contents
Altering databases
Managing databases and programs
Reorganizing and moving databases
Managing database applications
Performing recovery operations
Managing distributed databases
Assembling and optimizing queries
Measuring and enhancing performance
SQL/MX Database Management Tools
NonStop SQL/MX supports these types of SQL/MX statements:
Creates, deletes, or modifies the definition of a catalog, schema, or object, or the
authorization to use an object.
DDL
Queries and modifies database tables.DML
Specifies user-defined transactions and sets attributes for the next transaction.Transaction Control
Compiled once and then executed any number of times within the current session.Prepared SQL
Embedded in SQL programs written in C, C++, COBOL, or Java.Embedded-only SQL/MX
Locks or unlocks tables and their indexes to limit other accesses to the tables during DML
statement execution.
Resource Control and
Optimization
Regulates the execution default options, plans, and performance of DML statements.Control
Sets the value of the NAMETYPE attribute, which in turn determines whether object naming
is ANSI or Guardian for the current session.
Object Naming
Creates, alters, or deletes an SQL/MP alias for an SQL/MP table.SQL/MP alias
The SQL/MX extensions that typically affect attributes of an MXCI session.MXCI commands
Tools that run with NonStop SQL/MX or from the OSS shell and perform such tasks as
importing data, duplicating files, fixing database discrepancies, and migrating metadata.
SQL/MX utilities
SQL/MX statements, Guardian utilities, and SQL/MX utilities are the basic tools of the SQL/MX
database administrator. For more information, see the SQL/MX Reference Manual.
NonStop SQL/MX imposes these restrictions on the types of operations you can run on SQL/MP
tables:
DDL and utility operations on SQL/MP tables must be run from NonStop SQL/MP, either from
SQLCI or an SQL/MP application. You cannot invoke DDL or utility operations on SQL/MP
tables from NonStop SQL/MX.
DML operations on SQL/MP tables can be run from NonStop SQL/MX.
Through its Guardian environment, the NonStop OS provides additional utilities and subsystems
for managing an SQL/MX database. Collectively, these utilities and subsystems are known as the
NonStop Tools. You use these tools primarily in recovery operations, in moving a database, or in
reorganizing a database online. Table 3 (page 26) summarizes these software products.
Table 3 NonStop Tools for SQL/MX Database Management
DescriptionProgram
Copies Guardian files and OSS files from disk to magnetic tape.BACKUP
Loads and maintains SQL/MX and SQL/MP databases (designed for large DSS tables).DataLoader/MX
Moves disk file extents to yield more usable space on a disk.DCOM
26 Introduction to SQL/MX Database Management