INDEX UPDATES USING PARALLEL AND HYBRID EXECUTION
First Claim
Patent Images
1. A method comprising:
- receiving a request to execute a database command identifying a target table;
identifying a plurality of rows to insert into the target table based in part on the database command;
writing rows, from the plurality of rows, into a data page until the data page is full;
determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and
upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads.
1 Assignment
0 Petitions
Accused Products
Abstract
A method can include receiving a request to execute a database command identifying a target table; identifying a plurality of rows to insert into the target table based in part on the database command; writing rows, from the plurality of rows, into a data page until the data page is full; determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads.
42 Citations
20 Claims
-
1. A method comprising:
-
receiving a request to execute a database command identifying a target table; identifying a plurality of rows to insert into the target table based in part on the database command; writing rows, from the plurality of rows, into a data page until the data page is full; determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
at least one processor; and a storage device with instructions stored thereon, which when executed by the least one processor implement; a command execution module configured to receive a request to execute a database command identifying a target table; a scanning module configured to identify a plurality of rows to insert into the target table based in part on the database command; an insert module configured to write rows, from the plurality of rows, into a data page until the data page is full; an index thread manager configured to determine a number of threads to use for updating indexes defined for the target table; and wherein the number of threads update, in parallel, the indexes defined for the target table when the data page is full. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium comprising instructions, which when executed by one or more processors, configure the one or more processors to perform operations comprising:
-
receiving a request to execute a database command identifying a target table; identifying a plurality of rows to insert into the target table based in part on the database command; writing rows, from the plurality of rows, into a data page until the data page is full; determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification