Unix Technical Forum

RE: Whatcha' wanta have?????

This is a discussion on RE: Whatcha' wanta have????? within the Informix forums, part of the Database Server Software category; --> Jonathan, We 'set optimization low' in a sessions that run stored procedures. Procedures themselves do not contain 'set optimization ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 09:20 PM
Alexey Sonkin
 
Posts: n/a
Default RE: Whatcha' wanta have?????


Jonathan,

We 'set optimization low' in a sessions that
run stored procedures.

Procedures themselves do not contain 'set optimization low',
neither sessions from which procedures were created:
we really need maximized SQL plan, we just do not
want procedures to be reoptimized 'on the fly'

My understanding (from my previous experience and from
Informix documentation), is that SPL reoptomization is
controlled by 'optimizer' setting of a session that executes
the stored procedure. Am I wrong?

It looks like, any 'heavy' alter table (index creation,
constraint creation) of our 'online' tables immediately
causes -710 on all transactional clients. These clients ONLY
access the database through SPL.

Clients are written in C++ using Informix Object Interface libraries

------------------------------------------
Alexey Sonkin
Senior Database Administrator

> -----Original Message-----
> From: jleffler@us.ibm.com [mailto:jleffler@us.ibm.com]
> Sent: Wednesday, February 11, 2004 1:53 PM
> To: informix-list@iiug.org
> Subject: Re: Whatcha' wanta have?????
>
> mosserp@wellsfargo.com wrote:
> > Related: Implement outstanding feature request to run "set optimization

> low"
> > from the *server* side.

>
> Can you elucidate this, possibly with the feature request (bug)
> number? Are you saying that you cannot run SET OPTIMIZATION LOW in a
> stored procedure? The request has to be processed by the server, so
> I'm confused...
>
> -=JL=-

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com