DC
Size: a a a
DC
DC
D
АА
DC
МЦ
АА
created
Date DEFAULT CAST(now(), 'Date'), post_id
UInt64, blogger_id
UInt64, liker_id
UInt64, liker_username
String ) ENGINE = ReplicatedReplacingMergeTree('/clickhouse/tables/{shard}/test/blogger_likers', '{replica}') PARTITION BY toYYYYMM(created) ORDER BY (blogger_id, liker_id) SAMPLE BY liker_id SETTINGS index_granularity = 8192WA
WA
AB
id
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted
!= 'Y')
594 rows in set. Elapsed: 0.040 sec. Processed 1.88 million rows, 37.63 MB (47.12 million rows/s., 942.76 MB/s.)
id
, phone
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted != 'Y')SELECT count(1)
FROM
(
SELECT
id,
phone
FROM shop_clients
WHERE (integer_2 != toInt32(1737)) AND (integer_2 != toInt32(1761)) AND (integer_2 != toInt32(1762)) AND (integer_2 != toInt32(1736)) AND (integer_2 != toInt32(1763)) AND (integer_2 != toInt32(1787)) AND (integer_2 != toInt32(1788)) AND (integer_30 = toInt32(1)) AND (integer_9 = toInt32(30)) AND (region_id IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11))) AND (shop_clients.is_deleted != 'Y')
)
┌─count(1)─┐
│ 594 │
└──────────┘
l
id
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted
!= 'Y')
594 rows in set. Elapsed: 0.040 sec. Processed 1.88 million rows, 37.63 MB (47.12 million rows/s., 942.76 MB/s.)
id
, phone
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted != 'Y')SELECT count(1)
FROM
(
SELECT
id,
phone
FROM shop_clients
WHERE (integer_2 != toInt32(1737)) AND (integer_2 != toInt32(1761)) AND (integer_2 != toInt32(1762)) AND (integer_2 != toInt32(1736)) AND (integer_2 != toInt32(1763)) AND (integer_2 != toInt32(1787)) AND (integer_2 != toInt32(1788)) AND (integer_30 = toInt32(1)) AND (integer_9 = toInt32(30)) AND (region_id IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11))) AND (shop_clients.is_deleted != 'Y')
)
┌─count(1)─┐
│ 594 │
└──────────┘
ДБ
id
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted
!= 'Y')
594 rows in set. Elapsed: 0.040 sec. Processed 1.88 million rows, 37.63 MB (47.12 million rows/s., 942.76 MB/s.)
id
, phone
FROM shop_clients
WHERE (integer_2
!= toInt32(1737))
AND (integer_2
!= toInt32(1761))
AND (integer_2
!= toInt32(1762))
AND (integer_2
!= toInt32(1736))
AND (integer_2
!= toInt32(1763))
AND (integer_2
!= toInt32(1787))
AND (integer_2
!= toInt32(1788))
AND (integer_30
= toInt32(1))
AND (integer_9
= toInt32(30))
AND (region_id
IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11)
))
AND (shop_clients.is_deleted != 'Y')SELECT count(1)
FROM
(
SELECT
id,
phone
FROM shop_clients
WHERE (integer_2 != toInt32(1737)) AND (integer_2 != toInt32(1761)) AND (integer_2 != toInt32(1762)) AND (integer_2 != toInt32(1736)) AND (integer_2 != toInt32(1763)) AND (integer_2 != toInt32(1787)) AND (integer_2 != toInt32(1788)) AND (integer_30 = toInt32(1)) AND (integer_9 = toInt32(30)) AND (region_id IN (toInt32(1), toInt32(2), toInt32(3), toInt32(4), toInt32(5), toInt32(6), toInt32(7), toInt32(8), toInt32(9), toInt32(10), toInt32(11))) AND (shop_clients.is_deleted != 'Y')
)
┌─count(1)─┐
│ 594 │
└──────────┘
AB
ClickHouse server version 19.16.3 revision 54427.
`
shop_clients
┌─
statement──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
AB
date_add
Nullable(DateTime), date_upd
Nullable(DateTime), uid
Nullable(String), site_user_id
Int32, local_id
Nullable(String), full_name
Nullable(String), first_name
Nullable(String), middle_name
Nullable(String), last_name
Nullable(String), email
Nullable(String), email_orig
Nullable(String), email_validation_code
Int32, email_validation_date
Nullable(DateTime), email_edited
String, email_error_count
Int32, phone
Nullable(String), phone_orig
Nullable(String), phone_type
Nullable(Int32), phone_validation_code
Int32, phone_validation_date
Nullable(DateTime), phone_edited
String, phone_error_count
Int32, push_id
Nullable(String), timezone
Nullable(String), sex
Nullable(String), birth_date
Nullable(UInt64), country
Nullable(String), city
Nullable(String), zip
Nullable(String), register_date
Nullable(DateTime), first_order_date
Nullable(DateTime), first_order_number
Nullable(String), first_order_items_sum
Float32, last_order_id
Int64, last_order_date
Nullable(DateTime), last_order_number
Nullable(String), last_order_items_sum
Float32, order_cnt
Int32, order_average_check
Float32, order_sum
Float32, order_cnt_rfm
Int32, order_average_check_rfm
Float32, order_sum_rfm
Float32, last_visit_date
Nullable(DateTime), last_visit_days
Int32, r_seg_now
Int32, f_seg_now
Int32, m_seg_now
Int32, r_seg_prev
Int32, f_seg_prev
Int32, m_seg_prev
Int32, rfm_date_upd
Nullable(DateTime), bonus_active
Float32, bonus_expect_activate
Float32, bonus_expect_deactivate
Float32, bonus_expect_deactivate_next_date
Nullable(DateTime), bonus_expect_deactivate_next_value
Float32, subscribe_email
String, subscribe_sms
String, subscribe_push
String, active
String, in_global_control_group
String, integer_1
Nullable(Int32), integer_2
Nullable(Int32), integer_3
Nullable(Int32), integer_4
Nullable(Int32), integer_5
Nullable(Int32), integer_6
Nullable(Int32), integer_7
Nullable(Int32), integer_8
Nullable(Int32), integer_9
Nullable(Int32), integer_10
Nullable(Int32), integer_11
Nullable(Int32), integer_12
Nullable(Int32), integer_13
Nullable(Int32), integer_14
Nullable(Int32), integer_15
Nullable(Int32), integer_16
Nullable(Int32), integer_17
Nullable(Int32), integer_18
Nullable(Int32), integer_19
Nullable(Int32), integer_20
Nullable(Int32), integer_21
Nullable(Int32), integer_22
Nullable(Int32), integer_23
Nullable(Int32), integer_24
Nullable(Int32), integer_25
Nullable(Int32), integer_26
Nullable(Int32), integer_27
Nullable(Int32), integer_28
Nullable(Int32), integer_29
Nullable(Int32), integer_30
Nullable(Int32), integer_31
Nullable(Int32), integer_32
Nullable(Int32), integer_33
Nullable(Int32), integer_34
Nullable(Int32), integer_35
Nullable(Int32), double_1
Nullable(Float32), double_2
Nullable(Float32), double_3
Nullable(Float32), double_4 Nullable(Float32), double_5 Nullable(Float32), double_6 Nullable(Float32), double_7 Nullable(Float32), double_8 Nullable(Float32), double_9 Nullable(Float32), double_10 Nullable(Float32), double_11 Nullable(Float32), double_12 Nullable(Float32), double_13 Nullable(Float32), double_14 Nullable(Float32), double_15 Nullable(Float32), double_16 Nullable(Float32), double_17 Nullable(Float32), double_18 Nullable(Float32), double_19 Nullable(Float32), double_20 Nullable(Float32), date_1 Nullable(DateTime), date_2 Nullable(DateTime), date_3 Nullable(DateTime), date_4 Nullable(DateTime), date_5 Nullable(DateTime), date_6 Nullable(DateTime), date_7 Nullable(DateTime), date_8 Nullable(DateTime), date_9 Nullable(DateTime), date_10 Nullable(DateTime), date_11 Nullable(DateTime), date_12 Nullable(DateTime), date_13 Nullable(DateTime), date_14 Nullable(DateTime), date_15 Nullable(DateTime), date_16 Nullable(DateTime), date_17 Nullable(DateTime), date_18 Nullable(DateTime), date_19 Nullable(DateTime), date_20 NullablAB
string_1
Nullable(String), string_2
Nullable(String), string_3
Nullable(String), string_4
Nullable(String), string_5
Nullable(String), string_6
Nullable(String), string_7
Nullable(String), string_8
Nullable(String), string_9
Nullable(String), string_10
Nullable(String), string_11
Nullable(String), string_12
Nullable(String), string_13
Nullable(String), string_14
Nullable(String), string_15
Nullable(String), string_16
Nullable(String), string_17
Nullable(String), string_18
Nullable(String), string_19
Nullable(String), string_20
Nullable(String), boolean_1
Nullable(String), boolean_2
Nullable(String), boolean_3
Nullable(String), boolean_4
Nullable(String), boolean_5
Nullable(String), boolean_6
Nullable(String), boolean_7
Nullable(String), boolean_8
Nullable(String), boolean_9
Nullable(String), boolean_10
Nullable(String), boolean_11
Nullable(String), boolean_12
Nullable(String), boolean_13
Nullable(String), boolean_14
Nullable(String), boolean_15
Nullable(String), boolean_16
Nullable(String), boolean_17
Nullable(String), boolean_18
Nullable(String), boolean_19
Nullable(String), boolean_20
Nullable(String), region_id
Nullable(Int32), is_deleted
String, ch_date
Date) ENGINE = MergeTree(ch_date, site_user_id, 8192) │`
RS
K
RS
K
RS