# SQLite에서 배운 것들: ANALYZE 한 번으로 쿼리 100배 빨라져

Original title: Learning a few things about running SQLite

> Hacker News story 48950122 · language: ko · submitted 2026-07-17
> Web version: https://zeli.app/ko/story/48950122
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 339 · by [surprisetalk](<https://news.ycombinator.com/user?id=surprisetalk>) · 💬 90
[original](<https://jvns.ca/blog/2026/07/17/learning-about-running-sqlite/>) · [HN discussion](<https://news.ycombinator.com/item?id=48950122>)

## Summary

Julia Evans가 Django 사이트에서 SQLite를 운영하며 겪은 경험을 공유합니다. FTS5 검색 쿼리가 4000개 행에서 5초나 걸리던 문제가 ANALYZE 실행으로 0.05초로 줄었습니다. 또한 대량 DELETE 작업 중 다른 worker의 쓰기 타임아웃으로 VM이 죽는 문제를 해결하기 위해 소규모 배치로 처리하는 방법, restic과 Litestream을 이용한 백업 전략, 여러 데이터베이스 파일로 테이블을 분리하는 팁 등을 다룹니다. SQLite도 여전히 '데이터베이스'이며 운영 지식이 필요하다는 교훈을 전합니다.

## Key quote

> SQLite가 웹 프로젝트에 처음 사용된 지 4년 만에 ANALYZE의 존재를 알게 되었습니다. 1~2년 후에는 또 다른 기본 기능을 배우고 있을 것 같아요.

---

## Cite

- Page: https://zeli.app/ko/story/48950122
- Date: 2026-07-17
- Source: jvns.ca (https://jvns.ca/blog/2026/07/17/learning-about-running-sqlite/)
- Hacker News: https://news.ycombinator.com/item?id=48950122

## Other languages

- en: https://zeli.app/story/48950122 · markdown: https://zeli.app/story/48950122.md
- zh: https://zeli.app/zh/story/48950122 · markdown: https://zeli.app/zh/story/48950122.md
- ja: https://zeli.app/ja/story/48950122 · markdown: https://zeli.app/ja/story/48950122.md
- de: https://zeli.app/de/story/48950122 · markdown: https://zeli.app/de/story/48950122.md
- es: https://zeli.app/es/story/48950122 · markdown: https://zeli.app/es/story/48950122.md
