Statistics mechanisms in multitenant database environments
First Claim
1. A method comprising for providing statistical information within a database environment having one or more hardware computing devices coupled with at least one memory device to provide multiple instances of a database within the database environment, the method comprising:
- maintaining, within the database environment, a master statistics file having statistics corresponding to multiple tenants within the database environment;
determining, with the one or more hardware computing devices, a selected table from the database based on one or more parameters by parsing the master statistics file into a sorted list in which each key can map to at most one value;
generating, with the one or more hardware computing devices, one or more statistical values for the selected table;
modifying the master statistics file with the one or more hardware computing devices to rewrite statistical values in the master statistics file with generated statistical values for the selected table to generate an updated master statistics file; and
utilizing, with the one or more hardware computing devices, the updated master statistics file for operation of the database environment.
1 Assignment
0 Petitions
Accused Products
Abstract
Statistics mechanisms in multitenant database environments. A master statistics file is maintained in a multitenant database system. The master statistics file has statistics corresponding to multiple tenants within the multitenant database system. Statistics for a selected table within the multitenant database system are generated. The selected table corresponding to a selected tenant of the multitenant database system. The master statistics file is updated based on the generated statistics for the selected table.
148 Citations
21 Claims
-
1. A method comprising for providing statistical information within a database environment having one or more hardware computing devices coupled with at least one memory device to provide multiple instances of a database within the database environment, the method comprising:
-
maintaining, within the database environment, a master statistics file having statistics corresponding to multiple tenants within the database environment; determining, with the one or more hardware computing devices, a selected table from the database based on one or more parameters by parsing the master statistics file into a sorted list in which each key can map to at most one value; generating, with the one or more hardware computing devices, one or more statistical values for the selected table; modifying the master statistics file with the one or more hardware computing devices to rewrite statistical values in the master statistics file with generated statistical values for the selected table to generate an updated master statistics file; and utilizing, with the one or more hardware computing devices, the updated master statistics file for operation of the database environment. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more hardware computing devices, are configurable to cause the one or more hardware computing devices to provide statistical information within a database environment having multiple instances of a database within the database environment, the instructions configurable to cause the one or more hardware computing devices to:
-
maintain a master statistics file having statistics corresponding to multiple tenants within the database environment; determine a selected table from the database based on one or more parameters by parsing the master statistics file into a sorted list in which each key can map to at most one value; generate one or more statistical values for the selected table; modify the master statistics file to rewrite statistical values in the master statistics file with generated statistical values for the selected table to generate an updated master statistics file; and utilize the updated master statistics file for operation of the multitenant environment. - View Dependent Claims (9, 10, 11, 12, 13, 14, 16, 17, 18, 19)
-
-
15. A system configurable to cause the one or more hardware computing devices to provide statistical information within a database environment having multiple instances of a database within the database environment, the system comprising:
-
a memory device; one or more hardware computing devices coupled with the memory device, the one or more hardware computing devices configurable to maintain a master statistics file having statistics corresponding to multiple tenants within the database environment, to determine a selected table from the database based on one or more parameters by parsing the master statistics file into a sorted list in which each key can map to at most one value, to generate one or more statistical values for the selected table, to modify the master statistics file to rewrite statistical values in the master statistics file with generated statistical values for the selected table to generate an updated master statistics file, and to utilize the updated master statistics file for operation of the database environment. - View Dependent Claims (20, 21)
-
Specification