摘要:
A method, apparatus, and a computer program product for storing and accessing multi-tenancy data. The method includes the steps of: creating a plurality of table sets in one or more databases, wherein each table set is used to store data of a group of tenants selected from a plurality of tenants; accessing data of a tenant in a table set in response to receiving a data access request from the tenant; and recording relationships between the tenants and the table sets in a multi-tenancy metadata repository, wherein the step of accessing the data of the tenant comprises the steps of finding the table set by querying the metadata repository and accessing the data of the tenant in the table set based on the result received from the query of the metadata repository.
摘要:
A method, apparatus, and a computer program product for storing and accessing multi-tenancy data. The method includes the steps of: creating a plurality of table sets in one or more databases, wherein each table set is used to store data of a group of tenants selected from a plurality of tenants; accessing data of a tenant in a table set in response to receiving a data access request from the tenant; and recording relationships between the tenants and the table sets in a multi-tenancy metadata repository, wherein the step of accessing the data of the tenant comprises the steps of finding the table set by querying the metadata repository and accessing the data of the tenant in the table set based on the result received from the query of the metadata repository.
摘要:
A method, apparatus, and a computer program product for storing and accessing multi-tenancy data. The method includes the steps of: creating a plurality of table sets in one or more databases, wherein each table set is used to store data of a group of tenants selected from a plurality of tenants; accessing data of a tenant in a table set in response to receiving a data access request from the tenant; and recording relationships between the tenants and the table sets in a multi-tenancy metadata repository, wherein the step of accessing the data of the tenant comprises the steps of finding the table set by querying the metadata repository and accessing the data of the tenant in the table set based on the result received from the query of the metadata repository.
摘要:
A method, apparatus, and a computer program product for storing and accessing multi-tenancy data. The method includes the steps of: creating a plurality of table sets in one or more databases, wherein each table set is used to store data of a group of tenants selected from a plurality of tenants; accessing data of a tenant in a table set in response to receiving a data access request from the tenant; and recording relationships between the tenants and the table sets in a multi-tenancy metadata repository, wherein the step of accessing the data of the tenant comprises the steps of finding the table set by querying the metadata repository and accessing the data of the tenant in the table set based on the result received from the query of the metadata repository.
摘要:
A method and apparatus for applying database partitioning in a multi-tenancy scenario is disclosed, the method includes providing, in each database table of a partitioned database system storing tenant data, a partition key field for storing a respective partition key for each tenant within a plurality of tenants. The respective partition key for each tenant is designated for each tenant according to a partition designated for the each respective tenant and the corresponding relationships between partitions and partition keys in the database partitioning mechanism of the partitioned database system. The respective partition key is used by the partitioned database system to perform database partitioning operations on the data of each respective tenant.
摘要:
A method and apparatus for applying database partitioning in a multi-tenancy scenario is disclosed, the method includes providing, in each database table of a partitioned database system storing tenant data, a partition key field for storing a respective partition key for each tenant within a plurality of tenants. The respective partition key for each tenant is designated for each tenant according to a partition designated for the each respective tenant and the corresponding relationships between partitions and partition keys in the database partitioning mechanism of the partitioned database system. The respective partition key is used by the partitioned database system to perform database partitioning operations on the data of each respective tenant.
摘要:
System and method for querying of contact information are disclosed. An aspect of the invention includes a method for querying contact information. The method includes receiving a query language including relationship information of a plurality of contacts with unknown contact information. The method further includes acquiring a query request, wherein acquiring the query request includes parsing the query language according to a query language syntax. The method further includes querying contact information of the plurality of contacts with unknown contact information in at least one directory to obtain the contact information of the plurality of contacts with unknown contact information requested in the query request. The method further includes returning the contact information of the plurality of contacts with unknown contact information requested in the query request.
摘要:
System and method for querying of contact information are disclosed. An aspect of the invention includes a method for querying contact information. The method includes receiving a query language including relationship information of a plurality of contacts with unknown contact information. The method further includes acquiring a query request, wherein acquiring the query request includes parsing the query language according to a query language syntax. The method further includes querying contact information of the plurality of contacts with unknown contact information in at least one directory to obtain the contact information of the plurality of contacts with unknown contact information requested in the query request. The method further includes returning the contact information of the plurality of contacts with unknown contact information requested in the query request.
摘要:
A database system and a method of optimizing cross-database query. The database system includes a plurality of databases. At least two of the databases are stored with one or more data collections composed of tables with the same structure. A federated view of the data collection is created on each of the databases. A request routing layer for routing, in response to a query request crossing the data collections, the query request crossing the data collections to one of the at least two databases according to a predetermined routing rule, so as to query by using the federated view of the database.
摘要:
A database system and a method of optimizing cross-database query. The database system includes a plurality of databases. At least two of the databases are stored with one or more data collections composed of tables with the same structure. A federated view of the data collection is created on each of the databases. A request routing layer for routing, in response to a query request crossing the data collections, the query request crossing the data collections to one of the at least two databases according to a predetermined routing rule, so as to query by using the federated view of the database.