Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

A comparison review of DB2 9 Releases


Published on

A quick review features in of different different releases (DB2 9.1, 9.5, 9.7) of DB2 V9.

Published in: Technology
  • Be the first to comment

A comparison review of DB2 9 Releases

  1. 1. A comparison & review of DB2 9.* versions Deepak G Rao, IBM
  2. 2. CONTENTS <ul><li>Introduction </li></ul><ul><li>Roadmap </li></ul><ul><li>DB2 Viper (V9.1) </li></ul><ul><li>DB2 Viper2 (V9.5) </li></ul><ul><li>DB2 Cobra (V9.7) </li></ul><ul><li>Summary & Reference </li></ul><ul><li>Q&A </li></ul><ul><li>Thank You </li></ul>
  3. 3. Roadmap
  4. 4. DB2 Viper (V9.1) <ul><li>DB2 9.1 (All V8.2 Features +) </li></ul><ul><li>1 st DB2 version which provides native XML/ XQuery facility </li></ul><ul><li>Table Compression for reduced disk cost </li></ul><ul><li>Support for 64-bit client </li></ul><ul><li>Range Partitioning for data of time series in nature </li></ul><ul><li>Introduction of LBAC feature </li></ul><ul><li>Separation of Administrative role (SYSADM) & Security/Audit role (SECADM) </li></ul><ul><li>Simpler memory management with STMM </li></ul><ul><li>ALTER TABLE command can change column attributes without necessity to rename/drop tables </li></ul><ul><li>Automatic Storage for multi-partitioned databases </li></ul><ul><li>Autonomics (reorg, backup, runstats) </li></ul><ul><li>Introduction of SYSIBMADM views </li></ul>
  5. 5. DB2 Viper2 (V9.5) <ul><li>DB2 9.5 (All V9.1 Features +) </li></ul><ul><li>Remove Process model limitation by moving to multi-threaded architecture - Avoids Context switching between processes - Eliminates most Agent level configuration parameter - Single knob to control memory for an entire DB2 Node </li></ul><ul><li>Support for non-root DB2 Installation </li></ul><ul><li>Automatic execution of db2iupdt and dasupdt after a fix pack migration </li></ul><ul><li>Single view of Partitioned Database (commands like backup, reorg, cfg updates have DBPARTITIONNUM parameter) </li></ul><ul><li>Compression Enhancement - Automatically Compress a Table without DBA intervention - Automatic Dictionary creation upon table reaching pre-determined size </li></ul><ul><li>Removes need for DBA to manually run INSPECT or reorganize all tables </li></ul><ul><li>Introduction of WLM for optimized resource management </li></ul><ul><li>SYSIBMADM snapshot views </li></ul><ul><li>Faster MDC rollouts & JIT statistics </li></ul><ul><li>Regulatory compliance - Enhanced Auditing - Better Identity Assertion in a three-tier environment to efficiently propagated to the database server </li></ul><ul><li>XML data can now be stored in non-UNICODE databases </li></ul><ul><li>Support of ARRAY data type in SQL (Great improvement for vectored data) </li></ul><ul><li>Optimistic Locking feature to avoid maintaining locks for long time </li></ul><ul><li>Reduced locks in transaction by &quot;ROW CHANGE TOKEN FOR&quot; clause </li></ul><ul><li>Updated scalar functions </li></ul>
  6. 6. DB2 Cobra (V9.7) <ul><li>DB2 9.7 (All V9.5 Features +) </li></ul><ul><li>Oracle Enablement </li></ul><ul><ul><ul><li>- Enable Oracle code on as-it-is condition by DB2_COMPATIBILITY_VECTOR registry parameter. </li></ul></ul></ul><ul><ul><ul><li>- Similar to Oracle's &quot;Currently committed&quot; Isolation available </li></ul></ul></ul><ul><ul><ul><li>- Almost 95% of ORACLE functionality are supported by DB2 directly without porting. </li></ul></ul></ul><ul><ul><ul><li>- Built-in Native compiler can now run Oracle code (PL SQL, Data types, SQL, triggers, SQL+ scripts) natively </li></ul></ul></ul><ul><ul><ul><li>- Online schema changes allowed </li></ul></ul></ul><ul><li>Compression </li></ul><ul><ul><ul><li>- Indexes are compressed automatically when Tables compression is enabled. </li></ul></ul></ul><ul><ul><ul><li>- Temporary tables can now be compressed (just like regular tables) </li></ul></ul></ul><ul><li>Enriched DPF features </li></ul><ul><ul><ul><li>- XML is now supported in DPF databases </li></ul></ul></ul><ul><ul><ul><li>- Ability to create local Indexes specific to each partition </li></ul></ul></ul><ul><ul><ul><li>- Support of statistics collection at table level or Partition level </li></ul></ul></ul><ul><li>SQL & performance Development </li></ul><ul><ul><ul><li>- support for weak data typing (great for PERL, RUBY, PHP...) </li></ul></ul></ul><ul><ul><ul><li>- support for new data types </li></ul></ul></ul><ul><ul><ul><li>- support for new built in scalar functions </li></ul></ul></ul><ul><ul><ul><li>- scan sharing for efficient parallelism of SQL runs </li></ul></ul></ul><ul><ul><ul><li>- Statement concentrator for better Access Plan utilization & reduced compile time </li></ul></ul></ul><ul><ul><ul><li>- &quot;Currently committed&quot; semantics so that readers don’t block writers and vice versa. </li></ul></ul></ul>
  7. 7. DB2 Cobra (V9.7) <ul><li>...cont’d </li></ul><ul><li>Enhanced WLM </li></ul><ul><ul><ul><li>- New thresholds (ESTIMATED*, SQL*, ACTIVITY*,CPU*, AGG*) </li></ul></ul></ul><ul><ul><ul><li>- We can now allocate wildcards for similar workload groupings </li></ul></ul></ul><ul><ul><ul><li>- Integration between the DB2 WLM and the LINUX/AIX WLM </li></ul></ul></ul><ul><li>New Security features </li></ul><ul><ul><ul><li>- SQLADM & WLMADM added along with SYSADM & SECADM to segregate different areas of focus </li></ul></ul></ul><ul><ul><ul><li>- Support for SSL & TLS @ DB connectivity level </li></ul></ul></ul><ul><ul><ul><li>- User id/password encryption using AES Encryption </li></ul></ul></ul><ul><li>Manageability improvements </li></ul><ul><ul><ul><li>- Convert SMS/DMS tablespaces into Automatic storage using ALTER TABLESPACE/DATABASE commands </li></ul></ul></ul><ul><ul><ul><li>- Partitions can be added & activated online (no need to restart the Instance for discovery) </li></ul></ul></ul><ul><ul><ul><li>- Using stored procedure ADMIN_MOVE_TABLE Table data can be moved online to other tables </li></ul></ul></ul><ul><ul><ul><li>- DESCRIBE INDEXES... command can now be used on XML indexes </li></ul></ul></ul><ul><li>Enhancements to monitoring </li></ul><ul><ul><ul><li>- SNAP_*() table functions now fall under three levels; system, activity and data object </li></ul></ul></ul><ul><ul><ul><li>- MON_GET_PKG_CACHE_STMT allows both Dynamic & Static (new!!!) SQL's to be monitored </li></ul></ul></ul><ul><li>Cloud Computing </li></ul><ul><ul><ul><li>- DB2 9.7 works on Public Clouds (Amazon AMI's) & as well as Private cloud infrastructure. </li></ul></ul></ul><ul><ul><ul><li>- Web 2.0 Apps ready </li></ul></ul></ul>
  8. 8. Summary & Reference <ul><li>Summary: </li></ul><ul><li>With the release of 9.7, DB2 has evolved from an already good product into a genuinely great one. </li></ul><ul><li>With it's many benefits, migrating to DB2 9.7 is a sound choice for BMO to lower cost & increase Performance, Security, Reliability. </li></ul><ul><li>Reference: </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>
  9. 9. Q & A ???
  10. 10. Thank YOU !! Merci !!