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

Resource isolation method and device for distributed database system, and server

A database and distributed technology, applied in the database field, can solve problems such as high operation and maintenance management costs, inability to access each other, waste of small-scale business resources, etc., and achieve the effect of resource isolation

Active Publication Date: 2018-11-16
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF12 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, if the number of services and clusters is close to 1:1, the operation and maintenance management costs are high
Especially in scenarios with many business types, it is difficult to manage a large number of small clusters
Moreover, since physical machines need to be allocated separately for each cluster, resource waste is serious for small-scale businesses
For example, this problem will become more prominent after deployment on the cloud, which will intensify the hardware investment of the cloud service provider.
In addition, the clusters are completely isolated and cannot access each other
[0004] Therefore, physically isolating the competition for hardware resources between different businesses will easily lead to increased management and operation costs and inefficient utilization of machine resources.

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
  • Resource isolation method and device for distributed database system, and server
  • Resource isolation method and device for distributed database system, and server
  • Resource isolation method and device for distributed database system, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In the following, only certain exemplary embodiments are briefly described. As those skilled in the art can realize, the described embodiments may be modified in various different ways without departing from the spirit or scope of the present invention. Therefore, the drawings and description are to be regarded as illustrative in nature and not restrictive.

[0052] figure 1 Shows a flowchart of a resource isolation method of a distributed database system according to an embodiment of the present invention. Such as figure 1 As shown, the resource isolation method of the distributed database system may include the following steps:

[0053] 101. Receive pending requests from businesses or tenants outside the distributed database system;

[0054] 102. Send the pending request to the database instance allocated for the business or tenant;

[0055] 103. Process the pending request through each container corresponding to each database instance allocated to the business or tenant.

...

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

Embodiments of the invention provide a resource isolation method and device for a distributed database system, and a server. The distributed database system comprises a plurality of servers; a plurality of containers are arranged on each server; each container occupies a pre-allocated resource in the server which the container belongs to; and each container corresponds to a database instance. Themethod comprises the following steps of receiving a service outside the distributed database system or a to-be-processed request of a tenant; sending the to-be-processed request to the database instance allocated to the service or the tenant; and processing the to-be-processed request through each container corresponding to each database instance allocated to the service or the tenant. According to the resource isolation method and device, the service or the request of the tenant can be processed through the container corresponding to each database instance allocated to the service or the tenant, and the request can be processed in a server resource which is allowed to be used by the corresponding container according to the service or the tenant, so that different service or tenant resources are isolated.

Description

Technical field [0001] The present invention relates to the field of database technology, in particular to a resource isolation method, device and server of a distributed database system. Background technique [0002] With the rapid development of Internet business and big data technology, the amount of data that is required to be processed concurrently by the database system is increasing, and the stock of data is also continuously growing. Various manufacturers and enterprises design and implement their own distributed database systems. In order to solve the resource competition problem caused by the use of the same database system for multiple businesses, the current common method is to deploy a separate cluster for each business (or tenant), and physically isolate the hardware between different businesses through the cluster. Resource competition, to solve the problem of resource allocation and competition between businesses (or tenants). [0003] However, if the number of se...

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
IPC IPC(8): G06F9/50G06F17/30
CPCG06F9/5083
Inventor 严龙赖宝华宋浩曾倩婷
Owner BEIJING BAIDU NETCOM SCI & 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