2019-10-11 15:22:30 +00:00
|
|
|
=DICTIONARY in Ordinary DB
|
|
|
|
CREATE DICTIONARY ordinary_db.dict1 (`key_column` UInt64 DEFAULT 0, `second_column` UInt8 DEFAULT 1, `third_column` String DEFAULT \'qqq\') PRIMARY KEY key_column SOURCE(CLICKHOUSE(HOST \'localhost\' PORT 9000 USER \'default\' TABLE \'table_for_dict\' PASSWORD \'\')) LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT())
|
|
|
|
dict1
|
|
|
|
1
|
|
|
|
ordinary_db dict1
|
|
|
|
==DETACH DICTIONARY
|
|
|
|
0
|
|
|
|
==ATTACH DICTIONARY
|
|
|
|
dict1
|
|
|
|
1
|
|
|
|
ordinary_db dict1
|
|
|
|
==DROP DICTIONARY
|
|
|
|
0
|
|
|
|
=DICTIONARY in Memory DB
|
|
|
|
dict2
|
|
|
|
1
|
|
|
|
memory_db dict2
|
|
|
|
==DETACH DICTIONARY
|
|
|
|
0
|
|
|
|
==ATTACH DICTIONARY
|
2019-10-15 18:04:17 +00:00
|
|
|
0
|
2019-10-11 15:22:30 +00:00
|
|
|
==DROP DICTIONARY
|
|
|
|
0
|
2019-10-14 09:21:29 +00:00
|
|
|
=DICTIONARY in Dictionary DB
|
|
|
|
=DICTIONARY in Lazy DB
|
2019-10-14 09:52:43 +00:00
|
|
|
=DROP DATABASE WITH DICTIONARY
|
|
|
|
dict4
|
|
|
|
dict4
|