If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > ADABAS-D - Manipulate cost based optimizer. Need Help.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-04, 17:34
fneudert fneudert is offline
Registered User
 
Join Date: Jan 2004
Posts: 5
Question ADABAS-D - Manipulate cost based optimizer. Need Help.

Hello anyone,

first of all I would like to say that ADABAS-D is not ADABAS, although both are from Software AG. ADABAS-D is a Relational DBMS with SQL Query language.

Now my Question:

I use a ADABAS-D database with a very large table with some Indexes.

The database uses a Cost Based Optimizer (CBO) which sometimes decide to make a tablescan instead of using an index when querying the database.

For several reasons which I can not explain here, this is not acceptable for me.

Because the CBO uses statistics to decide the stategy, I would like to manipulate the statistics, so that the CBO would always choose the Strategy to use the approbiate Key.

I need to know which tables contain the statistic information for the CBO.

Is this only the Table OPTIMIZERSTATISTICS or is there also some hidden Table which contains the information?

Thank you in advance for any help.

With regards

Frank
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On