-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate create sync restore point #7723
base: main
Are you sure you want to change the base?
Conversation
@akalend the command you issued was incorrect. Please try again. Examples are:
and
|
@microsoft-github-policy-service agree |
@microsoft-github-policy-service agree |
This patch do automate the placement of synchronous restore points. The placement of synchronous recovery points can occur either "daily" at 00:00 at the local server time or "hourly". This is set by the GUC variable: citus.restore_point_interval. By default, or the absence of an option, the value is "never".
The name of the save point has the format: restore_autosave_dd.mm_hh:00. The default name prefix is restore_autosave, but can be changed by using the GUС variable citus.restore_point_interval_name.
This patch implemented like this: the MantainceDaemon monitored the required time intervals and at the right moment starts a background process that executes the SQL request: SELECT citus_create_restore_point();