PostgreSQL block
A block device and storage capacity technology, applied in the PostgreSQL block field, can solve the problems of security loopholes, data security cannot be guaranteed, and file system expansion troubles, etc., to achieve the effect of improving read and write speed and security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0074] Example one:
[0075] Such as Figure 4 As shown, the PostgreSQL block of the present invention is the smallest unit allocated to the data table in the PostgreSQL database system, and the storage capacity of the PostgreSQL block is equal to 4MB.
[0076] Of course, it is also possible that the storage capacity of the PostgreSQL block is greater than 4KB.
[0077] It may also be that the storage capacity of the PostgreSQL block is a positive integer multiple of 8KB.
[0078] It may also be that the storage capacity of the PostgreSQL block is a natural number times of 2 of 8KB.
[0079] More may be, the storage capacity of the PostgreSQL block is 1MB, 2MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB or 1024MB.
Example Embodiment
[0080] Embodiment two:
[0081] 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 block in the PostgreSQL block storage device.
[0082] The PostgreSQL block storage device read-write module can be constructed on the PostgreSQL database system.
[0083] The PostgreSQL block storage device read-write module manages the PostgreSQL blocks in the PostgreSQL block storage device through the PostgreSQL block-data table mapping relationship table and the free PostgreSQL block table.
[0084] The PostgreSQL block-data table mapping relationship table includes fields Relfilenode, Reltablespace, Forknum, Blockid, Blockno, and the free PostgreSQL block table includes fields Blockid, Isfree, and Dev.
[0085] The PostgreSQL block storage device read-write module has the following sub-modules:
[0086] Allocate submodules of PostgreSQL blocks,
[0...
Example Embodiment
[0102] Embodiment three:
[0103] Such as Figure 4 As shown, the present invention is based on the data reading and writing method of the PostgreSQL block storage device, using the PostgreSQL block storage device read and write module as described above to read and write the PostgreSQL block as described above.
[0104] 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:
[0105] a. Through the file handle manager to manage the read and write interface of the upper-level business to the underlying device, to achieve a high-concurrency read and write interface;
[0106] b. Realize the overwriting of the PostgreSQL block storage device, directly locate the specified location of the PostgreSQL block storage device, and write the specified length of data;
[0107] B. According to the PostgreSQL block-data table mapping relationship table oid and table space, locat...
PUM
Property | Measurement | Unit |
---|---|---|
Storage | aaaaa | aaaaa |
Storage | aaaaa | aaaaa |
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap