-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
329 lines (303 loc) · 18.1 KB
/
index.html
File metadata and controls
329 lines (303 loc) · 18.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>VanillaDB - Simple, fast, and extensible database system prototypes</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/vanilladb.css" rel="stylesheet">
<!-- Font-awesome CSS -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<!-- The #page-top ID is part of the scrolling feature - the data-spy and data-target are part of the built-in Bootstrap scrollspy function -->
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="#page-top">VanillaDB</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
<li class="hidden">
<a class="page-scroll" href="#page-top"></a>
</li>
<li>
<a class="page-scroll" href="#vanilla-core">VanillaCore</a>
</li>
<li>
<a class="page-scroll" href="#vanilla-comm">VanillaComm</a>
</li>
<li>
<a class="page-scroll" href="#vanilla-bench">VanillaBench</a>
</li>
<li>
<a class="page-scroll" href="#about">About</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Intro Section -->
<section id="intro" class="section intro-section">
<div class="container header-container">
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<img class="img-responsive wow center-block header-logo" src="img/vanilladb-logo.png" alt="VanillaDB Logo" />
<h1><span class="dark-green-text">Vanilla</span><span class="green-text"><strong>DB</strong></span></h1>
<h2>Simple, fast, and extensible database system prototypes.</h2>
<!--
<a class="btn btn-default page-scroll" href="#about">Click Me to Scroll Down!</a>
-->
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h1>What's VanillaDB?</h1>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<p>VanillaDB is a collection of simple-to-read, fast, and extensible database system components aiming to lower the barrier of new-system prototyping and/or learning the database internals.</p>
<p>Most relational database systems today are too complicated for practitioners, especially newcomers, to leverage and build creative systems/components upon. One main problem is that these systems have been optimized for decades, thus
the source code is highly sophisticated and hard to understand. VanillaDB rewrites some key components of a distributed relational database system with the following goals in mind:</p>
<ul>
<li><strong>Simplicity</strong>: clean code (written in Java), intuitive APIs, and well-documented internals even your grandma can understand;</li>
<li><strong>Performance</strong>: simple, but not the simplest, algorithms that deliver reasonable performance;
</li>
<li><strong>Extensibility</strong>: modular architecture that eases the modification, enhancement/pruning, and development of new systems.</li>
</ul>
<p>The source code of VanillaDB is released under the Apache 2.0 license. And we are happy to hear your feedback or feature requests at <a href="mailto:vanilladb@datalab.cs.nthu.edu.tw">vanilladb@datalab.cs.nthu.edu.tw</a>.</p>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Target Audience</h3>
<p>VanillaDB is ideal for:</p>
<ul>
<li>Database researchers who want to validate new algorithms on a real database system or to design a new system;</li>
<li>Instructors who want their students to grasp solid knowledge about the internals of a database system and ability to make changes.</li>
</ul>
<p>For instructors, we offer extra coding labs that help students get hands-on experience in some important modules (e.g., query planning, transaction processing, etc.). Please contact <a href="mailto:vanilladb@datalab.cs.nthu.edu.tw">vanilladb@datalab.cs.nthu.edu.tw</a> for more details.</p>
<p>VanillaDB has been used as a testbed in some research work (e.g., <a href="http://www.cs.nthu.edu.tw/~shwu/pubs/shwu-sigmod-16.pdf">T-Part</a> in Proc. of SIGMOD’16) and teaching materials in some DB courses (e.g., the “Cloud Database Systems” offered by National Tsing Hua University, Taiwan). It also
serves as the core engine in some advanced systems (e.g., <a href="http://www.elasql.org">ElaSQL</a>, a deterministic, distributed relational databases systems for OLTP workloads). </p>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Sub-Projects</h3>
<p>Currently, VanillaDB consists of two sub-projects, namely the VanillaCore and VanillaComm. The former is a single-node relational database engine and the latter provides the group communication primitives for distributed database systems.</p>
<a href="https://github.com/vanilladb/vanillacore" class="btn btn-primary btn-lg animated fadeInUp">Get VanillaCore <br />
<small class="coreVer "><div class="magic-show" ><i class="fa fa-spinner fa-spin fa-fw"></i></div></small>
</a>
<a href="https://github.com/vanilladb/vanillacomm" class="btn btn-primary btn-lg animated fadeInUp">Get VanillaComm<br />
<small class="commVer"><div class="magic-show" ><i class="fa fa-spinner fa-spin fa-fw"></i></div></small>
</a>
<p>A new sub-project called VanillaBench is on the way.</p>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Cite</h3>
<p>To cite VanillaDB, please add the following to your BibTex:</p>
<pre>
@inproceedings{shwu2016tpart,
title={T-Part: Partitioning of Transactions for Forward-Pushing in Deterministic Database Systems},
author={Shan-Hung Wu and Tsai-Yu Feng and Meng-Kai Liao and Shao-Kan Pi and Yu-Shan Lin},
booktitle={Proceedings of the 2016 ACM SIGMOD International Conference on Management of Data (SIGMOD)},
year={2012},
organization={ACM}
}</pre>
</div>
</div>
</div>
</section>
<!-- VanillaCore Section -->
<section id="vanilla-core" class="section vanilla-core-section">
<div class="container">
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h1>VanillaCore</h1>
<p>VanillaCore is a single node, multi-threaded relational database engine that partially supports the SQL-92 standard and offers connectivity via JDBC, embedding, or (Java-based) stored procedures.</p>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Architecture</h3>
<img class="img-responsive wow center-block" data-wow-delay=".3s" src="img/vanilla-core_architecture.png" alt="VanillaCore Architecture" />
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Documentation</h3>
<ul>
<li><a href="https://github.com/vanilladb/vanillacore">Getting started</a></li>
<ul>
<li>Configurations, command line interpreter, etc.</li>
</ul>
<li><a href="slides/core/Background.pdf">Background</a></li>
<ul>
<li>Why relational database systems? ER- and relational-models, transactions and logical schema design and normal forms, etc.</li>
</ul>
<li><a href="slides/core/Architecture_and_Interfaces.pdf">Architecture overview and interfaces</a></li>
<ul>
<li>Client-server interfaces, embedding, storage interfaces, etc.</li>
</ul>
<li>Query engine</li>
<ul>
<li><a href="slides/core/Server_and_Threads.pdf">Server and threads</a>
<p>Threads v.s. connections v.s. transactions, thread-local v.s. thread-safe components, etc.</p>
</li>
<li><a href="slides/core/Query_Processing.pdf">Query Processing</a>
<p>SQL parsing and validation, planning, algebra, plan/scan trees, etc.</p>
</li>
</ul>
<li>Storage</li>
<ul>
<li><a href="slides/core/Data_Access_and_File_Management.pdf">Data access and file management</a>
<p>Block-level v.s. file-level access, O_DIRECT on Linux, etc.</p>
</li>
<li><a href="slides/core/Memory_Management.pdf">Memory management</a>
<p>Buffering user data, write-ahead-logging (WAL), log caching, etc.</p>
</li>
<li><a href="slides/core/Record_Management.pdf">Record</a> and <a href="slides/core/Metadata_Management.pdf">metadata management</a>
<p>Physical schema design, efficient buffer utilization, etc.</p>
</li>
</ul>
<li>Transaction management</li>
<ul>
<li><a href="slides/core/Transaction_Concurrency.pdf">Concurrency</a>
<p>Strict Two-Phase Locking (S2PL), deadlock detection/avoidance, lock granularity, phantom, isolation levels, etc.</p>
</li>
<li><a href="slides/core/Transaction_Recovery.pdf">Recovery</a>
<p>Physical logging, transaction rollback, UNDO-only recovery, UNDO-REDO recovery, logical logging, physiological logging, ARIES, checkpointing, etc.</p>
</li>
</ul>
<li>Efficient query processing</li>
<ul>
<li><a href="slides/core/Indexing.pdf">Indexing</a>
<p>Hash and B-tree indexing, index locking, etc.</p>
</li>
<li>Materialization and sorting (TBA)</li>
<li>Effective buffer utilization (TBA)</li>
<li>Query optimization (TBA)</li>
</ul>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<a href="https://github.com/vanilladb/vanillacore" class="btn btn-primary btn-lg animated fadeInUp">Get VanillaCore <br />
<small class="coreVer"><div class="magic-show" ><i class="fa fa-spinner fa-spin fa-fw"></i></div></small>
</a>
</div>
</div>
</div>
</section>
<!-- VanillaComm Section -->
<section id="vanilla-comm" class="section vanilla-comm-section">
<div class="container">
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h1>VanillaComm</h1>
<p>VanillaComm is a collection of reliable group communication primitives (e.g., total-ordering) that can benefit the distributed database systems (e.g., eager-replication, NewSQL database systems). It is based on the <a href="http://appia.di.fc.ul.pt/wiki/index.php?title=Main_Page">Appia framework</a> and handles node/machine failure transparently.</p>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Primitives and Stakes</h3>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h3>Documentation</h3>
<ul>
<li>Getting started</li>
<ul>
<li>Configurations, applications, etc.</li>
</ul>
<li><a href="slides/comm/Appia.pdf">Appia</a></li>
<ul>
<li>Layers, sessions, Qos, channel, etc.</li>
</ul>
<li><a href="slides/comm/Basic_Abstraction.pdf">Basic abstraction</a></li>
<ul>
<li>Perfect point-to-point link, perfect failure detection, etc.</li>
</ul>
<li><a href="slides/comm/Reliable_Broadcast.pdf">Reliable Broadcast</a></li>
<ul>
<li>Best-effort broadcast, reliable broadcast, uniform reliable broadcast, etc.</li>
</ul>
<li><a href="slides/comm/Consensus.pdf">Consensus</a></li>
<ul>
<li>Flooding consensus, sequencer-based consensus, Paxos, etc.</li>
</ul>
<li><a href="slides/comm/Total_Ordering.pdf">Total-ordering</a></li>
<ul>
<li>Consensus-based total-ordering, Zab, etc.</li>
</ul>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<a href="https://github.com/vanilladb/vanillacomm" class="btn btn-primary btn-lg animated fadeInUp">Get VanillaComm<br />
<small class="commVer"><div class="magic-show" ><i class="fa fa-spinner fa-spin fa-fw"></i></div></small>
</a>
</div>
</div>
</div>
</section>
<!-- VanillaBench Section -->
<section id="vanilla-bench" class="section vanilla-bench-section">
<div class="container">
<div class="row">
<div class="col-sm-offset-1 col-sm-10">
<h1>VanillaBench</h1>
<p>VanillaBench eases the database system benchmarking by partially implementing some common benchmarks (e.g., TPC-C, TPC-E, or YCSB). Coming soon.</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="section about-section">
<div class="container">
<div class="row">
<div class="col-sm-offset-2 col-sm-8">
<h1>About</h1>
<p>Copyright © by vanilladb.org. All rights reserved.</p>
<p>Please contact <a href="mailto:vanilladb@datalab.cs.nthu.edu.tw">vanilladb@datalab.cs.nthu.edu.tw</a> if you have any question.</p>
</div>
</div>
</div>
</section>
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<!-- Scrolling Nav JavaScript -->
<script src="js/jquery.easing.min.js"></script>
<script src="js/vanilladb.js"></script>
</body>
</html>