Database File Management Context Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Database systems face inefficiencies due to the separation of database control logic for temporary and permanent files, leading to underutilization of storage space and increased management overhead.
Innovation Solution
Implementing a method where a persistent storage device and non-persistent memory store separate file management contexts, allowing for the allocation of permanent and temporary files within the same pool of storage resources, with distinct management functions based on flags indicating file type.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If the database control logic is separated for temporary and permanent files, then management overhead for temporary files is reduced, but storage space allocation efficiency deteriorates
Solution Approach 1:
The patent segments the file management context into two separate contexts: a first file management context stored in persistent storage for permanent files, and a second file management context stored in non-persistent memory for temporary files. This segmentation allows the system to apply different management strategies to each file type, reducing overall management overhead while maintaining efficient storage allocation through shared physical storage resources.
2Reliability
If separate file management contexts are used for temporary and permanent files, then data consistency and recovery for permanent files is improved, but system complexity increases
Solution Approach 1:
The patent applies local quality by storing the first file management context in persistent storage to ensure data consistency and recovery for permanent files, while storing the second file management context in non-persistent memory for temporary files. This localized approach to data durability ensures reliability where needed without applying it universally, thereby avoiding unnecessary system complexity for temporary file operations.
3Ease of operation
If storage space is allocated separately for temporary and permanent files, then file management simplicity is improved, but storage resource utilization deteriorates
Solution Approach 1:
The patent merges the physical storage resources for temporary and permanent files into a shared pool, while maintaining separate file management contexts for logical organization. This allows storage space to be dynamically allocated between temporary and permanent files based on actual needs, improving storage resource utilization while keeping file management simple through context-based abstraction.
Data Source
AI summary
A database system includes a plurality of access modules and corresponding persistent storage devices each having a pool of storage elements that can be allocated to store permanent files and temporary files. Each access module is associated with a non-persistent file management context and each storage device contains a persistent file management context. The persistent file management context indicates allocation of permanent files, while the non-persistent file management context indicates the allocation of both permanent and temporary files.


