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

Table Of Contents
Managing a Network-Distributed SQL/MX Database................................................................264
SQL/MX Distributed Database Features..............................................................................264
Naming Network Nodes..................................................................................................267
Naming SQL/MX Database Objects..................................................................................267
Using Catalog References in an SQL/MX Distributed Database..............................................268
Managing Network Security..............................................................................................271
Maintaining Local Autonomy in a Network for SQL/MX Release 3.x.......................................271
Creating a Distributed SQL/MX Database...............................................................................275
Creating, Registering, and Unregistering Catalog References.................................................275
Distributing SQL/MX Database Objects..............................................................................276
Altering Distributed Objects...................................................................................................277
Dropping Distributed Objects.................................................................................................277
Enhancing the Performance of a Distributed Database...............................................................277
Using Co-located Indexes in a Distributed Database.............................................................278
Using Remote Application Processes...................................................................................278
Changing Network Environments............................................................................................278
Managing Mixed Versions of NonStop SQL/MX......................................................................279
12 Measuring Performance.........................................................................281
SQL/MX Tools for Gathering Statistics.....................................................................................281
SHOWLABEL Command...................................................................................................281
SET STATISTICS and DISPLAY STATISTICS Commands............................................................283
Measure Performance Measurement Tool.................................................................................284
Statistics and Reports for NonStop SQL/MX........................................................................285
SQL/MX Measurement Models..........................................................................................287
13 Enhancing SQL/MX Database Performance..............................................290
Using Queries in an SQL/MX Database..................................................................................290
Understanding the Implications of Concurrency.........................................................................290
Minimizing Contention.....................................................................................................292
Avoiding Contention Between DDL or Utility Operations........................................................293
Other Operational Considerations.....................................................................................293
Keeping Statistics Current.......................................................................................................294
Managing SQL/MX Buffer Space...........................................................................................294
How DP2 Manages and Reuses Query Plan Fragments.........................................................295
Causes and Symptoms of Query Plan Fragment Reuse Failures...............................................296
Reduction of Plan Fragment Size for Unique Queries.............................................................296
Using SCF STATS DISK to Monitor SQL/MX Statistics and Reuse Failures.................................296
Using SCF ALTER DISK to Resize the SQLMXBUFFER Attribute................................................299
Strategies for Reducing Reuse Failures.................................................................................299
Managing DP2 Data Cache Memory Size...............................................................................300
Maximizing Disk Process Prefetch Capabilities..........................................................................301
Optimizing SQL/MX Memory Management.............................................................................301
Optimizing Index Use...........................................................................................................302
Maximizing Parallel Index Maintenance..............................................................................302
Using Co-located Indexes.................................................................................................302
Performing FUP RELOADs to Generate More Accurate Query Plans.............................................303
Checking Data Integrity.........................................................................................................303
Creating Logical Views of Data..............................................................................................304
Adding and Dropping Partitions.............................................................................................304
Avoiding Automatic Recompilations........................................................................................304
Matching Block Split Operation to Table Usage........................................................................305
A Using Guardian Names with TMF, RDF, and Measure.................................306
Using the MXGNAMES Utility................................................................................................306
MXGNAMES Input Files....................................................................................................306
10 Contents