Hacker News new | past | comments | ask | show | jobs | submit login

> But usually you want to a snapshot of the entire database at some (self-consistent!) point in time

This is actually super simple to do in Cockroach, as it supports time travel queries - https://www.cockroachlabs.com/blog/time-travel-queries-selec...

So you can run a script at, say, 12:05 AM every morning, saving the table state “AS OF SYSTEM TIME 12:00” (simplifying syntax). And thereby get a fully consistent snapshot of all tables, as long as your backup script takes less time to execute than the configured table TTLs




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: