suche 36x36
  • CURSOR Service Distribution
           
     

    CURSOR Service Distribution

    24x7 Always Up

    pfeil
  • Logistics and transportation
           
     

    Logistics and transportation

    24x7 Always Up

    pfeil
  • Industrial environments
           
     

    Industrial environments

    24x7 Always Up

    pfeil
  • Trade and commerce
           
     

    Trade and commerce

    24x7 Always Up

    pfeil
  • Online shopping
           
     

    Online shopping

    24x7 Always Up

    pfeil
  • We care about your databases
           
     

    We care about your databases

    24x7 Always Up

    pfeil
 

Erik Stahlhut

CURSOR Service Distribution

We keep your IBM databases running

             
 

Monitoring Monitoring

Monitoring

  • Companies with existentially important databases trust in our Informix Monitoring. We prevent system failures before they occur.

  • Automated monitoring around the clock. Early detection of bottlenecks based on history data with our CURSOR Admin-Scout.

  • Administration for all installation sizes. Standard, remote or standby administration, up to 24x7 availability for systems with high availability.

  • Individual adjustments to the service levels of our customers with short response times and personal contact persons in support.

Discover more about Informix Monitoring with the CURSOR Service Distribution!
 

ServiceService

Service

  • Requirements from all areas of data management. Service packages or individually agreed projects like:
    • Setup of replications or high availability systems;
    • Performance, runtime analysis, tuning;
    • Release, platform or cloud migration;
    • Access control, encryption, archiving.
  • CURSOR Service Distribution is a long-standing IBM High-Value Service Provider for IBM Informix.

  • Specially for Informix we offer additional online seminars, workshops and training courses.

Information about service and support, so feel free to contact us with your project!
 

SupportSupport

Support

  • Request for support services for IBM databases. Our customers benefit from the competence of more than 25 years of Informix support and system-oriented development of database tools.

  • In case of support we are the first and central contact persons. We have a direct line to the IBM and HCL support departments and are available for our customers with 24x7 agreements around the clock.

  • Even Informix customers without active IBM product maintenance can take advantage of our first-aid support.

Book a support ticket on our website or just call us!
 
 
 
 

IBM Software

for manufacturers

and technology partners

IBM Embedded Solution Agreement (ESA)
integration of IBM software into your solution!

  Service
  • Integrate IBM software into your solution!

  • Benefit from the power of IBM software, take advantage of the attractive conditions for IBM licenses and maintenance!

  • The employees of CURSOR Service Distribution have twenty years of experience in indirect sales of IBM software (OEM/ASL/ESA licensing). We show you how to become an IBM ESA Business Partner!

esa bp werden blue 1000x100

 
 
 
 

CompetenceService

in Informix Administration

 
 

the CURSOR

Admin-Scout for Informix

esa bp werden blue 1000x100

esa bp werden blue 1000x100

 

 

  • The Informix tool right from CURSOR Informix Support.

  • Developed by administrators for administrators.

    With a background of over 25 years of Informix support, administration and system-oriented programming, we have been developing and distributing the Admin Scout since 2015.

  • By our Managed Service approach, the Admin Scout is suitable for almost all application areas of the Informix database system. Our customers are IT departments and administrators in commerce, banks, universities, trade and industry.

 
 
 
 

About us

the CURSOR Service Distribution

  • High-Value Service Provider for IBM Informix.

  • Distribution for IBM Data-Management Software (OEM/ASL/ESA licensing for ISVs).

CURSOR Service Distribution is a business unit of CURSOR Software AG, resulting from the acquisition of the Informix and development tool specialist "Nonne & Schneider" at the end of 2005.

We offer extensive technical services for IBM Informix, and as a high-value service provider we are the direct contact for all our customers' service needs for these databases.

Our services are independent from licensing through our company. Well-known customers rely on our monitoring and use our tools, while licensing and update maintenance are contracted directly with IBM.

 

CURSOR Software AG

For over 25 years CURSOR has been developing and marketing CRM solutions for the upper middle class and large concerns.

  • Together.
    Together with you we will lead your CRM project to success. Our experts offer comprehensive services from a single source: software development, consulting, software introduction, training, support - and the ongoing optimization of your CRM system.

  • Inspiring.
    We "live" CRM and want to inspire you with CRM software and services Made in Germany. The benchmark for this is the enthusiasm and loyalty of our customers - and their customers.

  • Successful.
    For 30 years the name CURSOR has stood for excellent customer and business process management - CRM and BPM. We measure our success by the satisfaction and market success of our customers. Learn more about successful CRM projects directly from our customers.

 
 
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC71982 Status: Closed

NESTED-LOOP JOIN WITH EARLYOUT FOR GROUPBY CLAUSES, YIELDS INCORRECT
RESULTS WHEN JOIN COLUMNS ARE OF DIFFERENT DATA TYPES

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
When a query that meets all the following conditions is 
executed, fewer results may be returned: 
- Several tables are joined using columns with different data 
types 
- Nested-loop join is selected as the join method 
- The output from the nested-loop join method is included into 
the Group by clause and the Early Out flag is marked as GROUPBY 
 
The following scenarios indicate the problem: 
 
1. Joining two tables with different data types. To demonstrate 
this problem, create two tables for the test.  Create the tables 
such that the columns being joined (t1.i1 and t2.i1) have 
different data types. 
create table t1 (i1 bigint not null, c2 char(250)) 
create index i1 on t1 (i1) 
create table t2 (i1 smallint not null, i2 bigint) 
create index i2 on t2 (i1,i2) 
2. Run the query with different data types (bigint and smallint) 
in predicate and the result goes directly into the Group by 
clause. 
select t2.i1, max(t2.i2) from t1, t2 where t1.i1=t2.i1 group by 
t2.i1 
3. When the Nested-loop join is selected as the join method. 
 
Access Plan: 
----------- 
        Total Cost:             22.8806 
        Query Degree:           1 
              Rows 
             RETURN 
             (   1) 
              Cost 
               I/O 
               | 
               99 
             GRPBY 
             (   2) 
             22.8709 
                3 
               | 
               99 
             ^NLJOIN 
             (   3) 
             22.8655 
                3 
         /-----+------\ 
       99             12.1111 
     IXSCAN           IXSCAN 
     (   4)           (   5) 
    0.0455361         7.57676 
        0                1 
       |                | 
       99              1199 
 INDEX: DB2INST1   INDEX: DB2INST1 
       I1               I2 
       Q2               Q1 
        3) NLJOIN: (Nested Loop Join) 
                Arguments: 
                --------- 
                EARLYOUT: (Early Out flag) 
                        GROUPBY 
                Predicates: 
                ---------- 
                3) Predicate used in Join 
                        Predicate Text: 
                        -------------- 
                        (Q2."I1" = Q1."I1") 
 
In addition, the following message may be seen in the 
db2diag.log: 
 
2011-02-09-18.07.54.671541+060 I891882A2516       LEVEL: Severe 
PID     : 4567040              TID  : 23716       PROC : db2sysc 
1 
INSTANCE: instdb               NODE : 001         DB   : SAMPLE 
APPHDL  : 1-48010              APPID: APP1 
AUTHID  : AUTH1 
EDUID   : 23716                EDUNAME: db2agent (SAMPLE) 1 
FUNCTION: DB2 UDB, data services, sqlrxcon, probe:219 
DATA #1 : String, 117 bytes 
ASSERTION FAILED!!! 
ASSERTION EXPRESSION: convertNumRc == 0 
SOURCE FILE NAME: sqlrxcon.C 
SOURCE FILE LINE NUMBER: 208 
DATA #2 : Codepath, 8 bytes 
0 
DATA #3 : String, 72 bytes 
CONTACT DB2 SERVICE, assert a numeric conversion has 
unexpectedly failed 
DATA #4 : String, 13 bytes 
convertNumRc: 
DATA #5 : Hex integer, 4 bytes 
0x80160008 
... 
 
with the following stack: 
 
CALLSTCK: 
  [0] 0x0900000005FDA0BC pdLog + 0xEC 
  [1] 0x0900000005B3E91C sqlrxcon2__FP8SQLRXNLSP10sqlz_valueT2 + 
0x210 
  [2] 0x0900000005B845CC 
@147@keypartnd__FP7SQLI_CBP10sqlz_valuePPcP17COMP_FUNC_ELEMENTPl 
+ 0x24 
  [3] 0x09000000068CB03C 
sqliComparePrefixCompPg__FP7SQLI_CBP14SQLI_PAGE_DESCP8SQLD_KEYP1 
2SQLI_KEYDATAP9SQLI_SLOTPlP14COMP_FUNC_VECTPc 
+ 0xAF8 
  [4] 0x09000000068D43EC 
sqliComparePrefixCompPg__FP7SQLI_CBP14SQLI_PAGE_DESCP8SQLD_KEYP1 
2SQLI_KEYDATAP9SQLI_SLOTPlP14COMP_FUNC_VECTPc@glue634 
+ 0x74 
  [5] 0x0900000005F2784C 
sqliCompareGeneric__FP7SQLI_CBP14SQLI_PAGE_DESCP8SQLD_KEYP12SQLI 
_KEYDATAP9SQLI_SLOTPlP14COMP_FUNC_VECTPc 
+ 0x4 
  [6] 0x09000000068E6898 
sqliSearchFromCache__FP7SQLI_CBP11SQLI_SFGLOBPUl + 0x46C 
  [7] 0x090000000608A0E0 
.sqlirdk.fdpr.clone.2009__FP8sqeAgentP10SQLI_IXPCRP9SQLD_IXCBUlP 
8SQLD_KEYP12SQLI_KEYDATAP9sqli_scanPi 
+ 0x50 
  [8] 0x0900000005F67564 
.sqldIndexFetch.fdpr.clone.290__FP8SQLD_CCBP8SQLZ_RID + 0x1A4 
  [9] 0x0900000005F67D9C 
sqldRowFetch__FP8sqeAgentP8SQLD_CCBUlT3PP10SQLD_VALUEP8SQLZ_RIDT 
3P12SQLD_ID_LISTP9SQLP_LSN8 
+ 0x55C 
 
Under some conditions, the instance may trap.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* When a query that meets all the following conditions is      * 
* executed, fewer results may be returned:                     * 
* - Several tables are joined using columns with different     * 
* data types                                                   * 
* - Nested-loop join is selected as the join method            * 
* - The output from the nested-loop join method is included    * 
* into the Group by clause and the Early Out flag is marked as * 
* GROUPBY                                                      * 
*                                                              * 
* The following scenarios indicate the problem:                * 
*                                                              * 
* 1. Joining two tables with different data types. To          * 
* demonstrate this problem, create two tables for the test.    * 
* Create the tables such that the columns being joined (t1.i1  * 
* and t2.i1) have different data types.                        * 
* create table t1 (i1 bigint not null, c2 char(250))           * 
* create index i1 on t1 (i1)                                   * 
* create table t2 (i1 smallint not null, i2 bigint)            * 
* create index i2 on t2 (i1,i2)                                * 
* 2. Run the query with different data types (bigint and       * 
* smallint) in predicate and the result goes directly into the * 
* Group by clause.                                             * 
* select t2.i1, max(t2.i2) from t1, t2 where t1.i1=t2.i1 group * 
* by t2.i1                                                     * 
* 3. When the Nested-loop join is selected as the join method. * 
*                                                              * 
* Access Plan:                                                 * 
* -----------                                                  * 
*         Total Cost:             22.8806                      * 
*         Query Degree:           1                            * 
*               Rows                                           * 
*              RETURN                                          * 
*              (   1)                                          * 
*               Cost                                           * 
*                I/O                                           * 
*                |                                             * 
*                99                                            * 
*              GRPBY                                           * 
*              (   2)                                          * 
*              22.8709                                         * 
*                 3                                            * 
*                |                                             * 
*                99                                            * 
*              ^NLJOIN                                         * 
*              (   3)                                          * 
*              22.8655                                         * 
*                 3                                            * 
*          /-----+------\                                      * 
*        99             12.1111                                * 
*      IXSCAN           IXSCAN                                 * 
*      (   4)           (   5)                                 * 
*     0.0455361         7.57676                                * 
*         0                1                                   * 
*        |                |                                    * 
*        99              1199                                  * 
*  INDEX: DB2INST1   INDEX: DB2INST1                           * 
*        I1               I2                                   * 
*        Q2               Q1                                   * 
*         3) NLJOIN: (Nested Loop Join)                        * 
*                 Arguments:                                   * 
*                 ---------                                    * 
*                 EARLYOUT: (Early Out flag)                   * 
*                         GROUPBY                              * 
*                 Predicates:                                  * 
*                 ----------                                   * 
*                 3) Predicate used in Join                    * 
*                         Predicate Text:                      * 
*                         --------------                       * 
*                         (Q2."I1" = Q1."I1")                  * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 UDB Version 9.5 fix pack 7.                   * 
**************************************************************** 
Users affected: All users. 
Problem Description: Using the nested-loop join method, with 
earlyout indicator for groupby clauses, yields incorrect 
results when join columns are of different data types. 
. 
The problem occurs when the nested-loop join method, along with 
EARLYOUT indicator for groupby clauses, is used with a join 
clause that joins two columns with different data types. 
.
Local Fix:
Execute the following and then recycle the instance: 
db2set DB2_REDUCED_OPTIMIZATION=NO_NLJN_EO_FOR_GB
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
This problem was first fixed in DB2 UDB Version 9.5 fix pack 7.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC73581 IC73582 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.10.2010
05.01.2011
18.02.2011
Problem solved at the following versions (IBM BugInfos)
9.5.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.7 FixList
9.5.0.7 FixList