mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
17 lines
780 B
Plaintext
17 lines
780 B
Plaintext
CREATE TABLE default.foo_memory\n(\n `x` Int8\n)\nENGINE = Memory
|
|
1
|
|
CREATE TABLE default.foo_file\n(\n `x` Int8\n)\nENGINE = File(\'TabSeparated\')
|
|
1
|
|
CREATE TABLE default.foo_merge_tree\n(\n `x` Int8\n)\nENGINE = MergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
1
|
|
2
|
|
CREATE TABLE default.clone_as_foo_merge_tree\n(\n `x` Int8\n)\nENGINE = MergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
1
|
|
2
|
|
CREATE TABLE default.foo_replacing_merge_tree\n(\n `x` Int8\n)\nENGINE = ReplacingMergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
1
|
|
2
|
|
CREATE TABLE default.clone_as_foo_replacing_merge_tree\n(\n `x` Int8\n)\nENGINE = ReplacingMergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
1
|
|
2
|