Multi-tenant oriented database engine and its data access method

A data access and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as management difficulties and increase costs, and achieve the effect of improving efficiency

Inactive Publication Date: 2009-08-05
IBM CORP
View PDF0 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Security issues: Since multiple tenants share the same database instance, it is necessary to prevent one tenant from accessing data placed in the database by other tenants;
However, since a separate table is prepared for each tenant in the database, it is very difficult to manage when there are many tenants, which greatly increases the cost of management

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-tenant oriented database engine and its data access method
  • Multi-tenant oriented database engine and its data access method
  • Multi-tenant oriented database engine and its data access method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Now, the present invention will be described in more detail in conjunction with specific embodiments.

[0031] The present invention introduces the "tenant entity" object in the database, and takes the "tenant entity" as the minimum unit for accessing the database. The "tenant entity" object has a corresponding relationship with the tenant access account, and a tenant account corresponds to a tenant entity. The database storage space is divided into multiple zones, and each zone records the data of a tenant entity, that is, the records of each tenant entity are physically separated from each other. In the present invention, multiple tenant entities share one logical table. Since the records of each tenant entity are physically separated from each other in the database storage space, it can ensure that the query optimizer accurately locates the tenant's access request to the database storage space and the database storage space on the premise of only one logical table. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A database engine facing multiple tenancies and data accessing method thereof are provided. The method of the invention includes: receiving a data access request of tenancy; determining the tenancy entity corresponding to the tenancy, wherein multiple tenancy entities share one logic table in the database; processing the data access request of the tenancy according to the configuration information of the tenancy entity. The invention introduces the concept of tenancy entity to the database: a plurality of tenancy entities shares one logic table such that the development and management costs are reduced; meanwhile, every tenancy entity has independent database access account number such that the security problem of the database access is solved; when the tenancy request comes, the data access request of the tenancy is processed according to the authority of the account number of the tenancy. Due to the introduced concept of the tenancy entity in the invention, the data of the tenancy is physically separated from each other and thus it is possible to improve performance, excellent isolation and expandability; and it is possible to realize the service quality management for the tenancy at the same time.

Description

technical field [0001] The invention relates to multi-tenant database sharing, in particular to a multi-tenant-oriented database engine and a data access method thereof. Background technique [0002] In a multi-tenant system, a database service provider leases one database instance to multiple small and medium-sized (SMB) tenants, so that a large number of small and medium-sized tenants share the same database instance. To construct a reasonable multi-tenant architecture, the following technical issues should be considered: [0003] Security issues: Since multiple tenants share the same database instance, it is necessary to prevent one tenant from accessing data placed in the database by other tenants; [0004] Application development cost: the developer's development complexity must be considered when deploying such a multi-tenant application; [0005] Management cost: The management complexity of the operating platform must be considered, such as tenant login, backup and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 王芝虎高波郭常杰孙伟
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products