SlideShare a Scribd company logo
Advantages of migrating to
IBM DB2® v11.1
Rajesh Pandhare.
Tieto India Pvt. Limited.
Agenda
• PART I – IBM DB2 v 11.1 Upgrade Essentials.
• PART II – IBM DB2 v 11.1 Enhancements and Advantages.
Below snapshot is taken from The DB2Night Show™ #189
End of Service and Marketing DB2 9.7 and DB2 10.1
announced
• DB2 10.5 end of marketing, on September 30th, 2016
• End of marketing means that customers will not be able to purchase DB2 10.5 after the end of September
2016.
• Customers are still able to get copies of DB2 10.5 if required.
• Customers continue to get service and support for DB2 10.5 since end of service is not being announced
now.
• DB2 9.7 and DB2 10.1 end of service, on September 30th, 2017
• For those customers running either DB2 9.7 or DB2 10.1, they will need to begin planning on upgrading to
either DB2 10.5 or DB2 11.1.
• Extended support contracts available (up to September 30, 2020)
• BLU Acceleration Business Value Offerings (BVO)
• Encryption Offering and Business Application Continuity Offering
IBM DB2 11.1 Upgrade Options
• Upgrade directly from 9.7 instead of having to go through another version, such as 10.1 or
10.5.
DB2 v 9.7
DB2 v 10.1
DB2 v 10.5DB2 v 11.1
IBM DB2 11.1 Upgrade Options
• If you are upgrading from IBM DB2 10.5 Fix Pack 7 (Single Partition DB2 or
DB2 pureScale) or later then,
• Upgrade is now recoverable operation
• Recovery procedure involving roll-forward through database upgrade now exists.
• No longer mandatory to take offline backup image during upgrade procedure
• HADR can now be upgraded without need to re-initialize standby database after perform upgrade on
primary database.
• Eliminate cost of sending backup image to standby site for re-initialization.
• Re-initialization of standby is still an option if the user wishes, but not recommended option.
• Both primary and standby databases should be at minimum DB2 10.5 Fix Pack 7 level.
Product packaging for IBM DB2 11.1
• DB2 Express-C
• Free, entry-level edition of DB2 data server for developer and partner community.
• Includes self-management features and embodies all of core capabilities.
• Can be used for development and deployment at no charge and can be distributed with
third-party solutions without any royalties to IBM.
• Refreshed at major release milestones. Comes with online community-based assistance.
• No DB2 add-on offerings can be added.
• No DB2 Express Server Edition in DB2 11.1
• DB2 Developer Edition
• Includes all DB2 server editions, DB2 Connect Enterprise Edition, allowing you to build solutions that use
latest data server technologies.
• Cannot be used for production systems. Must acquire separate user license for each Authorized User of
this product.
• DB2 Performance Management Offering included
Product packaging for IBM DB2 11.1
• DB2 Workgroup Server Edition
• Places limits on processor and memory.
• Includes Data Server Manager Base, which requires separate installation.
• DB2 Performance Management Offering can be added by activating license.
• DB2 Enterprise Server Edition
• No processor, memory, or database size limits.
• Includes all functions found in DB2 WSE plus materialized query tables.
• includes Data Server Manager Base which requires separate installation
• DB2 Performance Management Offering can be added by activating license.
Product packaging for IBM DB2 11.1
• DB2 Advanced Enterprise Server Edition
• No processor, memory, or database size limits.
• Includes all functions found in DB2 Enterprise Server Edition plus column organized tables, in-memory database,
data compression, workload management, replication, and distributed partitioning capability.
• Includes full complement of warehouse tools and Data Server Manager Enterprise. Included tools must be
installed separately.
• Functionality provided by DB2 Performance Management Offering.
• DB2 Advanced Workgroup Server Edition
• Similar to DB2 Advanced ESE, except places limits on processor and memory.
Basics of IBM DB2 v11.1 Upgrade
• Refer IBM DB2 11.1 Knowledge center for details of installation and upgrade process.
• Test upgrade process on non-production server first.
• Set up DB2 11.1 test server and create test databases.
• Determine what issues are and how to resolve, Use this information to adjust upgrade plan.
• Learn how to upgrade each component of your DB2 environment and create your upgrade plan.
• Environment has several components such as DB2 servers, DB2 clients, database applications, scripts,
routines and tools.
• Determine the order in which you are going to upgrade each component.
• Create and follow below checklists,
• Upgrade prerequisites
• Pre-upgrade tasks
• Upgrade tasks
• Post-upgrade tasks
DB2 INSTALLATION METHODS
• Linux
• ./db2setup -I /temp/db2setup.Iog -t /tmp/db2setup.trc
• ./db2setup -r responsefile directory/response file
• Windows
• setup -l c:tempdb2setup.log -t c:tmpdb2setup.trc
• setup -u c:responsefile_directoryresponse_file
• DB2 Setup Wizard
• Must have X window software on Linux capable of rendering GUI.
• To update existing DB2 copy and update all instances running on this DB2 copy, select Work
with Existing in Install a Product panel. Then select DB2 copy want to update with update action.
• To install new DB2 copy and selectively update instances running on existing DB2 copy to new
copy after installation, select Install New in Install a Product panel.
• db2 install is deprecated and might be removed in future release
Advantages to DB2 Express-C users
• How can I change or limit the amount of memory used by a DB2 data server?
• You can use the instance_memory database manager configuration parameter to specify
the maximum amount of memory that the database manager is allowed to allocate from its
private and shared memory heaps.
• There is memory usage limit for DB2 Express-C Edition
• DB2 Express-C v9.7 (no charge, non-warranted)
• Up to two processor cores
• No more than 4 GB of memory divided between your instances
• DB2 Express-C v11.1 (no charge, non-warranted)
• RAM: 16GB, CPU: 1 sockets, 2 cores, Database size: 15 TB!
• To Compare :
• Oracle 11g Express, RAM: 1GB, CPU: 1 sockets, 1 core (1 CPU in specs), Database size: max 11 GB
(Refer: http://www.oracle.com/technetwork/articles/sql/11g-xe-quicktour-498681.html)
• Microsoft SQL Server 2012 Express, RAM: 1 GB, CPU: 1 socket, 4 cores, Database size: max 10 GB
(Refer: https://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx)
Performance Improvement for high concurrent workload
• Run a number of performance tests before upgrading your DB2 server.
• The db2batch benchmark tool helps you to collect elapsed and CPU times for running
queries. You can use this tool to develop performance tests.
• Also, keep a record of the db2exfmt command output for each test query. Compare the results
before and after upgrade. This practice can help to identify and correct any performance degradation
that might occur.
• For our test environments we used below db2batch command to collect before and after
performance test results,
• db2batch —d DBNAME —f PerfTestLoad.sql —r AfterUpOut.fil —i complete —o e yes —isol CS
• Before Environment – DB2 v 9.7 FP5
• After Environment – DB2 v 11.1
• Overall timing improvement, we got is around is 48% just by upgrading to DB2 v 11.1
• Workload we tested is typical OLTP Payment processing highly concurrent queries.
Database Manager CFG Parameter Changes
• MON_HEAP_SZ
• Range of MON_HEAP_SZ extended on 64-bit instances from 0-2,147,483,647.
• INSTANCE_ MEMORY
• Can now specify INSTANCE_MEMORY limit by calculating percentage of available
RAM divided by number of local partitions, or specify memory limit as number of 4KB pages.
• AUTOMATIC (Default) Computed value ranges between 75 percent and 95 percent of system
memory.
• 1 - 100: Specifies instance memory limit by calculating percentage of available RAM divided by
number of local partitions. In-memory value is updated at member startup time to reflect calculated
number of 4KB pages. Used to set DB2's percentage consumption of total RAM on machine in DB2
instances with heterogeneous machine hardware configurations.
• 101 - system memory capacity. Specifies memory limit as number of 4KB pages. Also represents
tuning target if STMM is enabled.
Database CFG Parameter Changes
• APPLHEAPSZ
• Range of APPLHEAPSZ extended on 64-bit instances from 16 - 2,147,483,647. It also changed from
Uint16 type to Uint64 type.
• CATALOGCACHE_SZ
• Range of CATALOGCACHE_SZ extended on 64-bit instances from 8 - 2,147,483,647.
• DBHEAP
• Range of DBHEAP extended on both 32-bit and 64-bit instances from 32 - 2,147,483,647.
• STAT_HEAP_SZ
• Range of STAT_HEAP_SZ extended on 64-bit instances from 1 ,096 - 2,147,483,647.
• STMTHEAP
• Range of STMTHEAP extended on 64 bit instances from 128 - 2,147,483,647.
Administration Improvements
• DB2 11.1 includes a number of administrative enhancements that
DBAs will find useful. Four of them that are highlighted here include:
• Range Partition Table Reorganization
• A single partition of a range partitioned table can now be reorganized with the
INPLACE option if:
• Table has no global index (i.e. non-partitioned indexes)
• ON DATA PARTITION is specified
• The reorganization can only occur on one data partition at a time, and the table must
be at least three pages in size.
• ADMIN_MOVE_TABLE improvements
• Two new options in the ADMIN_MOVE_TABLE command:
• REPORT
• TERM
Administration Improvements
• DB2 History File Backup
• The DB2 history file contains information about log file archive location, log file chain, etc.
• If you use snapshot backups you want to have current information about log file location to
perform point in time recovery (RECOVER command). RECOVER needs a current version of the
history file to be available.
• db2 "BACKUP DB <alias> NO TABLESPACE to /histbkup"
• db2 "RESTORE DB <alias> FROM /histbkup HISTORY FILE"
• Remote Storage
• DB2 11.1 delivers more flexibility and options for acquiring, sharing and storing data files and
backup images, by allows customers to use remote storage for several DB2 utilities:
• INGEST, LOAD, BACKUP, and RESTORE
• DB2 supports remote storage using storage aliases for:
• IBM® SoftLayer® Object Storage
• Amazon Simple Storage Service (S3)
• LOAD FROM <remotefilename>
CREATE TABLE Extensions
• CREATE TABLE can now use SELECT clause to generate table definition and populate
table with data
• CREATE TABLE TABTEMP AS (SELECT FROM TABLE1) WITH DATA ;
• CREATE TABLE AS_EMP AS (SELECT EMPNO, SALARY+BONUS FROM EMPLOYEE)
DEFINITION ONLY;
• SQL0153N The statement does not include a required column list. SQLSTATE=42908
• CREATE TABLE AS_EMP AS (SELECT EMPNO, SALARY+BONUS AS PAY FROM EMPLOYEE)
DEFINITION ONLY;
• Allow you to override column names or select specific columns
• CREATE TABLE TABTEMP (ZIP) AS
(SELECT ZIP_CODE FROM TABLE1) DEFINITION ONLY;
• Can populate data directly into new table but beware of logging!
• CREATE TABLE TABTEMP (ZIP, STATE) AS
( SELECT ZIP CODE, STATE CODE FROM TABLE1
WHERE DIVISION =19
) WITH DATA ;
SQL Extensions
• OFFSET Extension in FETCH FIRST Clause
• SELECT LASTNAME FROM EMPLOYEE OFFSET 5 ROWS FETCH FIRST 5 ROWS ONLY;
• CREATE TABLE AS_EMP (DEPARTMENT, LASTNAME) AS
(SELECT WORKDEPT, LASTNAME FROM EMPLOYEE
OFFSET 5 ROWS FETCH FIRST 10 ROWS ONLY ) WITH DATA;
• You can also limit the number of rows that are used in a subselect.
• The FETCH FIRST n ROWS ONLY and OFFSET clause can also be specified using a
simpler LIMIT/OFFSET syntax.
• LIMIT x OFFSET y = OFFSET y ROWS FETCH FIRST x ROWS ONLY
• SELECT LASTNAME FROM EMPLOYEE LIMIT 5 OFFSET 5;
Regular Expressions
• DB2 11.1 introduced support for regular expressions.
• Regular expressions allow you to do very complex pattern matching in character strings.
• REGEXP_FUNCTION(source, pattern, flags, start_pos, codeunits)
• SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,‘Chennai');
• Symbol ‘^’ can be used to force the match to occur at the beginning of a string
• Symbol ‘$’ can be used to force the match to occur at the end of a string
• match more than one pattern
• SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'way|ing');
• Result = (Ealing Broadway, Notting Hill Gate, Queensway, Barkingside)
• Match pattern zero or more times,
• SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'(ing)*.(way)');
• Result = (Ealing Broadway, Queensway)
• The following example checks for station names that begin with the letter P-R
• SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'^[P-R]');
• Result = (Ruislip Gardens, Perivale, Redbridge)
BLU Sort Processing Enhancements
• DB2 11.1 includes sort innovations, PARADIS, from the IBM TJ Watson Research
division.
• PARADIS is an efficient parallel algorithm for in-place Radix sort.
• parallel sort
• able to sort compressed and encoded data
• More efficient and improved performance as processing is performed within the BLU engine.
• The access plans will show what part of the processing is done in the row engine vs the BLU engine.
• All parts below the "CTQ” evaluator are done in the BLU engine.
• More details on PARADIS can be found in the IBM Research Paper:
• http://www.vldb.org/pvldb/vol8/p1518-cho.pdf
Compatibility Features with Other Database Vendors
• Outer Join Operator
• In DB2 11.1, the outer join operator is available by default and does not require the DBA to turn on Oracle
compatibility.
• Oracle keyword: "(+)“appears in the WHERE clause and refers to a column of the inner table in a left outer
join.
• SELECT DEPTNAME, LASTNAME FROM DEPARTMENT D, EMPLOYEE E
WHERE D.DEPTNO = E.WORKDEPT (+);
 In DB2 11.1 limit of CHAR has been increased to 255 from 254.
 DB2 11.1 introduces two new binary data types: BINARY and VARBINARY.
• INT2, INT4, INT8, FLOAT4, FLOAT8 these datatypes can be used while table creation,
but If you describe the contents of a table, you will see the DB2 types displayed, not these
synonym types.
DSMTOP
• DSMTOP is replacement of DB2TOP
• dsmtop -d sample -n localhost -r 50000 -u payusr
• Very lightweight, low overhead, text only.
• Monitoring accomplished by using mon_get table functions not old snapshots so lightweight
• Can monitor DB2 10.1 and above, even if u not on 11.1 u cam download it and use.
• Now includes metrics for
• BLU
• PURESCALE
• Workload management
• REORG is covered now
• Win Platform is supported
• Also additional easy menus for fresh DBA’s
• Provides Sessions, Running SQL, Top Consumers, Time spent. All these are very useful for debugging perf
bottlenecks.
DB2 11.1 eBook and Resources
• URL for all DB2 Resources including the eBook
– https://ibm.ent.box.com/v/DB2v11eBook
• IBM® DB2® 11.1 for Linux, UNIX and Windows Knowledge Center
• The DB2Night Show™ #177: Part 1: What's New in DB2 LUW V11
• The DB2Night Show™ #178: Part 2: DB2 LUW V11.1 Deep Dive on BLU and Analytics
• The DB2Night Show™ #179: Part 3: DB2 LUW V11.1 Deep Dive on OLTP and pureScale
• The DB2Night Show™ #182: DB2 LUW V11.1 Upgrade Best Practices and Tips!
Advantages of migrating to
IBM DB2® v11.1
Rajesh Pandhare.
Tieto India Pvt. Limited.

More Related Content

What's hot

Upgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 PlanningUpgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 Planning
Marna Walle
 
Upgrade to IBM z/OS V2.4 planning
Upgrade to IBM z/OS V2.4 planningUpgrade to IBM z/OS V2.4 planning
Upgrade to IBM z/OS V2.4 planning
Marna Walle
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRV
Kenny Gryp
 
Navigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern DatabasesNavigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern Databases
Shivji Kumar Jha
 
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops
 
Upgrade to V2.5 Plan and Tech Actions.pdf
Upgrade to V2.5 Plan and Tech Actions.pdfUpgrade to V2.5 Plan and Tech Actions.pdf
Upgrade to V2.5 Plan and Tech Actions.pdf
Marna Walle
 
Presentation db2 connections to db2 for z os
Presentation   db2 connections to db2 for z osPresentation   db2 connections to db2 for z os
Presentation db2 connections to db2 for z os
xKinAnx
 
Automating a PostgreSQL High Availability Architecture with Ansible
Automating a PostgreSQL High Availability Architecture with AnsibleAutomating a PostgreSQL High Availability Architecture with Ansible
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
Upgrade to zOS V2.5 - Planning and Tech Actions.pdf
Upgrade to zOS V2.5 - Planning and Tech Actions.pdfUpgrade to zOS V2.5 - Planning and Tech Actions.pdf
Upgrade to zOS V2.5 - Planning and Tech Actions.pdf
Marna Walle
 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs
PGConf APAC
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex Cluster
Maaz Anjum
 
Infrastructure Planning and Design
Infrastructure Planning and DesignInfrastructure Planning and Design
Infrastructure Planning and Design
Sergi Duró
 
Architecture for building scalable and highly available Postgres Cluster
Architecture for building scalable and highly available Postgres ClusterArchitecture for building scalable and highly available Postgres Cluster
Architecture for building scalable and highly available Postgres Cluster
Ashnikbiz
 
Backup and-recovery2
Backup and-recovery2Backup and-recovery2
Backup and-recovery2
Command Prompt., Inc
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
Mohamed Zakarya Abdelgawad
 
MySQL Performance - Best practices
MySQL Performance - Best practices MySQL Performance - Best practices
MySQL Performance - Best practices
Ted Wennmark
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
Frederic Descamps
 
Best practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recoveryBest practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recovery
Florence Dubois
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12c
Alfredo Krieg
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability Methods
Mydbops
 

What's hot (20)

Upgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 PlanningUpgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 Planning
 
Upgrade to IBM z/OS V2.4 planning
Upgrade to IBM z/OS V2.4 planningUpgrade to IBM z/OS V2.4 planning
Upgrade to IBM z/OS V2.4 planning
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRV
 
Navigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern DatabasesNavigating Transactions: ACID Complexity in Modern Databases
Navigating Transactions: ACID Complexity in Modern Databases
 
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
 
Upgrade to V2.5 Plan and Tech Actions.pdf
Upgrade to V2.5 Plan and Tech Actions.pdfUpgrade to V2.5 Plan and Tech Actions.pdf
Upgrade to V2.5 Plan and Tech Actions.pdf
 
Presentation db2 connections to db2 for z os
Presentation   db2 connections to db2 for z osPresentation   db2 connections to db2 for z os
Presentation db2 connections to db2 for z os
 
Automating a PostgreSQL High Availability Architecture with Ansible
Automating a PostgreSQL High Availability Architecture with AnsibleAutomating a PostgreSQL High Availability Architecture with Ansible
Automating a PostgreSQL High Availability Architecture with Ansible
 
Upgrade to zOS V2.5 - Planning and Tech Actions.pdf
Upgrade to zOS V2.5 - Planning and Tech Actions.pdfUpgrade to zOS V2.5 - Planning and Tech Actions.pdf
Upgrade to zOS V2.5 - Planning and Tech Actions.pdf
 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex Cluster
 
Infrastructure Planning and Design
Infrastructure Planning and DesignInfrastructure Planning and Design
Infrastructure Planning and Design
 
Architecture for building scalable and highly available Postgres Cluster
Architecture for building scalable and highly available Postgres ClusterArchitecture for building scalable and highly available Postgres Cluster
Architecture for building scalable and highly available Postgres Cluster
 
Backup and-recovery2
Backup and-recovery2Backup and-recovery2
Backup and-recovery2
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
 
MySQL Performance - Best practices
MySQL Performance - Best practices MySQL Performance - Best practices
MySQL Performance - Best practices
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
 
Best practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recoveryBest practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recovery
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12c
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability Methods
 

Similar to Advantages of migrating to db2 v11.1

DB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer ExperiencesDB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer Experiences
John Campbell
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]
Laura Hood
 
IMS09 ims v14 higlights
IMS09   ims v14 higlightsIMS09   ims v14 higlights
IMS09 ims v14 higlights
Robert Hain
 
Db2 10 memory management uk db2 user group june 2013
Db2 10 memory management   uk db2 user group june 2013Db2 10 memory management   uk db2 user group june 2013
Db2 10 memory management uk db2 user group june 2013
Carol Davis-Mann
 
DB2 10 Webcast #1 Overview And Migration Planning
DB2 10 Webcast #1   Overview And Migration PlanningDB2 10 Webcast #1   Overview And Migration Planning
DB2 10 Webcast #1 Overview And Migration Planning
Carol Davis-Mann
 
DB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration PlanningDB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration Planning
Laura Hood
 
DB2 10 Smarter Database - IBM Tech Forum
DB2 10 Smarter Database   - IBM Tech ForumDB2 10 Smarter Database   - IBM Tech Forum
DB2 10 Smarter Database - IBM Tech Forum
Surekha Parekh
 
DB210 Smarter Database IBM Tech Forum 2011
DB210 Smarter Database   IBM Tech Forum 2011DB210 Smarter Database   IBM Tech Forum 2011
DB210 Smarter Database IBM Tech Forum 2011
Laura Hood
 
Reliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics acceleratorReliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics accelerator
bupbechanhgmail
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
Antonios Chatzipavlis
 
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
Surekha Parekh
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
Surekha Parekh
 
IBM Analytics Accelerator Trends & Directions Namk Hrle
IBM Analytics Accelerator  Trends & Directions Namk Hrle IBM Analytics Accelerator  Trends & Directions Namk Hrle
IBM Analytics Accelerator Trends & Directions Namk Hrle
Surekha Parekh
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
bupbechanhgmail
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of Scalability
Laura Hood
 
1) planning
1) planning1) planning
1) planning
guptavikki99
 
Db2 blu acceleration and more
Db2 blu acceleration and moreDb2 blu acceleration and more
Db2 blu acceleration and more
IBM Sverige
 
IMS05 IMS V14 8gb osam for haldb
IMS05   IMS V14 8gb osam for haldbIMS05   IMS V14 8gb osam for haldb
IMS05 IMS V14 8gb osam for haldb
Robert Hain
 
engage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVEengage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVE
Christoph Adler
 
Enterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional DatabasesEnterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional Databases
Ashnikbiz
 

Similar to Advantages of migrating to db2 v11.1 (20)

DB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer ExperiencesDB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer Experiences
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]
 
IMS09 ims v14 higlights
IMS09   ims v14 higlightsIMS09   ims v14 higlights
IMS09 ims v14 higlights
 
Db2 10 memory management uk db2 user group june 2013
Db2 10 memory management   uk db2 user group june 2013Db2 10 memory management   uk db2 user group june 2013
Db2 10 memory management uk db2 user group june 2013
 
DB2 10 Webcast #1 Overview And Migration Planning
DB2 10 Webcast #1   Overview And Migration PlanningDB2 10 Webcast #1   Overview And Migration Planning
DB2 10 Webcast #1 Overview And Migration Planning
 
DB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration PlanningDB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration Planning
 
DB2 10 Smarter Database - IBM Tech Forum
DB2 10 Smarter Database   - IBM Tech ForumDB2 10 Smarter Database   - IBM Tech Forum
DB2 10 Smarter Database - IBM Tech Forum
 
DB210 Smarter Database IBM Tech Forum 2011
DB210 Smarter Database   IBM Tech Forum 2011DB210 Smarter Database   IBM Tech Forum 2011
DB210 Smarter Database IBM Tech Forum 2011
 
Reliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics acceleratorReliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics accelerator
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
 
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
 
IBM Analytics Accelerator Trends & Directions Namk Hrle
IBM Analytics Accelerator  Trends & Directions Namk Hrle IBM Analytics Accelerator  Trends & Directions Namk Hrle
IBM Analytics Accelerator Trends & Directions Namk Hrle
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of Scalability
 
1) planning
1) planning1) planning
1) planning
 
Db2 blu acceleration and more
Db2 blu acceleration and moreDb2 blu acceleration and more
Db2 blu acceleration and more
 
IMS05 IMS V14 8gb osam for haldb
IMS05   IMS V14 8gb osam for haldbIMS05   IMS V14 8gb osam for haldb
IMS05 IMS V14 8gb osam for haldb
 
engage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVEengage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVE
 
Enterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional DatabasesEnterprise PostgreSQL - EDB's answer to conventional Databases
Enterprise PostgreSQL - EDB's answer to conventional Databases
 

Recently uploaded

Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
74nqk8xf
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
zsjl4mimo
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
kuntobimo2016
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 

Recently uploaded (20)

Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 

Advantages of migrating to db2 v11.1

  • 1. Advantages of migrating to IBM DB2® v11.1 Rajesh Pandhare. Tieto India Pvt. Limited.
  • 2. Agenda • PART I – IBM DB2 v 11.1 Upgrade Essentials. • PART II – IBM DB2 v 11.1 Enhancements and Advantages.
  • 3. Below snapshot is taken from The DB2Night Show™ #189
  • 4. End of Service and Marketing DB2 9.7 and DB2 10.1 announced • DB2 10.5 end of marketing, on September 30th, 2016 • End of marketing means that customers will not be able to purchase DB2 10.5 after the end of September 2016. • Customers are still able to get copies of DB2 10.5 if required. • Customers continue to get service and support for DB2 10.5 since end of service is not being announced now. • DB2 9.7 and DB2 10.1 end of service, on September 30th, 2017 • For those customers running either DB2 9.7 or DB2 10.1, they will need to begin planning on upgrading to either DB2 10.5 or DB2 11.1. • Extended support contracts available (up to September 30, 2020) • BLU Acceleration Business Value Offerings (BVO) • Encryption Offering and Business Application Continuity Offering
  • 5. IBM DB2 11.1 Upgrade Options • Upgrade directly from 9.7 instead of having to go through another version, such as 10.1 or 10.5. DB2 v 9.7 DB2 v 10.1 DB2 v 10.5DB2 v 11.1
  • 6. IBM DB2 11.1 Upgrade Options • If you are upgrading from IBM DB2 10.5 Fix Pack 7 (Single Partition DB2 or DB2 pureScale) or later then, • Upgrade is now recoverable operation • Recovery procedure involving roll-forward through database upgrade now exists. • No longer mandatory to take offline backup image during upgrade procedure • HADR can now be upgraded without need to re-initialize standby database after perform upgrade on primary database. • Eliminate cost of sending backup image to standby site for re-initialization. • Re-initialization of standby is still an option if the user wishes, but not recommended option. • Both primary and standby databases should be at minimum DB2 10.5 Fix Pack 7 level.
  • 7. Product packaging for IBM DB2 11.1 • DB2 Express-C • Free, entry-level edition of DB2 data server for developer and partner community. • Includes self-management features and embodies all of core capabilities. • Can be used for development and deployment at no charge and can be distributed with third-party solutions without any royalties to IBM. • Refreshed at major release milestones. Comes with online community-based assistance. • No DB2 add-on offerings can be added. • No DB2 Express Server Edition in DB2 11.1 • DB2 Developer Edition • Includes all DB2 server editions, DB2 Connect Enterprise Edition, allowing you to build solutions that use latest data server technologies. • Cannot be used for production systems. Must acquire separate user license for each Authorized User of this product. • DB2 Performance Management Offering included
  • 8. Product packaging for IBM DB2 11.1 • DB2 Workgroup Server Edition • Places limits on processor and memory. • Includes Data Server Manager Base, which requires separate installation. • DB2 Performance Management Offering can be added by activating license. • DB2 Enterprise Server Edition • No processor, memory, or database size limits. • Includes all functions found in DB2 WSE plus materialized query tables. • includes Data Server Manager Base which requires separate installation • DB2 Performance Management Offering can be added by activating license.
  • 9. Product packaging for IBM DB2 11.1 • DB2 Advanced Enterprise Server Edition • No processor, memory, or database size limits. • Includes all functions found in DB2 Enterprise Server Edition plus column organized tables, in-memory database, data compression, workload management, replication, and distributed partitioning capability. • Includes full complement of warehouse tools and Data Server Manager Enterprise. Included tools must be installed separately. • Functionality provided by DB2 Performance Management Offering. • DB2 Advanced Workgroup Server Edition • Similar to DB2 Advanced ESE, except places limits on processor and memory.
  • 10. Basics of IBM DB2 v11.1 Upgrade • Refer IBM DB2 11.1 Knowledge center for details of installation and upgrade process. • Test upgrade process on non-production server first. • Set up DB2 11.1 test server and create test databases. • Determine what issues are and how to resolve, Use this information to adjust upgrade plan. • Learn how to upgrade each component of your DB2 environment and create your upgrade plan. • Environment has several components such as DB2 servers, DB2 clients, database applications, scripts, routines and tools. • Determine the order in which you are going to upgrade each component. • Create and follow below checklists, • Upgrade prerequisites • Pre-upgrade tasks • Upgrade tasks • Post-upgrade tasks
  • 11. DB2 INSTALLATION METHODS • Linux • ./db2setup -I /temp/db2setup.Iog -t /tmp/db2setup.trc • ./db2setup -r responsefile directory/response file • Windows • setup -l c:tempdb2setup.log -t c:tmpdb2setup.trc • setup -u c:responsefile_directoryresponse_file • DB2 Setup Wizard • Must have X window software on Linux capable of rendering GUI. • To update existing DB2 copy and update all instances running on this DB2 copy, select Work with Existing in Install a Product panel. Then select DB2 copy want to update with update action. • To install new DB2 copy and selectively update instances running on existing DB2 copy to new copy after installation, select Install New in Install a Product panel. • db2 install is deprecated and might be removed in future release
  • 12. Advantages to DB2 Express-C users • How can I change or limit the amount of memory used by a DB2 data server? • You can use the instance_memory database manager configuration parameter to specify the maximum amount of memory that the database manager is allowed to allocate from its private and shared memory heaps. • There is memory usage limit for DB2 Express-C Edition • DB2 Express-C v9.7 (no charge, non-warranted) • Up to two processor cores • No more than 4 GB of memory divided between your instances • DB2 Express-C v11.1 (no charge, non-warranted) • RAM: 16GB, CPU: 1 sockets, 2 cores, Database size: 15 TB! • To Compare : • Oracle 11g Express, RAM: 1GB, CPU: 1 sockets, 1 core (1 CPU in specs), Database size: max 11 GB (Refer: http://www.oracle.com/technetwork/articles/sql/11g-xe-quicktour-498681.html) • Microsoft SQL Server 2012 Express, RAM: 1 GB, CPU: 1 socket, 4 cores, Database size: max 10 GB (Refer: https://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx)
  • 13. Performance Improvement for high concurrent workload • Run a number of performance tests before upgrading your DB2 server. • The db2batch benchmark tool helps you to collect elapsed and CPU times for running queries. You can use this tool to develop performance tests. • Also, keep a record of the db2exfmt command output for each test query. Compare the results before and after upgrade. This practice can help to identify and correct any performance degradation that might occur. • For our test environments we used below db2batch command to collect before and after performance test results, • db2batch —d DBNAME —f PerfTestLoad.sql —r AfterUpOut.fil —i complete —o e yes —isol CS • Before Environment – DB2 v 9.7 FP5 • After Environment – DB2 v 11.1 • Overall timing improvement, we got is around is 48% just by upgrading to DB2 v 11.1 • Workload we tested is typical OLTP Payment processing highly concurrent queries.
  • 14. Database Manager CFG Parameter Changes • MON_HEAP_SZ • Range of MON_HEAP_SZ extended on 64-bit instances from 0-2,147,483,647. • INSTANCE_ MEMORY • Can now specify INSTANCE_MEMORY limit by calculating percentage of available RAM divided by number of local partitions, or specify memory limit as number of 4KB pages. • AUTOMATIC (Default) Computed value ranges between 75 percent and 95 percent of system memory. • 1 - 100: Specifies instance memory limit by calculating percentage of available RAM divided by number of local partitions. In-memory value is updated at member startup time to reflect calculated number of 4KB pages. Used to set DB2's percentage consumption of total RAM on machine in DB2 instances with heterogeneous machine hardware configurations. • 101 - system memory capacity. Specifies memory limit as number of 4KB pages. Also represents tuning target if STMM is enabled.
  • 15. Database CFG Parameter Changes • APPLHEAPSZ • Range of APPLHEAPSZ extended on 64-bit instances from 16 - 2,147,483,647. It also changed from Uint16 type to Uint64 type. • CATALOGCACHE_SZ • Range of CATALOGCACHE_SZ extended on 64-bit instances from 8 - 2,147,483,647. • DBHEAP • Range of DBHEAP extended on both 32-bit and 64-bit instances from 32 - 2,147,483,647. • STAT_HEAP_SZ • Range of STAT_HEAP_SZ extended on 64-bit instances from 1 ,096 - 2,147,483,647. • STMTHEAP • Range of STMTHEAP extended on 64 bit instances from 128 - 2,147,483,647.
  • 16. Administration Improvements • DB2 11.1 includes a number of administrative enhancements that DBAs will find useful. Four of them that are highlighted here include: • Range Partition Table Reorganization • A single partition of a range partitioned table can now be reorganized with the INPLACE option if: • Table has no global index (i.e. non-partitioned indexes) • ON DATA PARTITION is specified • The reorganization can only occur on one data partition at a time, and the table must be at least three pages in size. • ADMIN_MOVE_TABLE improvements • Two new options in the ADMIN_MOVE_TABLE command: • REPORT • TERM
  • 17. Administration Improvements • DB2 History File Backup • The DB2 history file contains information about log file archive location, log file chain, etc. • If you use snapshot backups you want to have current information about log file location to perform point in time recovery (RECOVER command). RECOVER needs a current version of the history file to be available. • db2 "BACKUP DB <alias> NO TABLESPACE to /histbkup" • db2 "RESTORE DB <alias> FROM /histbkup HISTORY FILE" • Remote Storage • DB2 11.1 delivers more flexibility and options for acquiring, sharing and storing data files and backup images, by allows customers to use remote storage for several DB2 utilities: • INGEST, LOAD, BACKUP, and RESTORE • DB2 supports remote storage using storage aliases for: • IBM® SoftLayer® Object Storage • Amazon Simple Storage Service (S3) • LOAD FROM <remotefilename>
  • 18. CREATE TABLE Extensions • CREATE TABLE can now use SELECT clause to generate table definition and populate table with data • CREATE TABLE TABTEMP AS (SELECT FROM TABLE1) WITH DATA ; • CREATE TABLE AS_EMP AS (SELECT EMPNO, SALARY+BONUS FROM EMPLOYEE) DEFINITION ONLY; • SQL0153N The statement does not include a required column list. SQLSTATE=42908 • CREATE TABLE AS_EMP AS (SELECT EMPNO, SALARY+BONUS AS PAY FROM EMPLOYEE) DEFINITION ONLY; • Allow you to override column names or select specific columns • CREATE TABLE TABTEMP (ZIP) AS (SELECT ZIP_CODE FROM TABLE1) DEFINITION ONLY; • Can populate data directly into new table but beware of logging! • CREATE TABLE TABTEMP (ZIP, STATE) AS ( SELECT ZIP CODE, STATE CODE FROM TABLE1 WHERE DIVISION =19 ) WITH DATA ;
  • 19. SQL Extensions • OFFSET Extension in FETCH FIRST Clause • SELECT LASTNAME FROM EMPLOYEE OFFSET 5 ROWS FETCH FIRST 5 ROWS ONLY; • CREATE TABLE AS_EMP (DEPARTMENT, LASTNAME) AS (SELECT WORKDEPT, LASTNAME FROM EMPLOYEE OFFSET 5 ROWS FETCH FIRST 10 ROWS ONLY ) WITH DATA; • You can also limit the number of rows that are used in a subselect. • The FETCH FIRST n ROWS ONLY and OFFSET clause can also be specified using a simpler LIMIT/OFFSET syntax. • LIMIT x OFFSET y = OFFSET y ROWS FETCH FIRST x ROWS ONLY • SELECT LASTNAME FROM EMPLOYEE LIMIT 5 OFFSET 5;
  • 20. Regular Expressions • DB2 11.1 introduced support for regular expressions. • Regular expressions allow you to do very complex pattern matching in character strings. • REGEXP_FUNCTION(source, pattern, flags, start_pos, codeunits) • SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,‘Chennai'); • Symbol ‘^’ can be used to force the match to occur at the beginning of a string • Symbol ‘$’ can be used to force the match to occur at the end of a string • match more than one pattern • SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'way|ing'); • Result = (Ealing Broadway, Notting Hill Gate, Queensway, Barkingside) • Match pattern zero or more times, • SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'(ing)*.(way)'); • Result = (Ealing Broadway, Queensway) • The following example checks for station names that begin with the letter P-R • SELECT STATION FROM CENTRAL_LINE WHERE REGEXP_LIKE(STATION,'^[P-R]'); • Result = (Ruislip Gardens, Perivale, Redbridge)
  • 21. BLU Sort Processing Enhancements • DB2 11.1 includes sort innovations, PARADIS, from the IBM TJ Watson Research division. • PARADIS is an efficient parallel algorithm for in-place Radix sort. • parallel sort • able to sort compressed and encoded data • More efficient and improved performance as processing is performed within the BLU engine. • The access plans will show what part of the processing is done in the row engine vs the BLU engine. • All parts below the "CTQ” evaluator are done in the BLU engine. • More details on PARADIS can be found in the IBM Research Paper: • http://www.vldb.org/pvldb/vol8/p1518-cho.pdf
  • 22. Compatibility Features with Other Database Vendors • Outer Join Operator • In DB2 11.1, the outer join operator is available by default and does not require the DBA to turn on Oracle compatibility. • Oracle keyword: "(+)“appears in the WHERE clause and refers to a column of the inner table in a left outer join. • SELECT DEPTNAME, LASTNAME FROM DEPARTMENT D, EMPLOYEE E WHERE D.DEPTNO = E.WORKDEPT (+);  In DB2 11.1 limit of CHAR has been increased to 255 from 254.  DB2 11.1 introduces two new binary data types: BINARY and VARBINARY. • INT2, INT4, INT8, FLOAT4, FLOAT8 these datatypes can be used while table creation, but If you describe the contents of a table, you will see the DB2 types displayed, not these synonym types.
  • 23. DSMTOP • DSMTOP is replacement of DB2TOP • dsmtop -d sample -n localhost -r 50000 -u payusr • Very lightweight, low overhead, text only. • Monitoring accomplished by using mon_get table functions not old snapshots so lightweight • Can monitor DB2 10.1 and above, even if u not on 11.1 u cam download it and use. • Now includes metrics for • BLU • PURESCALE • Workload management • REORG is covered now • Win Platform is supported • Also additional easy menus for fresh DBA’s • Provides Sessions, Running SQL, Top Consumers, Time spent. All these are very useful for debugging perf bottlenecks.
  • 24. DB2 11.1 eBook and Resources • URL for all DB2 Resources including the eBook – https://ibm.ent.box.com/v/DB2v11eBook • IBM® DB2® 11.1 for Linux, UNIX and Windows Knowledge Center • The DB2Night Show™ #177: Part 1: What's New in DB2 LUW V11 • The DB2Night Show™ #178: Part 2: DB2 LUW V11.1 Deep Dive on BLU and Analytics • The DB2Night Show™ #179: Part 3: DB2 LUW V11.1 Deep Dive on OLTP and pureScale • The DB2Night Show™ #182: DB2 LUW V11.1 Upgrade Best Practices and Tips!
  • 25. Advantages of migrating to IBM DB2® v11.1 Rajesh Pandhare. Tieto India Pvt. Limited.