Need Assistance?

support@tutorialshub.in

Indexes, Query Plans & Performance

VACUUM & PRAGMA optimize

ADVERTISEMENT
SQLite Free Lesson
5 min read
ADVERTISEMENT

Run VACUUM; occasionally after large deletes to shrink the .db file size on disk, and PRAGMA optimize; before closing connections so SQLite updates index statistics.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you