Metadata access performance optimization method, system and device and storage medium
A technology of access performance and optimization method, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as time-consuming and cumbersome steps, achieve access performance optimization, reduce access time-consuming, and improve access operation performance Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] The following combination figure 1 , figure 1 It is a flowchart of a metadata access performance optimization method provided in the embodiment of the present application, which specifically includes the following steps:
[0049] S101: Obtain metadata currently being accessed;
[0050] This step aims to obtain the metadata currently being accessed in the distributed file system. Specifically, it is possible to determine which metadata is being accessed according to acquiring currently active processes from the memory in the distributed file system.
[0051] S102: pre-caching associated metadata associated with the metadata into memory;
[0052] On the basis of S101, this step aims to first find other metadata that is related to the currently accessed metadata (in this application, the term associated metadata will be used to refer to it), and then associate the metadata pre-cached in memory. For example, assuming that the metadata A in the distributed file system i...
Embodiment 2
[0060] The following combination figure 2 , figure 2 It is a flowchart of another metadata access performance optimization method provided by the embodiment of the present application on the basis of the first embodiment. This embodiment is based on the first embodiment and aims at the metadata access operation in the existing distributed file system. Another problem that affects performance gives a solution. The specific steps are as follows:
[0061] S201: Count the number of visits of each metadata stored in the memory in each period by period, and obtain each visit popularity value;
[0062] S202: Arranging the visit popularity values from top to bottom and from large to small to generate a visit popularity table;
[0063] S203: When the remaining storage space of the memory is less than the preset storage space, remove from the memory the metadata corresponding to a preset number of access heat values at the bottom of the access heat table.
[0064] This embodime...
Embodiment 3
[0067] The following combination image 3 , image 3 It is a flow chart of another metadata access performance optimization method provided by the embodiment of the present application on the basis of the first embodiment. On the basis of the first embodiment, this embodiment aims at the metadata access operation in the existing distributed file system. Another problem that affects performance gives a solution. The specific steps are as follows:
[0068] S301: Extract the target access path from the received access request;
[0069] Wherein, the target access path is composed of directories with a preset number of levels and metadata names located in the last level of directories, and each level of directories is included in the upper level directory and includes the lower level directory. by
[0070] S302: sequentially inquire whether each level of directories forming the target access path has been cached in memory according to the order of the number of directories;
[...
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