Custom entities and fields in a multi-tenant database system
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 single field within the object data structure, and this single field may contain different data types for each tenant. Indexing columns are also provided, wherein a tenant may designate a field for indexing. Data values for designated fields are copied to an index column, and each index column may include multiple data types. Each organization may also define custom objects including custom fields and indexing columns. Custom objects for multiple tenants are stored in a single custom object data structure. The primary key values for the single custom object table are globally unique, but also include an object-specific identifier which may be re-used among different entities.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 163.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of storing multiple tables for one or more tenants in a single data structure, comprising: defining a data structure having a primary key column, an organization id column and a plurality of data columns; defining a first table for a first tenant, said first table having a first data field, said first data field having a first data type, and said first tenant having a first tenant id; assigning a first table id to the first table; defining a second table for the first tenant, said second table having a second data field, said second data field having a second data
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗