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

Table Of Contents
Contents
About This Manual......................................................................................12
Supported Release Version Updates (RVUs)................................................................................12
Audience...............................................................................................................................12
Related Documentation............................................................................................................12
New and Changed Information................................................................................................14
Document Organization..........................................................................................................14
Notation Conventions..............................................................................................................15
General syntax notation...........................................................................................................15
Publishing history....................................................................................................................16
HP Encourages Your Comments................................................................................................16
1 Introduction to SQL/MX Database Management...........................................17
SQL/MX Database Features.....................................................................................................17
Distributed Databases.........................................................................................................18
Database Protection and Recovery.......................................................................................18
Data Integrity....................................................................................................................19
Multiple Character Sets......................................................................................................20
Database Security..............................................................................................................20
Parallel Processing.............................................................................................................20
High Availability................................................................................................................21
Naming Database Objects......................................................................................................21
ANSI Logical Names..........................................................................................................21
Guardian Physical Names...................................................................................................21
DEFINE Names.................................................................................................................22
PROTOTYPE......................................................................................................................22
Object Namespaces..........................................................................................................22
Using ANSI Names for SQL/MP Objects..............................................................................22
SQL/MX Metadata.................................................................................................................22
SQL/MX Database Object Types..............................................................................................23
The SQL/MX Environment........................................................................................................24
OSS Environment...............................................................................................................24
Privileges Required to Execute SQL/MX Utilities.....................................................................25
MXCS..............................................................................................................................25
NonStop Server for Java.....................................................................................................25
JDBC/MX Driver................................................................................................................25
Database Management Tasks...................................................................................................25
SQL/MX Database Management Tools......................................................................................26
2 Understanding and Planning SQL/MX Tables...............................................28
Planning Object Naming.........................................................................................................28
Avoid Renaming Nodes......................................................................................................28
Avoid Changing Object Names or Moving Database Objects.................................................28
Understand the Schema Ownership Rule...............................................................................29
Avoid Using Duplicate Catalogs on Multiple Distributed Nodes................................................29
Understanding SQL/MX Table and File Structures.......................................................................29
Using Keys in SQL/MX Tables and Indexes................................................................................30
Primary Key......................................................................................................................30
Clustering Key...................................................................................................................30
SYSKEY............................................................................................................................30
Partitioning Key.................................................................................................................30
Foreign Key.......................................................................................................................30
The Key-Sequenced File Structure..............................................................................................31
Contents 3