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

Database hosting method and database hosting platform system

A hosting platform and database technology, applied in the Internet field, can solve problems such as database host downtime, affecting the development of Internet companies, complex application development, etc., and achieve the effect of simplifying the development process

Active Publication Date: 2011-09-21
BEIJING FEINNO COMM TECH
View PDF3 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Today, with the rapid development of the Internet, the demand for high concurrent data access on the server side is becoming more and more obvious, but unexpected downtime of the database will always bring adverse effects
For large Internet companies, various projects come one after another, and the demand for hardware resources becomes obvious. Problems such as insufficient machine resources, or low machine utilization rate seriously affect the development of Internet companies.
[0003] The usage of the traditional MySQL database is: the database resources are composed of a master library (Master) and one or more slave libraries (Slave), and the application directly accesses the database resources. When the business peak encounters slow SQL (Structured Query Language, Structured Query Language) will affect the downtime of a database host, resulting in abnormal business
For multiple Slave applications, configuration management is troublesome and application development is complicated
[0004] It can be seen that in the existing database usage scheme, since the application directly accesses the database, the development of the application program needs to consider the failure of the master library and the slave library, as well as the distribution of the database, etc., so the development of the application program is complicated.

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
  • Database hosting method and database hosting platform system
  • Database hosting method and database hosting platform system
  • Database hosting method and database hosting platform system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] figure 1 It is a flow chart of a database hosting method in the embodiment of the present invention. Such as figure 1 shown, including:

[0023] 101. Save information of each database instance; each database instance includes a master database and more than one slave database.

[0024] 102. Monitor the master library and the slave library. When the master library fails, select a slave library as the new master library, downgrade the failed original master library to a slave library, modify the saved information of the corresponding database instance, and replace the failed The original master library is marked as not alive; when a slave library fails, modify the saved information of the corresponding database instance, and mark the slave...

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

The invention discloses a database hosting method and a database hosting platform system. The method comprises the steps of: saving information of all database instances, wherein each database instance comprises a master database and more than one slave databases; monitoring the master database and the slave databases, when the master database fails, selecting one of the slave databases as a new master database, degrading the faulty original master database to a slave database, modifying information of the saved corresponding database instances, and marking the faulty original master databaseas non-liveness; when a slave database fails, modifying information of the saved corresponding database instances, and marking the slave database as non-liveness; and receiving a database resource request sent by an application program, and returning the information of the requested database resource to the application program according to the information of the saved database instances. According to the technical scheme of the invention, the development of the application program can be simplified, and dynamic capacity expansion can be realized under the sudden increase of reading services.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a database hosting method and a database hosting platform system. Background technique [0002] Today, with the rapid development of the Internet, the demand for high concurrent data access on the server side is becoming more and more obvious, but unexpected downtime of the database will always bring adverse effects. For large Internet companies, various projects come one after another, and the demand for hardware resources becomes obvious. Problems such as insufficient machine resources, or low machine utilization rate seriously affect the development of Internet companies. [0003] The usage of the traditional MySQL database is: the database resources are composed of a master library (Master) and one or more slave libraries (Slave), and the application directly accesses the database resources. When the business peak encounters slow SQL (Structured Query Language, Structure...

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 BEIJING FEINNO COMM TECH
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