Db2 Version,Release,Modpacks,Fixpacks and Interim Fixes
Posted: December 30, 2017 Filed under: DB2, DB2 LUW, Uncategorized | Tags: DB2, DB2 LUW Leave a comment11.1.2.3 iFix001
11 (Version) seperatedly licensed, major feature changes,starts 5 year maintenance clock,download from Passport Advantage
1 (Release) Minor but significant feature changes,starts 5 year maintenance clock,download from Passport Advantage
2 (Modpack) Can include new functionality,does not start new maintenance clock, download from Fix Central
3 (Fixpack) Cumulative update of all available fixes and APARs,does not start new maintenance clock,download from Fix Central
iFix001 (iFix – Interim Fix) Tested and verified set of small number of key fixes and APARs,cumulative,Downloads found on Fix Central,Supported for the maintenance life of the Version.Release.
SQL1227N during replaying db2look -m output
Posted: September 28, 2016 Filed under: DB2, DB2 10.5, Uncategorized | Tags: DB2 LUW Leave a comment
http://www-01.ibm.com/support/docview.wss?uid=swg21991415
db2look -m -r
The “-r” option is used to generate db2look output without runstats command output. However, current db2look code cannot reset SYSSTAT.COLUMNS and SYSSTAT.INDEXES when -r is applied. As a result, SQL1227N sometimes occur when applying the mimic when COLCARD etc, and CARD for the table is inconsistent. In db2look up to version in V10.5 please use db2look -m without -r option or insert resetting SYSSTAT.COLUMNS and SYSSTAT.INDEXES manually in db2look output with “-m” and “-r”. This limitation will be changed in releases later than V10.5. In most cases it should not cause SQL1227N error, but still the error can occur when the statistics on the source system is inconsistent. Here are examples:
Why COLCARD is sometimes bigger than CARD after RUNSTATS?
http://www.ibm.com/support/docview.wss?uid=swg21985376
Runstats may update unexpected HIGH2KEY and LOW2KEY statistic values which may cause SQL1227N
http://www.ibm.com/support/docview.wss?uid=swg21979066
As documented in above technotes, you can bypass the error by setting following undocumented registry variable even if the statistics are inconsistent:
db2set DB2_STATISTICS=USCC:0
recycle the instance
This registry variable can be used from 9.7FP9/10.1FP4/10.5.
Slow crash recovery in DB2 due to replaying load pending operations
Posted: April 9, 2015 Filed under: DB2 | Tags: DB2 Leave a commentSlow crash recovery in DB2 due to replaying load pending operations
DB2 LUW Highlights
Posted: April 4, 2015 Filed under: DB2 | Tags: DB2 Leave a commentError “Namekey conflict with lock-file /tmp/SQLDIR.LK0. Trying another lock” in db2diag log file
DB2 Commands do not work after a version upgrade
DB2 licensing checks
Posted: March 28, 2015 Filed under: DB2, Licensing | Tags: DB2, Licensing Leave a commentDB2 License compliance report returns a VIOLATION status against a certain feature
Run license compliant report
db2licm -g /tmp/report.out ; cat /tmp/report.out
LIC1440I License compliance report generated successfully.
License Compliance Report
DB2 Enterprise Server Edition In compliance
DB2 Database Partitioning: “Not used”
DB2 Performance Optimization ESE: “Not used”
DB2 Storage Optimization: “Violation”
DB2 Advanced Access Control: “Not used”
DB2 Geodetic Data Management: “Not used”
IBM Homogeneous Replication ESE: “Not used”
So the DB2 Storage Optimization feature is in “VIOLATION”
Check if violation item is licensed
db2licm -l
Product name: “DB2 Enterprise Server Edition”
License type: “CPU Option”
Expiry date: “Permanent”
Product identifier: “db2ese”
Version information: “9.7”
Enforcement policy: “Soft Stop”
Features:
DB2 Performance Optimization ESE: “Not licensed”
DB2 Storage Optimization: “Not licensed”
DB2 Advanced Access Control: “Not licensed”
DB2 Geodetic Data Management: “Not licensed”
IBM Homogeneous Replication ESE: “Not licensed”
It would mean that the license for the feature in “Violation” has not been applied.
Run queries to check what is using the features in violation
For the DB2 Advanced Access Control Feature:
Check for tables that use label based access control (LBAC).
Run the following command against every database in every instance in the DB2 copy:
SELECT TABSCHEMA, TABNAME
FROM SYSCAT.TABLES
WHERE SECPOLICYID>0
For the DB2 Performance Optimization Feature:
Check whether there are any materialized query tables.
Run the following command against every database in every instance in the DB2 copy:
SELECT OWNER, TABNAME
FROM SYSCAT.TABLES WHERE TYPE=’S’
Check whether there are any multidimensional cluster tables.
Run the following command against every database in every instance in the DB2 copy:
SELECT A.TABSCHEMA, A.TABNAME, A.INDNAME, A.INDSCHEMA
FROM SYSCAT.INDEXES A, SYSCAT.TABLES B
WHERE (A.TABNAME=B.TABNAME AND A.TABSCHEMA=B.TABSCHEMA)
AND A.INDEXTYPE=’BLOK’
Check whether any of your instances use query parallelism (also known as interquery parallelism).
Run the following command once in each instance in the DB2 copy:
SELECT NAME, VALUE
FROM SYSIBMADM.DBMCFG
WHERE NAME IN (‘intra_parallel’)
Check if connection concentrator is enabled. Run the following command against every instance in the DB2 copy:
db2 get dbm cfg
This command displays the current values of database manager configuration parameters including
MAX_CONNECTIONS and MAX_COORDAGENTS. If the value of the MAX_CONNECTIONS is greater than the
value of the MAX_COORDAGENTS then connection concentrator is enabled. If you are not using
DB2 Enterprise Server Edition, DB2 Advanced Enterprise Server Edition, or DB2 Connect™ Server
products, ensure that connection concentrator is disabled. This is because connection concentrator
is only supported for DB2 Enterprise Server Edition, DB2 Advanced Enterprise Server Edition, or
DB2 Connect Server products.
For the DB2 Storage Optimization Feature:
Check if any tables have row level compression enabled.
Run the following command against every database in every instance in the DB2 copy:
SELECT TABSCHEMA, TABNAME
FROM SYSCAT.TABLES
WHERE COMPRESSION IN (‘R’, ‘B’)
Check if any indexes have compression enabled.
Run the following command against every database in every instance in the DB2 copy:
SELECT TABSCHEMA, TABNAME, INDNAME, COMPRESSION
FROM SYSCAT.INDEXES
WHERE COMPRESSION = ‘Y’
Check if any compression dictionary still exists for a table that has row level compression deactivated.
Run the following command against every database in every instance in the DB2 copy:
SELECT TABSCHEMA, TABNAME
FROM SYSIBMADM.ADMINTABINFO
WHERE DICTIONARY_SIZE <> 0 OR XML_DICTIONARY_SIZE <> 0
Note: This query might be resource intensive and might take a long time to run.
Run this query only if Storage Optimization license violations are being reported
even though there are no tables that have row level compression enabled.
DB2 IDUG Prague dinners!
Posted: November 9, 2014 Filed under: DB2, IDUG Leave a commentFor today (Sunday) dinner register to CA Technologies DB2 User Day http://www.ca.com/gb/lpg/idug-2014/user-day.aspx
For all the dinners http://www.idug.org/p/cm/ld/fid=535
DB2 10.5 Fixpack 4 known issues.
Posted: October 22, 2014 Filed under: DB2, DB2 10.5 Leave a comment1 known issue – db2 update db cfg error http://www-01.ibm.com/support/docview.wss?uid=swg21686677&myns=swgimgmt&mynp=OCSSEPGG&mync=E
IBM Data Server Manager – Beta
Posted: September 21, 2014 Filed under: DB2, Informix Leave a commentJust signed up for IBM Data Server Manager Beta
https://www.ibm.com/developerworks/community/blogs/ibmdsm/entry/announcement?lang=en