Home | Links | Contact Us | More About Intellectual Property | Bookmark
Search patents:
Home Databases Prime-implicates-and-query-optimization-in-relational-databases

 Graphical user interface for relational database
Referring now to FIG. 1, there is illustrated a block diagram describing an exemplary computer ...


 Selection and storage of policies in network management
The present invention is directed to the user interface and policy loading aspects of a policy-...


 Method and apparatus for providing a highly interactive transaction environment in a distributed network
In one embodiment of the invention, in a multithreaded computing environment, a platform ...


 Intelligent agent with negotiation capability and method of negotiation therewith
OF THE ILLUSTRATED EMBODIMENTS Turning to the Drawing, wherein like parts are denoted by like ...


 Method and system for forecasting events and threats based on geospatial modeling
The present invention provides a forecasting engine and method which assists in forecasting ...


 Methods, apparatus, and articles of manufacture for analyzing memory use
Systems, methods, and articles of manufacture consistent with the present invention track accesses ...


 Method and system for report presentation and navigation in a computer system
The present invention is a method and system for report presentation and navigation in a computer ...


 Web based data mining and location data reporting and system
The database reporting and data mining system that is the subject of this invention is implemented, ...


 Fast refresh of snapshots
One aspect of the invention is a method of refreshing a snapshot defined by a snapshot definition ...


 Document management system for automating operations performed on documents in data storage areas
In accordance with the present invention, there is provided a document management system with an ...


 Prime implicates and query optimization in relational databases

Details
Inventors: Paulley, Glenn Norman; Vorwerk, Kristofer Paul;
Assignee: Sybase, Inc. (Dublin, CA)
Primary Examiner: Mizrahi; Diane D.
Assistant Examiner: Wu; Yicun
Attorney, Agent or Firm: Smart; John A.

An improved normalization methodology enabling better optimization of SQL queries is described. The normalization methodology effectively handles three-valued SQL search conditions and operates in reduced memory environments. A query is examined and selectively normalized by examining each segment of the query to determine whether it is advantageous to fully convert that segment to conjunctive normal form (CNF). If full conversion of the segment to CNF is not advantageous, then only the useful conjunctive conditions (prime implicates) that can be derived from the original input are saved. These useful conjuncts (prime implicates) are unioned with the original statement, resulting in a search condition that is semantically equivalent to the original expression, but that can be better exploited by a query optimizer. This enables better optimization of the original query without the system overhead that would result from full normalization of the query.

DETAILED DESCRIPTION The improved normalization methodology of the present invention is based on Socher's minimization methodology (see Socher, R.
, above).
Socher's minimization method uses a matrix as its basic data structure with the rows of the matrix representing unique literals and the columns representing the particular conjunct (or disjunct) in which the literals appear.
Implicates and prime implicates are discovered by generating all paths through the matrix and discarding subsumed paths.
Existing query optimizers require fully normalized search conditions as input and assume the use of two-valued logic.
The improved methodology of the present invention, on the other hand, features several improvements that are key to allowing it to operate with reduced memory requirements on non-normalized three-valued SQL search conditions.
The improved normalization methodology of the present invention comprises a preprocessing phase, in which expressions are simplified whenever possible, and a normalization phase, in which the simplified expression is analyzed and either fully converted to conjunctive normal form ("CNF") or, alternatively, modified by appending prime implicates to the original expression as described below.
In the preprocessing phase, tautological and contradictory conditions are removed from the input expression and other conditions are simplified when possible.
This preprocessing phase includes several steps that are designed to simplify the original query expression, thereby simplifying the matrix processing occurring in the normalization phase.
Pruning conditions from the input data structure reduces memory consumption by decreasing the size of the input to the normalization routines.
The normalization phase takes an unnormalized search condition as input and evaluates the eligibility of the expression or portions of the expression for normalization.
Rather than fully normalizing the expression, which in many cases is inefficient and results in an explosion of terms that must be processed, the normalization phase of the present invention selectively examines each element of the SQL statement by carefully descending the logic tree of the query



Related patents
  Method for transmitting and displaying an interchannel interval image in a cable system
A system and method is provided for displaying an image in a cable system including a cable headend having a plurality of cable channels and a subscriber unit with a ...
  Method and apparatus for implementing a shared message queue using a list structure
In general, the present invention contemplates a method and apparatus for implementing a shared message queue using a list structure. A put list is defined comprising a ...
  Method and apparatus for erasing data after tampering
According to one aspect of the invention, a method is provided for storing data on a storage unit in a manner that allows modification of the data only if a tamper ...
  Data structure and storage and retrieval method supporting ordinality based searching and data retrieval
The present invention is a data structure and related data storage and retrieval method that rapidly provides a count of elements stored or referenced by a hierarchical ...
  Method, system, program, and data structure for cleaning a database table
OF THE PREFERRED EMBODIMENTS In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several ...
  System for distributing a plurality of threads associated with a process initiating by one data processing station among data processing stations
We claim: 1. A computer network comprising: a communications medium; a plurality of data processing stations each having one or more processors, a communication device ...
  Hosting a network service on a cluster of servers using a single-address image
The present invention provides methods and apparatus for hosting a network service on a cluster of servers. All of the servers in a server cluster configured in ...
  Computer system for creating semantic object models from existing relational database schemas
The present invention is a computer system programmed to automatically create a semantic object model from an existing relational database schema. The schema is analyzed ...
  System and method for managing data privacy in a database management system including a dependently connected privacy data mart
To address the requirements described above, the present invention discloses a method and apparatus for managing consumer notification and access and a means of ...
  Integrated customer interface for web based data management
The present invention is directed to a Web-based, integrated customer interface system for data management. The customer interface system is provided with a graphical ...

0.004

Archive: All patents - Links

Copyright (c)2006 Eipa-patents.org - All rights reserved