Skip to content
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

FREEZE WITH NAME #66

Closed
yuzhichang opened this issue Nov 30, 2019 · 1 comment
Closed

FREEZE WITH NAME #66

yuzhichang opened this issue Nov 30, 2019 · 1 comment
Milestone

Comments

@yuzhichang
Copy link
Contributor

ClickHouse supports freeze a table with given name:

ALTER TABLE cdp_tags FREEZE WITH NAME 'abc';

...
2019.11.30 09:47:21.941618 [ 608 ] {a6445f03-179f-4970-bb3c-a57a65af3377} <Debug> default.cdp_tags: Freezing part f6b4ea42fb9c719593aebbee00e5526f_2_835_20_862 snapshot will be placed at /var/lib/clickhouse/shadow/abc/

pkg/chbackup/backup.go Freeze(config Config, tablePattern string) can be improved not to require shadow directory to empty.

@AlexAkulov AlexAkulov added this to the 1.0.0 milestone Feb 17, 2021
@AlexAkulov
Copy link
Collaborator

Added in v1.0.0-alpha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants