SYSTEM AND METHOD FOR REDUCING COMPILE TIME IN A TOP DOWN RULE BASED SYSTEM USING RULE HEURISTICS BASED UPON THE PREDICTED RESULTING DATA FLOW
Patent №
US 6,205,441
Granted
2001-03-20
Filed 1999
Owner
COMPAQ COMPUTER CORPORATION, A CORP. OF DE
Lab
—
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
09283384
The present invention applies one or more pruning heuristics to the expression, the binding, and/or the substitute during a database query optimization process. The heuristics identify certain rules that can be eliminated by either not applying the rules and/or not implementing the rules for a given expression and context (if any) based upon one or more flow rates of the expression. The pruning heuristics can eliminate the application of rules based upon the flow rates of the binding or substitute, for example. Examples include (1) not applying (cutting) a MergeJoin rule for a join expression when an inner table is small enough to be stored in a memory space that is allocated for a HashJoin; (2) not applying implementation rules on the substitute of a left-shift rule for an expression if the resulting input data flow rate from the left child of the join is significantly larger in the substitute than in the binding; (3) not applying the join to TSJ (tuple substitute join) rule if the data flow output of the join expression is significantly larger than the data flow input from the inner child of the join expression; or (4) not applying implementation rules on the substitute join expression of a left shift rule if the number of cross products increases and if the data flow rate from the left child is increases.
AI classification
Ownership
COMPAQ COMPUTER CORPORATION, A CORP. OF DE
assignment · 100080570
Assignors
AL-OMARI, AWNY K., LESLIE, HARRY A., FRIDRICH, MAREK J.
On an employer assignment, the assignors are typically the inventors.