Download presentation
Presentation is loading. Please wait.
Published byNoreen Dickerson Modified over 9 years ago
1
SQLXPress Make the most of NonStop SQL with a comprehensive set of easy to use productivity tools
2
SQLXPress Introduction Benefits Users Features Key Takeaways
3
What is SQLXPress? Integrated set of tools for NonStop SQL Includes Windows® based graphical user interface Includes host-based scripting language to automate routine tasks Supports NonStop SQL/MX and SQL/MP, including extensions to standard SQL Integrates with NetBatch to schedule background tasks Uses Measure to collect performance data
4
Built for NonStop SQL SQLXPress is tightly integrated into the NonStop OS software stack It provides superior support for NonStop SQL specific features not available from generic ODBC/JDBC based tools It offers complete support for legacy SQL/MP databases as well as SQL/MX native tables
5
Benefits (What’s the payoff?)
6
Benefits Improved productivity Get more done in less time Reduced errors No complex commands to remember Automate common tasks Faster problem determination Better quality information about the database Improved query performance Identify problem queries Suggested actions to improve performance
7
Who is it for?
8
The DBA Routine database maintenance Manage partitions Update statistics Create indexes Specify access privileges Query performance tuning Building and deploying queries for others
9
The Developer Build, test, and optimize queries Build scripts Create test data Explore database dependencies
10
Test / QA Create and manage test environments Compare schemas Compare data Generate test data
11
The User Browse Data XPressView provides read- only access to database queries and tables Run queries designed by DBA Build using visual query builder Print Data Export data to CSV file
12
Features (What’s under the hood?)
13
Feature Examples Understanding your database Performing routine maintenance Problem determination Working on query performance Working with data Working with scripts Auditing
14
Understanding Your Database SQL object properties What volumes are used by the partitions of table X? Object dependencies Which programs use table Y? Security settings Which users can update table Z? Data How many widgets were sold last quarter at a discount?
15
Understanding Your Database Useful for Change management Problem determination Planning Display summary or detailed information Sort, Group, Filter Export to PDF, Excel Print
16
Routine Maintenance Partition management Move, merge, split, reuse etc. Schedule via Task Manager Data analysis for calculation of “first key” values Statistics management Update, copy, backup, restore Index maintenance Create, populate, alter, drop Maintain security settings ANSI Grant / Revoke Manage security administrators Give object ownership Guardian security
17
Routine Maintenance Task Manager Control and monitor NetBatch jobs
18
Routine Maintenance Clone schemas Copy data DUP Fast Copy Insert / select Reload partitions
19
Problem determination Monitoring system performance: CPU busy, memory use, page fault rate Disk IO rates, cache hits Busy SQL processes TMF performance Monitoring disk space usage: By volume, schema, table, index Monitoring tables and indexes: File opens, file locks, deadlocks
20
Problem determination Example: Busy SQL processes
21
Problem determination Example: Disk Capacity
22
Problem determination Example: File Locks
23
Query Performance Execution Plans Database EXDB Reports PTRAWL Embedded SQL C/C++ & Cobol programs Interactive Exec Plan Queries EMS ODBC / JDBC Stats Visual Query Tuner MFC Locations C/C++Cobol
24
Query Performance Execution plan history Compare versions of a plan Record dependencies between programs, modules, and database tables Use for planning / change management Search for problem plans Identifies poorly performing queries
25
Monitoring performance Display Busiest SQL Processes Measure SQL statements in a process Display stats and query text Suspend or stop processes with “runaway” queries Display query stats and text for ODBC / JDBC queries Query Performance
26
Query Advisor Analyzes queries Recommends corrective actions Update statistics Add / remove indexes Re-formulate query Query Performance
27
Visual Query Tuner How to improve query performance? Perform “experiments” Use CONTROL statements Add indexes Re-formulate query text Record each experiment as a snapshot User specifies query, controls, params, defines, comments Snapshot generates exec plan, performance stats When all else fails, use the auto-tuner. Query Performance
28
Visual Query Tuner Intuitive execution plan diagrams Visually identifies plan fragments, parallel operators, full table scans, IPC boundaries Position mouse over an operator to view details in popup window Query Performance
29
Visual Query Tuner Performance data Same as MXCI / SQLCI statistics Multiple samples to avoid cache bias Query Performance
30
Visual Query Tuner Performance charts Compares snapshots Response time, records, messages, etc. Min / Avg / Max Query Performance
31
Visual Query Tuner Auto tuner Analyze query Generates re-formulated query and control statements May recommend new indexes Query Performance
32
Browse and edit data Display, insert, update, delete rows Spreadsheet-like grid Bi-directional cursor and find row Supports very large tables Import and export data CSV, XML, Other databases (Oracle, SQL Server, DB2,...) Build and deploy queries Visual query builder XPressView data viewer Windows and ISO character sets Includes UTF-16 and CJK Character set mapping Working with Data
33
Execute SQL statements Syntax-aware editor Color-coding Auto-completion Function hints Full transaction control including auto-work Statement history Export results to PDF / Excel Working with Data
34
Merlon Scripting Language (MSL) Syntax based on ANSI standard for PSM (Persistent Stored Modules) Similar to DB2 PSM, PL/SQL etc. Scripts – not stored procedures Supports embedded SQL, MX and MP (even in same script) Support for MXCI and SQLCI commands Does not require explicit SQL compilation Scripting
35
Merlon Scripting Language (MSL) Run from TACL, NetBatch GUI generates MSL scripts for many background tasks Inspect-like debugger Use to automate routine tasks Much simpler than AWK or TACL Scripting
36
Records user activities in an audit trail Configurable audit level Audits interactive and batch activities Does not audit activities performed outside of SQLXPress Generate audit reports Summary and detail reports By user, PC, or SQL object Audit controlled by audit administrator Separation of duties Auditing
37
Example report DDL activities Auditing
38
Example report Activity details Auditing
39
Key Takeaways SQLXPress provides the ease of use and improved productivity associated with tools for competitive databases, such as TOAD for Oracle Built specifically for NonStop SQL with support for MX and MP extensions Improves productivity Reduces errors Improves query performance Records user activities
40
Questions? www.xypro.comwww.merlon.com SQLXPress Features: www.merlon.com/downloads/sqlxpress/features.pdf
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.