Research and Implementation of Data Compression Based on Column-Oriented Database System

Author
HuangPeng
Advisor
LiZhanShan
School
Jilin University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
207
Citations
0

Request the full text

Abstract

Relational Database Systems have now developed for several decades, during this period, the scale of data has increased largely and queries have become more sophisticated, while data-processing technology in databases still remains unchanged. Column-Oriented Database is specifically designed to handle large-scale data. It is mainly used for online analytical processing and other write-optimal applications, such as data mining and decision support systems. Column-Oriented Database remains relational data model, its advantages lies in high-performance when processing large scale of data.In fact, Column-Oriented Databases are just another implementation of relational databases. Contrasting with the traditional row-store database, which processes data row by row, Column-Oriented Database stores data by column. This storage model brings the very perfect granularity that it makes it unnecessary for the database to have to read many irrelevant data, thus saves the I/O bandwidth. Besides, it’s very easy for Column-Oriented Database to compress data efficiently. In this paper, these characteristics are deeply researched.With the size of data increasing in database applications, researchers and developers will often seek a rational and effective compression method to prevent data exploration, because compression not only saves disk space, but also increases performance by reducing the size of data. The data stored in Column-Oriented Databases are especially easy for compressing as adjacent data are of the same type such as integer, string, etc. Meanwhile, in order to minimize the overhead of data decompression, light-weighted compression methods can be used. In this case, the data can be easily obtained by accessing compressed data without decompressing. This can also improve database performance effectively.Light-weighted compression is simply based on the regularity of data, the most suitable compression algorithms in the database are those which have acceptable compression ratios and can be quickly decompressed. Light-weighted compression algorithm is characterized by fast decompression, or it’s even not necessary to decompress, because in some cases we can access the compressed data directly. In this paper, the main lightweight compression algorithms are studied, and a new compression algorithm called frequent-bytes compression is proposed, which in some cases, is very effective.Light-weighted compression algorithms can be easily applied in Column-Oriented Databases and they have advantages that compression is simple and often do not require decompression when accessing. A very important problem to solve in Column-Oriented Database is how to access compressed data efficiently. In this paper, many SQL operators are studied, considering the data processing procedure of Column-Oriented Databases and the nature characteristics of light-weighted compressing algorithms, this paper analyzed the performance of accessing compressed data of different types. The results show that using of light-weight compression algorithms can compress data efficiently, without sacrificing the performance of SQL operations.To further improve performance of compressed data, three issues are proposed in this paper: Compressed data searching (or compressed matching problem), the conversion of offset to row ID and compressed data locating (or compressed accessing).Compressed searching is also called compressed matching problem or CMP, its main task is to try to find all occurrences of given patterns in compressed text without decompression. In databases, the SELECT operator is actually the application of CMP. The searching methods of compressed data are studied, and as an example, this paper studies pattern matching in Huffman compressed text based on the automaton deeply, as well as the using of super-alphabet. We got the fittest lengths of super-words for different size of data from careful computation, and experiments show that these values have strong guiding significance.The occurrences of a pattern obtained by compressed searching are often offsets of the compressed data block. But what do they mean for database? In database querying all we need is just row-ids of the result set, so it is necessary to get row-ids from the searched offsets. This conversion is a must when both compressed searching and compressed accessing problems are solved.Compressed data accessing is the problem which try to retrieve the n-th element from compressed data without decompression. Int-packing compressed data are deeply studied in this paper, and to better retrieve values from compressed data, the int-packing compression algorithm is improved. In this paper, Pack2, Pack3 and Pack4 compression algorithms are proposed and their corresponding compressed accessing algorithms Pack2Locate, Pack3Locate and Pack4Locate are invented. Experiments show that Pack3 especially Pack4 compression algorithm is very good for compressed accessing.

Related dissertations

  1. Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
  2. The Multimedia Monitoring System of Gas Blackness
    MengLingKun ·Nanjing University ·2012 ·Master's thesis
  3. Research and Implementation of Key Technology on Real-time Database System Called Vegebam2.1
  4. Design and Implementation of Shaanxi Women’s Hospital Remote Consultation
  5. A System of Remote Database Backup Based on UDP in Linux Environment
    DuJiLi ·Jilin University ·2013 ·Master's thesis
  6. Research and Design of Intelligent Home Control System Based on ZigBee Technology
  7. Research on Key Issues for Testing Network on Chip
    OuYangYiMing ·Hefei University of Technology ·2013 ·Doctoral dissertation
  8. The Research on Compression Method of Power Quality Data Based on Wavelet Transform
  9. Research on Noise of Dataacquisition and Data Compression in Power Recording System
    LiuDan ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. The Compression of AIS Message Data
    BiYueZuo ·Zhejiang Ocean University, ·2014 ·Master's thesis
  11. Study of sub munitions GNSS positioning data transmission technology of regional blockade
  12. Development and maintenance unit of embedded intelligent monitoring manufacturing equipment
  13. Research on Data Compression Technology of Safety Monitoring System for Undergound Coal Mine
    DengDanFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Reserch of the Sensing Layer of the IOT of Coal Mine
  15. Research of Wavelet Analysis with Its Application for Remote Sensing Images
    FangZhiZhong ·Hunan University ·2010 ·Master's thesis
  16. The design of the local field potential signal acquisition system based on wireless dual channel STM32W
    LiZhenJiang ·Shandong Normal University ·2013 ·Master's thesis
  17. Design and Optimization of High-speed Wireless Data Acquisition Terminal
    XuQiMin ·Yanshan University ·2013 ·Master's thesis
  18. Research on Key Technologies of Compression of Civil Aviation Flight Data
  19. The Development and Design of High-speed Warp Knitting Machine Controller
    GaoQiTao ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  20. Technical Research of the Recorder in Storage and Transportation Based on ARM
    FengLei ·University of North ·2013 ·Master's thesis