Custom entities and fields in a multi-tenant database system
First Claim
Patent Images
1. A computer-implemented method of storing multiple fields for multiple tenants in a single multi-tenant data structure, comprising:
- defining a multi-tenant data structure having a plurality of custom data columns and at least one organization identifier (ID) column that stores a tenant ID value;
defining a first data field for a first tenant, the first data field having a first data type;
defining a second data field for a second tenant, the second field having a second data type, wherein the second data type is different than the first data type;
for each of the first and second fields, storing corresponding data type definition in a definitional data structure; and
when records having data values in the first and second fields are created for the first and second tenants, respectively, storing the data values of first and second fields to a single custom data column in the multi-tenant data structure, wherein the single custom data column includes data values having different data types for different tenants as defined by the definitional data structure.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods for hosting variable schema data such as dynamic tables and columns in a fixed physical database schema. Standard objects, such as tables are provided for use by multiple tenants or organizations in a multi-tenant database system. Each organization may add or define custom fields for inclusion in a standard object. Custom fields for multiple tenants are stored in a custom data column within the object data structure, and this single custom data column may contain different data types for each tenant.
211 Citations
20 Claims
-
1. A computer-implemented method of storing multiple fields for multiple tenants in a single multi-tenant data structure, comprising:
-
defining a multi-tenant data structure having a plurality of custom data columns and at least one organization identifier (ID) column that stores a tenant ID value; defining a first data field for a first tenant, the first data field having a first data type; defining a second data field for a second tenant, the second field having a second data type, wherein the second data type is different than the first data type; for each of the first and second fields, storing corresponding data type definition in a definitional data structure; and when records having data values in the first and second fields are created for the first and second tenants, respectively, storing the data values of first and second fields to a single custom data column in the multi-tenant data structure, wherein the single custom data column includes data values having different data types for different tenants as defined by the definitional data structure. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium storing code for controlling a database system to store multiple fields for multiple tenants in a single multi-tenant data structure, the code comprising instructions to:
-
define a multi-tenant data structure having a plurality of custom data columns and at least one organization identifier (ID) column that stores a tenant ID value; define a first data field for a first tenant, the first data field having a first data type; define a second data field for a second tenant, the second field having a second data type, wherein the second data type is different than the first data type; for each of the first and second fields, store corresponding data type definition in a definitional data structure; and when records having data values in the first and second fields are created for the first and second tenants, respectively, store the data values of first and second fields to a single custom data column in the multi-tenant data structure, wherein the single custom data column includes data values having different data types for different tenants as defined by the definitional data structure. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A multi-tenant database system, comprising:
-
a database for storing multi-tenant data objects; and a database management process configured to; define a multi-tenant data structure having a plurality of custom data columns and at least one organization identifier (ID) column that stores a tenant ID value; define a first data field for a first tenant, the first data field having a first data type; define a second data field for a second tenant, the second field having a second data type, wherein the second data type is different than the first data type; for each of the first and second fields, store corresponding data type definition in a definitional data structure; and when records having data values in the first and second fields are created for the first and second tenants, respectively, storing the data values of first and second fields to a single custom data column in the multi-tenant data structure, wherein the single custom data column includes data values having different data types for different tenants as defined by the definitional data structure. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification