SQLite for Real Applications: Schema Design, Write-Ahead Logging, Concurrency, Backups and When One File Is Enough

· neobooks
Ebook
59
Pages
Eligible

About this ebook

Your application is small enough that a database server feels like overkill, yet the tutorials stop long before the problems start: locked errors under load, foreign keys that were never enforced, a write-ahead log that grows without end, and a backup that will not restore. This book is an operating manual for running a single file in production. It shows how to design strict schemas, configure every connection correctly, use write-ahead logging, arrange readers and writers around the one-writer rule, migrate safely, and back up and restore a live database. A worked example follows a fictional small shop from its first decision to the day it outgrows the file. You finish with checklists, a troubleshooting table and a clear rule for when one file is enough.
Your application is small enough that a database server feels like overkill, yet the tutorials stop long before the problems start: locked errors under load, foreign keys that were never enforced, a write-ahead log that grows without end, and a backup that will not restore. This book is an operat...

Discover more

About the author

Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.
Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.