# Something you probably want to know about if you're using SQLite in Golang

DevFeed: [Something you probably want to know about if you're using SQLite in Golang](<https://devfeed.tech/articles/something-you-probably-want-to-know-about-if-you-re-using-sqlite-in-golang-6035.md>)

Original publisher: [Read original article](<https://turso.tech/blog/something-you-probably-want-to-know-about-if-youre-using-sqlite-in-golang-72547ad625f1>)

Author: Piotr Jastrzebski

Published: 2023-08-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [database](<https://devfeed.tech/tags/database.md>), [golang](<https://devfeed.tech/tags/golang.md>), [libsql](<https://devfeed.tech/tags/libsql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [storage](<https://devfeed.tech/tags/storage.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

The article explains a SQLite issue in Go that can cause excessive disk use, then describes SQLite Write-Ahead Logging (WAL), checkpoints, and a Go example that measures database and WAL file sizes.

## Source excerpt

I recently published an article on how a code using database/sql can easily deadlock. That article started multiple interesting conversations and one of them led to discovery of a related issue when...