Memory database access method, device and system, server and storage medium
An access method and database technology, applied in database management systems, memory architecture access/allocation, database indexing, etc., can solve problems such as insufficient database efficiency and database system instability, saving access time, improving access efficiency, and avoiding time wasteful effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] First, as figure 1 As shown, an embodiment of the present application provides an access method for a shared memory database, which is applied to a server and includes the following steps:
[0071] S100, calling a preset API interface to obtain an access request sent by an external program;
[0072] In this embodiment, the API (Application Programming Interface) interface is an interface installed on the server and provided to an external program application. The API interface can be a C / C++ language API interface, or a standard Structured Query Language (SQL) interface. .
[0073] Specifically, when an external program starts, it needs to access the data in the shared memory database located on the server side, and an access request is sent, and the API interface of the server side receives the access request. In this embodiment, there is no restriction on the access request, and various manners and forms of access requests are applicable.
[0074] S200, based on th...
Embodiment 2
[0148] Corresponding to the access method of the shared memory database described in the above embodiment, Figure 4 A structural block diagram of an apparatus for accessing a shared memory database provided by an embodiment of the present application is shown. For convenience of description, only the part related to the embodiment of the present application is shown.
[0149] Second, as Figure 4 As shown, this embodiment provides a device for accessing a shared memory database, including:
[0150] The acquisition module is used to call the preset API interface to acquire the access request sent by the external program;
[0151] The sending module is used to send the identification file in the database to the external program based on the access request, so that the external program waits to access the shared memory according to the identification value in the identification file;
[0152] The open channel module is used to open the channel for the external program to acces...
Embodiment 3
[0162] Thirdly, such as Figure 5 As shown, this embodiment provides a shared memory database system for access by multiple external programs, including:
[0163] The interface channel module is used to obtain the access request of each external program, and provides the access channel of the shared memory to each external program by means of the identification file;
[0164] The data definition module is used to perform the operations of initial configuration, table creation, table deletion and index creation according to the operation commands output by the interface channel module;
[0165] The data table structure module is used to manage the data table structure information according to the commands output by the data definition module;
[0166] The data operation module performs data read and write operations according to the operation commands output by the interface channel module;
[0167] The index module organizes data according to the operation command output by ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


