A Data Sorting and Entities Joining Algorithm in Relational Database Management Systems

Author
SunJianQiang
Advisor
GuoWenMing
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
16
Citations
0

Request the full text

Abstract

In current information system environments, one of the key challenges is how to handle the information explosion efficiently. Relational Database Management System (RDBMs) as a foundation and kernel of most of information systems faces the challenge especially.Various entities in the RDBMs products are stored in disorderly manner, because the theoretical basis and the requirements of engineering practice. In RDBMs, for disorder collection of data, the most basic and core processing functions are to sort them directly. In this paper, base on deep research and analysis of the existing common data sorting methods, aim at units have huge amounts of data within the data value with a high data density of this feature, made using of digital non-comparative map data sorting algorithm to sort data. At the first, it has good performance. At the second, it is not recursive function calls in the whole operation process, so the algorithm has a fixed complexity, increasing of data size will not lead to an overall performance increase of non-linear decline. At the last, as a non-comparison algorithm, both value and storage location of each element doesn’t lead to operational performance fluctuation.On this achieved basis, this article summarizes the characteristics of algebra and relationship between the algorithm and them. For data reading, storage organization, association operations, and other point of joining in RDBMS environments, the paper applies a new large entities joining algorithm. It holds four good characteristics. The first and the most important one is very good executing performance。The sconed is functional, it is not only to accomplish tables joining but also to achieve the result set grouping. The third, the algorithm doesn’t rely on any stored data components. This will not only greatly reduce the workload on the future of engineering practice, but also cut down the overhead of maintaining these components. Finally, it has stable performance. As with the new sort algorithm, this paper has a fixed physical joining algorithm complexity, increase the amount of data will not lead to disproportionately decrease the performance. In summary, although the bitmap data structure is already known, it is still a broad application space and great potential, which is worth further analysis and mining.

Table of contents

Summary 4-5 ABSTRACT 5-9 Chapter Introduction 9-13 1.1 subject background 9-10 < br /> 1.2 topics task the paper structure 1.3 10-12 12-13 basic technical background analysis 13-28 2.1 sort the data in technical analysis 13-17 the 2.1.1 data Sort technical background 13-14 2.1.2 existing comparison sorting analysis 14-16 2.1.3 this paper sorting algorithm research directions 16-17 2.2 database table connection technology background are found; 17-22 2.2.1 mainstream database products table connection algorithm 17-20 2.2.2 Table 21 connection count existing algorithm and innovation law research 20-21 2.2.3 operating system choice 2.2.4 development language of choice 21-22 2.3 database server choice 22-27 2.4 Summary 27-28 Chapter the Sort algorithm design 28-38 3.1 non-comparison algorithm design overview 28 3.2 non-comparative Sort foundation algorithm to select 28-32 3.2.1 Major existing non-comparative Sort 28-31 3.2.2 count Sort potential problem analysis 31-32 3.3 algorithm design 32-37 3.3.1 Data Structure Design needs analysis 32-33 3.3.2 for the discontinuous source data design 33-35 3.3.3 for the repeat value of design 35-36 3.3.4 for the range of issues to be sorted data design 36-37 3.4 Summary 37-38 Chapter graph structure with entities connected computing the 38-51 4.1 relational algebra 38-39 4.2 bitmap for algebraic operations optimization ideas 39-45 <br / > 4.2.1 Figure collection dynamic computing 39-40 4.2.2 database table structure design analysis 40-45 4.3 algorithm phases needs analysis 45 -46 4.3.1 physical connection phase 45-46 4.3.2 export the results of stage 46 4.4 data structure design 46 <br / > 4.5 algorithm design 46-49 4.6 entity connected Algorithm advantages 49-50 4.7 Summary 50-51 Chapter program 51-75 5.1 sorting algorithm 51-54 5.1.1 sorting algorithm time complexity analysis 52 5.1.2 sorting algorithm space complexity Analysis 52-54 5.2 sorting algorithm flowchart 54-64 5.2.1 main () function description 54-55 5.2. 2 Get_data_direct Function Description 55-56 5.2.3 put_data_to_unit function instructions nbsp The; 56-58 5.2.4 quick_pre_sort_data () function description 58-59 <br / > 5.2.5 pre_sort_cnt () function description 59-60 5.2.6 quick_sort_data '() function description 60-62 5.2.7 put_data_out () function description nbsp 5.3 entities connected algorithm are found; 62-64 ; 64-74 5.3.1 sorting algorithm time complexity analysis 65-66 5.3.2 sorting algorithm space complexity Analysis 66-68 5.3.3 main () function description the 68-70 5.3.4 Heaps_join function describes 70-72 5.3 .5 quick_put_join_data () function description 72-74 5.4 Summary 74-75 Chapter validation test 75-86 6.1 sorting algorithm Test Description 75-76 6.2 sorting algorithm test results 76-81 6.3 relational entities join algorithm testing 81-82 6.4 relational physical connection algorithm test results 82-85 6.4.1 relational entity hash joins (Hash Join) algorithm test results relational entity within 82-83 6.4.2 connection (Nested Loop Join) algorithm test results; nbsp 83-85 6.5 Summary 85-86 Chapter VII Conclusion 86-88 7.1 papers the work summarizes 86 7.2 Problems and Prospects to References 86-88 88-89 Acknowledgements 89

Related dissertations

  1. Design and Implementation of Full-text Retrieval System Based on Lucene
  2. The Study of Yunnan Poetry Collection
    WuZhaoLi ·Zhejiang University ·2012 ·Doctoral dissertation
  3. Genetic Diversity of Eukaryotic Picophytoplankton in Freshwater Lakes
    XieZuoZuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  4. A Study of Some Scheduling Problems
    LiHaoHao ·Zhejiang University ·2014 ·Doctoral dissertation
  5. Research on Approaches to Fuzzy Multiple Attributes Group Decision Making Based on FIOWA Operator
    MaXinZi ·West China University ·2013 ·Master's thesis
  6. The Research and Implementation of Search Engine Based on the Temporal Information
  7. The Research and Apply on Real-time Shadow
  8. Research on Approximated Sequnential Patterns Mining Algorithm Based on Bitmap
    TianYuFeng ·Yanshan University ·2012 ·Master's thesis
  9. Research on Hash Join Algorithm in DM Database
  10. Research on Sequential Patterns Mining Algorithm Based on Bitmap&Address Index Table
    DiShuPeng ·Yanshan University ·2012 ·Master's thesis
  11. The Study of Web Data Mining Based on Sequence Pattern
  12. Research on Data Integration Technology for E-commerce in the Web Environment
  13. Research on Window-based Query Processing on XML Data Streams
    HuWenSheng ·Wuhan University ·2012 ·Doctoral dissertation
  14. Join Processing and Optimizing on Large Data Sets Based on Hadoop Framework
  15. Research and Implementation of Hierarchical Clustering Alogithm Based on MPI
  16. Survey and Analysis on the Factors Afrecting the Employment of Academy Graduates in Liaoning
    ZuoFei ·Dalian University of Technology ·2013 ·Master's thesis
  17. A Study on Function Concept Connection between Senior and Junior School Mathematics
    LiJian ·Chongqing Normal University ·2012 ·Master's thesis
  18. The Join of Chinese Reading Teaching between the Junior School and Senior School
    LiuZuo ·Liaoning Normal University ·2012 ·Master's thesis
  19. To solve the contradictions and disputes, litigation and non litigation on the link of mechanism
  20. The illegal practice of criminal cases of suspected "program execution cohesion" specification
    MiMi ·China University of Political Science ·2012 ·Master's thesis