SYSTEM AND METHOD FOR GENERATING UNIQUENESS INFORMATION FOR OPTIMIZING AN SQL QUERY
Patent №
US 5,659,728
Granted
1997-08-19
Filed 1994
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
3
kr · planning · evo
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
08366560
A system and method of determining uniqueness properties of an expression. A root of the expression is first determined, where the root is one of a base relation, a unary operation or a binary operation. Once the root is determined, a first procedure of an augmented unique process is called to determine uniqueness properties of a child of that root. The procedure called is chosen based on the determined root. Where the root is a base relation, a first procedure of a uniqueness process is applied to determine the uniqueness properties of the base relation. Where the root is a unary or binary operation, the called procedure is suspended, a second procedure of the augmented unique process is called to determine the uniqueness properties of the child of the operation, and this process is repeated until a base relation is reached. Once a base relation is reached, the first procedure of the uniqueness process is applied to determine the uniqueness properties of the reached base relation. A next procedure of a uniqueness process is applied to determine the uniqueness properties of a parent operator of the based relation. The procedure applied is chosen based on a type of operation represented by the parent. The process then unwinds to determine the uniqueness properties for each ancestor of the base relation(s).
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 74430008
Assignors
BHARGAVA, GAUTAM, GOEL, PIYUSH, IYER, BALAKRISHNA R.
On an employer assignment, the assignors are typically the inventors.