Thank You - MR. James Bentley,

 

All I can say is Ho  Haaaa!  (Scent of a Women)  where did you find that.
Nope I take that back, I do not want to know.   MR James Bentley that is
good recall and information that blew me away this morning,  and I add - so
early in the morning.

 

I will have to go back in time to my RBase magazines back in the late 80's
and 90's and see what I can find. 

 

Sincerely,

Paul Dewey 

 

 

 

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of James
Bentley
Sent: Thursday, May 28, 2009 6:45 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Query Optimization

 

Stephen,
Here is what you need to do. I have these commands in a RMD file. I then
RBEDIT explain.dat
To the best of my knowledge there is virtually no information on how to
interpret the various parts of data that appears in the EXPLAIN.DAT file.
It does however break down how it processes the various tables in the
command.

"SET DEBUG ON
SET VAR MICRORIM_EXPLAIN = 47
RETURN
*(MICRORIM_EXPLAIN
This variable shows the decision the optimizer made when executing a
particular command.  The optimizer results are placed in the file
EXPLAIN.DAT.  The DEBUG command must be on to use microrim_ explain.

The available options for microrim_ explain are
    1 - output the table order.
    2 - force optimization of joins over five tables.  This option is
         ignored if microrim_fullopt is set.
    4 - output the command file name and next byte offset.
    8 - output the current date and time.
   32 - display the sort technique used.

To use multiple options, add the option numbers together and set the
variable to the result.  For example:

SET VAR microrim_explain = (1 + 4 + 8)
SET VAR microrim_explain = 13
)

 

Jim Bentley
American Celiac Society
[email protected]
tel: 1-504-737-3293

 

 

  _____  

From: Stephen Markson <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wednesday, May 27, 2009 7:36:53 PM
Subject: [RBASE-L] - Query Optimization



Is there any info on how the RBase engine parses queries to use indexes
effectively? Are there are any techniques that can force the engine to use a
particular index? I seem to recall that in the old days there was a system
variable, MICRORIM_EXPLAIN_PLAN or something like that would show how R:Base
had parsed the query.



Regards,



Stephen Markson
ForenSys The Forensic Systems Group
www.ForenSys.ca <http://www.forensys.ca/> 
416 512 6950






 

Reply via email to