Skip to content

Commit

Permalink
Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
cstack committed Aug 31, 2017
1 parent ad33856 commit 2b04146
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
npm install -g diff2html-cli --registry https://registry.npmjs.org
# Let's Build a Simple Database

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

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

bundle exec jekyll serve
Run site locally:
```
bundle exec jekyll serve
```
Binary file added assets/images/arch2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Overview
Foo bar
# How Does a Database Work?
- What format is data saved in? (in memory and on disk)
- When does it move from memory to disk?
- Why can there only be one primary key per table?
- How does rolling back a transaction work?
- How are indexes formatted?
- When and how does a full table scan happen?
- What format is a prepared statement save in?

Blah blah
In short, how does a database **work**?

This that
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.

# Table of Contents
[Part 1 - Introduction and Setting up the REPL](part1.md)
[Part 1 - Introduction and Setting up the REPL](part1.md)

{% include image.html url="/assets/images/arch2.gif" description="sqlite architecture (https://www.sqlite.org/arch.html)" %}

0 comments on commit 2b04146

Please sign in to comment.