Research on Several Key Technical Problems of Transaction Data Stream Processing
- Author
- ZouXianXia
- Advisor
- JiaWeiJia , PanJiuHui
- School
- Central South University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 280
- Citations
- 0
Abstract
Modern data analysis applications driven by the network effect are pushing traditional database and data warehousing technologies beyond their limits due to their massively increasing data volumes and demanding for low latency. Data stream continuous query and complex event processing change the methods of store-first-query-later for analysis of timely information while they firstly process data in memory before data are stored in the disk. The methods of processing data in memory improve the real-time performance and reduce the computing resources. But data stream system and complex event processing convert the relational data source into stream table disregard of the transactional characteristics of the relational data; the join semantic of multi data stream is the join semantic of tuple-based sliding window and time-based sliding-window which do not consider the complex semantic and synchronize of multiple data streams in data stream system and complex event processing; and the algorithms of data stream joining with disk-based relation do not take into account the join semantic and memory overhead. Relational database is mainly data source of data stream and complex event processing, It is necessary to enhance the processing of transaction stream in data stream system and complex event processing.The thesis expands the transaction data stream processing of data stream continuous query and complex event processing. The main research works of thesis are as follows:(1) We propose the monotonic theory of transaction data stream which is played a role that the order of tuples sharing the same timestamp will not have an influence on the result of the continuous query over transaction data stream, and the ACID of the relational data can be maintained. The strategy of delay computing and the design of query execution based on memory database have been proposed to achieve the monotonic of transaction data stream. The experiments show that the design of query execution based on memory database can realize the batch-driver of sliding window and share the data of sliding window for multi-queries. The monotonic theory of transaction data stream is verified.(2) We present the join semantic model based on matching window identifies for joining of multi-data stream. Because the unwindowed stream joins will eventually outgrow the memory and the join semantic of tuple-based sliding window and time-based sliding-window are unable to meet different kinds of windows join for example different size and different slide of windows, we make use of window identifies to shield the difference of all kinds of windows which extends the semantic of window join. A sliding window is divided into a number of sub-windows when the newest sub-window fills up it is appended to the sliding window while the oldest sub-window in the sliding window is removed. We propose the corresponding algorithm of window join and maintaining the window. The experiments show that the joining model of window identifies can synchronize multi-data stream.(3) We focused on the algorithm of the join a fast stream with a disk-based relation under the constraint of limited memory. The novel algorithm MeshJoin has been proposed for joining a continuous stream with a disk-based relation. The crux of MESHJOIN is that every iteration whole memory block of disk-based relation is replaced. We propose that the memory block is divided into a number of logical partitions, and then every iteration whole only one logical partition of memory block is replaced. The experimental show that the service rate of the join is increased because I/O cost for one loop iteration is decreased.(4) If the stream joins with multi disk-based relations, we create the materialized view for multi disk-based relations. We considered the maintenance algorithms of the materialized out-join view and the materialized inner-join view. We proposed that the materialized out-join view is rewritten as the join disjunctive normal form, so the secondary delta of materialized outer-join views is computed from the independent computation of terms derived from every normal term. Experimental results show that the algorithm can reduce the computational cost effectively and no restrictions on SPOJ views. We proposed the delay partial compensation algorithm in data source for the materialized inner-join view. Experimental results show that the algorithm avoided the problems o f global time and incorrect maintenance.Data stream continuous and complex event processing are widely used in the internet of things and cloud computing. The research of the thesis contributes to extend the transaction data stream processing which are some theoretical values and some practical values.
Table of contents
Summary 4-6
ABSTRACT 6-12
bitmap index 12-13
table index 13-14
The first chapter 14-31
1.1 background 14-16
1.1.1 background and Significance 14-16
1.1.2 topic source 1.2 real-time active data warehouses study outlined 16
16-18
1.2.1 view maintenance problems 16-17
1.2.2 Description view maintenance methods 17-18
Overview 1.3 data Flow Research 18-25
1.3.1 data Flow query Language 19-20
1.3.2 data Flow query Optimization 20-21
1.3.3 data stream synchronization 21-22
1.3.4 window structure 22-23 <br / > query calculates 1.3.5 data stream 23-24
1.3.6 data stream management system 24-25
1.4 complex Event Processing Research Overview concept 25-27
1.4.1 complex event processing major technical issues 25-26
1.4.2 complex event processing 26-27
1.5 research 27-30
1.5.1 Current Situation 27-28
1.5.2 the main contents 28-30
1.6 thesis structure continuous query theory 30-31
Chapter II transaction data streams 31-40
2.1 Overview continuous query 31-32
2.2 real-time data streams nbsp 32-35
2.2.1 non- block operation ; 32-34
2.2.2 relational query function monotonic 34-35
2.3 continuous query transaction data streams 35-38
2.3.1 monotony transaction data stream query definition 35-36
2.3.2 delay calculation 36 - 38
2.4 relational SQL extensions 38-39
2.5 Summary achieve 39-40
Chapter III transaction data stream continuing inquiries 40 - 59
3.1 Overview 40-41
3.2 transaction data stream continuous query language continuous query language 41-45
3.2.1 real-time data streams continuous query language 41-44
3.2.2 transactional data streams 44-45
3.3 transaction data stream in the form of a window frame 45-51
3.3.1 window range (scope) 45-47
3.3.2 window content (content) 47
3.3.3 window output (Report) 47-48 <br / > 3.3.4 -driven computing (Tick) achieve 48-51
3.4 continuous query transaction data streams 51-58
3.4.1 main memory database BDB 52
3.4.2 query engine design 52-54
3.4.3 sharing design 54-56
3.4.4 application examples 56 -58
3.5 Summary SS 58-59
Chapter IV transaction data streams join algorithm 59-73
4.1 Overview 59-60
4.2 window semantic model connection 60-62
4.2.1 basic data flow model connected 60-61
4.2.2 connection sliding window model 61
4.2.3 multi-stream synchronization 61
4.2.4 data Flow window connected transaction model 61-62
storage 4.3 transaction flow sliding window 62-65
sliding window data structure 4.3.1 62-64
maintenance 4.3.2 data Flow window 64-65
4.4 transaction flow connection sliding window algorithm 65-70
4.4.1 improved data structure sliding window join algorithm 65-67
4.4.2 sliding window 67-70
4.5 performance Analysis 70-72
4.5.1 algorithm correctness proof 70
4.5.2 experimental Analysis 70-72
4.6 Summary SR 72-73
Chapter transaction data streams join algorithm 73-83
5.1 Overview 73-74
5.2 S-MESHJOIN algorithm 74-78
5.2.1 MESHJOIN algorithm thinking 74-75
5.2.2 MESHJOIN improved algorithm 75-77 <br / > 5.2.3 comparison of the two algorithms 77-78
5.3 cost model 78-81
5.4 experiment 81-82
5.5 Summary join algorithm 82-83
Chapter VI of the transaction data stream RR incremental 83-102
6.1 connection Outsider view real calculation 83-90 <br / > 6.1.1 Overview 83-84
6.1.2 basic Concepts 84-85
6.1.3 independent calculation expression 85-87 <br / > 6.1.4 incremental view maintenance outer join 87-89
6.1.5 experimental Analysis 89-90
6.2 materialized join views incremental computing 90-101
6.2.1 Overview 90-92
6.2.2 compensation algorithm partially compensated algorithm 92-94
6.2.3 delayed 94-97
6.2.4 DPCA optimization algorithm 97-98
6.2.5 performance Analysis 98-101
6.3 Summary 101-102
Chapter VII Conclusion and Outlook 102-104
7.1 summary 102-103
7.2 Prospect 103-104
reference literature 104-115
Appendix: explanation of abbreviations table 115-116
Thanks 116-117
pursuing a doctorate research projects during participation and major research 117