dbTalk Databases Forums  

[Info-Ingres] Environment variables for the optimizer

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] Environment variables for the optimizer in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin Bowes
 
Posts: n/a

Default [Info-Ingres] Environment variables for the optimizer - 05-06-2010 , 09:31 AM






Hi All,



Does anyone have a list of the environemnt variables that control the
optimizer. I can't find anything in the SYS reference guide for 9.2 or
9.3.



Martin Bowes

Reply With Quote
  #2  
Old   
Karl Schendel
 
Posts: n/a

Default Re: [Info-Ingres] Environment variables for the optimizer - 05-06-2010 , 09:42 AM






On May 6, 2010, at 10:31 AM, Martin Bowes wrote:

Quote:
Hi All,

Does anyone have a list of the environemnt variables that control the optimizer. I can't find anything in the SYS reference guide for 9.2 or 9.3.

I can't think of any environment variables that affect the optimizer.

DMF is the only facility that I know of which looks at environment
variables, and most of them appear to affect logging and recovery.
(Grep for NMgtAt.)

Karl

Reply With Quote
  #3  
Old   
Roy Hann
 
Posts: n/a

Default Re: [Info-Ingres] Environment variables for the optimizer - 05-06-2010 , 10:02 AM



Karl Schendel wrote:

Quote:
On May 6, 2010, at 10:31 AM, Martin Bowes wrote:

Hi All,

Does anyone have a list of the environemnt variables that control the optimizer. I can't find anything in the SYS reference guide for 9.2 or 9.3.


I can't think of any environment variables that affect the optimizer.

DMF is the only facility that I know of which looks at environment
variables, and most of them appear to affect logging and recovery.
(Grep for NMgtAt.)
The only one that springs to mind that might useful is ING_SET, which
you can use to set things like:

SET JOINOP TIMEOUT n
SET CPUFACTOR n
SET PARALLEL n

I find CPUFACTOR quite useful for encouraging the optimizer to trade
extra CPU to get reduced disk I/O. Setting it to 1000 for instance will
cause OPF to devalue CPU costs to 10% of the normal value. If you
have a very fast CPU this is usually an excellent trade that can
result in significantly faster queries.

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to https://www.regonline.co.uk/IUA2010 to register.

Reply With Quote
  #4  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Environment variables for the optimizer - 05-07-2010 , 04:53 AM



Hi Guys,

Thanks for the intel. After a bit of digging I came up with:

ingsetenv II_OPF_FORCE_TIMEOUT [0|1]
and set trace point OP248 max_cpu warn_cpu

I think I've come across a version of bug 106595 on an Ingres 9.2 site.

I particularly liked the part where I had to trash the installation with
kill -9's, do an ipcrm etc...

It's been fun lately.

Marty


-----Original Message-----
From: Karl Schendel [mailto:schendel (AT) kbcomputer (DOT) com]
Sent: 06 May 2010 15:42
To: Ingres and related product discussion forum
Subject: Re: [Info-Ingres] Environment variables for the optimizer


On May 6, 2010, at 10:31 AM, Martin Bowes wrote:

Quote:
Hi All,

Does anyone have a list of the environemnt variables that control the
optimizer. I can't find anything in the SYS reference guide for 9.2 or
9.3.
Quote:
I can't think of any environment variables that affect the optimizer.

DMF is the only facility that I know of which looks at environment
variables, and most of them appear to affect logging and recovery.
(Grep for NMgtAt.)

Karl



_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.