thisisvld icon

Untitled

thisisvld | PRO | 11/08/18 07:36:54 AM UTC | 0 ⭐ | 675 πŸ‘οΈ | Never ⏰ | []
text |

23.04 KB

|

None

|

0 πŸ‘

/

0 πŸ‘Ž

root@f-clickhouse-n1:~# clickhouse-client 
ClickHouse client version 1.1.54343.
Connecting to localhost:9000.
Connected to ClickHouse server version 1.1.54343.
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser.channel ON CLUSTER fornex_cluster ( 
:-]     channel_id String, 
:-]     name String, 
:-]     description String, 
:-]     image String, 
:-]     country String, 
:-]     subscribers UInt64,
:-]     views UInt64,
:-]     videos UInt64,
:-]     created_at_date Date,
:-]     created_at_time DateTime) ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, channel, rand());
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser.channel ON CLUSTER fornex_cluster
(
    channel_id String, 
    name String, 
    description String, 
    image String, 
    country String, 
    subscribers UInt64, 
    views UInt64, 
    videos UInt64, 
    created_at_date Date, 
    created_at_time DateTime
)
ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, channel, rand())
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.110 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser.video ON CLUSTER fornex_cluster ( 
:-]     video_id String, 
:-]     channel_id String, 
:-]     name String, 
:-]     description String, 
:-]     category String, 
:-]     likes UInt64, 
:-]     dislikes UInt64, 
:-]     views UInt64, 
:-]     publication_date Date, 
:-]     created_at_date Date, 
:-]     created_at_time DateTime) ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, video, rand());
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser.video ON CLUSTER fornex_cluster
(
    video_id String, 
    channel_id String, 
    name String, 
    description String, 
    category String, 
    likes UInt64, 
    dislikes UInt64, 
    views UInt64, 
    publication_date Date, 
    created_at_date Date, 
    created_at_time DateTime
)
ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, video, rand())
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.107 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser.url ON CLUSTER fornex_cluster ( 
:-]     channel_id String, 
:-]     video_id String, 
:-]     short_url String, 
:-]     final_url String, 
:-]     created_at_date Date,
:-]     created_at_time DateTime) ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, url, rand());
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser.url ON CLUSTER fornex_cluster
(
    channel_id String, 
    video_id String, 
    short_url String, 
    final_url String, 
    created_at_date Date, 
    created_at_time DateTime
)
ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, url, rand())
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.106 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser.url_dirty ON CLUSTER fornex_cluster ( 
:-]     durl_url String, 
:-]     video_id String,  
:-]     created_at_date Date,
:-]     created_at_time DateTime) ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, url_dirty, rand());
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser.url_dirty ON CLUSTER fornex_cluster
(
    durl_url String, 
    video_id String, 
    created_at_date Date, 
    created_at_time DateTime
)
ENGINE = Distributed(fornex_cluster, fazze_youtube_parser_buffer, url_dirty, rand())
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.108 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.channel ON CLUSTER fornex_cluster AS fazze_youtube_parser.channel ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/channel', '{replica}', created_at_date, (channel_id, name), 8192);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.channel ON CLUSTER fornex_cluster AS fazze_youtube_parser.channel
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/channel', '{replica}', created_at_date, (channel_id, name), 8192)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.109 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.video ON CLUSTER fornex_cluster AS fazze_youtube_parser.video ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/video', '{replica}', created_at_date, (video_id, name), 8192);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.video ON CLUSTER fornex_cluster AS fazze_youtube_parser.video
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/video', '{replica}', created_at_date, (video_id, name), 8192)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.107 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.url ON CLUSTER fornex_cluster AS fazze_youtube_parser.url ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/url', '{replica}', created_at_date, (short_url, video_id), 8192);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_shard.url ON CLUSTER fornex_cluster AS fazze_youtube_parser.url
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/url', '{replica}', created_at_date, (short_url, video_id), 8192)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.109 sec. 
Β :) CREATE TABLE fazze_youtube_parser_shard.url_dirty ON CLUSTER fornex_cluster AS fazze_youtube_parser.url_dirty ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/url_dirty', '{replica}', created_at_date, (durl_url, video_id), 8192);
Β CREATE TABLE fazze_youtube_parser_shard.url_dirty ON CLUSTER fornex_cluster AS fazze_youtube_parser.url_dirty
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/fazze_youtube_parser_shard/url_dirty', '{replica}', created_at_date, (durl_url, video_id), 8192)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   5 β”‚                1 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   4 β”‚                1 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   3 β”‚                1 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   2 β”‚                1 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   1 β”‚                1 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€host──────────────────┬─port─┬─status─┬─error───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚     57 β”‚ Code: 57, e.displayText() = DB::Exception: Table fazze_youtube_parser_shard.url_dirty already exists., e.what() = DB::Exception β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.158 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.channel ON CLUSTER fornex_cluster AS fazze_youtube_parser.channel ENGINE = Buffer(fazze_youtube_parser_shard, channel, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.channel ON CLUSTER fornex_cluster AS fazze_youtube_parser.channel
ENGINE = Buffer(fazze_youtube_parser_shard, channel, 16, 10, 100, 10000, 1000000, 10000000, 100000000)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.108 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.video ON CLUSTER fornex_cluster AS fazze_youtube_parser.video ENGINE = Buffer(fazze_youtube_parser_shard, video, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.video ON CLUSTER fornex_cluster AS fazze_youtube_parser.video
ENGINE = Buffer(fazze_youtube_parser_shard, video, 16, 10, 100, 10000, 1000000, 10000000, 100000000)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.108 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.url ON CLUSTER fornex_cluster AS fazze_youtube_parser.url ENGINE = Buffer(fazze_youtube_parser_shard, url, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.url ON CLUSTER fornex_cluster AS fazze_youtube_parser.url
ENGINE = Buffer(fazze_youtube_parser_shard, url, 16, 10, 100, 10000, 1000000, 10000000, 100000000)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.107 sec. 
Β :) CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.url_dirty ON CLUSTER fornex_cluster AS fazze_youtube_parser.url_dirty ENGINE = Buffer(fazze_youtube_parser_shard, url_dirty, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
Β CREATE TABLE IF NOT EXISTS fazze_youtube_parser_buffer.url_dirty ON CLUSTER fornex_cluster AS fazze_youtube_parser.url_dirty
ENGINE = Buffer(fazze_youtube_parser_shard, url_dirty, 16, 10, 100, 10000, 1000000, 10000000, 100000000)
Β β”Œβ”€host──────────────────┬─port─┬─status─┬─error─┬─num_hosts_remaining─┬─num_hosts_active─┐
β”‚ f-clickhouse-n5.local β”‚ 9000 β”‚      0 β”‚       β”‚                   5 β”‚                0 β”‚
β”‚ f-clickhouse-n2.local β”‚ 9000 β”‚      0 β”‚       β”‚                   4 β”‚                0 β”‚
β”‚ f-clickhouse-n3.local β”‚ 9000 β”‚      0 β”‚       β”‚                   3 β”‚                0 β”‚
β”‚ f-clickhouse-n1.local β”‚ 9000 β”‚      0 β”‚       β”‚                   2 β”‚                0 β”‚
β”‚ f-clickhouse-n4.local β”‚ 9000 β”‚      0 β”‚       β”‚                   1 β”‚                0 β”‚
β”‚ f-clickhouse-n6.local β”‚ 9000 β”‚      0 β”‚       β”‚                   0 β”‚                0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Β 6 rows in set. Elapsed: 0.117 sec. 
Β :)

Comments