IP Library Granted Patent US 9,753,999
Granted Patent B2
US 9,753,999 · App. 13/345,626 · Granted Sep 5, 2017

Distributed database with mappings between append-only files and repartitioned files

Inventors: Ozgun Ali Erdogan (Istanbul, TR); Sumedh Suhas Pathak (Istanbul, TR)
Assignee: Citus Data Bilgi Islemieri Ticaret A.S.
G06F17/30575
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,753,999
App. No.
13/345,626
Granted
Sep 5, 2017
Kind
B2
Abstract

A method implemented by a computer network includes storing a database table in a distributed database resident on the computer network. The database table is represented with append-only files, where each append-only file stores data in a logical representation that is independent of the physical representation of the data at a node of the computer network. Data in the append-only files are repartitioned across nodes in the computer network to form repartitioned files. Information about a mapping between the append-only files and the repartitioned files is maintained.

Claims (33)

1. A method implemented by a computer network, comprising;

storing a database table in a distributed database resident on a computer network with a plurality of nodes, wherein the database table is partitioned to database table partitions across the plurality of nodes within the computer network and wherein each database table partition does not exceed a maximum size and therefore each of the plurality of nodes holds multiple database table partitions, and wherein each database table partition is ordered on a first dimension;

representing the database table with a plurality of append-only files, wherein each append-only file stores data in a logical representation that is independent of the physical representation of the data at a node of the computer network;

repartitioning data in the append-only files across the plurality of nodes in the computer network to form repartitioned files, wherein repartitioning includes repartitioning database table partitions based upon a second dimension to form repartition table segments that are distributed to different nodes, and merging repartition table segments at the different nodes based upon the second dimension;

keeping information about mappings between the append-only files and the repartitioned files;

utilizing data in the repartitioned files to construct a repartitioned database table;

receiving a database query; and

partitioning the database query to run in parallel across the repartitioned database table.

2. The method of claim 1 wherein the append-only files store at least one of a data insert, load, update, delete and Data Description Language (DDL) operation.

3. The method of claim 1 wherein the append-only files store data insert and load operations that change the database table in a deterministic manner.

4. The method of claim 1 wherein the append-only files are text files.

5. The method of claim 1 wherein the append-only files are binary files.

6. The method of claim 1 wherein the append-only files are log files.

7. The method of claim 1 further comprising:

receiving a database query; and

partitioning the database query to run in parallel across the repartitioned files.

8. A method implemented by a computer network, comprising;

storing a database table in a distributed database resident on a computer network with a plurality of nodes, wherein the database table is partitioned to database table partitions across the plurality of nodes within the computer network and wherein each database table partition does not exceed a maximum size and therefore each of the plurality of nodes holds multiple database table partitions, and wherein each database table partition is ordered on a first dimension;

representing the database table with a plurality of append-only files, wherein each append-only file stores data in a logical representation that is independent of the physical representation of the data at a node of the computer network;

repartitioning data in the append-only files across the plurality of nodes in the computer network to form repartitioned files, wherein repartitioning includes repartitioning database table partitions based upon a second dimension to form repartition table segments that are distributed to different nodes, and merging repartition table segments at the different nodes based upon the second dimension;

keeping information about mappings between the append-only files and the repartitioned files;

keeping statistics on data in the repartitioned files;

receiving a database query; and

using the statistics to prune a set of repartitioned files not relevant to the database query.

9. The method of claim 8 wherein the repartitioned files are distributed and replicated across the plurality of nodes within the computer network.

10. The method of claim 8 further comprising using a configuration value to determine the number of repartitioned files.

11. The method of claim 8 further comprising using a configuration value to determine the maximum size of the repartitioned files.

12. The method of claim 8 wherein repartitioning is initiated by a manual database command.

13. The method of claim 8 wherein repartitioning is initiated automatically by a table join command.

14. The method of claim 8 wherein the repartitioned files are used to perform a table join command.

15. The method of claim 8 further comprising using a configuration value to determine the maximum size of the database table partitions.

16. The method of claim 8 wherein the mapping between the database table partitions and the append-only files is one-to-one.

17. The method of claim 8 wherein the database table partitions are distributed and replicated across the plurality of nodes within the computer network.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2020
From: CITUS DATA BILGI ISLEMLERI TICARET A.S.
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 053091/0429 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 16, 2012
From: ERDOGAN, OZGUN ALI; PATHAK, SUMEDH SUHAS
To: CITUS DATA BILGI ISLEMLERI TICARET A.S.
Reel/Frame 027881/0155 →
Continuity (1)
Related Publication 20130311426A1 · Nov 21, 2013