Upload
truongthuan
View
214
Download
0
Embed Size (px)
Citation preview
Information Management – DB2
© 2008 IBM Corporation1
Latest overview of DB2 and its increasing momentum in HK
a moment to
break out of an
IT comfort zone
Information Management – DB2
© 2008 IBM Corporation2
Agenda
� If IBM DB2 help you :
– Reduce IT operation expense
– Improve IT resource utilization
– Enhance IT service level
� Why now and how ?
Information Management – DB2
© 2008 IBM Corporation3
The current IT spending climate after crisis
� Global economic crisis
� IT budgets flat or declining
� Data volumes still growing
� Increasing cost of managing data
“…businesses should prepare now for cutting
IT costs, and the data management
discipline is one area that affords
numerous opportunities for reducing and
controlling costs. In most cases, the cost of
implementing the steps will be far outweighed by the savings that can be realized.”
Source: http://www.gartner.com/it/page.jsp?id=619108
In 2009, executives face challenging global
economic conditions that have not existed for
more than 50 years...IT spending budgets will
be essentially flat.
Source:http://www.gartner.com/it/page.jsp?id=855612
Information Management – DB2
© 2008 IBM Corporation5
� June 2008 Oracle drastically increases the price of all their software– Increase range from 15% to 47%– Also affects maintenance bills
� March 2009 Oracle increases the price of the Oracle Database by 33% on some platforms
� July 2009 Oracle increases the price of pretty-much required Management and Tuning packs by over 40%
� August 2009: Doubled the price of Active Data Guard
Don’t Forget…Oracle Has Ratcheted Up Prices
Oracle Enterprise : US 48,800 => US 57,950 (18.75% increment)
Information Management – DB2
© 2008 IBM Corporation6
But decreasing support level
( 完全失敗完全失敗完全失敗完全失敗)
Information Management – DB2
© 2008 IBM Corporation7
Now a database market share turning point
Growth Growth
in USD Constant Currency
Database & Middleware - reported by Oracle -22% -19%
all Database, incl. options -24% -21%
core Database only -26% -23%
Database options only -21% -18%
Oracle Q1 result ( 16-Sep-2009 )
Information Management – DB2
© 2008 IBM Corporation8
Oracle Database Features Supported by DB2 9.7
Oracle DBMS ���� DB2 9.7
Oracle Concurrency Control ���� No change
Oracle SQL ���� No change
Oracle PL/SQL ���� No Change
Oracle Packages ���� No Change
Oracle Built-in packages ���� No Change
Oracle JDBC ���� No Change
Oracle SQL*Plus Scripts ���� No Change
Changes are the exception. Not the rule.
THIS IS WHY WE CALL IT ENABLEMENT AND NOT PORT !
PL/SQL = Procedural Language/Structured Query Language
Information Management – DB2
© 2008 IBM Corporation9
Utilize your existing Oracle development skill & application on DB2
� Why do you need DB2 development Skill ?
� When you can use Oracle skill develop program on DB2.
� The database market has changed…
Information Management – DB2
© 2008 IBM Corporation10
Reason 1 : Cost on Software
� For example a Enterprise Edition Dual Core Intel (pre-helium) :– Oracle EE : US 87,596
• + Data Guard + Partitioning • + Tuning Pack + Diagnostic Pack
– DB2 EE ( inc. HADR & Table Partitioning) : US 40,500• Inc. HADR, Table Partitioning• Health Centre, Activities Monitor, Design Advisor etc.
� For Standby Server charging :– DB2 charge only 1xCPU on idle standby server– DB2 NO CHARGE for cold standby
� Oracle Standard vs DB2 Workgroup vs MSSQL ( socket )• Include first year support and subscription
– Microsoft SQL Enterprise Edition : US 35,146– Oracle Standard Edition : US 21,350– DB2 Workgroup Edition : US 15,000
Information Management – DB2
© 2008 IBM Corporation11
Reason 2 : Lightning Fast
6,085,166
4,092,799
1,231,433
200,000
2,200,000
4,200,000
6,200,000
tpm
C
Top TPC-C Performance By Data
Server Vendor
DB2 9.5 on IBM p595 (64 core)
Oracle 10g on HP Superdome (128 core)
SQL Server 2005 on HP Superdome (64 core)
“Before we made a final decision we benchmarked some of the key database management systems. That includes Oracle, SQL Server and DB2. We ended up choosing DB2 for several reasons. One was reliability, second was performance and perhaps the most important factor was ease of use”– Bashir Khan, Director of Data Management , Dow Jones
343,551
171,380
63,650
0
60000
120000
180000
240000
300000
360000
Qp
hH
TPC-H 10 TB BI Benchmark
IBM p6 570 - DB2 9.5
HP Integrity Superdome- Oracle 10g
HP Integryity Superdome - SQL Server 2008
� Save money by getting more from your hardware with DB2
� Better Transactional Performance
– 50% Faster than Oracle
– 5X Faster than Microsoft
� Better BI Performance
– 65% Faster than Oracle
– 5X Faster then MicrosoftResults as of June 5, 2008
Information Management – DB2
© 2008 IBM Corporation12
Reason 3 : Great Performance without Tuning
� DB2 tunes itself so you don’t have to
worry about the database
� Use DB2’s Self Tuning Memory
Manager– Configures DB2 without needing a DBA
– Get your system running quickly in
minutes with little skills or training
– Only need to set one memory parameter
� Impact?– DBAs no longer spend time on menial tasks
– DBAs focus on business critical projects
“The autonomic features are going to save me 30% to
35% of my support costs.”
– Bob Maddocks, Maddocks Systems
Information Management – DB2
© 2008 IBM Corporation13
Reason 4 : Local Integrated Support Structure
Yvonne LeeManager, Software Support
Thomas LoService Delivery Manager
OS Team
May LeungService Delivery Manager
Middleware Team
Mike SuenService Delivery Manager
Account Team
WebSphere
DB2
MQ / WBI
Tivoli
pSeries
iSeries
Kelvin PonDB2 Team Leader
AIX & DB2 AdvisorFred Ho
9 skilled DB2 support
02-Dec-09
Support Centre :
7/F Floor PCCW Tower
Quary Bay, Hong Kong
Information Management – DB2
© 2008 IBM Corporation14
Reason 5 : Hardware Software integrated development( Single Vendor Solution )
Information Management – DB2
© 2008 IBM Corporation15
Integration DB2 with AIX
� Process Exploitation (thread, SMT, NUMAtization of DB2 resources, +++
� Memory Exploitation (larger page sizes, multi page support, co-operative Caching, +++
� Storage Exploitation (Async I/O, Scatter/Gather I/O, CIO, DIO, Atomic LVs+++ Volumes
� Unique Enablement for POWER6 features (Dec Floating Point, Storage Keys)
� Deep integration with AIX APIs
� Exploits xlC for optimal performance using Profile Directed Feedback
� And many, many more …
Information Management – DB2
© 2008 IBM Corporation16
DB2 9.5 - Memory Simplification
� AIX threading greatly simplifies DB2’s memory model –one big flat address space
db2wdog
db2sysc
db2wdog
db2sysc
db2agentUserdb2agent db2loggw
db2cart
db2pcln
BufferPool
LogBuffer
Logs
db2dlock
db2pfchr
Control FileContainers
UserUser db2agent
db2loggr
Information Management – DB2
© 2008 IBM Corporation17
Oracle's own explanation on how thread is better
� http://download.oracle.com/docs/cd/B28359_01/win.111/b32010/architec.htm#i1005670
� A thread-based architecture provides the following advantages:– Faster context switching– Simpler System Global Area allocation routine, because it does not require use of
shared memory– Faster spawning of new connections, because threads are created more quickly than
processes– Decreased memory usage, because threads share more data structures than
processes
� http://download.oracle.com/docs/html/B13831_01/ap_unix.htm#i634536
� On UNIX, Oracle Database uses a process to implement each of such background tasks as database writer (DBW0), log writer (LGWR), shared server process dispatchers, and shared servers. Each dedicated connection made to the database causes another operating system process to be spawned on behalf of that session.
� On Windows, each background process is implemented as a thread inside a single, large process. For each Oracle Database instance or system identifier, there is one corresponding process for Oracle Database.
Information Management – DB2
© 2008 IBM Corporation18
Part of technical advancement in DB2 for WAS
� SQLj deployment in WebSphere Application Server
� PureQuery support in WebSphere Application Server
� ����DB2 trusted context support
� ����Extended DB2 data source support
� DB2 client reroute enhancements in WebSphereApplication Server
� ……
Information Management – DB2
© 2008 IBM Corporation19
DB2 & Websphere
� SQLj deployment in WebSphere Application Server• Installation of SQLj applications from WebSphere Application
Server administrative console. • Customization and binding of DB2 SQLj profiles from
administrative console without the need to uninstall and reinstall applications
Information Management – DB2
© 2008 IBM Corporation20
DB2 now allow both Shared-disk or Shared-Nothing scale out design
-Shared-Nothing
DB2 Database Partitioning Feature
Balance each node with dedicated CPU, memory and storage
-Shared-Disk
DB2 preScale Feature
Balance CPU node with shared disk and memory
Information Management – DB2
© 2008 IBM Corporation21
32 Members
Over 95%
Scalability
64 Members
91% Scalability
88 Members
87% Scalability
112 Members
81% Scalability
The result of shared disk scale out
Number of Members in the Cluster
16 Members
Over 95%
Scalability
2, 4 and 8
Members
Over 95%
Scalability
Information Management – DB2
© 2008 IBM Corporation22
RelationalInterface
DB2
XML
Interface
DB2 Built-in PureXML Engine for native XML data support
DB SERVER
CLIENT
SQL/XML
XQuery
Relational
XML
DB2 Client /Client
Application
� Relational and XML data are stored differently, but closely linked
� SQL to manipulate relational data
� SQL/XML to publish relational data as XML
� XQuery or SQL/XML to query and update XML data � Join Relational and XML data
DB2 Storage:
Engine
Hybrid
Information Management – DB2
© 2008 IBM Corporation23
Application Development
1. Programming Languages:
C ,C++, COBOL, Fortran, Java™ , Perl, PHP, Python, Ruby/Ruby on Rails, REXX™ , C#, VB .NET and other .NET languages
2. Connection Interfaces: ODBC, JDBC, embedded SQL, SQLJ and CLI
3. Development Framework :J2EE, Microsoft .Net Framework, Microsoft LINQ Entity FrameworkOracle Application Development Framework
Information Management – DB2
© 2008 IBM Corporation24
Summary
� You can have a better choice– Time for you to consider on behalf of the company
� IBM can help you to prove and justify – Your choice on IBM database
� Risk is smaller than ever you have imagine– Successfully ported to DB2 before any purchasing
– IBM offer monthly FREE training on DB2
– DB2 will only run faster/cost less resource– DBA tuning job will be reduced and automated
� Break Free From High Database Cost – http://www-01.ibm.com/software/data/db2/lowerdatabasecosts/
Information Management – DB2
© 2008 IBM Corporation25
DB2 Admin Workshop for Oracle DBA
� Date: December 21 - 22, 2009 (Monday- Tueday)� Location: IBM Education Centre 10/F PCCW Tower, 979 King's Road,
Taikoo Place, Quarry Bay, Hong Kong� Format: Classroom presentation with lab exercise
� Agenda� 1. Introduction Overview - DB2 vs Oracle product offering comparisons� 2. Instance Exploration the CLP- Instance management, CLP usage registry variables� 3. Database Exploration- Creating databases and using the Control Center� 4. CLP Plus Oracle compatibility - The new DBA command line tool and creating
PL/SQL objects and more� 5. Data Studio - The newest DBA GUI from IBM� 6. Autonomic computing - STMM, parm config, storage mgmt. utility throttling,
intelligent backup, reorg runstats.� 7. Security Concepts - Authorities, privileges, groups, roles, encryption, label security
more� 8. Explain Facilities the optimizer - Making your queries run efficiently understanding
the DB2 compiler� 9. Monitoring - Snapshots, SQL functions, db2pd, event, Health and Activity monitors� 10. Data Movement Utilities - Load, import, export, db2move, db2look, db2relocatedb
more� 11. Native Backup, Restore, Recovery - Learn core engine functionality for keeping
your data safe