Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: A very strange issue with an complex view.

Posted By: Chris Salch
Date: Wednesday, 7 November 2007, at 8:09 p.m.

In Response To: A very strange issue with an complex view. (Chris Salch)

I've attached an sqexplain on a similar query, if that might help.

On Wed, 2007-11-07 at 19:30 -0500, Chris Salch wrote:
> IBM Informix Dynamic Server Version 9.40.HC5
> HPUX 11iV1
>
> I have a very weird issue with a very complex set of views. Here is
> what I'm seeing:
>
> SELECT
>
> bucket, id
> FROM
>
> lu_ar_bucket_vw
> WHERE
>
> bucket=5
> ;
>
> bucket id
> --------- -------
> 8 2058987
> 8 2078673
> 8 2059319
> 8 2062939
> * snip *

QUERY:
------
create view "informix".lu_ar_prog_vw
(id,bal_act,debit_flag,prog,deggrp,enr_date,last_class_date) as select
x0.suba_no ,x0.bal_act ,(x0.bal_act >
'0.00' ) ,x1.prog ,x1.deggrp ,x1.enr_date ,(select max(x4.end_date )
from ("informix".cw_rec x3 left join "informix".sec_rec x4 on
(((((x4.crs_no = x3.crs_no ) AND (x4.sec_no = x3.sec ) ) AND (x4.cat =
x3.cat ) ) AND (x4.sess = x3.sess ) ) AND (x4.yr = x3.yr ) ) )where
((x3.stat = 'R' ) AND (x3.id = x0.suba_no ) ) ) from
(("informix".suba_rec x0 join "informix".prog_enr_rec x1 on (x0.id =
x1.id ) )join "informix".prog_enr_rec x2 on (x0.id = x2.id ) )where
(((x0.subs = 'S/A' ) AND (x0.bal_act != '0.00' ) ) AND (x1.subprog IN
('EC' ,'NG' ,'NU' )) ) group by
x0.suba_no ,x0.bal_act ,3 ,x1.prog ,x1.deggrp ,x1.enr_date ,7 having
(x1.enr_date = max(x2.enr_date ) ) ;

Estimated Cost: 4144
Estimated # of Rows Returned: 70
Temporary Files Required For: Group By

1) informix.suba_rec: INDEX PATH

Filters: informix.suba_rec.bal_act != $0.00

(1) Index Keys: subs

Lower Index Filter: informix.suba_rec.subs = 'S/A'

2) informix.prog_enr_rec: INDEX PATH

Filters: informix.prog_enr_rec.subprog IN ('EC' , 'NG' ,
'NU' )

(1) Index Keys: id prog site

Lower Index Filter: informix.suba_rec.id =
informix.prog_enr_rec.id

ON-Filters:informix.suba_rec.id = informix.prog_enr_rec.id

NESTED LOOP JOIN

3) informix.prog_enr_rec: INDEX PATH

(1) Index Keys: id prog site

Lower Index Filter: informix.suba_rec.id =
informix.prog_enr_rec.id

ON-Filters:informix.suba_rec.id = informix.prog_enr_rec.id

NESTED LOOP JOIN

PostJoin-Filters:(((informix.suba_rec.subs = 'S/A' AND
informix.suba_rec.bal_act != $0.00 ) AND informix.prog_enr_rec.subprog
IN ('EC' , 'NG' , 'NU' )) AND CASE WHEN informix.prog_enr_rec.deggrp
LIKE 'W/D%' THEN 10 WHEN informix.prog_enr_rec.deggrp LIKE 'SAB%'
THEN 9 WHEN <subquery> = t THEN 8 WHEN <subquery> = t THEN 7 WHEN
<subquery> = t THEN 6 WHEN <subquery> = t THEN 5 WHEN <subquery> = t
THEN 4 WHEN <subquery> = t THEN 3 WHEN <subquery> = t THEN 2 ELSE 1
END= 2 )

Subquery:

---------

Estimated Cost: 1

Estimated # of Rows Returned: 1

1) salchc.x1: INDEX PATH

Filters: salchc.x1.stat = 'C'

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x1.id =
informix.suba_rec.suba_no AND salchc.x1.tick = 'FY06' )

Key-First Filters: (salchc.x1.resrc = 'ISIR' )

(2) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x1.id =
informix.suba_rec.suba_no AND salchc.x1.tick = 'FY07' )

Key-First Filters: (salchc.x1.resrc = 'ISIR' )

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 2

Estimated # of Rows Returned: 1

1) salchc.x2: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x2.id =
informix.suba_rec.suba_no

2) salchc.x3: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x3.id = salchc.x2.id AND
salchc.x3.tick = 'FY06' )

Key-First Filters: (salchc.x3.resrc = 'NRF7' )

ON-Filters:(salchc.x3.id = salchc.x2.id AND (salchc.x3.tick
= 'FY06' AND salchc.x3.resrc = 'NRF7' ) )

NESTED LOOP JOIN

3) salchc.x4: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x4.id = salchc.x2.id AND
salchc.x4.tick = 'FY07' )

Key-First Filters: (salchc.x4.resrc = 'NRF8' )

ON-Filters:(salchc.x4.id = salchc.x2.id AND (salchc.x4.tick =
'FY07' AND salchc.x4.resrc = 'NRF8' ) )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x2.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 2

Estimated # of Rows Returned: 1

1) salchc.x5: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x5.id =
informix.suba_rec.suba_no

2) salchc.x6: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x6.id = salchc.x5.id AND
salchc.x6.tick = 'FY06' )

Key-First Filters: (salchc.x6.resrc = 'FAC7' )

ON-Filters:(salchc.x6.id = salchc.x5.id AND (salchc.x6.tick
= 'FY06' AND salchc.x6.resrc = 'FAC7' ) )

NESTED LOOP JOIN

3) salchc.x7: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x7.id = salchc.x5.id AND
salchc.x7.tick = 'FY07' )

Key-First Filters: (salchc.x7.resrc = 'FAC8' )

ON-Filters:(salchc.x7.id = salchc.x5.id AND (salchc.x7.tick =
'FY07' AND salchc.x7.resrc = 'FAC8' ) )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x5.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 6

Estimated # of Rows Returned: 1

1) salchc.x8: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x8.id =
informix.suba_rec.suba_no

2) salchc.x9: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc
(Key-First)

Lower Index Filter: (salchc.x9.id = salchc.x8.id
AND salchc.x9.tick = 'FY06' )

Key-First Filters: (salchc.x9.resrc = 'FAC7' )

ON-Filters:(salchc.x9.id = salchc.x8.id AND
(salchc.x9.tick = 'FY06' AND salchc.x9.resrc = 'FAC7' ) )

NESTED LOOP JOIN

3) salchc.x10: INDEX PATH

(1) Index Keys: id ay_slot bbay_entry_id (Key-Only)
(Serial, fragments: ALL)

Lower Index Filter: (salchc.x10.id = salchc.x8.id
AND salchc.x10.ay_slot = 2 )

ON-Filters:(salchc.x10.id = salchc.x8.id AND
salchc.x10.ay_slot = 2 )

NESTED LOOP JOIN

4) salchc.x11: INDEX PATH

Filters: salchc.x11.beg_date > TODAY + 30

(1) Index Keys: bbay_entry_id (Serial, fragments: ALL)

Lower Index Filter: salchc.x10.bbay_entry_id =
salchc.x11.bbay_entry_id

ON-Filters:(salchc.x10.bbay_entry_id = salchc.x11.bbay_entry_id
AND salchc.x11.beg_date > TODAY + 30 )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x8.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 7

Estimated # of Rows Returned: 1

1) salchc.x12: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x12.id =
informix.suba_rec.suba_no

2) salchc.x13: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc
(Key-First)

Lower Index Filter: (salchc.x13.id =
salchc.x12.id AND salchc.x13.tick = 'FY06' )

Key-First Filters: (salchc.x13.resrc =
'FAC7' )

ON-Filters:(salchc.x13.id = salchc.x12.id AND
(salchc.x13.tick = 'FY06' AND salchc.x13.resrc = 'FAC7' ) )

NESTED LOOP JOIN

3) salchc.x14: INDEX PATH

(1) Index Keys: id ay_slot bbay_entry_id
(Key-Only) (Serial, fragments: ALL)

Lower Index Filter: (salchc.x14.id =
salchc.x12.id AND salchc.x14.ay_slot = 2 )

ON-Filters:(salchc.x14.id = salchc.x12.id AND
salchc.x14.ay_slot = 2 )

NESTED LOOP JOIN

4) salchc.x15: INDEX PATH

Filters: salchc.x15.beg_date <= TODAY + 30

(1) Index Keys: bbay_entry_id (Serial, fragments: ALL)

Lower Index Filter: salchc.x14.bbay_entry_id =
salchc.x15.bbay_entry_id

ON-Filters:(salchc.x14.bbay_entry_id =
salchc.x15.bbay_entry_id AND salchc.x15.beg_date <= TODAY + 30 )

NESTED LOOP JOIN

5) salchc.x16: INDEX PATH

Filters: salchc.x16.stat = 'C'

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x16.id = salchc.x12.id AND
salchc.x16.tick = 'FY07' )

Key-First Filters: (salchc.x16.resrc = 'ISIR' )

ON-Filters:(((salchc.x16.id = salchc.x12.id AND salchc.x16.resrc
= 'ISIR' ) AND salchc.x16.stat = 'C' ) AND salchc.x16.tick = 'FY07' )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x12.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 7

Estimated # of Rows Returned: 1

1) salchc.x17: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x17.id =
informix.suba_rec.suba_no

2) salchc.x18: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc
(Key-First)

Lower Index Filter: (salchc.x18.id =
salchc.x17.id AND salchc.x18.tick = 'FY06' )

Key-First Filters: (salchc.x18.resrc =
'FAC7' )

ON-Filters:(salchc.x18.id = salchc.x17.id AND
(salchc.x18.tick = 'FY06' AND salchc.x18.resrc = 'FAC7' ) )

NESTED LOOP JOIN

3) salchc.x19: INDEX PATH

(1) Index Keys: id ay_slot bbay_entry_id
(Key-Only) (Serial, fragments: ALL)

Lower Index Filter: (salchc.x19.id =
salchc.x17.id AND salchc.x19.ay_slot = 2 )

ON-Filters:(salchc.x19.id = salchc.x17.id AND
salchc.x19.ay_slot = 2 )

NESTED LOOP JOIN

4) salchc.x20: INDEX PATH

Filters: salchc.x20.beg_date <= TODAY + 30

(1) Index Keys: bbay_entry_id (Serial, fragments: ALL)

Lower Index Filter: salchc.x19.bbay_entry_id =
salchc.x20.bbay_entry_id

ON-Filters:(salchc.x19.bbay_entry_id =
salchc.x20.bbay_entry_id AND salchc.x20.beg_date <= TODAY + 30 )

NESTED LOOP JOIN

5) salchc.x21: INDEX PATH

Filters: salchc.x21.stat = 'C'

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x21.id = salchc.x17.id AND
salchc.x21.tick = 'FY07' )

Key-First Filters: (salchc.x21.resrc = 'ISIR' )

ON-Filters:(((salchc.x21.id = salchc.x17.id AND salchc.x21.resrc
= 'ISIR' ) AND salchc.x21.stat = 'C' ) AND salchc.x21.tick = 'FY07' )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x17.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

Subquery:

---------

Estimated Cost: 7

Estimated # of Rows Returned: 1

1) salchc.x22: INDEX PATH

(1) Index Keys: id (Key-Only)

Lower Index Filter: salchc.x22.id =
informix.suba_rec.suba_no

2) salchc.x23: INDEX PATH

(1) Index Keys: tick id cmpl_date resrc
(Key-First)

Lower Index Filter: (salchc.x23.id =
salchc.x22.id AND salchc.x23.tick = 'FY06' )

Key-First Filters: (salchc.x23.resrc =
'FAC7' )

ON-Filters:(salchc.x23.id = salchc.x22.id AND
(salchc.x23.tick = 'FY06' AND salchc.x23.resrc = 'FAC7' ) )

NESTED LOOP JOIN

3) salchc.x24: INDEX PATH

(1) Index Keys: id ay_slot bbay_entry_id
(Key-Only) (Serial, fragments: ALL)

Lower Index Filter: (salchc.x24.id =
salchc.x22.id AND salchc.x24.ay_slot = 2 )

ON-Filters:(salchc.x24.id = salchc.x22.id AND
salchc.x24.ay_slot = 2 )

NESTED LOOP JOIN

4) salchc.x25: INDEX PATH

Filters: salchc.x25.beg_date > TODAY + 30

(1) Index Keys: bbay_entry_id (Serial, fragments: ALL)

Lower Index Filter: salchc.x24.bbay_entry_id =
salchc.x25.bbay_entry_id

ON-Filters:(salchc.x24.bbay_entry_id =
salchc.x25.bbay_entry_id AND salchc.x25.beg_date > TODAY + 30 )

NESTED LOOP JOIN

5) salchc.x26: INDEX PATH

Filters: salchc.x26.stat = 'C'

(1) Index Keys: tick id cmpl_date resrc (Key-First)

Lower Index Filter: (salchc.x26.id = salchc.x22.id AND
salchc.x26.tick = 'FY07' )

Key-First Filters: (salchc.x26.resrc IN ('ANFORM' ,
'ANFBBY' ))

ON-Filters:(((salchc.x26.tick = 'FY07' AND salchc.x26.resrc IN
('ANFORM' , 'ANFBBY' )) AND salchc.x26.stat = 'C' ) AND salchc.x26.id =
salchc.x22.id )

NESTED LOOP JOIN

PostJoin-Filters:salchc.x22.id = informix.suba_rec.suba_no

UDRs in query:

--------------

UDR id : -113

UDR name: equal

UDRs in query:
--------------

UDR id : -113

UDR name: equal

QUERY:
------
SELECT

bucket, id
FROM

lu_ar_bucket_vw
WHERE

bucket=2

--id in ( 2069949, 2069952)

Estimated Cost: 1
Estimated # of Rows Returned: 1

1) (Temp Table For View): SEQUENTIAL SCAN

UDRs in query:
--------------

UDR id : -113

UDR name: equal

QUERY:
------
create view "informix".lu_ar_prog_vw
(id,bal_act,debit_flag,prog,deggrp,enr_date,last_class_date) as select
x0.suba_no ,x0.bal_act ,(x0.bal_act >
'0.00' ) ,x1.prog ,x1.deggrp ,x1.enr_date ,(select max(x4.end_date )
from ("informix".cw_rec x3 left join "informix".sec_rec x4 on
(((((x4.crs_no = x3.crs_no ) AND (x4.sec_no = x3.sec ) ) AND (x4.cat =
x3.cat ) ) AND (x4.sess = x3.sess ) ) AND (x4.yr = x3.yr ) ) )where
((x3.stat = 'R' ) AND (x3.id = x0.suba_no ) ) ) from
(("informix".suba_rec x0 join "informix".prog_enr_rec x1 on (x0.id =
x1.id ) )join "informix".prog_enr_rec x2 on (x0.id = x2.id ) )where
(((x0.subs = 'S/A' ) AND (x0.bal_act != '0.00' ) ) AND (x1.subprog IN
('EC' ,'NG' ,'NU' )) ) group by
x0.suba_no ,x0.bal_act ,3 ,x1.prog ,x1.deggrp ,x1.enr_date ,7 having
(x1.enr_date = max(x2.enr_date ) ) ;

Estimated Cost: 19
Estimated # of Rows Returned: 1

1) salchc.x3: INDEX PATH

Filters: salchc.x3.stat = 'R'

(1) Index Keys: id

Lower Index Filter: salchc.x3.id =
informix.suba_rec.suba_no

2) salchc.x4: INDEX PATH

(1) Index Keys: yr sess crs_no cat sec_no (Serial, fragments:
ALL)

Lower Index Filter: ((((salchc.x4.crs_no = salchc.x3.crs_no
AND salchc.x4.sec_no = salchc.x3.sec ) AND salchc.x4.cat =
salchc.x3.cat ) AND salchc.x4.sess = salchc.x3.sess ) AND salchc.x4.yr =
salchc.x3.yr )

ON-Filters:((((salchc.x4.crs_no = salchc.x3.crs_no AND
salchc.x4.sec_no = salchc.x3.sec ) AND salchc.x4.cat = salchc.x3.cat )
AND salchc.x4.sess = salchc.x3.sess ) AND salchc.x4.yr = salchc.x3.yr )

NESTED LOOP JOIN(LEFT OUTER JOIN)

PostJoin-Filters:(salchc.x3.stat = 'R' AND salchc.x3.id =
informix.suba_rec.suba_no )

UDRs in query:
--------------

UDR id : -113

UDR name: equal

QUERY:
------
SELECT ODB_DBName FROM SysMaster:"informix".SysOpenDB WHERE
ODB_SessionID = DBINFO('sessionid') AND ODB_IsCurrent = 'Y'

Estimated Cost: 1
Estimated # of Rows Returned: 1

1) sysmaster:informix.sysopendb: INDEX PATH

Filters: sysmaster:informix.sysopendb.odb_iscurrent = 'Y'

(1) Index Keys: odb_sessionid (desc) odb_odbno

Lower Index Filter: sysmaster:informix.sysopendb.odb_sessionid =
DBINFO ('sessionid')

--
--------------------------------------------
Chris Salch
Programmer/Analyst
LeTourneau University
903-233-3537

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.