Skip to content

Commit 2b04146

Browse files
committed
Overview
1 parent ad33856 commit 2b04146

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

Diff for: README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
npm install -g diff2html-cli --registry https://registry.npmjs.org
1+
# Let's Build a Simple Database
22

3-
diff2html
3+
[View rendered tutorial](https://cstack.github.io/db_tutorial/) (with more details on what this is.)
44

5-
diff2html -s line -f html -d word -i command -o preview -- -M HEAD~1
5+
## Notes to myself
66

7-
bundle exec jekyll serve
7+
Run site locally:
8+
```
9+
bundle exec jekyll serve
10+
```

Diff for: assets/images/arch2.gif

6.35 KB
Loading

Diff for: index.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
# Overview
2-
Foo bar
1+
# How Does a Database Work?
2+
- What format is data saved in? (in memory and on disk)
3+
- When does it move from memory to disk?
4+
- Why can there only be one primary key per table?
5+
- How does rolling back a transaction work?
6+
- How are indexes formatted?
7+
- When and how does a full table scan happen?
8+
- What format is a prepared statement save in?
39

4-
Blah blah
10+
In short, how does a database **work**?
511

6-
This that
12+
I'm building a clone of [sqlite](https://www.sqlite.org/arch.html) from scratch in C in order to understand, and I'm going to document my process as I go.
713

814
# Table of Contents
9-
[Part 1 - Introduction and Setting up the REPL](part1.md)
15+
[Part 1 - Introduction and Setting up the REPL](part1.md)
16+
17+
{% include image.html url="/assets/images/arch2.gif" description="sqlite architecture (https://www.sqlite.org/arch.html)" %}

0 commit comments

Comments
 (0)