Your SlideShare is downloading. ×
0

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

9a. V10 od środka, czyli jak zmienia sie technologia

468

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
468
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DB2 10 for z/OS The future runs on System z Short OverviewS. PrekIBM SWG © 2009 IBM Corporation
  • 2. DB2 for z/OS Business Value References © 2009 IBM Corporation2
  • 3. V10 Brief DB2 History V9 pureXML Trusted Context hs V8 th roug CPU Reductions reak More concurrency B V7 Separation of Duties 64 bit Catalog Restructure Availability V6 Performance Temporal Data SQL Hash Organization V5 Schema Evolution Row / Column Access V4 Universal Security Roles V3 Database Audit Profiles V2.3 Online SQL V1.3 V2.1 V2.2 Reorg Enhancements Utility ImprovementsV1.1 V1.2 Parallel IO TCPIP Sysplex Triggers UDF Stats History Utility Wildcards Statistics Profiles Inline LOBs Hiperspaces Parallelism UDT Access Path Repository Referential Integrity LOBs VLDB Data Data SpacesSequential New Workloads Packages SharingPrefetch Unicode T2 Indexes Long Names Stored DRDA Procedures Native SQL Explain DDF CPU Parallel Procedures More 64 bit Sequential GUI Tools Scaling DDF Detection Store Proc Language REXX 1983 1992 1993 1995 1997 1999 2001 2004 2007 2010 © 2009 IBM Corporation 3
  • 4. DB2 for z/OS The most robust and cost effective data server DB2 DB2 9 DB2 10 Deep synergy with •20%-30% Utility CPU •Save up to xx% CPUEfficiency System z savings batch & transactions Efficiency HW Compression •Compress indexes, save •On-the-fly data Consolidation 50% disk Compression •More CPU on specialty •Temporal data support engines •Skip-level migration Unmatched availability •Flexible context and role •Ten times more concurrent security users UnparalleledResilience security •Expanded online schema •More online schemaResilience Industry leading changes •Volume level backup & changes reliability •Hash Index recovery •More granular access control Near-linear scalability •Seamless integration of XML and relational •Enhanced query parallelismGrowth •Improved SQL •More SQL compatibility Growth •Partition by growth •Improved pureXML and SQL PL •OLAP expressions Beta Announced:4 Feb 9,IBM Corporation © 2009 2010
  • 5. DB2 10 for z/OS At a Glance Performance, •CPU reductions out-of-the-box •Hash access to data, index include columns Scalability •Ten times more threads per DB2 image •More online schema changes Availability •Improved concurrency: catalog, data, & utilities Security •Row and column access control, masking Productivity •Administrator privileges with finer granularity •Administration productivity enhancements •Versioned data or temporal tables Application •pureXML enhancements Enablement •Last committed reads •SQL improvements that simplify porting •BI & OLAP Moving sum, moving average Dynamic •Many query optimization improvements Warehousing •Query parallelism improvements •IBM Smart Analytics Optimizer © 2009 IBM Corporation5
  • 6. Top 10 in DB2 10 for z/OS 1.CPU reductions for transactions, queries, & batch 2.Ten times more users by avoiding memory constraints 3.More concurrency for catalog, utilities, and SQL 4.More online changes for data definition, utilities and subsystems 5.Improved security with more granularity (SECADM) 6.Temporal or versioned data 7.SQL enhancements improve portability 8.pureXML performance and usability enhancements 9.Hash-index include columns, access path stability, skip- level migration,…. 10. Productivity improved for database & systems © 2009 IBM Corporation6
  • 7. Why Migrate to DB2 10 for z/OS? Business needs to save money Database Administrators need•Reduce CPU time •Improved performance•Service Oriented Architecture •Availability, scalability & Application developers need memory managementimproved productivity and •Simpler security andintegration regulatory compliance•pureXML for a faster, more capable •More productive databaseinterface to XML data administration•Powerful new SQL temporalenhancements & portability © 2009 IBM Corporation7
  • 8. DB2 10 Performance Objective Historical goal under 5% performance regression Goal 5% -10% initial performance improvement Many customers reduce CPU time 10% - 20% Average %CPU improvements version to version 15 10 5 0 10 -5 V3 V4 V5 V6 V7 V8 V9 VX -10 -15 © 2009 IBM Corporation8
  • 9. DB2 10: Performance Plan Very Significant CPU Reductions: Best on z108 use 9 CM 9 use 10 CM 10 NFM use Transactions DB design changes Batch Hash access, LOBs Index include cols. REBIND application changes SQL adjustments Your situation will vary. Less CPU is better. 9 Processors z10, z9, z890, z990 and later z/OS 1.10 © 2009 IBMlater and Corporation
  • 10. DB2 10 for z/OS: Out-of-the-Box Savings Up to 20% CPU reductions for transactions, queries, and batch Out-of-the-box CPU reductions of 5-10% for traditional workloads Out-of-the box CPU reductions of up to 20% for new workloads Up to additional 10% CPU savings using new functions Scales with less complexity and cost 5-10x more concurrent users Significant scale-up capabilities in addition to existing scale-out support Consolidate to fewer LPARs and subsystems Improved operational efficiencies and lower administration cost Automatic diagnostics, tuning, and compression Even better performance Elapsed time improvement for LOBS and Complex Queries 10 © 2009 IBM Corporation10
  • 11. DB2 10 Performance, Scalability Objectives Significant scalability and performance improvements –Synergy with latest System z hardware & software –High n-way scalability –Large real memory exploitation –Hardware level optimization –Improve transaction times –Lower CPU usage for large & small DB2 subsystems Virtual storage is most common vertical scale constraint for large customers –Limited number of concurrent threads for a single member / subsystem © 2009 IBM Corporation11
  • 12. Performance Enhancements Requiring Few Changes (CM) SQL runtime improved efficiency Address space, memory changes to 64 bit, some REBINDs Faster single row retrievals via open / fetch / close chaining Distributed thread reuse High Performance DBATs DB2 9 utility enhancements in CM8 Parallel index update at insert (V9:V10) Workfile in-memory enhancements Index list prefetch Solid-State Disk use ! Buffer pool enhancements •Utilize z10 1MB page size •“Fully in memory” option (ALTER BUFFERPOOL) © 2009 IBM Corporation12
  • 13. Performance Enhancements requiring REBIND (CM) Most access path enhancements SQL paging performance enhancements –Single index access for complex OR predicates: IN list performance –Optimized Stage1 processing (single or multiple IN lists) –Matching index scan on multiple IN lists Query parallelism improvements More stage 2 predicates can be pushed down to stage 1 More aggressive merge of views and table expressions –Avoid materialization of views REBIND enables further SQL runtime improvements If migrate from V8, get new RUNSTATS before mass rebind © 2009 IBM Corporation13
  • 14. Performance Enhancements requiring NFM Efficient caching of dynamic SQL statements with literals Most utility enhancements (IC with FlashCopy) LOB & XML streaming between DDF and rest of DB2 Faster fetch and insert, lower virtual storage consumption SQL Procedure Language performance improvements Workfile spanned records, PBG Insert improvement for UTS © 2009 IBM Corporation14
  • 15. Performance Enhancements requiring NFM + DBA work Hash access path Alter + Reorg + rebind to activate Index include columns Alter + Rebuild + rebind to activate Inline LOBs Alter (need UTS and RRF) MEMBER CLUSTER for UTS (PBG and PBR) ..... © 2009 IBM Corporation15
  • 16. Fastest Access to the data : Hash Access ‘W0133-1662996’ SELECT * …WHERE Execution time hash calculation ITEMNO = ‘W0133-1662996 ’ Locate the data row by hashing the key value. -Reduced page visits -Reduced CPU & elapsed 1 page access time -Possibly eliminate an index Data 1 I/O Pages -Tradeoff: extra space used © 2009 IBM Corporation 16
  • 17. Hash Access… CREATE TABLE syntax … ORGANIZE BY HASH UNIQUE (org, accountid) TABLESPACE options: HASH SPACE 4G -Can be created explicitly CREATE TABLE… -DB2 creates it implicitly … PARTITION BY RANGE… PARTITION 1 … Overflow INDEX …. -DB2 creates it implicitly PARTITION 5 …..HASH SPACE 1G New variation of index object created … to store hash column information. The index will only contain entries to rows ORGANIZE BY HASH UNIQUE in the overflow area. (org, accountid) HASH SPACE 2G SELECT …..WHERE org=“bank1” AND accountid=12345’ © 2009 IBM Corporation17
  • 18. Hash Access and Partitioning Non Range-Partitioned Table Range-Partitioned Table Part Key Hash Part 1 value range Part 1 Part 2 Hash Hash range range Part 2 Part n Hash PBG range Parts Part n 1-n Part Key must be a subset of the Hash Key © 2009 IBM Corporation18
  • 19. Converting to Hash Access Evaluate potential candidate tables: Check if they have unique keys used for single fetch queries Tables that are fairly static in size Evaluate existing index that can be replaced with the hash access If the index is used for range queries, it cannot be dropped Estimate number of rows, average row size and space needed ALTER ADD organization-clause REORG AUTOESTSPACE YES Rebind applications with fully qualified equal predicates on hash key To pick up Hash access. Followup: Check to see if hash access was chosen Check that RTS for appropriate space specifications Monitor index last-used RTS info to see if index can be dropped © 2009 IBM Corporation19
  • 20. Major changes in DB2 10 catalog & directory (1/2) Improve availability and productivity Increase maximum size substantially Reduce contention: BIND, DDL, utilities Allow SELECT from SYSLGRNX Catalog changes: Remove links – DSN1CHKR no longer needed – Many more table spaces, partition by growth – Row level locking – CLOB and BLOB columns for long strings © 2009 IBM Corporation20
  • 21. Other Catalog Changes Partition-by-growth (PBG) catalog/directory table spaces –Allow packages to grow beyond 64GB using LOBs –V8/DB2 9 APAR PK80375 adds zparm for SPT01 compression(COMPRESS_SPT01=YES); compression in DB2 10 DB2 managed catalog and directory data sets –SMS-managed, DB2-managed catalog required –Eases admin and management burden New CLOB & BLOB columns for storing SQL statements –Today, SQL statements can be split into several records with sequence numbers –CLOBs will make it easier to query SQL statements Online REORG enabled for ALL catalog/directory objects © 2009 IBM Corporation21
  • 22. Improved availability ALTER REORG LOB INLINE LENGTH, default VERSIONING Pending ALTER, Range-Partitioned ACCESS CONTROL then online UTS PBR MASK, PERMISSION REORG to make TRIGGER SECURED changes FUNCTION SECURED TIMESTAMP precision, time zone MAXPARTITIONS Single-Table Classic Partitioned Simple Table Space Single-Table Table Space Segmented Table Space Page size DSSIZE SEGSIZE Partition-By-Growth Hash MEMBER CLUSTER UTS PBG INDEX page size ADD active log INCLUDE cols BUFFERPOOL PGSTEAL NONE © 2009 IBM Corporation22
  • 23. Availability Online schema changes for table spaces, tables and indexes –PENDING with ALTER and Online REORG instead of DROP/CREATE or REBUILD INDEXAlterations occur with REORG, unless noted otherwise– Page size for table spaces and indexes BUFFERPOOL– DSSIZE for table spaces– SEGSIZE– Convert single table segmented into UTS PBG– Convert single table simple into UTS PBG– Convert classic partitioned table space into UTS PBR– Convert UTS PBR to UTS PBG– Convert PBG to hash (immediate, but RBDP index)– MEMBER CLUSTER– Ability to drop pending changes © 2009 IBM Corporation23
  • 24. Availability … More ALTERs (not pending)– LOB INLINE LENGTH, default– VERSIONING– ACCESS CONTROL– MASK, PERMISSION– TRIGGER SECURED– FUNCTION SECURED– TIMESTAMP precision, time zone– INDEX INCLUDE cols– BUFFERPOOL PGSTEAL NONE– MAXPARTITIONS Online REORG for LOBs, other Online REORG / utilityimprovements & restriction removal Online add active log -SET LOG NEWLOG .. © 2009 IBM Corporation24
  • 25. Availability … © 2009 IBM Corporation25
  • 26. Availability … © 2009 IBM Corporation26
  • 27. Availability … © 2009 IBM Corporation27
  • 28. Availability … © 2009 IBM Corporation28
  • 29. DB2 10: Business Security & Compliance Protect sensitive data from privileged System Securityusers & improve productivity Administrato Administrator r Tasks– SECADM & DBADM without data Tasksaccess Database Administrato– Usability: DBADM for all DB r– Revoke without cascade Tasks Separate authorities to perform Accesssecurity related tasks, e.g. securityadministrator, EXPLAIN, performance Monitormonitoring and management Audit Audit privileged users Row and column access control–Allow masking of value Use disk encryption–Restrict user access to individual cells © 2009 IBM Corporation29
  • 30. DB2 10: Productivity – Doing More with Less! Auto statistics collection Easier scaling, simpler memory management Reduce contention, more online processing Access path stability Reduced need for REORG – Build compression dictionary on the fly –Index list prefetch enhancements Configure IBM UDFs and stored Manual invocation of procedures •RUNSTATS Allow one SDSNEXIT data set for •COPY/BACKUP SYSTEM many subsystems •QUIESCE Monitoring enhanced •MODIFY RECOVERY –Timeout / deadlock diagnostics •REORG –Identify SQL statements © 2009 IBM Corporation30
  • 31. DB2 10 Utilities Enhancements– REORG SHRLEVEL(CHANGE) for LOBs– Online REORG enhancements– SHRLEVEL(CHANGE) support for all catalog/directoryobjects– Option to cancel blocking threads– Improved availability– Allow disjoint partition ranges– Permit movement of rows between partitions when LOBcolumns exist–Allow REBALANCE and ALTER LIMITKEY even when LOB columnsexist–Allow DISCARD to delete associated LOB values– Messages to estimate length of REORG phases and time tocompletion © 2009 IBM Corporation31
  • 32. DB2 10: More Utility Improvements – Improved COPY CHANGELIMIT performance – Use RTS instead of SM page scans – ‘Data set level FlashCopy’ option – FlashCopy backups with consistency and no application outage – FlashCopy backups as input to: – RECOVER (fast restore phase) – COPYTOCOPY, DSN1COPY – RECOVER “back to” log point – REPORT RECOVERY support for system level backups © 2009 IBM Corporation32
  • 33. Autonomics and DBA Productivity… Checkpoint intervals based on both time and log records Run ‘must complete’ backout under pre-emptable SRB SQL Statement level monitoring –Statement ID introduced –Trace records & messages extended to include statement ID –New trace class for statement detail (Monitor class 9 IFCID 124) –GetPages, Locks, I/Os, cpu/elapsed time, etc. at statement level Manage max threads, connections, idle thread timeout on an application basis –Warning or exceptions issued when threshold is hit © 2009 IBM Corporation33
  • 34. Many improvements for SAP & web applications Autonomics Numerous optimizer Availability Compress on the fly on INSERT enhancements, paging through More online schema changes for Auto-statistics result sets table spaces, tables and indexes Access path stability and hints Parallel index update at insert via online REORG enhancements Faster single row retrievals Online REORG for LOBs Access path lock-in and fallback Inline LOBs Online add log for dynamic SQL LOB streaming between DDF Automatically delete CF structures Automatic checkpoint interval and rest of DB2 before/during first DB2 restart Automated installation, Faster fetch and insert, lower configuration & activation of DB2 virtual storage consumption Portability supplied stored procedures & DEFINE NO for LOBs and XML Allow non-NULL default values UDFs MEMBER CLUSTER for UTS for inline LOBs Data set FlashCopy in COPY & Query parallelism enhancements: Loading and unloading tables inline copy lifting restrictions with LOBs in stream Inline image copies for COPY Dynamic Index ANDing Currently committed locking YES indexes Enhancements semantics UNLOAD from FlashCopy Option to avoid index entry Default SAP settings for DB2 backup creation for NULL value REORG enhancements Index include columns Security Reduce need for Buffer pool enhancements More granular DBA privileges reorganizations for indices Scalability Performance Many more threads CPU reductions Reducing latch contention Hash access path Workfile spanned records, PBG support, and in-memory enhancements © 2009 IBM Corporation34
  • 35. DB2 10 Application Enablement and Portability Data versioning by date pureXML enhancements Large object improvements –Allow non-NULL default values for inline LOBs –Loading and unloading tables with LOBs –LOBs in input/output files with other non-LOB data Improved portability and SQL consistency –Currently committed locking semantics –Implicit casting or loose typing –Timestamp with time zone –Variable timestamp precision – seconds to picoseconds –Moving Sum, Moving Average © 2009 IBM Corporation35
  • 36. Versioned data or Temporal Data Table-level specification to control data management based upon time Two notions of time: –System time: notes the occurrence of a data base change –“row xyz was deleted at 10:05 pm” –Query at current or any prior period of time –Useful for auditing, compliance –Business time: notes the occurrence of a business event –“customer xyz’s service contract was modified on March 23” –Query at current or any prior/future period of time –Useful for tracking of business events over time, application logic © 2009 IBM Corporation36
  • 37. Current and History Current SQL Application Jul 2008 Aug 2008 Sep 2008 Current History History Generation Transparent/automatic Auditing SQL Application Access to satisfy Queries © 2009 IBM Corporation37
  • 38. Business Time Use Case:Health InsuranceStep Date Activity1 1/1/2004 (Future) Issue PPO Policy P138 to Customer C882 with copay amount $10 starting from 2/1/20042 9/1/2004 (Present) Customer called and changed to HMO as of today3 3/1/2006 (Future) Copay increase to $15 starting 1/1/20074 6/1/2008 (Present) Cancel Policy as of today5 9/1/2008 (Past) Correct error by retroactively updating policy to POS from 5/01/06 to 10/01/07DDL: CREATE TABLE Policy (Bk VARCHAR(4), Eff-Beg DATE, Eff-End DATE, Client CHAR(4), Type CHAR(3), Copay CHAR(3), PERIOD BUSINESS_TIME (Eff-Beg, Eff-End), PRIMARY KEY ((Bk,Client) BUSINESS_TIME WITHOUT OVERLAPS) ); Bk Eff-Beg Eff-End Client Type Copay © 2009 IBM Corporation38
  • 39. DB2 10 Application Enablement, Portability … SQL stored procedure enhancements –SQL PL in Scalar UDFs & XML support 64-bit ODBC – also DB2 9 PK83072 Special null indicator to indicate value not supplied or default DRDA support of Unicode for system code points Instance based statement hints Allow caching of dynamic SQL statements with literals IFCIDs 063, 317 & 350 which externalize SQL text Data-dependent paging –When only a specific part of the result set is needed –Efficient access to desired portions of result set, based upon current position © 2009 IBM Corporation39
  • 40. DB2 SQLz z/OS V7commonluw Linux, Unix & Windows V8.2 Range partitioningzc Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation,o Global Temporary Tables, CASE, 100+ Built-in Functions, Limited Fetch, Insensitive Scroll Cursors, UNION Everywhere, MIN/MAX Single Index Support, Self Referencing Updates withm Subqueries, Sort Avoidance for ORDER BY, and Row Expressions, Call from trigger, statementm isolationon Updateable UNION in Views, ORDER BY/FETCH FIRST in subselects & table expressions, GROUPING SETS, ROLLUP, CUBE, INSTEAD OF TRIGGER, EXCEPT, INTERSECT, 16 Built-in Functions, MERGE, Native SQL Procedure Language, SET CURRENT ISOLATION, BIGINT data type, file reference variables, SELECT FROM INSERT, UPDATE, or DELETE,l multi-site join, 2M Statement Length, GROUP BY Expression, Sequences, Scalar Fullselect, Materialized Query Tables, Common Table Expressions, Recursive SQL, CURRENTu PACKAGE PATH, VOLATILE Tables, Star Join Sparse Index, Qualified Column names, Multiple DISTINCT clauses, ON COMMIT DROP, Transparent ROWID Column, FOR READw ONLY KEEP UPDATE LOCKS, SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT from INSERT © 2009 IBM Corporation40
  • 41. DB2 SQLz z/OS V8commonluw Linux, Unix & Windows V8.2 Multi-row INSERT, FETCH & multi-row cursor UPDATE, Dynamic Scrollable Cursors, GETz DIAGNOSTICS, Enhanced UNICODE SQL, join across encoding schemes, IS NOT DISTINCT FROM, session variables, range partitioning Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation,c Global Temporary Tables, CASE, 100+ Built-in Functions including SQL/XML, Limited Fetch,o Insensitive Scroll Cursors, UNION Everywhere, MIN/MAX Single Index Support, Self Referencing Updates with Subqueries, Sort Avoidance for ORDER BY, and Row Expressions,m 2M Statement Length, GROUP BY Expression, Sequences, Scalar Fullselect, Materializedm Query Tables, Common Table Expressions, Recursive SQL, CURRENT PACKAGE PATH, VOLATILE Tables, Star Join Sparse Index, Qualified Column names, Multiple DISTINCTo clauses, ON COMMIT DROP, Transparent ROWID Column, Call from trigger, statementn isolation, FOR READ ONLY KEEP UPDATE LOCKS, SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT from INSERTl Updateable UNION in Views, ORDER BY/FETCH FIRST in subselects & table expressions, GROUPING SETS, ROLLUP, CUBE, INSTEAD OF TRIGGER, EXCEPT, INTERSECT, 16u Built-in Functions, MERGE, Native SQL Procedure Language, SET CURRENT ISOLATION, BIGINT data type, file reference variables, SELECT FROM UPDATE or DELETE, multi-site join,w MDC © 2009 IBM Corporation41
  • 42. cross-platform SQL bookDB2 SQL V3z z/OS 9commonluw Linux, Unix & Windows 9 Multi-row INSERT, FETCH & multi-row cursor UPDATE, Dynamic Scrollable Cursors, GETz DIAGNOSTICS, Enhanced UNICODE SQL, join across encoding schemes, IS NOT DISTINCT FROM, session variables, TRUNCATE, DECIMAL FLOAT, VARBINARY, optimistic locking, FETCH CONTINUE, ROLE, MERGE, SELECT from MERGE, index & XML compressionc Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation, Globalo Temporary Tables, CASE, 100+ Built-in Functions including SQL/XML, Limited Fetch, Insensitive Scroll Cursors, UNION Everywhere, MIN/MAX Single Index Support, Self Referencing Updatesm with Subqueries, Sort Avoidance for ORDER BY, and Row Expressions, 2M Statement Length, GROUP BY Expression, Sequences, Scalar Fullselect, Materialized Query Tables, Common Tablem Expressions, Recursive SQL, CURRENT PACKAGE PATH, VOLATILE Tables, Star Join Sparseo Index, Qualified Column names, Multiple DISTINCT clauses, ON COMMIT DROP, Transparent ROWID Column, Call from trigger, statement isolation, FOR READ ONLY KEEP UPDATEn LOCKS, SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT from INSERT, UPDATE or DELETE, INSTEAD OF TRIGGER, Native SQL Procedure Language, BIGINT, file reference variables, XML, FETCH FIRST & ORDER BY in subselect and fullselect, caseless comparisons, INTERSECT, EXCEPT, not logged tables, OmniFind,l Spatial, range partitioning, compressionu Updateable UNION in Views, GROUPING SETS, ROLLUP, CUBE, 16 Built-in Functions, SETw CURRENT ISOLATION, multi-site join, MERGE, MDC, XQuery © 2009 IBM Corporation42
  • 43. DB2 SQL cross-platform SQL book V3.1z z/OS 9commonluw Linux, Unix & Windows 9.5 Multi-row INSERT, FETCH & multi-row cursor UPDATE, Dynamic Scrollable Cursors, GETz DIAGNOSTICS, Enhanced UNICODE SQL, join across encoding schemes, IS NOT DISTINCT FROM, TRUNCATE, VARBINARY, FETCH CONTINUE, MERGE, SELECT from MERGE, index & XML compression Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation, Global Temporary Tables, CASE, 100+ Built-in Functions including SQL/XML, Limited Fetch, Insensitivec Scroll Cursors, UNION Everywhere, MIN/MAX Single Index, Self Referencing Updates witho Subqueries, Sort Avoidance for ORDER BY, and Row Expressions, 2M Statement Length, GROUP BY Expression, Sequences, Scalar Fullselect, Materialized Query Tables, Common Tablem Expressions, Recursive SQL, CURRENT PACKAGE PATH, VOLATILE Tables, Star Join Sparse Index, Qualified Column names, Multiple DISTINCT clauses, ON COMMIT DROP, Transparentm ROWID Column, Call from trigger, statement isolation, FOR READ ONLY KEEP UPDATE LOCKS,o SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT from INSERT, UPDATE or DELETE, INSTEAD OF TRIGGER, Native SQL Procedure Language,n BIGINT, file reference variables, XML, FETCH FIRST & ORDER BY in subselect & fullselect, caseless comparisons, INTERSECT, EXCEPT, not logged tables, OmniFind, spatial, range partitions, data compression, session variables, DECIMAL FLOAT, optimistic locking, ROLEl Updateable UNION in Views, GROUPING SETS, ROLLUP, CUBE, more Built-in Functions,u SET CURRENT ISOLATION, multi-site join, MERGE, MDC, XQuery, XML enhancements,w array data type, global variables, more vendor syntax © 2009 IBM Corporation43
  • 44. DB2 SQL z z/OS 9 common luw Linux, Unix & Windows 9.7 Multi-row INSERT, FETCH & multi-row cursor UPDATE, Dynamic Scrollable Cursors, GETz DIAGNOSTICS, Enhanced UNICODE SQL, join across encoding schemes, IS NOT DISTINCT FROM, VARBINARY, FETCH CONTINUE, MERGE, SELECT from MERGE Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation, Globalc Temporary Tables, CASE, 100+ Built-in Functions including SQL/XML, Limited Fetch, Insensitive Scroll Cursors, UNION Everywhere, MIN/MAX Single Index, Self Referencing Updates witho Subqueries, Sort Avoidance for ORDER BY, and Row Expressions, 2M Statement Length, GROUP BY Expression, Sequences, Scalar Fullselect, Materialized Query Tables, Common Tablem Expressions, Recursive SQL, CURRENT PACKAGE PATH, VOLATILE Tables, Star Join Sparsem Index, Qualified Column names, Multiple DISTINCT clauses, ON COMMIT DROP, Transparent ROWID Column, Call from trigger, statement isolation, FOR READ ONLY KEEP UPDATE LOCKS,o SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT fromn INSERT, UPDATE or DELETE, INSTEAD OF TRIGGER, Native SQL Procedure Language, BIGINT, file reference variables, XML, FETCH FIRST & ORDER BY in subselect & fullselect, caseless comparisons, INTERSECT, EXCEPT, not logged tables, OmniFind, spatial, range partitions, data compression, session variables, DECIMAL FLOAT, optimistic locking, ROLE, TRUNCATE, index & XML compression, created tempsl Updateable UNION in Views, GROUPING SETS, ROLLUP, CUBE, more Built-in Functions,u SET CURRENT ISOLATION, multi-site join, MERGE, MDC, XQuery, XML enhancements, array data type, global variables, even more vendor syntax, LOB & temp table compression,w inline LOB, administrative privileges, implicit casting, date/time changes, currently committed © 2009 IBM Corporation44
  • 45. DB2 SQL z z/OS 10 common luw Linux, Unix & Windows 9.7 Multi-row INSERT, FETCH & multi-row cursor UPDATE, Dynamic Scrollable Cursors, GETz DIAGNOSTICS, Enhanced UNICODE SQL, join across encoding schemes, IS NOT DISTINCT FROM, VARBINARY, FETCH CONTINUE, MERGE, SELECT from MERGE, data versioning, access controls Inner and Outer Joins, Table Expressions, Subqueries, GROUP BY, Complex Correlation, Globalc Temporary Tables, CASE, 100+ Built-in Functions including SQL/XML, Limited Fetch, Insensitiveo Scroll Cursors, UNION Everywhere, MIN/MAX Single Index, Self Referencing Updates with Subqueries, Sort Avoidance for ORDER BY, and Row Expressions, 2M Statement Length, GROUPm BY Expression, Sequences, Scalar Fullselect, Materialized Query Tables, Common Table Expressions, Recursive SQL, CURRENT PACKAGE PATH, VOLATILE Tables, Star Join Sparsem Index, Qualified Column names, Multiple DISTINCT clauses, ON COMMIT DROP, Transparento ROWID Column, Call from trigger, statement isolation, FOR READ ONLY KEEP UPDATE LOCKS, SET CURRENT SCHEMA, Client special registers, long SQL object names, SELECT fromn INSERT, UPDATE or DELETE, INSTEAD OF TRIGGER, Native SQL Procedure Language, BIGINT, file reference variables, XML, FETCH FIRST & ORDER BY in subselect & fullselect, caseless comparisons, INTERSECT, EXCEPT, not logged tables, OmniFind, spatial, range partitions, data compression, session variables, DECIMAL FLOAT, optimistic locking, ROLE, TRUNCATE, index & XML compression, created temps, inline LOB, administrative privileges,l implicit casting, date/time changes, currently committed, moving sum & avg.u Updateable UNION in Views, GROUPING SETS, ROLLUP, CUBE, more Built-in Functions, SET CURRENT ISOLATION, multi-site join, MERGE, MDC, XQuery, XML enhancements, arrayw data type, global variables, even more vendor syntax, LOB & temp table compression, © 2009 IBM Corporation45
  • 46. pureXML improved performance and usability XML schema validation in the engine for improvedusability and performance Binary XML exchange format improves performance XML multi-versioning for more robust XML queries Allow easy update of sub-parts of XML document Stored proc, UDF, Trigger enhanced support XML index matching with date/timestamp CHECK DATA utility checks XML © 2009 IBM Corporation46
  • 47. Technology Preview: IBM Smart Analytics OptimizerWhat is it?•A special purpose, network-attached appliance that is anadd-on to a DB2 for z/OS system•Offloads typical DW/BI queries resulting in predictableand orders-of-magnitude faster query response times whilereducing overall TCOBusiness Value•Dramatically lowers the cost for query and reporting on System z•Advanced in-memory scale-out cluster technologies that keep the complete system centrallymanaged without having to change any requirements for BI applications•Complements the many new Data Warehousing features in DB2 9 for z/OS•Leverages the many new warehousing and business intelligence solutions now available onSystem zTargeted Uses for DB2 for z/OS customers:•Requirements to accelerate a subset of their warehouse or reporting queries•Looking for more insight and business intelligence from operational data•Needs to consolidate datamarts or data stores into one enterprise warehouse © 2009 IBM Corporation47
  • 48. DB2 10 for z/OS At a Glance Performance, •CPU reductions out-of-the-box •Hash access to data, index include columns Scalability •Ten times more threads per DB2 image •More online schema changes Availability •Improved concurrency: catalog, data, & utilities Security •Row and column access control, masking Productivity •Administrator privileges with finer granularity •Administration productivity enhancements •Versioned data or temporal queries Application •pureXML enhancements Enablement •Last committed reads •SQL improvements that simplify porting •Moving sum, moving average Dynamic •Many query optimization improvements Warehousing •Query parallelism improvements •IBM Smart Analytics Optimizer © 2009 IBM Corporation48
  • 49. The future runs on System z © 2009 IBM Corporation

×