Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Education & Training  >  Find a course 

HP NonStop SQL/MX query analysis and tuning

» 

Business & IT Services

» 

Education & Training
US & Canada home

» Special deals
» What's new
» Register for class
» Locations
» Find a course
» Blades & ProLiant
» Business Analysis
» Cloud
» Data Center
» HP Storage
» HP-UX
» HP Integrity
» HP Networking
» HP NonStop
» HP OpenVMS
» HP Tru64
» Imaging & printing
» ITSM / ITIL
» Linux
» Microsoft
» Project Management
» VMware
» Virtualization
» Graphic Solutions
» Printable catalogs
» Find training in other countries
» Certification
» Education consulting
» HP Virtual Rooms
» ITRC / Online training
» Partner Training
» Government Customers
» Partner Training
» HP Learning center
Content starts here

At a glance

View schedule & enroll Sorted by: location or date
Course number U8529S
Length 5 days
Delivery method Remotely assisted instructional learning ( RAIL)
Instructor-led training ( ILT)
Onsite dedicated training ( OST)
Price USD $3,000
CAD $3,600

Course overview

This 5-day lecture course analyzes a variety of SQL/MX query plans and their features, such as the data flow architecture, process boundaries, query plan parallelism, and executor functionality in DP2. Also, it describes how row sets, compound statements, referential integrity constraints and triggers are implemented in a query plan. Learn to display and analyze query plans and the methods for forcing (changing) query plans.


Prerequisites

  • HP NonStop SQL/MX basics (U4184S)
  • HP NonStop SQL/MX database for SQL/MP users (U4185S)

Audience

Anyone responsible for SQL/MX query analysis, tuning, and programming.


Ways to save

Course Objectives

  • Describe and use tools to analyze a variety of SQL/MX query plans
  • Describe the methods to influence or modify SQL/MX query plans with Control Query Default and Control Query Shape statements
  • Describe some of the opportunities for tuning SQL/MX queries in the following areas: query design, application design, and database design
  • Describe the SQL/MX query plan fundamentals, such as query compilation phases, query tree operators functions, data flow architecture, process boundaries, and parallel execution of a query plan

Benefits to you

  • Analyzing a variety of SQL/MX query plans: the operators, data flow, and parallelism
  • Utilizing query analysis tools: Visual Query Planner, Explain Function, and Display_explain statement
  • Modifying query plans using Control Query Defaults and Control Query Shape

Course outline

  • Module 1: SQL/MX query fundamentals
    • Query compilation phases
    • Branch and bound optimization
    • Query tree data flow model
    • Executor functionality in DP2
    • Forms of parallelism in a query plan
  • Module 2: Database definition
    • SQL/MX release 2 table definitions
    • Range and hash partitioning
    • Referential integrity
    • Triggers
    • Utilities to display database definitions
    • Lab exercise: Database definitions
  • Module 3: Viewing query execution plans
    • Visual query planner
    • Explain function and Display_Explain command
    • Fix explain and QPDrawer unsupported tools
    • Lab exercise: Viewing query plans
  • Module 4: File_Scan and exchange operators
    • Describe the basic operators that form a query plan: root operator, file scan operators, and exchange operators
    • Describe statement atomicity
    • Describe exchange operators and process boundaries
    • Lab exercise: Analyzing basic query plans
  • Module 5: Index_Scan Operators and MDAM
    • Index scan operators and their tokens
    • Alternate index access path
    • OR optimization
    • MultiDimensional Access Method (MDAM)
    • Forcing index access and MDAM with control query default and control query shape
    • Lab exercise: Analyzing queries that use index scan operators and MDAM
  • Module 6: Delete operators
    • Describe the delete operators and their tokens
    • Analyze query plans that use delete operators to delete rows from table with and without indexes
    • Lab exercise: Analyzing delete queries
  • Module 7: Update operators
    • Describe the update operators and their tokens
    • Analyze query plans that use update operators to update rows in a table with and without indexes
    • Lab exercise: Analyzing update queries
  • Module 8: Insert operators
    • Describe the insert operators and their tokens
    • Analyze query plans that use insert operators to insert rows in a table with and without indexes
    • Lab exercise: Analyzing insert queries
  • Module 9: Non-parallel joins
    • Describe the join operators (nested join, merge join, ordered hash join, and hash join and their tokens
    • Analyze query plans that use join operators
    • Describe the system defaults for controlling joins
    • Describe control query shape statement for joins
    • Lab exercise: Analyzing Non-parallel join queries
  • Module 10: Parallel joins
    • Describe type 1 parallel joins; matching partitions, logical partition grouping, logical sub partitioning, range repartitioning, and hash repartitioning
    • Describe type 2 parallel joins: replicate no broadcast and replicate via broadcast
    • Describe system defaults for controlling ESP parallelism
    • Lab exercise: Analyzing parallel join queries
  • Module 11: Sub query operators
    • Describe semi join and anti semi join operators and their tokens
    • Analyzing query plans that use the semi join and anti-semi join operators
    • Lab exercise: Analyzing sub queries
  • Module 12: Sorting and Grouping Operators
    • Sort, sort groupby, hash groupby operators and their tokens
    • Sort partial aggr, sort scalar aggr, and shortcut scalar aggr operators and their tokens
    • Display and analyze query plans that use the sort, sort groupby, hash groupby, sort partial aggr, sort scalar aggr, and shortcut scalar aggr operators
    • Lab exercise: Analyzing queries that use sorting and grouping operators
  • Module 13: Row sets and compound statements
    • Row set operators and tokens
    • Compound statements
    • Display and analyze query plans that use rows set arrays and compound statements
    • Lab exercise: Row sets and compound statements
  • Module 14: Referential integrity and triggers
    • Referential integrity
    • Triggers
    • Display and analyze insert, update, and delete queries on tables that have referential integrity constraints and triggers
    • Lab exercise: Referential integrity and triggers
  • Module 15: Forcing plans
    • Steps to analyzing query plans
    • Methods to change query plans: Control query default and control query shape
    • Examples of forcing query plans
  • Module 16: Tuning
    • Properties and costs
    • TP queries and OLT optimizations
    • Basic query, application, and database design for better performance
  • Onsite-Delivery Equipment Requirements
    • HP NonStop S72000 server or later that supports 1 GB of memory and IEEE floating point
    • G06.24 or later operating system and DDL licensing product T0394


Printable version
Privacy statement Using this site means you accept its terms Feedback to Education & Training
© 2011 Hewlett-Packard Development Company, L.P.