The Pinkary database just went from ~800MB to ~90MB.

How?

VACUUM;

🤯

The database had a lot of free pages due to a large number of row deletes over time. The Laravel Pulse package was the main cause of these deletes (recording entries and then deleting them after a period), but cache, jobs, etc also contributed to the free space that could be truncated off the file.

1

962

Interesting indeed, do you mean that you've been working with laravel pulse using sqlite database?

1

478

Yes. Pinkary is currently using Laravel Pulse, saving entries to the production database (which is sqlite).

2

410

Keep up the good work guys 🚀

135

  • No matching results...
  • Searching...

/ 1000

Poll Options