×

Method for unordered relational database retrieval returning distinct values

  • US 7,752,160 B2
  • Filed: 07/02/2002
  • Issued: 07/06/2010
  • Est. Priority Date: 07/12/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A method performed by a process in a computer system for providing a set of relational data to a consumer process, the method comprising the steps of:

  • (a) retrieving from a database table a tuple in a sequence of tuples upon receiving a query from the consumer process requesting distinct tuples;

    (b) determining using an auxiliary logger component whether the retrieved tuple is unique in comparison to previously retrieved tuples in the sequence by using a sorted table that stores the unique tuple wherein the retrieved tuple may be returned to the consumer process immediately after the retrieved tuple is determined to be unique without sorting the entire set of tuples and indicating whether the retrieved tuple has been previously received by the auxiliary logger component;

    (c) providing using a distinct operator component the consumer process with the retrieved tuple where the tuple is unique and discarding the tuple where the tuple is not unique; and

    (d) repeating the above steps until all tuples in the sequence of tuples have been retrieved from the database table,wherein at least one distinct tuple in the sequence of tuples is provided to the consumer process prior to retrieval of all tuples in the sequence of tuples from the database table.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×