Hp Integrity NonStop J-Series Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel informatique Hp Integrity NonStop J-Series. HP Integrity NonStop J-Series User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
HP NonStop MXDM User Guide for SQL/MX
Release 3.2
HP Part Number: 691119-001
Published: August 2012
Edition: J06.14 and subsequent J-series RVUs; H06.25 and subsequent H-series RVUs
Vue de la page 0
1 2 3 4 5 6 ... 109 110

Résumé du contenu

Page 1 - Release 3.2

HP NonStop MXDM User Guide for SQL/MXRelease 3.2HP Part Number: 691119-001Published: August 2012Edition: J06.14 and subsequent J-series RVUs; H06.25 a

Page 2

The NSM/web, SQL/MX Database Manager, and Visual Query Planner help systems are accessiblefrom their respective applications. You can download the Ref

Page 3 - Contents

Statement paneThe Statement pane enables you to enter any SQL command (DDL or DML) in the text field. Themaximum number of characters you can enter in

Page 4 - 4 Contents

Figure 39 Parameters dialogEnter a value, for example 1. The statement is executed, and the following tabs will appear inStatement Details dialog:• Ex

Page 5 - Contents 5

• When a statement is executed and the number of rows in the result set exceeds the Rows/Pagethreshold, statement execution happens in the page mode.

Page 6 - 6 Contents

Table 32 Execution Results fieldsFunctionField or buttonIndicates when the statement was last evaluated.Last EvaluatedIndicates the time taken to exec

Page 7 - About this guide

Table 34 File menu optionsFunctionMenu itemLoads the text of an SQL statement from an ASCII file to the Statement field.Load SQL StatementSaves the cu

Page 8 - Related documentation

Glossaryarea A broad category of features that you can manage or monitor using MXDM. See “Selecting anarea” (page 30).association server The logical c

Page 9 - • Online help

SQL Whiteboard. In page mode, only a partial result of a query is held in memory and displayedin the Statement Details page. For more information, see

Page 10 - Notation Conventions

IndexAAboutbox, MXDM, 38command, Help menu, 29Add DEFINE dialog box, 85Add SET dialog box, 86Admin_Load_DataSourcestopping service for, 80Alertsdata g

Page 11 - HP encourages your comments

Delimited identifiers, 83Disconnectingtoolbar button, 29Disconnecting (see also Connecting)defined, 105disconnecting (see also connecting)function, 21

Page 12 - 1 Introduction to MXDM

Next Page buttondescription of, 103Statement Details pane, 102NodeMXCS Services, 79order, 84utilization, 84NonStop SQL/MX Remote Conversational Interf

Page 13 - MXDM functional flow

| Vertical Line. A vertical line separates alternatives in a horizontal list that isenclosed in brackets or braces. For example:INSPECT { OFF | ON | S

Page 14 - 14 Introduction to MXDM

statistics, 84SQL Whiteboardcanceling an SQL query, 102command, 29defined, 106displaying, 98executing hightlighted test, 102highlighting syntax, 104lo

Page 15 - Prerequisites

1 Introduction to MXDMThis chapter discusses the following topics:• “Overview” (page 12)• “MXDM features and functionalities” (page 12)• “MXDM functio

Page 16 - Uninstalling MXDM

◦ Open and save query text to a file.◦ Use parameters in queries.• MXDM Framework —enables you to perform the following:Manage multiple SQL/MX databas

Page 17 - Uninstalling MXDM 17

Figure 1 MXDM functional flowThe following is the sequence of events involved in establishing the connection between MXDMand the server components, an

Page 18 - Adding a system

2 Installing and uninstalling MXDMThis chapter discusses the following topics:• “Supported version of SQL/MX” (page 15)• “Contents of the installation

Page 19 - Connecting to a system

NOTE: If you want to use RMXCI, you must install RMXCI and the JDBC T4 V32 driver.Installing MXDMThis section discusses the following topics:• “Instal

Page 20

Before uninstalling MXDM, you must consider the following:• You do not have to uninstall the MXDM client before installing a newer version of MXDM.• U

Page 21 - Using the Systems Tool

3 Managing MXDM system objectsThis chapter discusses the following topics:• “Starting up MXDM” (page 18)• “Adding a system” (page 18)• “Connecting to

Page 22

the objects. You can also use the Save Persistence option to save the system definition. Duringsubsequent attempts to connect to that system, the save

Page 23 - Copying a system definition

© Copyright 2012 Hewlett-Packard Development Company, L.P.Legal NoticeConfidential computer software. Valid license from HP required for possession, u

Page 24 - Testing a system definition

1. Open the Connect / Edit System dialog in one of the following ways:• In the navigation tree pane, right-click the system name, and select Connect..

Page 25 - Exiting MXDM

Related Topics“Adding a system” (page 18)“Disconnecting from a system” (page 21)TermsMy SystemsSystems Toolsystem definitionDisconnecting from a syste

Page 26 - 4 Navigating MXDM

Figure 3 Systems Tool dialogTable 2 (page 22) describes the settings in the Systems Tool dialog.Table 2 Systems Tool settingsDescriptionSettingDisplay

Page 27 - Using the MXDM menus

Table 3 Systems Tool optionsDescriptionSettingEnables you to test a selected system and displays the results in the Connection Test Resultdialog. Test

Page 28 - Using the Tools menu options

2. In the Add System Like dialog:a. Specify a new name in the System Name field.b. Retain or modify the information specified in the fields of the sel

Page 29 - Using the MXDM toolbar

To set the connection timeout:1. Perform one of the following:• On the MXDM toolbar, click Options ( )• Select Tools→Options...The Options dialog app

Page 30 - Selecting an area

4 Navigating MXDMThis chapter discusses the following topics:• “MXDM interface” (page 26)• “MXDM banner” (page 27)• “Using the MXDM menus” (page 27)•

Page 31

Table 4 Parts of the MXDM interface (continued)DescriptionLabelNumberDisplays the selected area.Selected area5Favorites appear in the My Favorites pan

Page 32 - Using the My Favorites pane

Using the File menu optionsTable 5 (page 28) describes the File menu options.Table 5 File menu optionsDescriptionOptionImports persistence data from a

Page 33 - Using the navigation tree

Table 7 Tools menu optionsDescriptionOptionLaunches the SQL Whiteboard. For more information on SQL Whiteboard, see “Using theSQL Whiteboard” (page 98

Page 34

ContentsAbout this guide...7Publishing history...

Page 35 - Using the right pane

Table 10 MXDM toolsDescriptionToolDisplays the Connect / Edit System dialog and enables you to connect to a system ormodify a system definition. For m

Page 36

Table 11 Supported areasDescriptionAreaProvides information about the database objects. For moreinformation, see “Viewing database objects” (page 47).

Page 37 - Figure 9 Window controls

Using the My Favorites paneMXDM enables you to create favorites and organize them in folders. Subsequently, you can usefavorites to easily navigate to

Page 38

Removing a favoriteTo remove a favorite, right-click the favorite, and select Remove.Removing a favorites folderTo remove a folder, right-click the fo

Page 39

When you select the Database area, you can view the database objects on the connected systems,in the navigation tree.The right pane displays more deta

Page 40 - Working with data grids

Related Topics“MXDM interface” (page 26)“Adding a system” (page 18)“Using the My Favorites pane” (page 32)“Using the right pane” (page 35)“Disconnecti

Page 41 - Working with data grids 41

Working with windows, tabs, and panesMXDM provides all of the conventional user-interface controls available in other Windowsapplications. MXDM window

Page 42 - Customizing the data grid

Figure 9 Window controlsWorking with windows, tabs, and panes 37

Page 43 - Searching the data grid

5 Performing basic MXDM operationsThis chapter discusses the following topics:• “Obtaining version and build information” (page 38)• “Resolving errors

Page 44 - Copying data

To change the sort order of a displayed column, click the heading of the column that you want tosort. A triangle appears at the right indicating the o

Page 45 - Copying data to a browser

Using a favorite...32Viewing a list of f

Page 46

Figure 12 Changed order of columnsWorking with data gridsThis section discusses the following topics:• “Introduction to data grids” (page 40)• “Obtain

Page 47 - 6 Viewing database objects

Some MXDM tabs, such as the tabs in the Database area, do not provide data grids. You can sortsingle columns and copy the data in these tabs. However,

Page 48 - Viewing catalog registrations

Figure 14 Viewing multiple rows in the data gridRelated Topics“Introduction to data grids” (page 40)“Customizing the data grid” (page 42)Copying data

Page 49 - Viewing schemas

Table 18 Procedures to customize the data gridDo thisToShow or hide columns 1. Right-click a column heading in any data grid, and select Show/Hide Gri

Page 50 - Viewing schema attributes

Figure 16 Searching for informationRelated Topics“Introduction to data grids” (page 40)Copying dataYou can copy data to different locations, and use t

Page 51 - Viewing schema procedures

Copying data to a browserData to Browser invokes Internet Explorer or a default browser that displays the table data. Thedata is copied internally in

Page 52 - Viewing table properties

3. Click Yes.MXDM copies the information from the .mxdm file into the persistence file and prompts youto reconnect if you were connected to active sys

Page 53 - Viewing table properties 53

6 Viewing database objectsThis chapter discusses the following topics:• “Viewing catalogs and their objects” (page 47)• “Viewing schemas” (page 49)• “

Page 54 - Viewing hash key properties

4. Click a catalog.The following tabs related to the catalog appear in the right pane:• Attributes• Registrations• Schemas• DDLFigure 17 (page 48) sho

Page 55 - Viewing table attributes

2. In the right pane, click Registrations.The following details appear:• System — The system where this catalog is registered.• Location — The physica

Page 56 - 56 Viewing database objects

Viewing the table index columns...59Viewing the table index attribut

Page 57 - Viewing table properties 57

5. Click a schema.The following tabs related to the schema appear in the right pane:• Attributes• Tables• Views• Procedures• SQL/MP Aliases• DDLFigure

Page 58 - 58 Viewing database objects

Viewing tables within a schemaTo view the tables within a schema:1. In the navigation tree, select the schema.2. In the right pane or the Tables folde

Page 59 - Viewing table properties 59

2. Do one of the following:• In the right pane, click SQL/MP Aliases.• Within the schema, click the SQL/MP Alias folder.The following details appear:•

Page 60 - 60 Viewing database objects

6. Select a table.The right pane displays the following tabs:• Columns• Primary Key• Hash Key• Store Order• Check Constraints• Unique Constraints• For

Page 61 - Viewing table properties 61

2. In the right pane, click Columns.The following details appear:• Primary Key — An icon or special symbol to indicate that the column is part of the

Page 62 - 62 Viewing database objects

2. In the right pane, click Store Order.The following details appear:• Position: — The position of the column in the key, for the physical file.• Colu

Page 63 - ◦ Update

2. In the right pane, click Attributes.The following details appear:• Name — The name of the table.• Metadata UID — The internal UID number of the tab

Page 64

2. In the right pane, click Partitions.The following details appear:• Partition Number: — The index number of the partition.• System: — The name of th

Page 65

2. In the right pane, click DDL.The DDL tab displays the SHOW DDL output for the table. You can use this statement in MXCIto create the table. For mor

Page 66 - Viewing attributes of a view

6. Expand the contents of a table.The Indexes and Triggers folders appear.7. Within the Indexes folder, select the required Index.In the right pane, t

Page 67

8 Launching the NonStop SQL/MX Remote Conversational Interface...96Introduction to RMXCI...

Page 68 - 68 Viewing database objects

2. In the right pane, click Attributes.The following attributes and their values appear:• Name: — The name of the index.• Metadata UID: — The internal

Page 69 - ◦ READS SQL DATA

2. In the right pane, click Partitions.The following details related to table index partitions appear:• Partition Number: — The name of the column (st

Page 70 - 70 Viewing database objects

7. Within the Triggers folder, select the required Trigger.In the right pane, the following tabs related to the trigger appear:• Attributes• Related O

Page 71

2. In the right pane, click Related Objects.The following details appear:• Relationship: — This attribute specifies the relationship between this trig

Page 72 - 72 Viewing database objects

Figure 22 SHOW DDL dialogNOTE: The SHOW DDL option is available only for a schema node and its child nodes in thenavigation tree. The SHOW DDL option

Page 73

2. Under the navigation tree pane, click Database.MXDM displays a list of existing systems.3. In the navigation tree, expand the contents of the syste

Page 74 - 74 Viewing database objects

2. In the right pane, click Columns.The following details related to view columns appear:• Column Name — The name of the column (string).• Source Obje

Page 75

Viewing information related to view privilegesTo view information related to the view privileges:1. In the navigation tree, select the view.2. In the

Page 76 - 7 Managing MXCS objects

6. Select a procedure.In the right pane, the following tabs related to the procedure appear:• Attributes• Parameters• Related Objects• DDL• Privileges

Page 77

2. In the right pane, click Attributes.The following details related to attributes appear:• Name — The name of the procedure.• Metadata UID — The uniq

Page 78 - Viewing MXCS Services

About this guideThis guide describes how to use MXDM to monitor and manage SQL/MX databases.Related Topics“Publishing history” (page 7)“New and change

Page 79 - Starting up an MXCS service

2. In the right pane, click Parameters.The following details related to parameters appear:• Name — The name of the parameter.• Direction — The followi

Page 80 - Stopping an MXCS service

2. In the right pane, click Privileges.The following details related to the procedure privileges appear:• Grantee: — The name of the user whose privil

Page 81 - Viewing data sources

6. Select an SQL/MP alias.In the right pane, the following tabs related to the procedure appear:• Attributes• DDLFigure 25 (page 72) shows the propert

Page 82 - Creating a data source

2. Under the navigation tree pane, click Database.MXDM displays a list of existing systems.3. In the navigation tree, expand the contents of the syste

Page 83 - Using General Properties

7. In the right pane, click Statistics.The following histogram statistics for the table appear:• Column Name: — The name of the column.• Data Type: —

Page 84

The top pane displays the column name, table name, the percentage sampled, and the time whenthe sample was taken.The following details appear:• Data T

Page 85 - About DEFINEs

7 Managing MXCS objectsThis chapter discusses the following topics:• “Viewing MXCS servers” (page 76)• “Stopping an MXCS server” (page 78)• “Viewing M

Page 86 - About SETs

4. In the right pane, click MXCS Server Status.The list of MXCS servers and their status appear.Figure 27 (page 77) shows the MXCS servers and their s

Page 87 - Creating a data source 87

Stopping an MXCS serverTo stop an MXCS server:1. Log on to the HP NonStop SQL/MX Database Manager.2. Under the navigation tree pane, click Connectivit

Page 88 - Priority

5. In the right pane, click MXCS Services to display details of the Association and Configurationservers.Figure 28 (page 79) show the properties relat

Page 89 - Copying a data source

Table 1 Chapters in the manual (continued)DescriptionChapterDiscusses the procedures to view and manage MXCS objects“Managing MXCS objects” (page76)Di

Page 90 - Stopping a data source

To start up an MXCS service:1. Log on to the HP NonStop SQL/MX Database Manager.2. Under the navigation tree pane, click Connectivity.3. In the naviga

Page 91 - Deleting a data source

Viewing data sourcesTo view data sources:1. Log on to the HP NonStop SQL/MX Database Manager.2. Under the navigation tree pane, click Connectivity.MXD

Page 92 - Viewing MXCS user permissions

4. In the navigation tree pane, click a data source. In the right pane, the properties in the DataSource Status tab appear.Figure 30 (page 82) shows t

Page 93 - Adding an MXCS user

• “Using the Control Query Defaults tab” (page 87)• “Using the Control Table Statements tab” (page 87)NOTE:Some tabs provide tooltips that explain the

Page 94 - Deleting an MXCS user

Table 22 General Properties options (continued)DescriptionOptionGroupSpecifies the number of minutes that a client-server connection remainsidle befor

Page 95 - Deleting an MXCS user 95

Table 22 General Properties options (continued)DescriptionOptionGroupSee “Adding and modifying the resource management policy” (page 85).ModifyRemoves

Page 96 - Interface

Figure 32 Add DEFINEAbout SETsSET variables affect the behavior of MXCS. For example, you can set default catalog and schemanames for servers running

Page 97 - Setting Auto Logon options

Figure 34 SET SESSION example 2Using the Control Query Defaults tabTo add or modify a CQD configured for a data source:1. Under the navigation tree pa

Page 98 - A Using the SQL Whiteboard

Table 26 (page 88) describes the options.Table 26 Options in the Control Table Statements tabDescriptionValueSpecifies name of the table.NameDetermine

Page 99 - Statement List pane

Similarity checkDescriptionValueThe value used is the system default setting that exists at execution.<Not Set>SQL/MX recompiles the statement a

Page 100 - Statement pane

Describes how to use SQL/MX Remote Conversational Interface to run the RMXCIcommands, and SQL statements interactively or from script files.SQL/MX Rem

Page 101 - Page mode

• “Using the Control Query Defaults tab” (page 87)• “Using the Control Table Statements tab” (page 87)NOTE: If you made changes to the values in a tab

Page 102 - Statement Details pane

9. Select one of the following options:NOTE: After you click one of the stop options, you cannot cancel the operation.• Stop on Client Disconnect• Sto

Page 103 - Reusing a connection

The tracing facility generates a pair of messages for each function that is traced:• First message — Contains the input parameters to the function• Se

Page 104 - Managing the layout of panes

Figure 37 MXCS Permissions tabTo view the current MXCS users:1. Log on to the HP NonStop SQL/MX Database Manager.2. Under the navigation tree pane, cl

Page 105 - Glossary

5. Click Add...The Add User dialog appears.6. Under System Users, select Operator or User.7. From the System Users grid, select the users that you wa

Page 106 - 106 Glossary

6. Click Yes to confirm.The MXCS user is deleted.Related Topics“Viewing MXCS user permissions” (page 92)“Adding an MXCS user” (page 93)“Editing MXCS u

Page 107

8 Launching the NonStop SQL/MX Remote ConversationalInterfaceThis chapter discusses the following topics:• “Introduction to RMXCI” (page 96)• “Locatin

Page 108 - 108 Index

catalog, and schema name also are considered while logging on. To set auto logon properties,see “Setting Auto Logon options” (page 97).You can launch

Page 109

A Using the SQL WhiteboardThis appendix discusses the following topics:• “Introduction to the SQL Whiteboard” (page 98)• “Viewing the SQL Whiteboard”

Page 110 - 110 Index

Figure 38 SQL WhiteboardRelated Topics“Statement List pane” (page 99)“Statement pane” (page 100)“Statement Details pane” (page 102)Statement List pane

Commentaires sur ces manuels

Pas de commentaire