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: Informix ex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 11 Topic 14271 of 14551
Post > Topic >>

Re: Informix external directives ?

by Joerg Rueschenschmidt <jrueschenschmidt@[EMAIL PROTECTED] > Jul 6, 2008 at 11:44 AM

Dirk Gunsthövel schrieb:
> Hi,
> 
> first you should be able to set the optimizer goal per session using
>   SET OPTIMIZATION FIRST_ROWS
> 
> secondly how do you see that the optimizer hints (that is what you
> mean, right?) are not used? Do you have any helpfull output?
> 
> (I had to use optimizer hints with Informix only in some rare
> occasions where the data structures where messed up and
> had to stay like that for some 'good' reasons ;-) )
> 
> Regards,
> Dirk
> 

Dirk,

I need to set the goal for a single query only. The overall goal 
ALL_ROWS is okay.

Further, I think SET OPTIMIZATION requires access to the source code of 
the third party product, which does not exist. Assume I could change 
optimization goal for a database session from outside. It would not 
help, because the third party product open and close database sessions 
dynamicly. I would never now what database session will run my "bad"
query.

Fyi, a query execution plan will give you informations about if a 
directive is used or not.

Regards ...

Joerg
 




 11 Posts in Topic:
Informix external directives ?
Joerg Rueschenschmidt <  2008-07-05 15:21:27 
Re: Informix external directives ?
Joerg Rueschenschmidt <  2008-07-05 15:24:40 
Re: Informix external directives ?
TBP <thebigpotato@[EMA  2008-07-05 18:28:31 
Re: Informix external directives ?
Joerg Rueschenschmidt <  2008-07-05 22:08:53 
Re: Informix external directives ?
"Dirk Gunsthövel&quo  2008-07-06 01:46:19 
Re: Informix external directives ?
Joerg Rueschenschmidt <  2008-07-06 11:44:17 
Re: Informix external directives ?
"Dirk Gunsthövel&quo  2008-07-09 19:59:20 
Re: Informix external directives ?
Joerg Rueschenschmidt <  2008-07-10 10:34:06 
Re: Informix external directives ?
Richard Kofler <richar  2008-07-06 12:16:13 
Re: Informix external directives ?
Joerg Rueschenschmidt <  2008-07-16 15:42:32 
Re: Informix external directives ?
Fernando Nunes <domuso  2008-07-19 01:25:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Aug 29 18:25:03 CDT 2008.