Research on Methods and Technology for Metadata Querying in Large-Scale File Systems
- Author
- LiuLiKun
- Advisor
- YangGuangWen
- School
- Tsinghua University
- Major
- Computer Science and Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 300
- Citations
- 1
Abstract
As modern file systems continue to expand on scale, file-system-wide metadataquerying is becoming increasingly important for administrators of large-scale storagesystems to monitor and better understand the overall make-up of their file system. Itprovidesinformationtoguidespacemanagement, charge-back, provisioningdecisions,migration among multiple storage tiers. Although there have been works on metadataquerying, many problems remain unsolved. In this thesis, we address two of the mostimportant challenges of storage management metadata querying: efficient metadatacrawling and synchronization, and I/O bottlenecks of long-scan based querying by em-ploying several novel technologies that exploit metadata and querying properties. Themain contribution of this dissertation is summarized as follows:(1) A file system metadata study from the perspective of metadata querying. Ourstudy analyzes two large-scale file system traces from enterprise-class file servers, andreveals several observations that can be used to improve file-system-wide metadataquerying, such as highly skewed change frequency distribution, temporary and spatiallocality, the impact of file types, etc.(2) SmartScan, a selective-scan based metadata crawling approach that exploitspatterns in metadata changes to significantly improve the efficiency of synchronizationbetween file systems and metadata database used for querying. Experiments with usingSmartScan on production file systems show that such approach can reduce the timeneeded to refresh the metadata database by1~2orders compared with full scan;Furthermore, such selective scan has minimal impact on freshness and on the resultsfor example metadata queries.(3) FastDu, a mechanism of tracking file system changes by intercepting the filesystem calls. And a directory summary collecting service is also proposed to demon-strate the usage of FastDu. Compared with existing directory summary collectingmethod based on just-in-time file system traversing, FastDu’s solution shows2~3or- der of magnitude response time improvement with almost negligible application-awarefile system performance penalty.(4) An encode method for native file system properties, an on-disk layout of meta-data copy that exploits the spatial locality and highly skewed distribution of metadata,andalooseparalleldepthfirsttraversealgorithmthathelpstooverwhelmtheI/Obottle-necksof long scan basedmetadata querying. Experimentalresults showthat, comparedwith general purpose compression approach, this new approach provides better com-pression ratio and faster scanning performance.(5)Ametadataquerysystembasedonmaterializedviewandfastparallelmetadatascanning. Compared with the RDBMS-based solution, the new system can effectivelysupport the long-scan querying, and is more scalable.
Table of contents
Summary 4-5
Abstract 5-11
Chapter 1 Introduction 11-28
1.1 Massive File System Overview 11 - 15
1.1.1 trends massive file system 11-12
1.1.2 increasingly serious management challenges 12-15
1.2 metadata query overview classification and typical examples 15-24
1.2.1 metadata query 17-20
1.2.2 Research and efficient method of data queries per necessity 20 <br / > 1.2.3 metadata query features difficulties and challenges 20-21
1.2.4 metadata query main contents of 21-24
1.3 herein and the main contribution 24-28
1.3.1 What research studies and not what 24-26
1.3.2 the main work of this paper 26-27
organizational Structure 1.3.3 papers and chapters Introduction 27-28
Chapter 2 related work 28-42
2.1 file system metadata and load analysis 28-31
2.1.1 metadata attributes based on a static snapshot of the file system characteristics of 28-29
2.1.2 file system behavior based on workload analysis of the dynamic characteristics of the trace log 29-31
2.2 metadata capture and synchronize 31-34
2.2.1 Features and grab the metadata synchronization problem and its main causes 31-32
2.2.2 major domestic solutions and their limitations organizational 32-34
2.3 query data set of methods and indexing techniques 34-37
2.3. data is organized in a relational data -oriented structured query 34-36
2.3.2 for unstructured queries inverted index search engine technology 36-37
2.4 existing metadata query solutions 37-40
2.4.1 traversal -based metadata query 37
2.4.2 desktop search and enterprise search 37-38
2.4.3 based on KD-Tree of Spyglass 38-39
2.4.4 sampling based Glance 39-40
2.5 Summary nbsp related work ; 40-42
Chapter 3 characteristics of file system metadata and changing patterns 42-55
3.1 This chapter outlines 42-43
3.2 data collection and analysis methods 43-45
3.2.1 dataset 43
3.2.2 Definition of terms 43-44
3.2.3 how to identify directory 44-45
3.3 time -related properties 45-49
3.3.1 changes the frequency 45-47
3.3.2 change interval 47-48
3.3.3 changes the frequency and change the interval correlation property 48-49
3.4 namespace associated 49-52 <br / > 3.4.1 spatial locality 49-51
3.4.2 directory depth 51-52
3.5 file types 52-54
3.6 of this chapter Summary 54-55
Chapter 4 selective scanning of metadata capture and synchronization method based on SmartScan 55-77
4.1 This chapter outlines 55-56
4.2 motivations and ideas 56-58
4.3 metadata variation 58-63
4.3.1 data collection 58-59
4.3.2 change the file system classification 59-60
4.3.3 metadata changes spatial locality 60-61
4.3.4 metadata changes temporal locality 61-62
4.3.5 DTSD predict individual variation design and implementation 62-63
4.4 SmartScan system 63-66
4.4 .1 design Summary 63
4.4.2 architecture 63-64
4.4.3 scanning directory selection 64-65
4.4.4 scanning strategy 65-66
4.4.5 prototype system implementation 66
4.5 experimental methods and results 66-75
4.5.1 experimental environment and setting 67
4.5.2 and new coverage 67-70
4.5.3 scanning performance 70-71
4.5.4 query results deviation 71-75
4.6 Summary metadata change tracking method 75-77
Chapter 5 file system-based injection FastDu 77-90 <br / > 5.1 This chapter outlines 77-78
5.2 background and motivation 78-80
5.2.1 FastDu typical application scenarios catalog statistics collection 78-79
5.2.2 the main design choices 79-80
5.3 FastDu design and implementation 80-84
5.3.1 architecture 80-81
5.3.2 Interface with the core data structure 81-82
5.3.3 pre-built database delay update strategy 82-83
5.3.4 modify buffer mechanism 83-84
5.3.5 prototype system implementation 84
5.4 experimental methods and results 84-88
5.4.1 experimental environment and setting 85
5.4.2 performance affect 85-86
5.4.3 file system performance 86-88
5.5 Summary 88 -90
Chapter 6 million copies of data organization and parallel scanning method 90-112
6.1 This chapter outlines 90-91
6.2 standard attributes for file encoding way 91-95
6.2.1 neighboring property values ??distribution similarities and differences in coding neighbors imbalance and file 91-94
6.2.2 the size distribution of the property value variable-length coding 94-95
6.3 metadata copy division and its data organization 95-100
6.3.1 a copy of the child based on metadata forest division 95-97
6.3.2 MDFile file format 97-100
6.4 recursive depth-first traversal liberal model and the parallel scanning algorithm 100-105
6.4.1 parallel ergodic model semantics and advantages 100-101
6.4.2 algorithms core program interfaces 101-102
6.4.3 loose depth-first parallel scanning algorithms 102 -105
6.5 experimental methods and results 105-110
6.5.1 experimental environment and setting 105-106
6.5.2 data compression ratio 106
6.5.3 traversal performance 106-109
6.5.4 algorithm scalability 109-110
6.6 Summary 110-112
Chapter 7 extensible metadata query prototype system FsInsight 112-127
7.1 This chapter outlines 112-113
7.2 FsInsight system 113-115
7.3 materialized view 115-120
7.3.1 system view 115-116
7.3.2 custom view 116
definition and implementation 7.3.3 view 116-120
7.4 experimental methods and results 120-125
7.4.1 experimental environment and setting 121 <br / > 7.4.2 query performance 121-124
7.4.3 update performance materialized view 124-125
7.5 Summary 125-127 <br / > Chapter 8 Conclusions and further work 127-132
8.1 summarizes 127-130
8.2 further work 130-132
references 132-140
Thanks 140-141
resume, academic papers published during the study and research 141-143
Related dissertations
- Research on the Performance of National Audit Results Announcement and Its Influencing Factors
- " Jinsui" Farmers Benefitial Card and Farmer Credit Loan Business Development Research
- Research on the Performance of Property Insurance Lines in China
- Study on Chinese Agricultural Futures Hedging Performance of Low Level
- Study of China’s Securities Industry Based on SCP Paradigm
- The Liquidity Effect on the Relationship between the Size and the Performance of the Equity Open-ended Fund
- An Empirical Study on the Performance of Chinese Mutual Funds
- The Study on the Development of Socially Responsible Investment Funds in China
- The Performance Analysis on the City Commercial Banks in China before and after the Listing
- Research on Performance Evaluation and Innovation of New-type Rural Financial Institutions
- Analysis on Village Banks’Performance and Factors
- Research on the ownership structure of China's small and medium-sized commercial banks influence on its performance
- A Study on the Effectiveness of Performance Evaluation System of A Bank Shaanxi Branch
- Study on Internal Governance and Product Design for Rural Credit Union Funds Performance Influencing
- Research on the diversification of commercial bank China
- The Performance Evaluation of Listed Banks in China an Empirical Study on Lnfluencing Factors
- Evaluation and Empirical Study of China’s Listed Banks Operating Performance
- Research about Impact of Financial Openness on Commercial Bank Performance in China
- Research on Performance Evaluation Index System of Listed Commercial Banks
- A Research on Chinese Commercial Banks Outbound M&A Performance