Beruflich Dokumente
Kultur Dokumente
Formerly
DB2 Tech Talk series host: Serge Rielau SQL Architect, DB2 for Linux, UNIX, and Windows at IBM Blog: www.sqltips4db2.com Todays presenters: Conor OMahony Program Director, DB2 Product Marketing Twitter: @conor_omahony, Blog: database-diary.com Cindy Fung Product Manager, DB2 Common Product Management Access the presentation for this Tech Talk: Ibm.com/db2/labchats or http://ibm.co/ttfileapr
Disclaimer
The information contained in this presentation is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided as is, without warranty of any kind, express or implied. In addition, this information is based on IBMs current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other documentation. Nothing contained in this presentation is intended to, or shall have the effect of:
Creating any warranty or representation from IBM (or its affiliates or its or their suppliers and/or licensors); or Altering the terms and conditions of the applicable license agreement governing the use of IBM software.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
Introducing DB2 10 and InfoSphere Warehouse 10 for Linux, Unix and Windows Systems
DB2 10 and InfoSphere Warehouse 10 advancements in: Low Operational Costs Ease of Development Reliability
Introducing DB2 10 and InfoSphere Warehouse 10 for Linux, Unix and Windows Systems
DB2 10 and InfoSphere Warehouse 10 advancements in: Low Operational Costs Ease of Development
7 00 2
Reliability
Introducing DB2 10 and InfoSphere Warehouse 10 for Linux, Unix and Windows Systems
DB2 10 and InfoSphere Warehouse 10 advancements in: Low Operational Costs Ease of Development
7 00 2
Reliability
Introducing DB2 10 and InfoSphere Warehouse 10 for Linux, Unix and Windows Systems
DB2 10 and InfoSphere Warehouse 10 advancements in: Low Operational Costs Ease of Development
7 00 2
Reliability
Introducing DB2 10 and InfoSphere Warehouse 10 for Linux, Unix and Windows Systems
DB2 10 and InfoSphere Warehouse 10 advancements in: Low Operational Costs Ease of Development
7 00 2
Reliability
2 01 2
Ease of Development
SQL compatibility, native XML and graph stores, & cloud support
Reliability
High availability, fast recovery, & online utilities
Low Operational Costs Faster Query Response Improved Index Mgmt Adaptive Compression Multi-Temperature Data Management Real-time Data Warehousing
Ease of Development SQL Compatibility enhancements Graph Store Row and Column Access Control Temporal Capabilities
Reliability DB2 pureScale enhancements Workload Management Enhancements HADR Supports Multiple Standby Servers
10
1. 2. 3.
Based on internal tests of IBM DB2 9.7 FP3 vs. DB2 10 with new compression features on P6-550 systems with comparable specifications using data warehouse / decision support workloads, as of 29 Mar 2012. Based on client testing in the DB2 10 Early Access Program. Based on internal tests and reported client experience from 28 Sep 2011 to 07 Mar 2012.
11
12
Jump Scan optimizes buffer usage by 75 to 80%, resulting in very good improvement in overall performance and saving the CPU cycles. Shanmukhaiah D, Cognizant Technology Solutions.
13
2012 IBM Corporation
30
25
DB2 9.7
20
15
DB2 10
10
30% 50%
Other Processes
20% DB2
WLM work class and threshold DDL have been extended to support the new data tag attribute
Work class sets are predictive based on query compilation Data tag thresholds are reactive and use information that is available at runtime These additional features continue to allow WLM to provide you with higher performance by prioritizing important workloads, allowing more efficient distribution of workloads, and saving money by postponing hardware upgrades
Managing and operating a system will be easier with new WLM, and it will lead to longer hardware replacement period, thus increase IT TCO in general. -- YoungJu Lee, Principal Data Consultant, E1 Tech.
15
2012 IBM Corporation
You can now continuously feed data into your data warehouse at a high rate even whilst you are running queries against the tables in your data warehouse. InfoSphere Warehouse 10 represents a greatly strengthened offering for the data warehouse market. Ivo Grodtke, LIS.TEC GmbH
16
2012 IBM Corporation
Adaptively apply both table-level compression and page-level compression Table re-orgs not required to maintain high compression Compress archive logs
17
DB2 10
Multiple page-level dictionaries in addition to a single table-level dictionary Compression dictionary contains locally frequent patterns, with one dictionary stored on every page When a page becomes full, page-level compression is applied, immediately freeing up more storage in that page
18
Adaptive Compression
How Do You Start Using It? Used by default for new tables created under DB2 10 when row compression is enabled For existing tables, enable adaptive compression using the ALTER TABLE statement: ALTER TABLE <tablename> COMPRESS YES
or
ALTER TABLE <tablename> COMPRESS YES ADAPTIVE These statements affect all data touched from this point onwards. To apply adaptive compression to the data that already exists in the table, perform a table reorg
19
Adaptive Compression has provided 7x or greater overall space savings for more than one client, with some tables achieving 10x space savings*
12
10x
10x
10x 7x
10
S a eS v g p c a in s
4x
4x
Table A
Table B
Table C
Table D
Table E
All Tables
Lower costs
Postpone upcoming storage purchases Lower ongoing storage needs Easier administration with reduced need for table re-orgs Page-level dynamic compression is one of the new DB2 features that will reduce planned outages and increase storage savings by up to 2X over DB2 9.7%. Jessica Tatiana Flores Montiel, DAFROS Multiservicios
Our migration from Oracle Database to DB2 resulted in a 40% storage savings. Upgrading to DB2 9.7 and index compression brought our average savings to 57%. Now adaptive compression brings our average savings to 77%, dramatic savings! Andrew Juarez, Lead SAP Basis / DBA, Coca Cola Bottling Company.
21
SSD RAID
HOT
WARM
SAS RAID
COLD
SATA RAID
ARCHIVE
Optim Data Growth
23
TS_SEP2011
ALTER TABLE sales ATTACH PARTITION TS_SEP2011 STARTING FROM ('9/1/2011') ENDING ('9/30/11')
TS_AUG2011 TS_JUL2011
TS_JUN2011
TS_SEP2010
TS_AUG2010 TS_JUL2010
TS_OCT2007
4
TS_SEP2007
24
DB2 WLM work class and threshold DDL have been extended to support the new data tag attribute Work class sets are predictive based on compilation information Sometimes there isnt enough information at compile time (for example, queries with parameter markers) to predict which table spaces will be touched. For this reason Activities can be mapped to a service subclass based on the data expected to be touched before the activity starts to run Data tag thresholds are reactive and use information that is available at runtime Activities can be remapped to a service subclass based on the data touched by the activity as it is running
25
Lower costs
Up to 45x fewer lines of code than Java Eliminate need to maintain and update custom temporal implementations Easy to administer (simply turn on for any table)
The use of standardized SQL syntax for temporal operations and the integration deep into the database engine, make DB2 a leader in second generation bitemporal data management - Bitemp 2.0! Craig Baumunk, Principal at BitemporalData.com
26
2012 IBM Corporation
Ease of Development
These values are automatically maintained by DB2 when Ritus dept is updated
Ease of Development
DB2 tracks the period when a row is valid (beginning when it is inserted, and ending when it is either updated or deleted) All currently valid rows are stored in one table When a row is no longer currently valid, it is automatically moved to an associated history table that is transparent to users and applications DB2 will automatically query the history table and return applicable rows based on the SQL executed against the base table Application-period temporal table The user or application updates the beginning and end of the period in which the information is valid All data is kept in a single table and DB2 will automatically split rows based on SQL activity against the existing rows Bi-temporal table Combines characteristics of both types of temporal tables
28
M15
J13
29
Lisa
30
Configurable geographically-dispersed stretch clusters Workload management for DB2 pureScale Multiple database support
Easy multi-tenancy
Range partitioning support Tablespace backup/restore Support for 10-gigabit Ethernet on Power and Red Hat Support for multiple Infiniband adapters and switches
Record Breaking Performance DB2 pureScale on IBM System x holds the record for the SAP Transaction Banking (TRBK) standard application benchmark with more than 56 million posting transactions per hour.
31
2012 IBM Corporation
HADR now supports more than one stand-by server If Primary Server fails, Principal Standby takes over If Principal Standby then fails, can switch to Auxiliary Standby Auxiliary Standby can provide complete offsite availability, while maintaining speed of local standby Recover from application logic errors via timedelayed apply Eliminate back pressure on primary via log spooling on standby
32
Branch B B
Branch A B B C
xxxx-xxxx-xxxx-7777
Lower cost
Column level access control (data masking) Easier to maintain that using application code to mask data
Because we deal with sensitive securities and financial information, the privacy of that information is a top priority. Row and Column Access Control will help enhance our security solutions and help us meet strict regulatory guidelines. Shi Jin Li, China Securities Depository and Clearing Corporation Ltd. Row and Column Access Control help us to improve data confidentiality and security in production environments. Jessica Tatiana Flores Montiel, DAFROS Multiservicios
34
In DB2 10 Early Access Program testing, DB2 obtained an average of 98% compatibility* with Oracle PL/SQL
9.7.1 SUB STRB UDF Parameters: INOUT FORALL/BULK COLLECT Improve BOOLEAN Conditional Compilation Basic DPF Support OCI Support UDF Parameters: DEFAULT Obfuscation NCHAR, NVARCHAR, NCLOB NUMBER Performance Runtime purity level Enforcement RATIO_TO_REPORT Function RAISE_APPLICATION_ERROR Small LOB Compare 9.7.1 9.7.1 9.7.1 9.7.1 9.7.1 9.7.1 9.7.2 9.7.2
Easily Move from the More Expensive Oracle Database; Leverage Oracle Skills with DB2
Increase compatibility Increase compatibility Increase compatibility Increase compatibility Enhancement Broaden coverage Broaden coverage Increase compatibility Enhancement Increase compatibility Performance Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Increase compatibility Performance
9.7.2 9.7.3 9.7.3 9.7.3 9.7.3 9.7.3 9.7.4 9.7.4 9.7.4 9.7.4 9.7.5 9.7.5 10 10 10
Multi-action Trigger & Update Before Trigger Autonomous Tx Improvements LIKE Improvements, LISTAGG ROW & ARRAY of ROW JDBC Support Pro*C Support Nested Complex Objects Local Procedure Definitions Local Type Definitions PL/SQL Performance
* Based on internal tests and reported client experience from 28 Sep 2011 to 07 Mar 2012. 35
2012 IBM Corporation
Graph Store
Lower costs
Rapid development with schema-less approach Easy adaption as needs evolve Simpler data management for triples
* Based on internal benchmark tests of Rational Jazz graph store usage, comparing DB2 10 Graph Store with Jena TDB version 0.8.10.
36
137.343
Seconds
80 60 40
3.5x Faster
38.825
20 0
Jena TDB
* Based on internal benchmark tests of Rational Jazz graph store usage, comparing DB2 10 Graph Store with Jena TDB version 0.8.10. 37
2012 IBM Corporation
Higher performance
Immediate support for new performance features Enhanced Visual Explain, Access Plan Explorer and Index Advice Extended Insight identifies source of performance issues
Lower costs
Immediate support for new time saving features (incl. Temporal, Multi-Temperature Data Management & Row and Column Access Control) IBM solutions are integrated and consistent
38
2012 IBM Corporation
Weve saved more than a million dollars over the past four years in licensing, maintenance and storage costs by migrating from Oracle Database to DB2. Weve reinvested these savings into other business projects while keeping our operating expenses flat. As a result, we dont have to pass rising costs on to consumers, which allow us to maintain our sales volumes and market share. Tom DeJuneas, IT Infrastructure Manager, Coca Cola Bottling Company.
39
Version Upgrades to 10
DB2 9.1 (9.5 or 9.7) then 10 9.5 10 9.7 10 DB2 pureScale 9.8 10 InfoSphere Warehouse, client, and application server components 9.1 (9.5 or 9.7) then 10 9.5 10 9.7 10
40
In Closing, to recap
DB2 10 saves time and money, delivers top performance, provides greater data availability and security, increases ability to meet SLAs, and increases team productivity for a new generation of applications
Increase Productivity
Connectors for Big Data (Hadoop, Streams, Netezza, etc.) Built-In Time Travel Query enabling faster historical and trend analysis Support for public and private cloud environments Support for RDF Graph Store and SPARQL 1.0
41
Next Steps
To find out how your organization can benefit or for a demo, call: 1 800 966-9875 (U.S) 1-888-746-7426 (Canada) 1800-425-3333 (India) Or visit http://www.ibm.com/planetwide/ for contact information worldwide
Step 1: Listen to the Virtual Event The Future of Database and Data Warehousing Software
http://bit.ly/J2Z56z
Step 2: Read the White Paper The New IBM DB2 10: Analyzing Its User Value in Performance, Costs, Ease of Extension, and Risk Management
http://ibm.co/HXbvjL
Step 3: Visit the product Web pages DB2 10: http://www.ibm.com/software/data/db2/linux-unix-windows/ InfoSphere Warehouse 10: http://www.ibm.com/software/data/infosphere/warehouse/
http://www.ibm.com/developerworks/data/
-- Temporal Data Management article for LUW -- DB2 10: Run Oracle applications on DB2 10 for Linux, UNIX and Windows -- Check often more to come
Step 5: Attend the next DB2 Tech Talk on Storage Optimization features
www.idug-db2.com
43
Questions
ibm.com/db2/labchats ibm.co/ttfileapr
45