[go: up one dir, main page]

WO2014063474A1 - Database extension method, database extension device and database system - Google Patents

Database extension method, database extension device and database system Download PDF

Info

Publication number
WO2014063474A1
WO2014063474A1 PCT/CN2013/074296 CN2013074296W WO2014063474A1 WO 2014063474 A1 WO2014063474 A1 WO 2014063474A1 CN 2013074296 W CN2013074296 W CN 2013074296W WO 2014063474 A1 WO2014063474 A1 WO 2014063474A1
Authority
WO
WIPO (PCT)
Prior art keywords
database
data
main
sub
load balancer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2013/074296
Other languages
French (fr)
Chinese (zh)
Inventor
秦建鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2014063474A1 publication Critical patent/WO2014063474A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Definitions

  • Database extension method Database extension method, database extension device and database system
  • the present invention relates to the field of information technology, and in particular, to a database extension method, a database extension device, and a database system. Background technique
  • an object of the present invention is to provide a database expansion method, a database expansion device, and a database system capable of expanding a database while ensuring data consistency.
  • an embodiment of the present invention provides a database extension method, which is applied to a database system including a load balancer and a primary database, where the method includes: The load balancer creates a sub-database;
  • the load balancer sends a first data synchronization instruction to the primary database to cause the primary database to synchronize data stored by the primary database to the sub-database;
  • the primary database is a database that allows a user to perform data read and write operations;
  • the secondary database is a database that allows only users to perform data read operations.
  • the method further includes: the load balancer receiving a data write request;
  • the load balancer sends a data write instruction to the primary database to write the requested data to the primary database according to the data write request; the load balancer sends a second to the primary database
  • the data synchronization instruction in combination with the first aspect or the first possible implementation manner of the first aspect, in the second possible implementation manner, the method further includes:
  • the load balancer receives a data read request
  • the load balancer selects a matching database from the primary database and the sub-database according to a database system access policy
  • the load balancer sends a data read instruction to the matching database to read the requested data from the matching database.
  • the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.
  • an embodiment of the present invention provides a database expansion apparatus, which is applied to a database system including a primary database, where the apparatus includes:
  • a sending unit configured to send a first data synchronization instruction to the primary database, Causing the primary database to synchronize data stored by the primary database to the sub-database;
  • the primary database is a database that allows a user to perform data read and write operations;
  • the secondary database is a database that allows only users to perform data read operations.
  • the method further includes a receiving unit, where the receiving unit is configured to receive a data write request, and the sending unit is further configured to: according to the data write request, to the The primary database sends a data write instruction to write the requested data to the primary database and to send a second data synchronization instruction to the primary database to cause the primary database to synchronize the written data to the Subdatabase.
  • the method further includes a selecting unit, where the receiving unit is further configured to receive a data read request, where the selecting unit is configured to use the database system Accessing a policy, selecting a matching database from the primary database and the sub-database;
  • the sending unit is further configured to send a data read instruction to the matched database to read the requested data from the matched database; wherein the database system access policy includes a database system access load balancing policy and a database At least one of system access speed policies.
  • an embodiment of the present invention provides a database system, including a load balancer and a primary database, where: the load balancer creates a sub-database, and sends a first data synchronization instruction to the primary database; Receiving, by the database, the first data synchronization instruction, and synchronizing the data stored by the primary database to the sub-database; wherein the primary database is a database that allows a user to perform data read and write operations; A database in which users perform data read operations.
  • the method further includes: the load balancer receiving a data write request, and writing according to the data Requesting to send a data write instruction to the primary database;
  • the primary database receives the data write instruction and writes the requested data to the primary database
  • the load balancer sends a second data synchronization instruction to the primary database
  • the primary database receives the second data synchronization instruction and synchronizes the written data to the sub-database.
  • the method further includes: the load balancer receiving a data read request, according to a database system access policy from the main And the database and the sub-database select a matching database, and send a data read instruction to the matched database; the matched database receives the data read instruction, and provides the requested data according to the data read instruction
  • the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.
  • the database extension method, device and database system provided by the embodiment of the invention, by creating a sub-database, send a data synchronization instruction to the main database, and synchronize the data stored in the main database to the sub-database, thereby being flexible and not flexible. Database extensions while ensuring data consistency.
  • FIG. 1 shows a flow diagram of a database extension method in accordance with one embodiment of the present invention
  • FIG. 2 shows a flow chart of write data processing of a database extension method in accordance with one embodiment of the present invention
  • Figure 3 is a flow chart showing the processing of read data of the database extension method in accordance with one embodiment of the present invention.
  • Figure 4 is a block diagram showing a database expansion apparatus in accordance with one embodiment of the present invention.
  • Figure 5 is a block diagram showing a database expansion apparatus according to another embodiment of the present invention.
  • Figure 6 is a block diagram showing a database expansion apparatus according to another embodiment of the present invention.
  • FIG. 7 shows a block diagram of a database system in accordance with one embodiment of the present invention. detailed description
  • FIG. 1 shows a flow of a database extension method in accordance with one embodiment of the present invention.
  • the method is applied to a database system including a load balancer and a primary database, and mainly includes the following steps:
  • the load balancer creates a sub-database.
  • the load balancer sends a first data synchronization instruction to the primary database, so that the primary database synchronizes data stored by the primary database to the sub-database.
  • the primary database is a database that allows a user to perform data read and write operations;
  • the secondary database is a database that allows only users to perform data read operations.
  • a data synchronization instruction is sent to the primary database, and the data stored in the primary database is synchronized to the sub-database, thereby realizing the expansion of the database and ensuring data consistency.
  • the number of primary databases may be one or more, and each primary database may only store specific types of data, and may also save various types of data at the same time, so accessing and expanding the database is not stored by the database. limits.
  • the load balancer in step S101, can flexibly create a sub-database based on the user's access to the primary database. For example, when a user's access to the primary database exceeds the load threshold of the primary database, the load balancer can create one or more subdatabases.
  • the load balancer can create a sub-database in various ways.
  • the load balancer can enable one or more standby databases as a sub-database according to the amount of access, and the like.
  • step S102 the load balancer sends a first data synchronization instruction to the primary database to synchronize the data stored by the primary database by the primary database.
  • the load balancer sends a first data synchronization instruction to the primary database to synchronize the data stored by the primary database by the primary database.
  • the sub-database To the sub-database; thereby maintaining data consistency between the primary database and the sub-database while the database is expanding.
  • FIG. 2 is a flow chart showing the write data processing of the database extension method in accordance with one embodiment of the present invention.
  • the write data processing includes:
  • the load balancer receives a data write request.
  • the load balancer sends a data write instruction to the primary database according to the received data write request, to write the requested data into the primary database;
  • the load balancer sends a second data synchronization instruction to the primary database, so that the primary database synchronizes the written data to the sub-database.
  • the load balancer may select a matching database from the plurality of primary databases according to the database system access policy and send a data write command.
  • the read data processing includes:
  • the load balancer receives a data read request.
  • the load balancer selects a matching database from the primary database and the sub-database according to a database system access policy.
  • the load balancer sends a data read command to the matched database to read the requested data from the matched database.
  • the load balancer when receiving the data read request, can select only the matching database from the sub-database, thereby implementing read-write splitting, thereby further improving the overall load capacity of the database while maintaining Data consistency.
  • the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.
  • the load balancer can select a matching database according to each database load condition based on load balancing technology such as elastic load balancing; according to the database system access speed policy, the load balancer can be based on, for example, DNS (Domain Name System, Domain Name System ) Performs intelligent matching, selecting the nearest database for the user who sent the request, such as selecting a matching telecommunications database for telecommunications network users, and so on.
  • DNS Domain Name System, Domain Name System
  • the load balancer can support various protocol types, and supports corresponding session keeping policies and health check mechanisms, thereby providing multiple protocols and service support, and implementing load balancing of various services such as Exchange, sharepoint, and SAP, and Widely used in public and private cloud scenarios.
  • FIG. 4 is a block diagram showing a database expansion apparatus 400 in accordance with an embodiment of the present invention.
  • the apparatus is applied to a database system including a primary database, and mainly includes:
  • the sending unit 402 is configured to send a first data synchronization instruction to the primary database, so that the primary database synchronizes data stored by the primary database to the sub-database;
  • the primary database is a database that allows a user to perform data read and write operations;
  • the secondary database is a database that allows only users to perform data read operations.
  • the database expansion apparatus provided by the embodiment of the present invention can implement load balancing by creating a sub-database and synchronizing the main database data to the sub-database.
  • FIG. 5 is a structural diagram of a database expansion apparatus 500 according to another embodiment of the present invention.
  • the database expansion apparatus 500 of the embodiment further includes a receiving unit 403 for receiving on the basis of the embodiment shown in FIG. Data write request. And sending a data write instruction to the primary database to write the requested data to the a primary database, and transmitting a second data synchronization instruction to the primary database to cause the primary database to synchronize the written data to the secondary database.
  • FIG. 6 shows a structural diagram of a database expansion apparatus 600 according to another embodiment of the present invention.
  • the database expansion apparatus 600 of the embodiment further includes a selection unit 404, the receiving unit, based on the embodiment shown in FIG.
  • the unit 403 is further configured to receive a data read request;
  • the selecting unit 404 is configured to select a matching database from the primary database and the sub-database according to a database system access policy;
  • the sending unit 402 is further configured to The matching database sends a data read instruction to read the requested data from the matched database; wherein the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.
  • the selecting unit 404 can select only the matched database from the sub-database to implement read-write and shunt to further improve the overall load capacity of the database while maintaining data consistency.
  • FIG. 7 shows a database system 700 including a load balancer 701 and a primary database 702 in accordance with one embodiment of the present invention, wherein:
  • the load balancer 701 creates a sub-database 703 and sends a first data synchronization instruction to the main database 702;
  • the primary database 702 receives the first data synchronization instruction, and synchronizes the data stored by the primary database 702 to the sub-database 703;
  • the primary database 702 is a database that allows users to perform data read and write operations; the secondary database 703 is a database that allows only users to perform data read operations.
  • the load balancer 701 receives a data write request and sends a data write command to the primary database 702 according to the data write request; the primary database 702 receives the data write Directing, and writing the requested data to the primary database 702; the load balancer 701 to the primary database 702 transmits a second data synchronization instruction; and the primary database 702 receives the second data synchronization instruction and synchronizes the written data to the sub-database 703.
  • the load balancer 701 receives a data read request, selects a matching database from the primary database 702 and the sub-database 703 according to a database system access policy, and sends the matched database to the matched database.
  • a data read instruction the matched database receives the data read instruction, and provides the requested data according to the data read instruction;
  • the database system access policy includes a database system access load balancing policy and a database system At least one of the access speed policies.
  • the load balancer 701 can select only the matching database from the sub-database 703, thereby implementing read-write and offloading, further improving the overall load capacity of the database while maintaining data consistency.
  • the function is implemented in the form of a software functional unit and is produced as an independent product.
  • the product When the product is sold or used, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to make a computer device (which may be a personal computer, a server, or a network) and the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM). , Random Access Memory ), a variety of media that can store program code, such as a disk or a disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Proposed are a database extension method, a database extension device and a database system. The method is applied to a database system comprising a load balancer and a main database, and comprises: the load balancer creating a sub-database; and the load balancer sending a first data synchronization instruction to the main database so as to enable the main database to synchronize data stored therein to the sub-database, the main database being a database which allows a user to perform data read and write operations; the sub-database being a database which only allows a user to perform a data read operation.

Description

数据库扩展方法、 数据库扩展装置和数据库系统 技术领域  Database extension method, database extension device and database system

本发明涉及信息技术领域, 特别地, 涉及一种数据库扩展方 法、 数据库扩展装置和数据库系统。 背景技术  The present invention relates to the field of information technology, and in particular, to a database extension method, a database extension device, and a database system. Background technique

在数据库访问管理中, 如何根据用户访问量的变化, 灵活地 对数据库进行扩展是目前需要解决的问题。  In database access management, how to flexibly expand the database according to changes in user access is a problem that needs to be solved.

在现有的 SharePoint等解决方案中,通过将数据库分为不同 业务数据库,用户的所有读 /写请求都按照接口分层下发到特定的 数据库中, 从而达到使访问分流以均衡各数据库的负载量的目 的。 然而这种解决方案的缺点是, 若弹性增加数据库, 会产生数 据读写不一致的问题, 因此只能基于已经设定的数据库提供服 务, 不能适应于用户访问量的增大来弹性增加数据库, 从而不能 很好的解决分流问题。 发明内容  In the existing solutions such as SharePoint, by dividing the database into different business databases, all read/write requests of the user are distributed to a specific database according to the interface layer, so that the access is divided to balance the load of each database. The purpose of quantity. However, the disadvantage of this solution is that if the database is flexibly increased, the problem of inconsistent data reading and writing will occur. Therefore, the service can only be provided based on the database already set, and the database cannot be flexibly increased in response to the increase in the amount of user access. The shunt problem cannot be solved very well. Summary of the invention

发明要解决的问题  Problems to be solved by the invention

有鉴于此, 本发明的目的在于提供一种能够对数据库进行扩 展并同时可以保证数据的一致性的数据库扩展方法、 数据库扩展 装置和数据库系统。  In view of the above, an object of the present invention is to provide a database expansion method, a database expansion device, and a database system capable of expanding a database while ensuring data consistency.

用于解决问题的方案  Solution to solve the problem

为达以上目的, 第一方面, 本发明实施例提供了一种数据库 扩展方法, 应用于包括负载均衡器和主数据库的数据库系统, 所 述方法包括: 所述负载均衡器创建子数据库; 以及 To achieve the above objective, in a first aspect, an embodiment of the present invention provides a database extension method, which is applied to a database system including a load balancer and a primary database, where the method includes: The load balancer creates a sub-database;

所述负载均衡器向所述主数据库发送第一数据同步指令, 以使所述主数据库将所述主数据库存储的数据同步至所述子 数据库;  The load balancer sends a first data synchronization instruction to the primary database to cause the primary database to synchronize data stored by the primary database to the sub-database;

其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。  The primary database is a database that allows a user to perform data read and write operations; the secondary database is a database that allows only users to perform data read operations.

结合第一方面, 在第一种可能的实施方式中, 还包括: 所述负载均衡器接收数据写入请求;  With reference to the first aspect, in a first possible implementation, the method further includes: the load balancer receiving a data write request;

所述负载均衡器根据所述数据写入请求, 向所述主数据库 发送数据写入指令, 以将所请求的数据写入所述主数据库; 所述负载均衡器向所述主数据库发送第二数据同步指令, 结合第一方面或第一方面的第一种可能的实施方式, 在第二 种可能的实施方式中, 还包括:  The load balancer sends a data write instruction to the primary database to write the requested data to the primary database according to the data write request; the load balancer sends a second to the primary database The data synchronization instruction, in combination with the first aspect or the first possible implementation manner of the first aspect, in the second possible implementation manner, the method further includes:

所述负载均衡器接收数据读取请求;  The load balancer receives a data read request;

所述负载均衡器根据数据库系统访问策略, 从所述主数据 库和所述子数据库选择匹配的数据库;  The load balancer selects a matching database from the primary database and the sub-database according to a database system access policy;

所述负载均衡器向所述匹配的数据库发送数据读取指令, 以从所述匹配的数据库读取所请求的数据。  The load balancer sends a data read instruction to the matching database to read the requested data from the matching database.

结合第二种可能的实施方式, 在第三种可能的实施方式 中, 所述数据库系统访问策略包括数据库系统访问负载均衡策 略和数据库系统访问速度策略中的至少一种。  In conjunction with the second possible implementation manner, in a third possible implementation, the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.

第二方面, 本发明实施例提供了一种数据库扩展装置, 应用 于包括主数据库的数据库系统, 所述装置包括:  In a second aspect, an embodiment of the present invention provides a database expansion apparatus, which is applied to a database system including a primary database, where the apparatus includes:

创建单元, 用于创建子数据库;  Create a unit for creating a subdatabase;

发送单元, 用于向所述主数据库发送第一数据同步指令, 以使所述主数据库将所述主数据库存储的数据同步至所述子 数据库; a sending unit, configured to send a first data synchronization instruction to the primary database, Causing the primary database to synchronize data stored by the primary database to the sub-database;

其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。  The primary database is a database that allows a user to perform data read and write operations; the secondary database is a database that allows only users to perform data read operations.

结合第二方面, 在第一种可能的实施方式中, 还包括接收 单元; 所述接收单元用于接收数据写入请求; 所述发送单元还 用于根据所述数据写入请求, 向所述主数据库发送数据写入指 令, 以将所请求的数据写入所述主数据库, 并且向所述主数据 库发送第二数据同步指令, 以使所述主数据库将所写入的数据 同步至所述子数据库。  With reference to the second aspect, in a first possible implementation, the method further includes a receiving unit, where the receiving unit is configured to receive a data write request, and the sending unit is further configured to: according to the data write request, to the The primary database sends a data write instruction to write the requested data to the primary database and to send a second data synchronization instruction to the primary database to cause the primary database to synchronize the written data to the Subdatabase.

结合第二方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 还包括选择单元, 所述接收单元还用于接收数据读取 请求; 所述选择单元用于根据数据库系统访问策略, 从所述主数 据库和所述子数据库选择匹配的数据库;  With reference to the first possible implementation manner of the second aspect, in a second possible implementation, the method further includes a selecting unit, where the receiving unit is further configured to receive a data read request, where the selecting unit is configured to use the database system Accessing a policy, selecting a matching database from the primary database and the sub-database;

所述发送单元还用于向所述匹配的数据库发送数据读取指 令, 以从所述匹配的数据库读取所请求的数据; 其中, 所述数据 库系统访问策略包括数据库系统访问负载均衡策略和数据库系 统访问速度策略中的至少一种。  The sending unit is further configured to send a data read instruction to the matched database to read the requested data from the matched database; wherein the database system access policy includes a database system access load balancing policy and a database At least one of system access speed policies.

第三方面, 本发明实施例提供了一种数据库系统, 包括负载 均衡器和主数据库, 其中: 所述负载均衡器创建子数据库, 并向 所述主数据库发送第一数据同步指令; 所述主数据库接收所述第 一数据同步指令, 并将所述主数据库存储的数据同步至所述子数 据库; 其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。  In a third aspect, an embodiment of the present invention provides a database system, including a load balancer and a primary database, where: the load balancer creates a sub-database, and sends a first data synchronization instruction to the primary database; Receiving, by the database, the first data synchronization instruction, and synchronizing the data stored by the primary database to the sub-database; wherein the primary database is a database that allows a user to perform data read and write operations; A database in which users perform data read operations.

结合第三方面, 在第一种可能的实施方式中, 还包括: 所述负载均衡器接收数据写入请求, 并根据所述数据写入请 求向所述主数据库发送数据写入指令; With reference to the third aspect, in a first possible implementation, the method further includes: the load balancer receiving a data write request, and writing according to the data Requesting to send a data write instruction to the primary database;

所述主数据库接收所述数据写入指令, 并将所请求的数据写 入所述主数据库;  The primary database receives the data write instruction and writes the requested data to the primary database;

所述负载均衡器向所述主数据库发送第二数据同步指令; 以 及  The load balancer sends a second data synchronization instruction to the primary database; and

所述主数据库接收所述第二数据同步指令, 并将所写入的数 据同步至所述子数据库。  The primary database receives the second data synchronization instruction and synchronizes the written data to the sub-database.

结合第三方面或第三方面的第一种可能的实施方式, 在第二 种可能的实施方式中, 还包括: 所述负载均衡器接收数据读取请 求, 根据数据库系统访问策略从所述主数据库和所述子数据库选 择匹配的数据库, 并向所述匹配的数据库发送数据读取指令; 所 述匹配的数据库接收所述数据读取指令, 并根据所述数据读取指 令提供所请求的数据; 其中, 所述数据库系统访问策略包括数据 库系统访问负载均衡策略和数据库系统访问速度策略中的至少 一种。  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation, the method further includes: the load balancer receiving a data read request, according to a database system access policy from the main And the database and the sub-database select a matching database, and send a data read instruction to the matched database; the matched database receives the data read instruction, and provides the requested data according to the data read instruction The database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.

本发明实施例提供的数据库扩展方法、 装置和数据库系统, 通过创建子数据库, 向主数据库发送数据同步指令, 将主数据库 存储的数据同步到子数据库, 从而不受数据库存储内容的限制, 实现灵活的数据库扩展, 同时保证数据的一致性。  The database extension method, device and database system provided by the embodiment of the invention, by creating a sub-database, send a data synchronization instruction to the main database, and synchronize the data stored in the main database to the sub-database, thereby being flexible and not flexible. Database extensions while ensuring data consistency.

根据本发明所公开的方法和装置的其它特征和优点将在以 下的并入本文的附图以及下文对本发明的详细描述中呈现或予 以阐明, 附图和对本发明的详细描述共同用于解释本发明的特定 原理。 附图说明  Other features and advantages of the present invention will be apparent from the following description of the accompanying drawings. The specific principle of the invention. DRAWINGS

应理解, 附图没有必要按比例绘制, 其呈现的是对描述本发 明基本原理的各个特征的某种程度上的简化表示。 这里公开的本 发明特定的设计特征, 包括例如特定的尺寸、 方向、 位置和形状, 部分地由具体指定的应用和使用环境确定。 It should be understood that the appended drawings are not necessarily A somewhat simplified representation of the various features of the basic principles of the invention. The specific design features of the invention disclosed herein, including, for example, specific dimensions, orientations, positions and shapes, are determined in part by the particular application and use environment.

图 1显示了根据本发明的一个实施例的数据库扩展方法的流 程图;  1 shows a flow diagram of a database extension method in accordance with one embodiment of the present invention;

图 2显示了根据本发明的一个实施例的数据库扩展方法的写 入数据处理的流程图;  2 shows a flow chart of write data processing of a database extension method in accordance with one embodiment of the present invention;

图 3显示了根据本发明的一个实施例的数据库扩展方法的读 取数据处理的流程图;  Figure 3 is a flow chart showing the processing of read data of the database extension method in accordance with one embodiment of the present invention;

图 4显示了根据本发明的一个实施例的数据库扩展装置的结 构图;  Figure 4 is a block diagram showing a database expansion apparatus in accordance with one embodiment of the present invention;

图 5显示了根据本发明的另一个实施例的数据库扩展装置的 结构图;  Figure 5 is a block diagram showing a database expansion apparatus according to another embodiment of the present invention;

图 6显示了根据本发明的另一个实施例的数据库扩展装置的 结构图;  Figure 6 is a block diagram showing a database expansion apparatus according to another embodiment of the present invention;

图 7显示了根据本发明的一个实施例的数据库系统的结构 图。 具体实施方式  Figure 7 shows a block diagram of a database system in accordance with one embodiment of the present invention. detailed description

下面将详细参考本发明的各实施例, 其示例显示在附图和下 文描述中。 尽管结合示例性实施例描述了本发明, 但应该理解, 本说明书无意将本发明限制于这些示例性实施例。 相反, 本发明 不仅覆盖这些示例性实施例, 而且也覆盖包含在由所附权利要求 书限定的本发明的实质和范围内的各种替代物、 修改、 等价物和 其它实施例。  Reference will now be made in detail to the embodiments of the invention, While the present invention has been described in connection with the exemplary embodiments, it is understood that this description is not intended to limit the invention. Rather, the invention is not limited to the embodiments of the invention, and the various alternatives, modifications, equivalents, and other embodiments, which are included within the scope and scope of the invention as defined by the appended claims.

图 1显示了根据本发明的一个实施例的数据库扩展方法的流 程图, 在该实施例中, 该方法应用于包括负载均衡器和主数据库 的数据库系统, 并主要包括以下步骤: 1 shows a flow of a database extension method in accordance with one embodiment of the present invention. In this embodiment, the method is applied to a database system including a load balancer and a primary database, and mainly includes the following steps:

5101 , 所述负载均衡器创建子数据库;  5101. The load balancer creates a sub-database.

5102 , 所述负载均衡器向所述主数据库发送第一数据同步指 令, 以使所述主数据库将所述主数据库存储的数据同步至所述子 数据库;  S102: The load balancer sends a first data synchronization instruction to the primary database, so that the primary database synchronizes data stored by the primary database to the sub-database.

其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。  The primary database is a database that allows a user to perform data read and write operations; the secondary database is a database that allows only users to perform data read operations.

该实施例通过创建子数据库, 向主数据库发送数据同步指 令, 将主数据库存储的数据同步到子数据库, 从而实现数据库的 扩展, 同时保证数据的一致性。  In this embodiment, by creating a sub-database, a data synchronization instruction is sent to the primary database, and the data stored in the primary database is synchronized to the sub-database, thereby realizing the expansion of the database and ensuring data consistency.

以下详细说明该实施例的各步骤的优选实施方式。  Preferred embodiments of the steps of this embodiment are described in detail below.

在步骤 S 101中, 主数据库的数量可为一个或多个, 各主数据 库可仅保存特定类型的数据, 也可同时保存各种类型的数据, 因 此对数据库的访问和扩展不受数据库存储内容的限制。 此外, 优 选在进行任意数据库扩展之前创建主数据库, 更优选在最初设计 数据库系统时就创建主数据库。  In step S101, the number of primary databases may be one or more, and each primary database may only store specific types of data, and may also save various types of data at the same time, so accessing and expanding the database is not stored by the database. limits. In addition, it is preferable to create a primary database before any database extensions are performed, and it is preferable to create a primary database when the database system is originally designed.

在一个优选实施例中, 在步骤 S 101中, 负载均衡器可以根据 用户对主数据库的访问量弹性创建子数据库。 例如, 当用户对主 数据库的访问量超过主数据库的负载阈值时, 负载均衡器可创建 一个或多个子数据库。  In a preferred embodiment, in step S101, the load balancer can flexibly create a sub-database based on the user's access to the primary database. For example, when a user's access to the primary database exceeds the load threshold of the primary database, the load balancer can create one or more subdatabases.

负载均衡器可通过各种方式创建子数据库, 例如: 负载均衡 器可根据访问量启用一个或多个备用数据库作为子数据库等, 本 发明对此不作限定。  The load balancer can create a sub-database in various ways. For example, the load balancer can enable one or more standby databases as a sub-database according to the amount of access, and the like.

在步骤 S 102中, 所述负载均衡器向所述主数据库发送第一数 据同步指令, 以使所述主数据库将所述主数据库存储的数据同步 至所述子数据库; 从而在数据库扩展的同时保持主数据库和子数 据库的数据一致性。 In step S102, the load balancer sends a first data synchronization instruction to the primary database to synchronize the data stored by the primary database by the primary database. To the sub-database; thereby maintaining data consistency between the primary database and the sub-database while the database is expanding.

图 2显示了根据本发明的一个实施例的数据库扩展方法的写 入数据处理的流程图。 其中, 该写入数据处理包括:  Figure 2 is a flow chart showing the write data processing of the database extension method in accordance with one embodiment of the present invention. The write data processing includes:

5201 , 所述负载均衡器接收数据写入请求;  5201. The load balancer receives a data write request.

5202 , 所述负载均衡器根据所接收到的数据写入请求, 向所 述主数据库发送数据写入指令, 以将所请求的数据写入所述主数 据库;  S202, the load balancer sends a data write instruction to the primary database according to the received data write request, to write the requested data into the primary database;

5203 , 所述负载均衡器向所述主数据库发送第二数据同步指 令, 以使所述主数据库将所写入的数据同步至所述子数据库。  5203. The load balancer sends a second data synchronization instruction to the primary database, so that the primary database synchronizes the written data to the sub-database.

优选地, 在主数据库为多个的情况下, 在步骤 S202中, 负载 均衡器可根据数据库系统访问策略从多个主数据库中选择匹配 的数据库并发送数据写入指令。  Preferably, in a case where there are a plurality of primary databases, in step S202, the load balancer may select a matching database from the plurality of primary databases according to the database system access policy and send a data write command.

图 3显示了根据本发明的一个实施例的数据库扩展方法的读 取数据处理的流程图, 在该实施例中, 该读取数据处理包括: 3 is a flow chart showing the processing of read data of the database extension method according to an embodiment of the present invention. In this embodiment, the read data processing includes:

5301 , 所述负载均衡器接收数据读取请求; S301: The load balancer receives a data read request.

5302 , 所述负载均衡器根据数据库系统访问策略, 从所述主 数据库和所述子数据库选择匹配的数据库;  S302: The load balancer selects a matching database from the primary database and the sub-database according to a database system access policy.

5303 , 所述负载均衡器向所述匹配的数据库发送数据读取指 令, 以从所述匹配的数据库读取所请求的数据。  5303. The load balancer sends a data read command to the matched database to read the requested data from the matched database.

在一个优选的实施方式中, 当接收到数据读取请求时, 所述 负载均衡器可仅从子数据库中选择匹配的数据库, 从而实现读写 分流, 以进一步提高数据库的总体负载能力, 同时保持数据的一 致性。  In a preferred embodiment, when receiving the data read request, the load balancer can select only the matching database from the sub-database, thereby implementing read-write splitting, thereby further improving the overall load capacity of the database while maintaining Data consistency.

优选地, 所述数据库系统访问策略包括数据库系统访问负载 均衡策略和数据库系统访问速度策略中的至少一种。 举例来说, 根据数据库系统负载均衡策略, 负载均衡器可基于例如弹性负载 均衡等负载均衡技术根据各数据库负载情况选择匹配的数据库; 根据数据库系统访问速度策略, 负载均衡器可基于例如 DNS (域 名系统, Domain Name System ) 进行智能匹配, 为发送请求的用 户选择最近的数据库, 例如为电信网络用户选择匹配的电信数据 库, 等等。 Preferably, the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy. for example, According to the database system load balancing policy, the load balancer can select a matching database according to each database load condition based on load balancing technology such as elastic load balancing; according to the database system access speed policy, the load balancer can be based on, for example, DNS (Domain Name System, Domain Name System ) Performs intelligent matching, selecting the nearest database for the user who sent the request, such as selecting a matching telecommunications database for telecommunications network users, and so on.

优选地, 负载均衡器可支持各种协议类型, 同时支持相应的 会话保持策略和健康检查机制, 从而提供多种协议和业务支持, 可实现 Exchange, sharepoint, SAP等多种业务的负载均衡, 并广 泛应用在公有云和私有云场景中。  Preferably, the load balancer can support various protocol types, and supports corresponding session keeping policies and health check mechanisms, thereby providing multiple protocols and service support, and implementing load balancing of various services such as Exchange, sharepoint, and SAP, and Widely used in public and private cloud scenarios.

图 4显示了根据本发明的一个实施例的数据库扩展装置 400 的结构图, 在该实施例中, 该装置应用于包括主数据库的数据库 系统, 并主要包括:  4 is a block diagram showing a database expansion apparatus 400 in accordance with an embodiment of the present invention. In this embodiment, the apparatus is applied to a database system including a primary database, and mainly includes:

创建单元 401 , 用于创建子数据库;  Creating a unit 401 for creating a sub-database;

发送单元 402 , 用于向所述主数据库发送第一数据同步指令, 以使所述主数据库将所述主数据库存储的数据同步至所述子数 据库;  The sending unit 402 is configured to send a first data synchronization instruction to the primary database, so that the primary database synchronizes data stored by the primary database to the sub-database;

其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。  The primary database is a database that allows a user to perform data read and write operations; the secondary database is a database that allows only users to perform data read operations.

本发明实施例提供的数据库扩展装置,可以通过创建子数据 库, 并将主数据库数据同步到子数据库, 从而实现负载均衡。  The database expansion apparatus provided by the embodiment of the present invention can implement load balancing by creating a sub-database and synchronizing the main database data to the sub-database.

图 5显示了根据本发明的另一个实施例的数据库扩展装置 500的结构图, 该实施例的数据库扩展装置 500在图 4所示的实施 例的基础上, 还包括接收单元 403 , 用于接收数据写入请求。 并 向所述主数据库发送数据写入指令, 以将所请求的数据写入所述 主数据库, 并且向所述主数据库发送第二数据同步指令, 以使所 述主数据库将所写入的数据同步至所述子数据库。 FIG. 5 is a structural diagram of a database expansion apparatus 500 according to another embodiment of the present invention. The database expansion apparatus 500 of the embodiment further includes a receiving unit 403 for receiving on the basis of the embodiment shown in FIG. Data write request. And sending a data write instruction to the primary database to write the requested data to the a primary database, and transmitting a second data synchronization instruction to the primary database to cause the primary database to synchronize the written data to the secondary database.

图 6显示了根据本发明的另一个实施例的数据库扩展装置 600的结构图, 该实施例的数据库扩展装置 600在图 5所示的实施 例的基础上, 还包括选择单元 404 , 所述接收单元 403还用于接收 数据读取请求; 所述选择单元 404用于根据数据库系统访问策略, 从所述主数据库和所述子数据库选择匹配的数据库; 所述发送单 元 402还用于向所述匹配的数据库发送数据读取指令, 以从所述 匹配的数据库读取所请求的数据; 其中, 所述数据库系统访问策 略包括数据库系统访问负载均衡策略和数据库系统访问速度策 略中的至少一种。  FIG. 6 shows a structural diagram of a database expansion apparatus 600 according to another embodiment of the present invention. The database expansion apparatus 600 of the embodiment further includes a selection unit 404, the receiving unit, based on the embodiment shown in FIG. The unit 403 is further configured to receive a data read request; the selecting unit 404 is configured to select a matching database from the primary database and the sub-database according to a database system access policy; the sending unit 402 is further configured to The matching database sends a data read instruction to read the requested data from the matched database; wherein the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.

优选地, 所述选择单元 404可仅从子数据库中选择匹配的数 据库,从而实现读写分流, 以进一步提高数据库的总体负载能力, 同时保持数据的一致性。  Preferably, the selecting unit 404 can select only the matched database from the sub-database to implement read-write and shunt to further improve the overall load capacity of the database while maintaining data consistency.

图 7显示了根据本发明的一个实施例的一种数据库系统 700 , 包括负载均衡器 701和主数据库 702 , 其中:  Figure 7 shows a database system 700 including a load balancer 701 and a primary database 702 in accordance with one embodiment of the present invention, wherein:

所述负载均衡器 701创建子数据库 703 , 并向所述主数据库 702发送第一数据同步指令;  The load balancer 701 creates a sub-database 703 and sends a first data synchronization instruction to the main database 702;

所述主数据库 702接收所述第一数据同步指令, 并将所述主 数据库 702存储的数据同步至所述子数据库 703;  The primary database 702 receives the first data synchronization instruction, and synchronizes the data stored by the primary database 702 to the sub-database 703;

其中, 所述主数据库 702为允许用户进行数据读写操作的数 据库; 所述子数据库 703为仅允许用户进行数据读操作的数据库。  The primary database 702 is a database that allows users to perform data read and write operations; the secondary database 703 is a database that allows only users to perform data read operations.

在一个优选实施例中, 所述负载均衡器 701接收数据写入请 求, 并根据所述数据写入请求向所述主数据库 702发送数据写入 指令; 所述主数据库 702接收所述数据写入指令, 并将所请求的 数据写入所述主数据库 702 ; 所述负载均衡器 701向所述主数据库 702发送第二数据同步指令; 以及所述主数据库 702接收所述第二 数据同步指令, 并将所写入的数据同步至所述子数据库 703。 In a preferred embodiment, the load balancer 701 receives a data write request and sends a data write command to the primary database 702 according to the data write request; the primary database 702 receives the data write Directing, and writing the requested data to the primary database 702; the load balancer 701 to the primary database 702 transmits a second data synchronization instruction; and the primary database 702 receives the second data synchronization instruction and synchronizes the written data to the sub-database 703.

在另一优选实施例中, 所述负载均衡器 701接收数据读取请 求, 根据数据库系统访问策略从所述主数据库 702和所述子数据 库 703选择匹配的数据库, 并向所述匹配的数据库发送数据读取 指令; 所述匹配的数据库接收所述数据读取指令, 并根据所述数 据读取指令提供所请求的数据; 其中, 所述数据库系统访问策略 包括数据库系统访问负载均衡策略和数据库系统访问速度策略 中的至少一种。  In another preferred embodiment, the load balancer 701 receives a data read request, selects a matching database from the primary database 702 and the sub-database 703 according to a database system access policy, and sends the matched database to the matched database. a data read instruction; the matched database receives the data read instruction, and provides the requested data according to the data read instruction; wherein the database system access policy includes a database system access load balancing policy and a database system At least one of the access speed policies.

优选地, 所述负载均衡器 701可仅从子数据库 703中选择匹配 的数据库, 从而实现读写分流, 进一步提高数据库的总体负载能 力, 同时保持数据的一致性。  Preferably, the load balancer 701 can select only the matching database from the sub-database 703, thereby implementing read-write and offloading, further improving the overall load capacity of the database while maintaining data consistency.

上文为了描绘和描述的目的, 呈现了本发明的特定示例性实 施例。 这些示例性实施例并非穷举的, 或将本发明限制为公开的 精确形式, 明显地,根据上述教示的诸多修改和变化都是可行的。 选择并描述这些示例性实施例是为了解释本发明的特定原理及 其实际应用, 从而使本领域技术人员制造并使用本发明的各个示 例性实施例, 及其各种替代物和修改。 事实上本发明的范围由所 附的权利要求书及其等价物限定。  The specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. The present invention is not intended to be exhaustive or to limit the invention. The exemplary embodiments were chosen and described in order to explain the particular embodiments of the embodiments of the invention The scope of the invention is defined by the appended claims and their equivalents.

本领域普通技术人员可以意识到, 结合本文中所公开的实施 例描述的各示例的单元及算法步骤, 能够以电子硬件、 或者计算 机软件和电子硬件的结合来实现。 这些功能究竟以硬件还是软件 方式来执行, 取决于技术方案的特定应用和设计约束条件。 专业 技术人员可以对每个特定的应用来使用不同方法来实现所描述 的功能, 但是这种实现不应认为超出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.

所述功能如果以软件功能单元的形式实现并作为独立的产 品销售或使用时, 可以存储在一个计算机可读取存储介质中。 基 于这样的理解, 本发明的技术方案本质上或者说对现有技术做出 贡献的部分或者该技术方案的部分可以以软件产品的形式体现 出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令 用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 ( ROM , Read-Only Memory )、 随机存取存储器( RAM , Random Access Memory ), 磁碟或者光盘等各种可以存储程序代码的介质。 The function is implemented in the form of a software functional unit and is produced as an independent product. When the product is sold or used, it can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to make a computer device (which may be a personal computer, a server, or a network) and the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM). , Random Access Memory ), a variety of media that can store program code, such as a disk or a disc.

Claims

权 利 要 求 书 claims 1、 一种数据库扩展方法, 其特征在于, 所述方法应用于 包括负载均衡器和主数据库的数据库系统, 所述方法包括: 所述负载均衡器创建子数据库; 以及 1. A database expansion method, characterized in that the method is applied to a database system including a load balancer and a main database, and the method includes: the load balancer creates a sub-database; and 所述负载均衡器向所述主数据库发送第一数据同步指令, 以使所述主数据库将所述主数据库存储的数据同步至所述子 数据库; The load balancer sends a first data synchronization instruction to the main database, so that the main database synchronizes the data stored in the main database to the sub-database; 其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。 Wherein, the main database is a database that allows users to perform data reading and writing operations; the sub-database is a database that only allows users to perform data reading operations. 2、 如权利要求 1 所迷的数据库扩展方法, 其特征在于, 还包括: 2. The database expansion method as claimed in claim 1, further comprising: 所述负载均衡器接收数据写入请求; The load balancer receives the data write request; 所述负载均衡器根据所述数据写入请求, 向所述主数据库 发送数据写入指令, 以将所请求的数据写入所述主数据库; 所述负载均衡器向所述主数据库发送第二数据同步指令, The load balancer sends a data writing instruction to the main database according to the data writing request to write the requested data into the main database; the load balancer sends a second data writing instruction to the main database. Data synchronization instructions, 3、 如权利要求 1 或 2所迷的数据库扩展方法, 其特征在 于, 还包括: 3. The database expansion method as claimed in claim 1 or 2, further comprising: 所述负载均衡器接收数据读取请求; The load balancer receives the data read request; 所述负载均衡器根据数据库系统访问策略, 从所述主数据 库和所述子数据库选择匹配的数据库; The load balancer selects a matching database from the main database and the sub-database according to the database system access policy; 所述负载均衡器向所述匹配的数据库发送数据读取指令, 以从所述匹配的数据库读取所请求的数据。 The load balancer sends a data read instruction to the matching database to read the requested data from the matching database. 4、 如权利要求 3 所述的数据库扩展方法, 其特征在于, 所述数据库系统访问策略包括数据库系统访问负载均衡策略 和数据库系统访问速度策略中的至少一种。 4. The database expansion method according to claim 3, wherein the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy. 5、 一种数据库扩展装置, 其特征在于, 所述数据库扩展 装置应用于包括主数据库的数据库系统, 所述数据库扩展装置 包括: 5. A database expansion device, characterized in that the database expansion device is applied to a database system including a main database, and the database expansion device includes: 创建单元, 用于创建子数据库; Creation unit, used to create sub-databases; 发送单元, 用于向所述主数据库发送第一数据同步指令, 以使所述主数据库将所述主数据库存储的数据同步至所述子 数据库; A sending unit, configured to send a first data synchronization instruction to the main database, so that the main database synchronizes the data stored in the main database to the sub-database; 其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。 Wherein, the main database is a database that allows users to perform data reading and writing operations; the sub-database is a database that only allows users to perform data reading operations. 6、 如权利要求 5 所述的数据库扩展装置, 其特征在于, 还包括接收单元, 6. The database expansion device according to claim 5, further comprising a receiving unit, 所述接收单元用于接收数据写入请求; 据库发送数据写入指令, 以将所请求的数据写入所述主数据 库, 并且向所述主数据库发送第二数据同步指令, 以使所述主 The receiving unit is used to receive a data write request; send a data write instruction to the database to write the requested data into the main database, and send a second data synchronization instruction to the main database so that the host 7、 如权利要求 6 所述的数据库扩展装置, 其特征在于, 还包括选择单元, 7. The database expansion device according to claim 6, further comprising a selection unit, 所述接收单元还用于接收数据读取请求; The receiving unit is also used to receive data reading requests; 所述选择单元用于根据数据库系统访问策略, 从所述主数 据库和所述子数据库选择匹配的数据库; The selection unit is used to select a matching database from the main database and the sub-database according to the database system access policy; 所述发送单元还用于向所述匹配的数据库发送数据读取 指令, 以从所述匹配的数据库读取所请求的数据; The sending unit is also used to send a data reading instruction to the matching database to read the requested data from the matching database; 其中, 所述数据库系统访问策略包括数据库系统访问负载 均衡策略和数据库系统访问速度策略中的至少一种。 Wherein, the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy. 8、 一种数据库系统, 其特征在于, 包括负载均衡器和主 数据库; 8. A database system, characterized by including a load balancer and a main server database; 所述负载均衡器创建子数据库, 并向所述主数据库发送第 一数据同步指令; The load balancer creates a sub-database and sends a first data synchronization instruction to the main database; 所述主数据库接收所述第一数据同步指令, 并将所述主数 据库存储的数据同步至所述子数据库; The main database receives the first data synchronization instruction and synchronizes the data stored in the main database to the sub-database; 其中, 所述主数据库为允许用户进行数据读写操作的数据 库; 所述子数据库为仅允许用户进行数据读操作的数据库。 Wherein, the main database is a database that allows users to perform data reading and writing operations; the sub-database is a database that only allows users to perform data reading operations. 9、 如权利要求 8所述的数据库系统, 其特征在于: 所述负载均衡器接收数据写入请求, 并根据所述数据写入 请求向所述主数据库发送数据写入指令; 9. The database system according to claim 8, characterized in that: the load balancer receives a data write request, and sends a data write instruction to the main database according to the data write request; 所述主数据库接收所述数据写入指令, 并将所请求的数据 写入所述主数据库; The main database receives the data writing instruction and writes the requested data into the main database; 所述负载均衡器向所述主数据库发送第二数据同步指令; 以及 The load balancer sends a second data synchronization instruction to the primary database; and 所述主数据库接收所述第二数据同步指令, 并将所写入的 数据同步至所述子数据库。 The main database receives the second data synchronization instruction and synchronizes the written data to the sub-database. 10、 如权利要求 8或 9所述的数据库系统, 其特征在于: 所述负载均衡器接收数据读取请求, 根据数据库系统访问 策略从所述主数据库和所述子数据库选择匹配的数据库, 并向 所述匹配的数据库发送数据读取指令; 10. The database system according to claim 8 or 9, characterized in that: the load balancer receives a data read request, selects a matching database from the main database and the sub-database according to the database system access policy, and Send data reading instructions to the matching database; 所述匹配的数据库接收所述数据读取指令, 并根据所述数 据读取指令提供所请求的数据; The matching database receives the data reading instruction and provides the requested data according to the data reading instruction; 其中, 所述数据库系统访问策略包括数据库系统访问负载 均衡策略和数据库系统访问速度策略中的至少一种。 Wherein, the database system access policy includes at least one of a database system access load balancing policy and a database system access speed policy.
PCT/CN2013/074296 2012-10-25 2013-04-17 Database extension method, database extension device and database system Ceased WO2014063474A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210413007.7A CN103412860B (en) 2012-10-25 2012-10-25 Method and device for extending database and database system
CN201210413007.7 2012-10-25

Publications (1)

Publication Number Publication Date
WO2014063474A1 true WO2014063474A1 (en) 2014-05-01

Family

ID=49605873

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/074296 Ceased WO2014063474A1 (en) 2012-10-25 2013-04-17 Database extension method, database extension device and database system

Country Status (2)

Country Link
CN (1) CN103412860B (en)
WO (1) WO2014063474A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156330A (en) * 2016-07-06 2016-11-23 北京金山安全管理系统技术有限公司 A kind of data base's adaptation method and database adapter
CN107563219A (en) * 2017-08-28 2018-01-09 深圳市华傲数据技术有限公司 A kind of data base management method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868203A (en) * 2015-01-21 2016-08-17 上海可鲁系统软件有限公司 Industrial internet-of-things distributed data access method and database system
CN107368485A (en) * 2016-05-12 2017-11-21 苏宁云商集团股份有限公司 The management method and Database Systems of a kind of database
CN106991190A (en) * 2017-04-11 2017-07-28 广东浪潮大数据研究有限公司 A kind of database automatically creates subdata base system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119414A (en) * 2007-09-19 2008-02-06 华为技术有限公司 Method and system for accessing database
US7676516B2 (en) * 2002-10-15 2010-03-09 Active-Base Ltd. System and method for the optimization of database access in data base networks
CN101727496A (en) * 2010-01-15 2010-06-09 山东高效能服务器和存储研究院 Method for realizing load balancing cluster of MICROSOFT SQL SERVER database
CN101916298A (en) * 2010-08-31 2010-12-15 深圳市赫迪威信息技术有限公司 Database operation method, apparatus and system
CN102207937A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Database access method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100416562C (en) * 2004-12-24 2008-09-03 许继集团有限公司 A real-time database management system for electric power automation system and its realization method
CN101370030B (en) * 2008-09-24 2011-03-16 东南大学 Resource load stabilization method based on contents duplication
CN102629268B (en) * 2012-03-09 2014-12-17 华为技术有限公司 Data synchronization method, system and date access device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676516B2 (en) * 2002-10-15 2010-03-09 Active-Base Ltd. System and method for the optimization of database access in data base networks
CN101119414A (en) * 2007-09-19 2008-02-06 华为技术有限公司 Method and system for accessing database
CN101727496A (en) * 2010-01-15 2010-06-09 山东高效能服务器和存储研究院 Method for realizing load balancing cluster of MICROSOFT SQL SERVER database
CN102207937A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Database access method and system
CN101916298A (en) * 2010-08-31 2010-12-15 深圳市赫迪威信息技术有限公司 Database operation method, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156330A (en) * 2016-07-06 2016-11-23 北京金山安全管理系统技术有限公司 A kind of data base's adaptation method and database adapter
CN107563219A (en) * 2017-08-28 2018-01-09 深圳市华傲数据技术有限公司 A kind of data base management method and device
CN107563219B (en) * 2017-08-28 2020-04-24 深圳市华傲数据技术有限公司 Database management method and device

Also Published As

Publication number Publication date
CN103412860A (en) 2013-11-27
CN103412860B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
US8769269B2 (en) Cloud data management
CN110677441B (en) Access method and device of object storage cluster
JPWO2005001700A1 (en) Storage capacity management method, server and recording medium
CN111585887B (en) Communication method and device based on multiple networks, electronic equipment and storage medium
WO2014183708A1 (en) Method and system for realizing block storage of distributed file system
CN103226518A (en) Method and device for performing volume expansion in storage management system
TW201220060A (en) Latency reduction associated with a response to a request in a storage system
US11050550B2 (en) Methods and systems for reading data based on plurality of blockchain networks
CN107547480A (en) A kind of method, apparatus and virtual desktop management system of virtual desktop security control
CN110489388A (en) A kind of implementation method and equipment locked for SCSI in distributed network storage system
WO2014063474A1 (en) Database extension method, database extension device and database system
US9591079B2 (en) Method and apparatus for managing sessions of different websites
WO2012037873A1 (en) Distributed data storage system and method
CN108769123B (en) A data system and data processing method
CN104412236A (en) Delivery controller between cloud and enterprise
CN105468300A (en) IP hard disc management method and device
CN104811473A (en) Virtual nonvolatile storage medium establishing method and system and management system
CN115113800A (en) Multi-cluster management method, device, computing device and storage medium
US9231957B2 (en) Monitoring and controlling a storage environment and devices thereof
CN106155566A (en) For storing method, the Apparatus and system of data
WO2013078611A1 (en) Data processing method, device and client in distributed storage system
CN102523267A (en) Cloud backup system and method
WO2016101662A1 (en) Data processing method and relevant server
CN104503924B (en) Region allocation method and device in a kind of Bedding storage system
CN110753059A (en) Authority management method, equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13848190

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13848190

Country of ref document: EP

Kind code of ref document: A1