Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-tenant expanding method based on Key-Value database

An expansion method and database technology, which is applied in the field of multi-tenant expansion based on key-value databases, can solve problems such as wasting space, achieve convenient expansion, reduce operating costs, and avoid repeated development

Active Publication Date: 2015-03-25
ZHENGZHOU SEANET TECH CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using a traditional relational database, when a tenant needs to add a custom field, it needs to add a column in the database. For a tenant, the columns added by other tenants are useless columns for the tenant, but they still need to exist in the database, but When the number of tenants is large, a large number of columns need to be added to the database, which leads to a large number of null values ​​in the database, which is a waste of space

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 expanding method based on Key-Value database
  • Multi-tenant expanding method based on Key-Value database
  • Multi-tenant expanding method based on Key-Value database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Below to figure 1 As an example, the multi-tenant extension method based on the key-value database provided by Embodiment 1 of the present invention is described in detail. figure 1 It is a flow chart of the key-value database-based multi-tenant extension method provided by the embodiment of the present invention. In the embodiment of the present invention, the implementation subject may be an operation support platform. figure 2 A functional block diagram of a multi-tenant extension method based on a key-value database proposed by an embodiment of the present invention is shown. like figure 2 As shown, in the multi-tenant expansion method based on the key-value database proposed by the present invention, a scalable and definable multi-tenant operation support platform is adopted, and the platform uses a distributed Key-Value database to store business information. combine figure 1 and figure 2 As shown, the method includes the following steps:

[0034] Step 101...

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

An embodiment of the invention relates to a multi-tenant expanding method based on Key-Value database. The method includes acquiring initial business entity metadata; a customizing phase, an instance generating phase and an instance operating phase, wherein the customizing phase is expanding business attributes based on the initial business entity metadata, and defining business entities and displaying labels of the business attributes to generate specific business entity metadata meeting multi-tenant requirements; the instance generating phase is establishing a Key-Value database according to the specific business entity metadata; the instance operating phase is inserting tenant identifications as RowKey prefixes to the business entity data of Key-Value database, generating a query scope of RowKey to query business entity data through the tenant identifications, extracting the business entity data from the Key-Value database in the query scope and generating an interactive interface according to the specific business entity metadata, so as to display the business entity data.

Description

technical field [0001] The invention relates to the computer field, in particular to a multi-tenant extension method based on a key-value database. Background technique [0002] The rapid development of Internet technology has made traditional databases face huge challenges in dealing with massive data. Distributed key-value Key-Value databases have emerged as the times require. Key-Value databases include open source non-relational distributed database HBase, non-relational database Cassandra , Non-relational databases, SQL, etc. Compared with the traditional relational database, the distributed architecture of the Key-Value database can store a large amount of data, and a table can have hundreds of millions of rows; column-oriented storage, column (family)-oriented storage and permission control, column (family) independent retrieval; Sparse storage, for empty columns, no storage space is occupied, and the table can be designed very sparsely. [0003] Multi-tenant techno...

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
CPCG06F16/2282G06F16/2453
Inventor 刘磊周渊斐郑艳伟袁鼎
Owner ZHENGZHOU SEANET TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products