Method and system for saving PostgresSQL shared memory
A technology for sharing memory and storing statistics, which is applied in the field of saving PostgreSQL shared memory, which can solve the problems of shared memory waste, consumption of shared memory, consumption, etc., and achieve the effect of avoiding great waste and ensuring the hit rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The specific implementation manners of the present invention will be further explained below in conjunction with the accompanying drawings.
[0022] Such as figure 1 The method shown to save PostgreSQL shared memory includes the following steps:
[0023] (1) Track and count the number of times tables are updated and queried;
[0024] (2) When the number of updates and queries meets the set conditions, data reorganization is triggered, and the rows where the filtered PK is located are reorganized into continuous data blocks.
[0025] In one embodiment, tracking and counting the number of times tables are updated and queried specifically includes the following steps:
[0026] Track and count the number of times tables are updated and queried during the process of executing SQL statements in the database through the PostgreSQL hook program; store statistical values. In the above process, in addition to the number of updates, the following content needs to be recorded: d...
PUM
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