1 Star 1 Fork 0

澄澈 / db_tutorial

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.md 907 Bytes
一键复制 编辑 原始数据 按行查看 历史
Connor Stack 提交于 2017-09-17 21:00 . Feynman Quote
title
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 saved in?

In short, how does a database work?

I'm building a clone of sqlite from scratch in C in order to understand, and I'm going to document my process as I go.

Table of Contents

{% for part in site.parts %}- {{part.title}} {% endfor %}

"What I cannot create, I do not understand." -- Richard Feynman

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

1
https://gitee.com/ddaren/db_tutorial.git
git@gitee.com:ddaren/db_tutorial.git
ddaren
db_tutorial
db_tutorial
master

搜索帮助