Page filtering via compression dictionary filtering
First Claim
1. A computer-implemented method comprising:
- compressing, by a computer, a page of a database table, whereby a compression dictionary is created, the compression dictionary comprising entries that include a byte sequence from the page and a compression symbol associated with the byte sequence;
receiving, by the computer, a part of the compressed page and the compression dictionary;
receiving, by the computer, a page symbol list, comprising compression symbols from the compression dictionary that are present in the part of the page;
receiving, by the computer, a query, wherein the query includes a predicate having a predicate value;
generating, by the computer, a predicate symbol list for the predicate, comprising compression symbols in the compression dictionary whose associated byte sequences at least partially match the predicate value;
generating, by the computer, a page symbol indicator data, indicating which compression symbols from the compression dictionary are present among the compression symbols in the page symbol list;
generating, by the computer, a predicate symbol indicator data, indicating which compression symbols from the compression dictionary are present among the compression symbols in the predicate symbol list;
determining, by the computer, based on the page symbol indicator data and the predicate symbol indicator data, that at least one compression symbol from the predicate symbol list is also present in the part of the page;
determining, by the computer, based on the predicate symbol list and the page symbol list, that at least one compression symbol from the predicate symbol list is also present in the part of the page; and
performing, by the computer, the query, whereby the predicate is evaluated on the part of the page.
1 Assignment
0 Petitions
Accused Products
Abstract
Page filtering in a database using a compression dictionary. A page of a database table is compressed, creating a compression dictionary. The compression dictionary includes entries with a byte sequence from the page and a compression symbol associated with the byte sequence. A part of the compressed page, the compression dictionary, and a page symbol list with compression symbols from the dictionary present in the part of the page, are received. A query having a predicate with a predicate value is received. A predicate symbol list, including symbols in the dictionary whose byte sequences at least partially match the predicate value, is generated. Based on the predicate symbol list and the page symbol list, it is determined that at least one symbol from the predicate symbol list is also present in the part of the page. The query is performed by evaluating the predicate on the part of the page.
-
Citations
6 Claims
-
1. A computer-implemented method comprising:
-
compressing, by a computer, a page of a database table, whereby a compression dictionary is created, the compression dictionary comprising entries that include a byte sequence from the page and a compression symbol associated with the byte sequence; receiving, by the computer, a part of the compressed page and the compression dictionary; receiving, by the computer, a page symbol list, comprising compression symbols from the compression dictionary that are present in the part of the page; receiving, by the computer, a query, wherein the query includes a predicate having a predicate value; generating, by the computer, a predicate symbol list for the predicate, comprising compression symbols in the compression dictionary whose associated byte sequences at least partially match the predicate value; generating, by the computer, a page symbol indicator data, indicating which compression symbols from the compression dictionary are present among the compression symbols in the page symbol list; generating, by the computer, a predicate symbol indicator data, indicating which compression symbols from the compression dictionary are present among the compression symbols in the predicate symbol list; determining, by the computer, based on the page symbol indicator data and the predicate symbol indicator data, that at least one compression symbol from the predicate symbol list is also present in the part of the page; determining, by the computer, based on the predicate symbol list and the page symbol list, that at least one compression symbol from the predicate symbol list is also present in the part of the page; and performing, by the computer, the query, whereby the predicate is evaluated on the part of the page. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification