select count(),sum(click_cnt),avg(impression_cnt) from statistic_by_minutes
1 rows in set. Elapsed: 1.460 sec. Processed 197.96 million rows, 1.58 GB (135.56 million rows/s., 1.08 GB/s.)
┌─name───────────┬─type─────┬─default_type─┬─default_expression─────┐
│ event_date │ Date │ DEFAULT │ toDate(event_datetime) ││ event_datetime │ DateTime │ │ ││ campaign_id │ Int32 │ │ ││ creative_id │ Int32 │ │ ││ company_id │ Int32 │ │ ││ zone_id │ Int32 │ │ ││ impression_cnt │ Int32 │ │ ││ domain_hash │ String │ DEFAULT │ \'Unknown\' ││ device │ String │ DEFAULT │ \'Unknown\' ││ os_type │ String │ DEFAULT │ \'Unknown\' ││ browser │ String │ DEFAULT │ \'Unknown\' ││ lang │ String │ DEFAULT │ \'Unknown\' ││ country_code │ String │ DEFAULT │ \'Unknown\' ││ click_cnt │ Int32 │ DEFAULT │ CAST(0 AS Int32) │└────────────────┴──────────┴──────────────┴────────────────────────┘
ENGINE = MergeTree(event_date, (event_datetime, company_id, zone_id, campaign_id, creative_id), 8192)
2017.04.30 20:13:12.550419 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (for query): 13.11 MiB.2017.04.30 20:13:12.550513 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (for user): 13.11 MiB.2017.04.30 20:13:12.550569 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (total): 13.11 MiB.В clickhouse-server.log заметил еще вот такие ошибки:2017.04.30 20:13:12.550419 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (for query): 13.11 MiB.2017.04.30 20:13:12.550513 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (for user): 13.11 MiB.2017.04.30 20:13:12.550569 [ 1040834 ] <Debug> MemoryTracker: Peak memory usage (total): 13.11 MiB.
Возможно здесь есть какая-то связь?