© 2002 Page 1 NonStop dba/m® 09/04/2002 NonStop ™ dba/m® Improving management of NonStop SQL...
-
Upload
vanessa-morris -
Category
Documents
-
view
215 -
download
0
Transcript of © 2002 Page 1 NonStop dba/m® 09/04/2002 NonStop ™ dba/m® Improving management of NonStop SQL...
Page 1 NonStop dba/m® 09/04/2002© 2002
NonStop™ dba/m®
Improving management of NonStop SQL databases
Copying and Use Restrictions:
Material under this presentation is the Intellectual Property of HP Corporation and Genus Software. Any use of the this material, in part or whole, except in context of dba/m, without written permission from HP and Genus is prohibited.
© 2002 Page 2 NonStop dba/m® 09/04/2002
PresentationOutline
• what is NonStop dba/m® ?
• using the object tree
• managing SQL tables
• managing SQL programs
• automating SQL partitioning
• monitoring your SQL disks
• using your calendar-based batch scheduler
• analyzing your SQL queries
• the latest in NonStop dba/m®
Page 3 NonStop dba/m® 09/04/2002© 2002
background: Genus Software,
Inc.
• text•Close partnership on multiple database tools
•Long history working with NSK
•Compaq Solutions Alliance partner
•Compaq Professional Services partner
•OEM relationship w/Compaq
•Development centers in Cupertino, CA & in India
•Onsite technical staffing capability
•ZLE-trained software development teams
Page 4 NonStop dba/m® 09/04/2002© 2002
background: NonStop dba/m®
• Introduced in 1996 (v3.0)
• Compaq product since 1999 (v4.0 and v5.0)
• NonStop dba/m® v6.0 being introduced with hp partnership new features and
functionality introduced state of the art technology
for Front End familiar Windows look and
feel and experience for Users
positions NonStop dba/m® to manage SQL/MP in ZLE environment
Page 5 NonStop dba/m® 09/04/2002© 2002
what is
NonStop dba/m® ?
Page 6 NonStop dba/m® 09/04/2002© 2002
NonStop dba/m®
Product Goals
•To increase efficiency / save time for operations and database administration staff, while reducing downtime due to errors
•Easy-to-learn graphical interface (GUI)
•Automated calculation of partition boundaries
•Batch jobs for SQL management tasks
•Run them when you want
•Repeat jobs w/o having to retype commands
•Query analysis pinpoints performance problems and checks the effect of a schema change
•Easy disks / SQL objects space management
Page 7 NonStop dba/m® 09/04/2002© 2002
NonStop dba/m® Architecture
• Client/Server application using TCP/IP to communicate to the server
• Windows®–based GUI running on PCs with Windows 95, Windows 98, Windows NT®, or Windows 2000 operating systems
• Server components run on NonStop Himalaya servers using PATHSEND
Compaq NonStop® dba/m® client process
Compaq NonStop® Himalaya server
Pathway processes
Compaq NonStop® SQL/MP
Client PC
Page 8 NonStop dba/m® 09/04/2002© 2002
•SQL object management
•Partition management and design
•Space monitoring and disk analysis
•Query analysis and tuning
•Batch management
•Historical command analysis
•Direct SQLCI
Workbenches within NonStop dba/m® database manager
Page 9 NonStop dba/m® 09/04/2002© 2002
NonStop dba/m® Main Window –Database administration made easy
Page 10 NonStop dba/m® 09/04/2002© 2002
using the object tree
Page 11 NonStop dba/m® 09/04/2002© 2002
SQL object management- the Object
Tree
• explores nodes in an Expand network to create a tree of all SQL objects
• can limit exploration to particular objects by using custom trees
• multiple custom trees supported
• display context-sensitive Menu with right click
• drill down to show properties of SQL objects (catalogs, tables, views, indexes, partitions, programs with SQL statements)
Page 12 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Object Tree)
Page 13 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Object Tree)
Page 14 NonStop dba/m® 09/04/2002© 2002
managingSQL tables
Page 15 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Table)• Create, rename or
drop a table
• Assign a primary key
• Alter table attributes
• (Re-)Partition a table
• Display and/or update table statistics
• Invoke table definition
• Add, change or delete table constraints, constraint comments
• Add, change or delete help text and comments
• Save DDL to file for later re-use
Page 16 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Table) Cont.
• Big Partition support
• constructs SQL command
• no need to remember syntax
• confirm before execution
Page 17 NonStop dba/m® 09/04/2002© 2002
managingSQL programs
Page 18 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Program)
• Alter/Drop Program
• Copy/Move
• Compile Old
• Compile New
• Rename
Page 19 NonStop dba/m® 09/04/2002© 2002
SQL Object Management (Program) Cont.
• easy SQL program compilation
• generates SQLCOMP text with various options as selected by user
Page 20 NonStop dba/m® 09/04/2002© 2002
automatingSQL partitioning
Page 21 NonStop dba/m® 09/04/2002© 2002
Automated Partitioning
• examines tables or indexes to determine number of rows in each partition
• previews impact of proposed changes
• generates primary key values to evenly distribute data
• generates SQL statements to create partitions
Page 22 NonStop dba/m® 09/04/2002© 2002
Automated Partitioning (Cont.)
• graphical comparison of existing and proposed distribution in bar chart form
• feature supported for Index partitions as well
• Partonly option supported
Page 23 NonStop dba/m® 09/04/2002© 2002
monitoring your SQL disks
Page 24 NonStop dba/m® 09/04/2002© 2002
Monitor Disk / SQL Object Usage
• monitor free/used space on disks, tables, indexes, partitions
• monitor contin- uously or by start/stop
• set alarms
Page 25 NonStop dba/m® 09/04/2002© 2002
Monitor Disk /SQL Object Usage (View Alarms)
• Alarm triggers if object being monitored exceeds threshold value
• Visual alert as bell icon turns red from yellow
• Helps preventing any potential problem
• Helps deciding follow-up action
Page 26 NonStop dba/m® 09/04/2002© 2002
using your calendar-based batch scheduler
Page 27 NonStop dba/m® 09/04/2002© 2002
Batch Processing (Create & Submit)
• create and submit batch jobs to be executed by SQLCI
• event based
– Time
– Alarm
• periodic execution
Page 28 NonStop dba/m® 09/04/2002© 2002
Batch Processing (View)
• view batch jobs
• delete / stop batch
• replicate / resubmit
Page 29 NonStop dba/m® 09/04/2002© 2002
analyzing your SQL queries
Page 30 NonStop dba/m® 09/04/2002© 2002
Query Analysis (Adhoc SQLCI Query)
• Explain Plans for entered SQL query
• change control options and compare explain plans and costing information
Page 31 NonStop dba/m® 09/04/2002© 2002
Query Analysis (SQL Program Query)
• Explain Output for all the queries in SQL compiled program
• must compile under dba/m® control to see explain plans
• each compilation generates new version of explain plans
• Explain Plans in graphical tree format
Page 32 NonStop dba/m® 09/04/2002© 2002
Command History
• logs all commands issued by users in dba/m® session
• sort based on object name, UserID and timestamp
• select previously entered command for re-execution
Page 33 NonStop dba/m® 09/04/2002© 2002
Direct SQLCI
• direct interface to SQL
• type and execute as in SQLCI
Page 34 NonStop dba/m® 09/04/2002© 2002
Online help• NonStop dba/m®
database manager comes with online help that indexes and has search capabilities
• click the F1 key and get context-sensitive help
• get detailed help on SQL syntax
Page 35 NonStop dba/m® 09/04/2002© 2002
the latest in NonStop dba/m®
Page 36 NonStop dba/m® 09/04/2002© 2002
• modern front end
• enhanced object tree
• improved partition management
• calendar based (periodic) batch scheduling
• event based batch scheduling
• volume pools
• shared access option
• graphical explain plans
• improved statistics
• FUP reload interface
• SMF interface
• smart monitoring and alert management
enhancements and new features incorporated in NonStop dba/m® v6.0
Page 37 NonStop dba/m® 09/04/2002© 2002
NonStop dba/m®
release v6.0 update
•SUT-based trial V6.0 is shipping (G06.17)
•CD version is being shipped (31AUG2002)
•new licensing mechanism
•upgrade utility provided
Page 38 NonStop dba/m® 09/04/2002© 2002
For more information . . .
• . . on NonStop dba/m®http://nonstop.compaq.com/view.asp?PAGE=Database
http://www.genussoft.com
• . . on the HP NonStopdatabase roadmapsend email to: