Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > RE: reliability...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 13979 of 14270
Post > Topic >>

RE: reliability?

by "Denham, Mark" <Mark.Denham@[EMAIL PROTECTED] > May 7, 2008 at 11:13 AM

Curious, I ran this one using set explain:

SELECT MIN(colno) FROM syscolumns WHERE colno>=3D1 AND colno>1

Estimated Cost: 400
Estimated # of Rows Returned: 1

  1) informix.syscolumns: INDEX PATH

    (1) Index Keys: tabid colno   (Key-Only)
        Index Key Filters:  (informix.syscolumns.colno >=3D 1 )

The AND is being dropped. It would seem that the optimizer looks for
simpli=
fications that can be applied and in this case is dropping the more
restrit=
ive filter. Of course I could be giving the optimizer too much credit.

> -----Original Message-----
> From: informix-list-bounces@[EMAIL PROTECTED]
> [mailto:informix-list-bounces@[EMAIL PROTECTED]
 Behalf Of Andrew Ford
> Sent: Wednesday, May 07, 2008 10:59 AM
> To: informix-list@[EMAIL PROTECTED]
> Subject: Re: reliability?
>=20
>=20
> > Same on HPUX 11.11, IDS10.00.FC6
> >
>=20
> Not the same result on IDS 11.10.UC1, Red Hat Enterprise=20
> Linux ES release 4.
>=20
> > echo "SELECT MIN(colno) FROM syscolumns WHERE colno>=3D1 AND=20
> colno>1" |=20
> > dbaccess sysmaster
>=20
> Database selected.
>=20
>=20
>=20
>  (min)
>=20
>      2
>=20
> 1 row(s) retrieved.
>=20
>=20
>=20
> Database closed.
>=20
>=20
> Andrew=20
>=20
>=20
> _______________________________________________
> Informix-list mailing list
> Informix-list@[EMAIL PROTECTED]
> http://www.iiug.org/mailman/listinfo/informix-list
>=20




Notice of Confidentiality: **This E-mail and any of its attachments may
con=
tain=20
Lincoln National Corporation proprietary information, which is privileged,
=
confidential,
or subject to copyright belonging to the Lincoln National Corporation
famil=
y of=20
companies. This E-mail is intended solely for the use of the individual or
=
entity to=20
which it is addressed. If you are not the intended recipient of this
E-mail=
, you are=20
hereby notified that any dissemination, distribution, copying, or action
ta=
ken in=20
relation to the contents of and attachments to this E-mail is strictly
proh=
ibited=20
and may be unlawful. If you have received this E-mail in error, please
noti=
fy the=20
sender immediately and permanently delete the original and any copy of
this=
 E-mail=20
and any printout. Thank You.**




 2 Posts in Topic:
RE: reliability?
"Denham, Mark"   2008-05-07 11:13:16 
Re: reliability?
"piotrek" <p  2008-05-07 17:17:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 22:38:45 CDT 2008.