forked from cstack/db_tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" %} |