Add option to turn off snapshot compression #731
jeffhuys
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 2 replies
-
Hi @jeffhuys, thanks for submitting your feedback. We don't have a way of doing this currently. If we were to implement a way to snapshot an uncompressed copy of the database, would you expect it to be in a specific format? If so, which one? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use snapshots internally to (relatively) quickly deploy a preview environment for a specific commit. Terraform creates a new EC2 instance and mounts a filesystem containing the most recent production snapshot. On boot, meilisearch is set to load the snapshot from the mounted drive and start running. This takes about 20-30 minutes, however, since our snapshots (compressed) weigh about 60GB.
When creating a snapshot, Meilisearch gzips the snapshot to lower the filesize. This is a time-consuming process, and while it lowers filesize, it massively increases the time it takes for our instances to come online.
My question is, would it be possible to turn off this compression, and just do a simple "copy"? This would cut down the time-to-boot on our preview environments massively.
Alternatively, I can create some hacky way of doing this (manually copying), but would much prefer an official method of doing so.
Does anyone else have experience with this / has found faster ways of doing this?
Beta Was this translation helpful? Give feedback.
All reactions