ClickHouse/docs/en
Kevin Michel 008c3c812b
Allow non-replicated ALTER TABLE FETCH/ATTACH in Replicated databases
`ALTER TABLE ... FETCH` and `ALTER TABLE ... ATTACH` queries were
disabled in the Replicated database engine, because it could cause
accidental duplication of data.

This enables these queries but without replicating them.

In the case of `FETCH`, the part will only be fetched on the server
where the query is issued.

Similarly, in the case of `ATTACH`, the attached part only needs to
be available on the server where the query is issued.

If the table itself is using one of the Replicated MergeTree engines,
the attached data is then replicated by the table engine itself,
without intervention of the database engine.

This change is meant to help with live backup/restore when using the
Replicated database engine, using FREEZE for backup and ATTACH for
restore.
2021-09-21 17:45:23 +02:00
..
commercial Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
development Merge branch 'master' into fix-build-clang-13-2 2021-09-12 19:30:55 +03:00
engines Allow non-replicated ALTER TABLE FETCH/ATTACH in Replicated databases 2021-09-21 17:45:23 +02:00
faq Fix ClickHouse characters case 2021-05-27 21:49:41 +02:00
getting-started Update install.md 2021-09-08 21:42:10 +03:00
guides Add RELOAD MODELS and RELOAD MODEL system queries 2021-06-02 23:44:51 +03:00
images [ImgBot] Optimize images 2021-07-07 19:12:16 +00:00
interfaces Merge pull request #29067 from qianmoQ/translation-docs-zh 2021-09-16 16:25:41 +03:00
introduction [docs] incorporate changes requested by Chaim Haas (#28588) 2021-09-03 22:08:56 +03:00
operations DOCSUP-14089: Document the max_hyperscan_regexp_length and max_hyperscan_regexp_tot… (#28902) 2021-09-15 12:16:05 +03:00
sql-reference Merge pull request #28952 from fuzzERot/h3-functions 2021-09-18 14:27:11 +03:00
whats-new Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
index.md Avoid short syntax 2021-05-27 21:44:11 +02:00