Read-write module of PostgreSQL block storage device
A technology of block storage device and read-write module, which is applied in the field of read-write module of PostgreSQL block storage device, which can solve problems such as security loopholes, data security cannot be guaranteed, and high professional knowledge requirements of operators, and achieve the effect of improving the reading and writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Such as Figure 4 As shown, the PostgreSQL block of the present invention is the smallest unit allocated to a data table in the PostgreSQL database system, and the storage capacity of the PostgreSQL block is equal to 4MB.
[0075] Of course, it may also be that the storage capacity of the PostgreSQL block is greater than 4KB.
[0076] It may also be that the storage capacity of the PostgreSQL block is a positive integer multiple of 8KB.
[0077] It may also be that the storage capacity of the PostgreSQL block is a natural number power of 2 of 8KB.
[0078] Furthermore, the storage capacity of the PostgreSQL block is 1MB, 2MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB or 1024MB.
Embodiment 2
[0080] Such as Figure 4 As shown, the PostgreSQL block storage device read-write module of the present invention is a PostgreSQL block storage device read-write module that manages the aforementioned PostgreSQL blocks in the PostgreSQL block storage device.
[0081] The read-write module of the PostgreSQL block storage device can be built on the PostgreSQL database system.
[0082] The read-write module of the PostgreSQL block storage device manages the PostgreSQL blocks in the PostgreSQL block storage device through the mapping relationship table between the PostgreSQL block and the data table and the free PostgreSQL block table.
[0083] The PostgreSQL block-data table mapping relationship table includes fields Relfilenode, Reltablespace, Forknum, Blockid, and Blockno, and the free PostgreSQL block table includes fields Blockid, Isfree, and Dev.
[0084] The PostgreSQL block storage device read-write module has the following submodules:
[0085] submodules that allocate P...
Embodiment 3
[0102] Such as Figure 4 As shown, the present invention is based on the data reading and writing method of the PostgreSQL block storage device, and uses the aforementioned PostgreSQL block storage device reading and writing module to read and write the aforementioned PostgreSQL block.
[0103] A. In the database background driver layer, the driver of the PostgreSQL block storage device read-write module completes the operation of the block file, and its main tasks are:
[0104] a. Manage the read-write interface of the upper-layer business to the underlying device through the file handle manager, so as to provide a high-concurrency read-write interface;
[0105] b. Realize the overwriting of the PostgreSQL block storage device, directly locate the specified location of the PostgreSQL block storage device, and write the data of the specified length;
[0106] B. Locate to a specified location of a specified block device according to the mapping relationship table oid and table...
PUM
Property | Measurement | Unit |
---|---|---|
Storage | aaaaa | aaaaa |
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com