TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tricks to speed up sqlite3 vacuum (2006)

2 pointsby aabbcc1241almost 3 years ago

1 comment

aabbcc1241almost 3 years ago
What I learn is pipeing .dump into a new database can be faster than running vacuum for large database on btrfs.<p>Example:<p>(echo &quot;pragma journal_mode=wal;&quot; | sqlite3 db.sqlite3 .dump) | sqlite3 temp.sqlite3; mv temp.sqlite3 db.sqlite3
评论 #31486394 未加载