db2 tech talk technical tour of db2 10 and info sphere warehouse 10

45
1 © 2012 IBM Corporation Formerly Formerly Technical Tour: New Features in IBM DB2 10 and IBM InfoSphere Warehouse 10 Cindy Fung, Conor O’Mahony, Serge Rielau April 26, 2012

Upload: mohd-abdul-qader

Post on 08-Sep-2014

82 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

1 © 2012 IBM Corporation

Formerly Formerly

Technical Tour: New Features in IBM DB2 10 and IBM InfoSphere Warehouse 10

Cindy Fung, Conor O’Mahony, Serge RielauApril 26, 2012

Page 2: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

2 © 2012 IBM Corporation

DB2 Tech Talk series host: Serge Rielau

SQL Architect, DB2 for Linux, UNIX, and Windows at IBM

Blog: www.sqltips4db2.com

Today’s presenters:

Conor O’MahonyProgram Director, DB2 Product MarketingTwitter: @conor_omahony, Blog: database-diary.comCindy FungProduct Manager, DB2 Common Product Management

Access the presentation for this Tech Talk:

Ibm.com/db2/labchats or http://ibm.co/ttfileapr

Page 3: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

3 © 2012 IBM Corporation

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 IBM’s 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.

Page 4: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

4 © 2012 IBM Corporation

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

Page 5: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

5 © 2012 IBM Corporation

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

Reliability2007

IBM DB2 9.5

Page 6: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

6 © 2012 IBM Corporation

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

Reliability2007

IBM DB2 9.7IBM DB2 9.5

Page 7: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

7 © 2012 IBM Corporation

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

Reliability2007

IBM DB2 9.7 IBM DB2 9.8IBM DB2 9.5

Page 8: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

8 © 2012 IBM Corporation

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

Reliability2007

IBM DB2 9.7 IBM DB2 9.8 IBM DB2 10

2012

IBM DB2 9.5

IBM InfoSphere Warehouse 10

Page 9: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

9 © 2012 IBM Corporation

High Performance. Low Costs.

ReliabilityHigh availability,

fast recovery, & online utilities

Low Operational CostParallel processing, deep compression,

& automation

Ease of DevelopmentSQL compatibility,

native XML and graph stores,& cloud support

Page 10: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

10 © 2012 IBM Corporation

ReliabilityLow Operational Costs

Ease of Development

Building on the Pillars of DB2

Faster Query Response

Improved Index Mgmt

Adaptive Compression

Multi-Temperature Data Management

Real-time Data Warehousing

SQL Compatibility enhancements

Graph Store

Row and Column Access Control

Temporal Capabilities

DB2 pureScale enhancements

Workload Management Enhancements

HADR Supports Multiple Standby Servers

Page 11: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

11 © 2012 IBM Corporation

New Release Highlights

• Faster business decisions• Multiple instances of at least 3x faster performance for complex query workloads 1• Real-time operational data warehousing

• Lower storage costs• Have seen more than one client achieve greater than 7x overall space savings with Adaptive

Compression, with some tables achieving more than 10x space savings 2

• Multi-Temperature Data Management

• Improved data availability with DB2 pureScale enhancements

• Enhanced security• Easy and flexible implementation of security policies with row-and-column access control and

label-based access control

• Easy switch from Oracle Database to DB2• PL/SQL compatibility averages 98% 3

1. 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.

2. Based on client testing in the DB2 10 Early Access Program.3. Based on internal tests and reported client experience from 28 Sep 2011 to 07 Mar 2012.

Page 12: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

12 © 2012 IBM Corporation

Multiple Instances of at least 3x Faster Query Performance*Increase Ability to Meet SLAs; Postpone Hardware Upgrades

* Based on both external tests by partners, as well as 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.

“IBM and Intel® have collaborated over a decade to optimize DB2 performance with Intel® Parallel Studio 2011, software development suite on Intel® Xeon® processors. We are excited to see a ~10x improvement in query processing performance using DB2 10 over the previous DB2 version, running on IBM System x3850 using Intel® Xeon® Processor E7. Customers can now realize dramatically greater performance boost at lower cost per query running IBM DB2 10 on servers powered by Intel® Xeon® processors.”—Pauline Nist, GM Software Strategies, Intel’s Datacenter & Connected Systems Group

• Up to 35% faster out-of-the-box performance• Combined with new features at least 3x faster query response time• Query Performance Enhancements

Multi-core parallelism and dynamically setting intra_parallelism for specific applicationsHash joins

Consider hash join when the join predicates include expressionsNumerous improvements including memory usage and code optimization, early filtering, and better optimizer costing

Zigzag join on star schemas New ziigzag join technology using multi-dimensional index(es)

AggregationHash duplicate removal and hash aggregation Improved performance with multiple COUNT or SUM DISTINCT operators

Multiple EXISTS and NOT EXISTS subquery predicatesStatistical view improvements

General statistical viewsStatistical views with expressionsExploit column group statistics on statistical viewsAutomatic statistics collection on statistical viewsStatistical view advisor*

Costing enhancementsImproved costing of communication between database partitions in a partitioned database environment

Page 13: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

13 © 2012 IBM Corporation

Index Management Re-definedIncrease Ability to Meet SLAs; Lower Administration Costs

• Jump scan • Index gaps are common on queries with multiple predicates using composite

indexes, optimizer generates jump scan instead of sequential scan plan

• Smart index prefetching• Index scan keeps track of index leaf page density and whether accesses are

sequential, if not• Switches to readahead and sequential detection prefetching• Looks ahead to determine the exact pages to access and prefetches them• Faster index accesses for poorly organized indexes and fewer index

reorganizations

• Smart data prefetching• Same technique as smart index prefetching, to efficiently prefetch badly

clustered data pages• Applied only with ISCAN-FETCH• Optimizer can combine both smart index and data prefetching to select

optimal prefetching technique• Faster index scans and data fetching, fewer table reorganizations

• Predicate evaluation avoidance• Faster index scans

• Faster performance, reduced administration• Fewer indexes to maintain• Reduction in index and table reorganization

“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.

Page 14: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

14 © 2012 IBM Corporation

Smart Index Prefetching Means Easier Management

0

5

10

15

20

25

30

35

Index 100% Organized Index 80% Organized Index 50% Organized

DB2 9.7

DB2 10

DB2 10 28%

faster!

Results based on IBM internal testing

DB2 10 query time (seconds)DB2 9.7 query time (seconds)Index Page Reads (Thousands)

Low Operational Costs

Page 15: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

15 © 2012 IBM Corporation

DB2 Workload Management Increase Ability to Meet SLAs. Postpone Hardware Upgrades

• New CPU limits• % of CPU resources DB2 can consume on a system or LPAR

• New CPU shares• % of limit a service class can consume

• Hard shares and soft shares

• Introducing a new perspective data-centric (where)• New data tag attribute for storage group

or table space• Priority can be given to requests based on what data is accessed

• 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

Other Processes

Service Class A

Service Class B

Service Class C

30%

20%50%DB2

“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.

Page 16: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

16 © 2012 IBM Corporation

Real-Time Data WarehousingFaster Business Decisions; More Accurate Business Decisions

• Client-side utility to continuously ingest data into DB2 tables• Ingest data directly or from files output by ETL tools or other

means

• Process a continuous data stream through pipes

• Supports multiple data sources concurrently

• Row-level locking with minimal interference to users• Ingest speeds that high enough to populate even large

databases in partitioned database

• Supports • SQL expressions to build individual column values from more

than one data field

• Commit by time or number of rows

• Copying rejected rows to a file or table, or discard them

• Restart and recovery

“You can now continuously feed data into your data warehouse at a high rateeven 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

Page 17: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

17 © 2012 IBM Corporation

Breakthrough Savings with Adaptive CompressionLower Storage Costs; Lower Administration Costs

DB2 9.1Table

Compression

DB2 9.7Temp Space &

Index Compression

DB2 10Adaptive

Compression

• Adaptively apply both table-level compression and page-level compression

• Table re-orgs not required to maintain high compression

• Compress archive logs

Page 18: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

18 © 2012 IBM Corporation

DB2 10 Adaptive Compression

DB2 9.7

• Uses a single, staticcompression dictionary

• Compresses data based on recurring patterns that appear in the table

• A classic table reorganization is necessary to improve compression ratios if a significant number of records in a table have been updated, or if a large amount of new data has been inserted

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

• Reduced need for table reorganization

Low Operational Costs

Page 19: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

19 © 2012 IBM Corporation

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 ALTERTABLE statement:ALTER TABLE <tablename> COMPRESS YESorALTER TABLE <tablename> COMPRESS YES ADAPTIVEThese 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

Page 20: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

20 © 2012 IBM Corporation

Adaptive Compression has provided 7x or greater overall space savings for more than one client, with some tables achieving 10x space savings*

0

2

4

6

8

10

12

Table A Table B Table C Table D Table E All Tables

Spac

e Sa

ving

s

4x

10x 10x

4x

10x7x

* Based on client testing in the DB2 10 Early Access Program.

Page 21: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

21 © 2012 IBM Corporation

Adaptive Compression Shrinks your Data Storage Needs

“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.

“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

• Higher performance• Faster queries for I/O-bound environments

• Faster backups

• Lower costs• Postpone upcoming storage purchases

• Lower ongoing storage needs

• Easier administration with reduced need for table re-orgs

Page 22: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

22 © 2012 IBM Corporation

Multi-Temperature Data ManagementIncrease Ability to Meet SLAs; Postpone Hardware Upgrades

• Storage pools for different tiers of storage• For range partitions, policy-based automated movement of data

• Easy administration and usage of different storage technologies• Users can assign a data tag attribute (a value from 0 to 9) to a storage group or table space. The data tag can

be used by DB2 Workload Manager (WLM) to determine how to treat the work

• Data-centric (“where”) approach so that priority can be given to requests based on what data is accessed

• Can lower costs by using faster, but more expensive, disk technology only on storage groups that need faster I/O performance

“The multi-temperature database management feature of DB2 V10.1 is great because the hardware world is not just RAM and hard disks. There are many types of storage options with different I/O speeds and prices. This feature allows administrators to make optimal use of these different devices, balancing expensive SSDs with cheaper SATA disks and everything in between. Using SSDs for indexes and logs and a SATA array for the data, we noticed fantastic improvements in I/O speeds, especially for synchronous reads. Additionally, the background movement of data between the storages groups is very fast.” —Thomas Kalb, CEO ITGAIN GmbH

HOTSSD RAID

WARMSAS RAID

COLDSATA RAID

ARCHIVEOptim Data

Growth

Page 23: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

23 © 2012 IBM Corporation

Multi-Temperature Data Management

SSD RAID array(very fast)

FC/SAS RAID array (fast)

SATA RAID array (medium)

Data from the current 3 months

Data from the past 9 months

Data from 1, 2, and 3 years ago

TS_AUG2011

TS_JUL2011

TS_JUN2011

TS_MAY2011

TS_APR2011

TS_OCT2010

TS_SEP2010

TS_AUG2010

TS_JUL2010

TS_OCT2007

TS_SEP2007

Hot storage group

Warm storage group

Cold storage group

Low Operational Costs

Page 24: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

24 © 2012 IBM Corporation

Multi-Temperature Data Management Moving Data Between Storage Tiers

TS_AUG2011

TS_JUL2011

TS_JUN2011

TS_MAY2011

TS_APR2011

TS_OCT2010

TS_SEP2010

TS_AUG2010

TS_JUL2010

TS_OCT2007

TS_SEP2011

ALTER TABLE salesATTACH PARTITION TS_SEP2011STARTING FROM ('9/1/2011') ENDING ('9/30/11')

ALTER TABLESPACE TBSP_JUN2011USING STOGROUP SG_WARM

ALTER TABLESPACE TBSP_SEP2010USING STOGROUP SG_COLD

1 1

2

2

33

TS_SEP2007

4ALTER TABLE salesDETACH PARTITION TS_SEP2007INTO TS_SEP2007_DETACHED

4

Low Operational Costs

Page 25: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

25 © 2012 IBM Corporation

Multi-Temperature Data Management Integration With the DB2 Workload Manager

• 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 isn’t 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

Low Operational Costs

Page 26: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

26 © 2012 IBM Corporation

Time Travel Query Easily Analyze Historical Trends and Predict Future Demand

“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

• Query data as it was at any point in the past, or as it will be at some point in the future

• Provide temporal logic and analysis • Can be based on system time, application-based time and queried

using AS OF queries• Higher performance

• Native support for fast performance

• 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)

Page 27: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

27 © 2012 IBM Corporation

Time Travel Query

• Sample questions• In what department was Ritu as of 12/01/1997?

• What account will Marcelo be assigned to on 9/15/2012?

12/31/999901/31/1998M24Ritu

Emp Dept System_start System_end

Ritu K25 11/15/1995 01/31/1998

12/31/201203/01/20123Marcelo

Emp Account Bus_start Bus_end

Marcelo 1 03/01/2011 06/30/2011

Marcelo 2 06/30/2011 12/10/2011

These values are automatically maintained by DB2 when Ritu’s dept is updated

These values are maintained by the user or application

Ease of Development

Page 28: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

28 © 2012 IBM Corporation

Time Travel Query – Temporal Tables• System-period temporal table

• 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

Ease of Development

Page 29: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

29 © 2012 IBM Corporation

Time Travel Query System-period temporal table – query

• Which department is employee 12345 in?SELECT Dept FROM employeesWHERE EmpID=12345

• Which department was employee 12345 in on 12/01/1997?SELECT Dept FROM employees FOR SYSTEM_TIME AS OF ’12/01/1997’WHERE EmpID=12345

EmpID Dept System_start System_end

12345 M15 05/31/2000 12/31/9999

employees employees_history

M15

J13

EmpID Dept System_start System_end

12345 J13 11/15/1995 01/31/1998

12345 M24 01/31/1998 05/31/2000

67890 K25 11/15/1995 03/31/2000

Note that without the FOR SYSTEM_TIME clause,it defaults to the current table only.

Page 30: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

30 © 2012 IBM Corporation

Time Travel Query Application-period temporal table - query

• Find whose account planner 12345 will be working on as of 7/1/2009.SELECT accountFROM accounts FOR BUSINESS_TIME AS OF ‘07/01/2009’WHERE planner=12345

• Find the number of accounts assigned to planner 12345 in 2008.SELECT count(distinct account)FROM accounts FOR BUSINESS_TIME BETWEEN ‘01/01/2008’ AND ’12/31/2008’WHERE planner=12345

planner account Bus_start Bus_end

12345 Carlos 01/31/2008 03/31/2008

12345 Janna 03/31/2008 11/30/2008

12345 Tom 03/01/2009 06/30/2009

12345 Lisa 06/30/2009 12/31/2009

12345 Qi 02/01/2010 04/30/2010

Lisa

2

Page 31: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

31 © 2012 IBM Corporation

DB2 pureScale EnhancementsIncrease Ability to Meet SLAs; Easily Add or Remove Capacity

• Integrated feature in v10

• 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.

Page 32: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

32 © 2012 IBM Corporation

HADR now Supports Multiple Standby ServersIncrease Ability to Meet SLAs; Disaster Recovery

• 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 time-delayed apply

• Eliminate back pressure on primary via log spooling on standby

Page 33: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

33 © 2012 IBM Corporation

Row and Column Access ControlEasy Compliance with Privacy and Sensitive Data Requirements

• Fine-grained access control• Hide rows from unauthorized users• Mask the value of columns for unauthorized users

• Data-Centric security• Policy-driven security, with flexible policies

• Does not require classification• Separation of duties between security officer and DBA

Account Name Income Branch1111-2222-3333-4444 Ana 22,000 A

2222-3333-4444-5555 Bob 71,000 B

3333-4444-5555-6666 Celia 123,000 B

4444-5555-6666-7777 Dinesh 172,000 C

Account Name Income Branch

xxxx-xxxx-xxxx-4444 Ana 22,000 A

xxxx-xxxx-xxxx-5555 Bob 71,000 B

xxxx-xxxx-xxxx-6666 Celia 123,000 B

xxxx-xxxx-xxxx-7777 Dinesh 172,000 C

Account Name Income Branch

2222-3333-4444-5555 Bob 71,000 B

3333-4444-5555-6666 Celia 123,000 B

Teller Amy sees

Telemarketer Pat sees

Issuing a query against the CUSTOMER table: SELECT ACCOUNT, NAME, BRANCH FROM CUSTOMER

Page 34: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

34 © 2012 IBM Corporation

Easy and Low Cost Security and Privacy Compliance• Higher performance

• Less data duplication than using “Views” to mask data• More secure than using “Views” to mask data

• Lower cost• Implements a table level authorization function that the security

administrator can use to set up access control based on specified rules• Row level access control

• A doctor can see rows representing her patients only• Column level access control (data masking)

• A teller can see only the last 4 digits of the credit card number column• 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

Page 35: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

35 © 2012 IBM Corporation

In DB2 10 Early Access Program testing, DB2 obtained an average of 98% compatibility* with Oracle PL/SQL Easily Move from the More Expensive Oracle Database; Leverage Oracle Skills with DB2

Increase compatibilityLocal Type Definitions10

Increase compatibilityRuntime “purity level” Enforcement9.7.3

PerformanceNUMBER Performance9.7.3

Increase compatibilityNCHAR, NVARCHAR, NCLOB9.7.2

EnhancementObfuscation9.7.2

Increase compatibilityUDF Parameters: DEFAULT 9.7.2

Broaden coverageOCI Support9.7.1

Broaden coverageBasic DPF Support9.7.1

EnhancementConditional Compilation9.7.1

Increase compatibilityImprove BOOLEAN9.7.1

Increase compatibilityFORALL/BULK COLLECT9.7.1

Increase compatibilityUDF Parameters: INOUT 9.7.1

Increase compatibilitySUB STRB9.7.1

Increase compatibilityAutonomous Tx Improvements9.7.4

Increase compatibilityMulti-action Trigger & Update Before Trigger9.7.4

Increase compatibilitySmall LOB Compare9.7.3

Increase compatibilityRAISE_APPLICATION_ERROR9.7.3

Increase compatibilityRATIO_TO_REPORT Function9.7.3

Increase compatibilityROW & ARRAY of ROW JDBC Support9.7.4

Increase compatibilityLIKE Improvements, LISTAGG9.7.4

PerformancePL/SQL Performance10

Increase compatibilityLocal Procedure Definitions10

Increase compatibilityNested Complex Objects9.7.5

Increase compatibilityPro*C Support9.7.5

Reliance Life Insurance

“The total cost of ownership with DB2 running on IBM systems is almost half the cost of Oracle Database on Sun systems.”

Banco de Crédito del Peru

“We switched from Oracle Database to IBM DB2 and cut our costs in half, while improving performance and reliability of business applications.”

JSC Rietumu Banka• Moved from Oracle Database to IBM DB2• Used “compatibility features”• 3-30x faster query performance• 200% improvement in data availability

* Based on internal tests and reported client experience from 28 Sep 2011 to 07 Mar 2012.

Page 36: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

36 © 2012 IBM Corporation

Graph Store Rapid development; Increase Ability to Respond to Emerging Classes of Workloads

• Optimized way to store graph triples in DB2

• Supports SPARQL 1.0 query language

• Higher performance• Accelerates Rational use case by up to 3.5x*

• Lower costs• Rapid development with schema-less approach

• Easy adaption as needs evolve

• Simpler data management for triples

Curt Cotner 2012 FerrariownsCar

Curt Cotner 123 Maple Ave, ChicagoownsHouse

Curt Cotner 2001 ThunderjetownsBoat

* Based on internal benchmark tests of Rational Jazz graph store usage, comparing DB2 10 Graph Store with Jena TDB version 0.8.10.

Page 37: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

37 © 2012 IBM Corporation

DB2 Graph Store Accelerates Rational Use Case by up to 3.5x*

* Based on internal benchmark tests of Rational Jazz graph store usage, comparing DB2 10 Graph Store with Jena TDB version 0.8.10.

137.343

38.825

0

20

40

60

80

100

120

140

160

Jena TDB DB2 Graph Store

Seco

nds

3.5xFaster

Page 38: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

38 © 2012 IBM Corporation

Accelerate Value for New Features Optim Tools Increase Ability to Meet SLAs; Lower Administration Costs

• Updated Database Admin solutions: • IBM Data Studio

• InfoSphere Data Architect

• Updated Performance Mgmt solutions: • InfoSphere Optim Performance Manager

• InfoSphere Optim Query Workload Tuner

• InfoSphere Optim Configuration Manager

• InfoSphere Optim Query Runtime

• 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

Page 39: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

39 © 2012 IBM Corporation

Coca Cola Bottling Company

“We’ve saved more than a million dollars over the past four years in licensing, maintenance and storage costs by migrating from

Oracle Database to DB2. We’ve reinvested these savings into other business projects while keeping our operating expenses flat. As a result, we don’t 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.

Page 40: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

40 © 2012 IBM Corporation

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

Page 41: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

41 © 2012 IBM Corporation

In Closing, to recap …

Save Time and Money

Deliver TopPerformance

Increase Productivity

Adaptive Compression provides up to 10x storage savingsMulti-Temperature Data Management enables the optimization of storageLower cost than Oracle Database, with 98%+ PL/SQL compatibility making it easy to switch

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

Up to 3x faster performanceDeep exploitation of hardware to maximize efficiencyDB2 pureScale offers superior scale-out efficiency and simplicity vs. Oracle RACContinuous Ingest of data optimizes real-time decision making

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

Page 42: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

42 © 2012 IBM Corporation

Upcoming Tech Talks Don’t miss these in-depth DB2 10 feature talks!

• Storage Optimization in DB2 10 - May 11th• -- Multi-temp data storage• -- Adaptive compression• -- Workload Management

• Oracle Migration and Compatibility Features – late May

• Time Travel Query– June

• Real-time Operational Data Warehousing – September

• No SQL – October

Dates and topics subject to change and modification.

How to register : DB2 Tech Talk web siteor www.idug-db2.com

Page 43: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

43 © 2012 IBM Corporation

• 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

Managementhttp://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/

• Step 4: Visit IBM developerWorks – Information Management pagehttp://www.ibm.com/developerworks/data/

-- What’s new in DB2 10 for LUW article-- 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

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

Page 44: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

44 © 2012 IBM Corporation

Questions

Watching this as a replay? Ask questions at:www.sqltips4db2.com

Page 45: DB2 Tech Talk Technical Tour of DB2 10 and Info Sphere Warehouse 10

45 © 2012 IBM Corporation

Thanks for Attending!

ibm.com/db2/labchatsibm.co/ttfileapr