Invention Grant
- Patent Title: Systems and methods for implementing and maintaining sampled tables in a database system
-
Application No.: US14257901Application Date: 2014-04-21
-
Publication No.: US09953054B2Publication Date: 2018-04-24
- Inventor: Jesse Yarbro Collins
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Elliot, Ostrander & Preston, P.C.
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F17/27

Abstract:
In accordance with disclosed embodiments, there are provided systems and methods for implementing and maintaining sampled tables in a database system. According to a particular embodiment such a system includes a processor and a memory to execute instructions at the system; a database to store database records; a query interface to submit queries to the database and receive results from the database; triggers to initiate a hash function on database insert transactions, the hash function to hash a primary key of each database record to be inserted into the database to determine whether a first hash value of the primary key of the database record to be inserted satisfies a sampling condition; a sample table to store a sample record corresponding to any database record to be inserted into the database which satisfies the sampling condition based on the hash function; a primary key index providing a first index of the primary keys of the sample records stored in the sample table; and an ordered hash index providing a second index on a second hash value corresponding to a second hash of the primary key of the sample records stored in the sample table ordered numerically by the second hash value. Other related embodiments are disclosed.
Public/Granted literature
- US20140317087A1 SYSTEMS AND METHODS FOR IMPLEMENTING AND MAINTAINING SAMPLED TABLES IN A DATABASE SYSTEM Public/Granted day:2014-10-23
Information query