Codex databases
Last updated 1 November 2026
What it is, where it lives on your Mac, and whether it’s safe to delete.
Leave it alone
No. Codex's live databases: chat history, state, memories and logs. DiskCity never removes them.
Where it is
~/.codex/*.sqlite~/.codex/*.sqlite-wal~/.codex/*.sqlite-shm~/.codex/sqlite
A * stands for any name: there can be several of these.
Is it safe to delete?
No. Codex's live databases: chat history, state, memories and logs. DiskCity never removes them.
What to do instead
Leave it where it is. If you need the space, look at the caches and build files that rebuild themselves first.
What DiskCity does with it
DiskCity never removes it.
