×

Database segment searching

  • US 8,108,400 B2
  • Filed: 06/27/2009
  • Issued: 01/31/2012
  • Est. Priority Date: 06/27/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • receiving a segment of a database stored on a non-transitory computer-readable medium, the segment encompassing a plurality of records of the database less than a total number of records of the database the plurality of records are referred to as segment records, where one or more of the segment records have values for a field of the database;

    determining and storing a plurality of lowest values of the segment records for the field and a plurality of highest values of the segment records for the field;

    determining and storing a bitmap for the segment, one or more selected bits of the bitmap each corresponding to a different value for the field, each selected bit set to one where one or more of the segment records have the value to which the selected bit corresponds and set to zero where none of the segment records have the value to which the selected bit corresponds;

    determining and storing an index for the segment, the index relating to only the segment records and not to the records of the database other than the segment records;

    loading the segment into memory from the non-transitory computer-readable medium to locate one or more selected records of the database that satisfy a query, wherein the lowest values and the highest values, and the bitmap, each separately permits determination of whether the segment is loaded, without having to use the index to make a determination, wherein where the one or more selected bits of the bitmap that each correspond to a different value for the field are set, one or more of the segment records definitively include the different value for the field; and

    searching, using the index, the segment records after the segment is loaded into the memory, to at least partially locate the selected records that satisfy the query.

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