# SQLite Internals : 세상에서 가장 많이 사용되는 DB의 동작방식

> Clean Markdown view of GeekNews topic #8162. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8162](https://news.hada.io/topic?id=8162)
- GeekNews Markdown: [https://news.hada.io/topic/8162.md](https://news.hada.io/topic/8162.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-01-03T10:07:44+09:00
- Updated: 2023-01-03T10:07:44+09:00
- Original source: [compileralchemy.com](https://www.compileralchemy.com/books/sqlite-internals/)
- Points: 31
- Comments: 4

## Topic Body

계속 수정중인 오픈소스 이북  
- 비하인드 스토리  
- 기술적 컨텍스트 : 엔진, B-Tree구현, 파서, VCS   
- 오버뷰   
  - 컴파일 및 실행 프로세스   
  - 단계별 설명   
  - 주요 컨셉들   
- 파일과 레코드 포맷   
  - 페이지 종류들 : Lock-Byte, Freelist, B-Tree,..  
  - 레코드 포맷   
- 롤백 & WAL 모드   
- 바이트코드   
- 흥미로운 기능들   
  - 가상 테이블   
  - CTE   
- 미래

## Comments



### Comment 13972

- Author: xguru
- Created: 2023-01-03T13:00:20+09:00
- Points: 3

SQLite 만큼은 아니지만, 요즘 가장 사랑받는 [PostgreSQL 14 Internals](https://news.hada.io/topic?id=6982) 도 있습니다.

### Comment 13963

- Author: xguru
- Created: 2023-01-03T10:07:50+09:00
- Points: 2

아직 글이 계속 작성중이라 제목만 있고 빠진 챕터들도 있습니다.  
앞부분은 제가 번역해서 옮겼던 [SQLite의 알려지지 않은 이야기](https://news.hada.io/topic?id=4558) 에도 있는 내용들이네요.

### Comment 13984

- Author: kimws
- Created: 2023-01-03T22:05:27+09:00
- Points: 1
- Parent comment: 13963
- Depth: 1

정말 재미있는 비하인드 얘기들이네요. 다른 라이브러리 의존성 없이 모두 다 만들어서 개발했다는 얘길 들으니 대단하다느 생각밖에 안드네요. 버전관리 도구에서부터 파서까지.

### Comment 13983

- Author: osdotsystem
- Created: 2023-01-03T19:29:21+09:00
- Points: 2
- Parent comment: 13963
- Depth: 1

Thanks for bringing the book to a Korean audience! Yes, the Postgres internals is very enjoyable to read. Else, first time i come across a post which publishes a story in the news itself.   
  
The book evolves according to my free exploration time. Btw the LeanPub version contains only finished chapters.
