Ralational Database Compression Based on Tuples-Clustering
- Author
- ZhangXiuJuan
- Advisor
- MengYingJie
- School
- Lanzhou University
- Major
- Computer Software and Theory
- Classification
- TP311.132.3 Relational database
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 69
- Citations
- 1
Abstract
Database compression technique is an important branch of research in the field of data compression . Traditional database compression methods are basically in accordance with the flow pattern database compression processing , and not take into account the distribution of database data redundancy , and did not consider compressed data storage law , Based on the analysis of traditional database compression method for this situation based on the angle from the tuple clustering algorithm introduced database compression , a tuple - based clustering database compression method , and the method for a more in-depth research , the main work and obtain the outcome is mainly reflected in the following aspects : First constructed based the tuple clustering of database compression mechanism designed based on the the tuple clustering of database compression architecture , database compression process is decomposed into two relatively independent stages the first tuple clustering data tuple in accordance with the redundancy level of grouping tuple compression based on packet . Secondly , taking into account the actual situation of the relational database in order to make the K-means clustering algorithm can be applied to the database tuple clustering , the initial conditions of the K-means algorithm optimization improvements , proposed and designed a clustering cost function and gives the optimization algorithm, improved optimized values ??of k tuples generation algorithm of the initial center of the k-means algorithm , so that the obtained initial center tuples is more suitable for the tuple of the database compression . Again , on the basis of the tuple clustering a group center of the reference model is proposed , based on the reference relation in the tuples in the cluster groups linked , compression algorithms based on this design , a database tuple level differential , database tuple data compression, and the reference relationship , the compressed data using the reference tree mode for storage, defined with reference to the tree stored in related operations , while retaining a reference relationship and a database of related information in order to decompress .
Table of contents
Abstract 4-5
Abstract 5-8
first chapter 8-11
1.1 Background 8-9 < br /> 1.2 this paper work and achieve results 9-10
1.3 this organizational structure 10-11
chapter related theory and technology 11-20
2.1 database data organization and access methods 11-12
2.1.1 relational database data organization 11
2.1.2 relational database access methods generally 11-12
2.2 relational database data redundancy with redundant measure 12-14
2.2.1 relational database data redundancy type 12 - 13
2.2.2 redundancy measure 13-14
2.3 database compression general method 14-16
2.4 cluster Theory Introduction 16 -20
2.4.1 clustering basic algorithm 17-18
2.4.2 K-means algorithm 18-20
2.4.2.1 K-means algorithm flow 18-19
2.4.2.2 K-means directly used for database compression limitations 19-20
Chapter tuple based clustering database compression and storage system build 20-25
3.1 tuple based clustering database compression and storage system construction 20-21
3.2 tuple clustering 21-22 <br / > 3.3 yuan set compression and storage 22-25
Chapter initial optimized K-means clustering tuples 25-37
4.1 related concepts 25-26
4.2 K-means initial parameters improved 26-34
4.2.1 Center tuple initialization 26-31
4.2.1.1 center point initialization method 26-29
4.2.1.2 tuple -based sorting center initialization algorithm 29-30
4.2.1.3 three kinds Center tuple initialization method comparison 30-31
4.2.2 k value selection 31-34
4.2.2.1 construction cost function 31-32
4.2.2.2 k value optimization algorithm 32-33
4.2.2.3 k value optimization results analysis 33-34
4.3 K-means clustering tuples 34-36 <br / > 4.3.1 tuple clustering judge 34
4.3.2 convergence function 34
4.3.3 tuple clustering complete process 34-36 < br /> 4.4 Summary 36-37
Chapter tuple based clustering database compression 37-48
5.1 based on tuple referenced differential compression 37-43
5.1.1 with reference to the reference relation tuples 37-40
5.1.1.1 reference to the type of relationship 37-38
5.1.1.2 group Centre refer to the rules 38-39
5.1.1.3 referential table 39-40
5.1.2 tuple based reference differential compression 40-43
5.1.2.1 compressed output format 40-41
5.1.2.2 tuple based reference differential compression algorithm 41-43
5.2 compressed data storage 43-46
5.2.1 tree structure storage 44-45
5.2.2 reference tree model proposed 45
5.2.3 initialization with reference to the tree node insert 45-46
5.3 decompress and database rebuild 46-47
5.4 Summary 47-48
nbsp Chapter Summary and Outlook ; 48-50
6.1 Summary 48
6.2 further work 48-50
References 50-54
during the master and participation in research projects 54-55
Thanks 55