Now Reading
How Does a Database Work?

How Does a Database Work?

2023-05-03 04:40:42

Writing a sqlite clone from scratch in C

Overview

View on GitHub (pull requests welcome)

  • What format is knowledge saved in? (in reminiscence and on disk)
  • When does it transfer from reminiscence to disk?
  • Why can there solely be one major key per desk?
  • How does rolling again a transaction work?
  • How are indexes formatted?
  • When and the way does a full desk scan occur?
  • What format is a ready assertion saved in?

Briefly, how does a database work?

I’m constructing a clone of sqlite from scratch in C with a view to perceive, and I’m going to doc my course of as I am going.

“What I can’t create, I don’t perceive.” – Richard Feynman

sqlite structure (https://www.sqlite.org/arch.html)
sqlite architecture (https://www.sqlite.org/arch.html)

Source Link

What's Your Reaction?
Excited
0
Happy
0
In Love
0
Not Sure
0
Silly
0
View Comments (0)

Leave a Reply

Your email address will not be published.

2022 Blinking Robots.
WordPress by Doejo

Scroll To Top