Patent ID: 8732157

Claim:
A method for load sharing incoming requests received at a Multitenant Database System, the method comprising: generating tenant-level statistics for each of a plurality of tenants having data stored within a database system of the Multitenant Database System, wherein the database system includes one or more data tables to store the data, each data table having one or more columns defining data categories and one or more rows associated with one or more tenants among the plurality of tenants having data stored within the data tables; receiving the incoming requests from user systems over a public Internet network at a web-based customer relationship management (CRM) interface of the Multitenant Database System; load sharing the requests received amongst a plurality of servers within the Multitenant Database System to balance loads via distribution of the requests among the plurality of servers within the Multitenant Database System; and wherein the distribution of the requests among the plurality of servers comprises each one of the plurality of servers having been distributed one of the requests performing at least the following operations: (i) generating one or more queries designed to access the information requested, and (ii) optimizing the one or more queries based on the tenant-level statistics to increase system performance for an individual tenant among the plurality of tenants whose data is being accessed.