2020-09-26 22:07:13 +00:00
--------- tMM ----------------------------
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toDate(d)=toDate('2020-09-15');
2020-09-26 22:07:13 +00:00
0 0
2021-02-13 13:32:50 +00:00
Selected 0/6 parts by partition key, 0 parts by primary key, 0/0 marks by primary key, 0 marks to read from 0 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toDate(d)=toDate('2020-09-01');
2020-09-26 22:07:13 +00:00
2 2880
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toDate(d)=toDate('2020-10-15');
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toDate(d)='2020-09-15';
2020-09-26 22:07:13 +00:00
0 0
2021-02-13 13:32:50 +00:00
Selected 0/6 parts by partition key, 0 parts by primary key, 0/0 marks by primary key, 0 marks to read from 0 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d)=202009;
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMMDD(d)=20200816;
2020-09-26 22:07:13 +00:00
2 2880
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMMDD(d)=20201015;
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toDate(d)='2020-10-15';
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where d >= '2020-09-01 00:00:00' and d<'2020-10-15 00:00:00';
2020-09-26 22:07:13 +00:00
3 15000
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2021-07-24 15:40:22 +00:00
select uniqExact(_part), count() from tMM where d >= '2020-01-16 00:00:00' and d < toDateTime('2021-08-17 00:00:00', 'Europe/Moscow');
2020-09-26 22:07:13 +00:00
6 30000
2021-04-09 09:48:08 +00:00
Selected 6/6 parts by partition key, 6 parts by primary key, 6/6 marks by primary key, 6 marks to read from 6 ranges
2020-09-26 01:20:36 +00:00
2021-07-24 15:40:22 +00:00
select uniqExact(_part), count() from tMM where d >= '2020-09-16 00:00:00' and d < toDateTime('2020-10-01 00:00:00', 'Europe/Moscow');
2020-09-26 22:07:13 +00:00
0 0
2021-02-13 13:32:50 +00:00
Selected 0/6 parts by partition key, 0 parts by primary key, 0/0 marks by primary key, 0 marks to read from 0 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where d >= '2020-09-12 00:00:00' and d < '2020-10-16 00:00:00';
2020-09-26 22:07:13 +00:00
2 6440
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfDay(d) >= '2020-09-12 00:00:00';
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfDay(d) = '2020-09-01 00:00:00';
2020-09-26 22:07:13 +00:00
2 2880
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfDay(d) = '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfDay(d) >= '2020-09-15 00:00:00' and d < '2020-10-16 00:00:00';
2020-09-26 22:07:13 +00:00
2 6440
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) between 202009 and 202010;
2020-09-26 22:07:13 +00:00
4 20000
2021-04-09 09:48:08 +00:00
Selected 4/6 parts by partition key, 4 parts by primary key, 4/4 marks by primary key, 4 marks to read from 4 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) between 202009 and 202009;
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) between 202009 and 202010 and toStartOfDay(d) = '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) >= 202009 and toStartOfDay(d) < '2020-10-02 00:00:00';
2020-09-26 22:07:13 +00:00
3 11440
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) > 202009 and toStartOfDay(d) < '2020-10-02 00:00:00';
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d)+1 > 202009 and toStartOfDay(d) < '2020-10-02 00:00:00';
2020-09-26 22:07:13 +00:00
3 11440
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d)+1 > 202010 and toStartOfDay(d) < '2020-10-02 00:00:00';
2020-09-26 22:07:13 +00:00
1 1440
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d)+1 > 202010;
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d-1)+1 = 202010;
2020-09-26 22:07:13 +00:00
3 9999
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfMonth(d) >= '2020-09-15';
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfMonth(d) >= '2020-09-01';
2020-09-26 22:07:13 +00:00
4 20000
2021-04-09 09:48:08 +00:00
Selected 4/6 parts by partition key, 4 parts by primary key, 4/4 marks by primary key, 4 marks to read from 4 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toStartOfMonth(d) >= '2020-09-01' and toStartOfMonth(d) < '2020-10-01';
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d-1)+1 = 202010;
2020-09-26 22:07:13 +00:00
2 9999
2021-04-09 09:48:08 +00:00
Selected 2/3 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d)+1 > 202010;
2020-09-26 22:07:13 +00:00
1 10000
2021-04-09 09:48:08 +00:00
Selected 1/3 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tMM where toYYYYMM(d) between 202009 and 202010;
2020-09-26 22:07:13 +00:00
2 20000
2021-04-09 09:48:08 +00:00
Selected 2/3 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
--------- tDD ----------------------------
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from tDD where toDate(d)=toDate('2020-09-24');
2020-09-26 22:07:13 +00:00
1 10000
2021-04-09 09:48:08 +00:00
Selected 1/4 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() FROM tDD WHERE toDate(d) = toDate('2020-09-24');
2020-09-26 22:07:13 +00:00
1 10000
2021-04-09 09:48:08 +00:00
Selected 1/4 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() FROM tDD WHERE toDate(d) = '2020-09-24';
2020-09-26 22:07:13 +00:00
1 10000
2021-04-09 09:48:08 +00:00
Selected 1/4 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() FROM tDD WHERE toDate(d) >= '2020-09-23' and toDate(d) <= '2020-09-26';
2020-09-26 22:07:13 +00:00
3 40000
2021-04-09 09:48:08 +00:00
Selected 3/4 parts by partition key, 3 parts by primary key, 4/4 marks by primary key, 4 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() FROM tDD WHERE toYYYYMMDD(d) >= 20200923 and toDate(d) <= '2020-09-26';
2020-09-26 22:07:13 +00:00
3 40000
2021-04-09 09:48:08 +00:00
Selected 3/4 parts by partition key, 3 parts by primary key, 4/4 marks by primary key, 4 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
--------- sDD ----------------------------
2020-09-26 15:21:48 +00:00
select uniqExact(_part), count() from sDD;
2020-09-26 22:07:13 +00:00
6 30000
2021-04-09 09:48:08 +00:00
Selected 6/6 parts by partition key, 6 parts by primary key, 6/6 marks by primary key, 6 marks to read from 6 ranges
2020-09-26 15:21:48 +00:00
2020-09-26 22:07:13 +00:00
select uniqExact(_part), count() from sDD where toYYYYMM(toDateTime(intDiv(d,1000),'UTC')-1)+1 = 202010;
3 9999
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
select uniqExact(_part), count() from sDD where toYYYYMM(toDateTime(intDiv(d,1000),'UTC')-1) = 202010;
2 9999
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
select uniqExact(_part), count() from sDD where toYYYYMM(toDateTime(intDiv(d,1000),'UTC')-1) = 202110;
0 0
2021-02-13 13:32:50 +00:00
Selected 0/6 parts by partition key, 0 parts by primary key, 0/0 marks by primary key, 0 marks to read from 0 ranges
2020-09-26 01:20:36 +00:00
2020-09-27 00:02:18 +00:00
select uniqExact(_part), count() from sDD where toYYYYMM(toDateTime(intDiv(d,1000),'UTC'))+1 > 202009 and toStartOfDay(toDateTime(intDiv(d,1000),'UTC')) < toDateTime('2020-10-02 00:00:00','UTC');
2020-09-26 22:07:13 +00:00
3 11440
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-27 00:02:18 +00:00
select uniqExact(_part), count() from sDD where toYYYYMM(toDateTime(intDiv(d,1000),'UTC'))+1 > 202009 and toDateTime(intDiv(d,1000),'UTC') < toDateTime('2020-10-01 00:00:00','UTC');
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from sDD where d >= 1598918400000;
2020-09-26 22:07:13 +00:00
4 20000
2021-04-09 09:48:08 +00:00
Selected 4/6 parts by partition key, 4 parts by primary key, 4/4 marks by primary key, 4 marks to read from 4 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
select uniqExact(_part), count() from sDD where d >= 1598918400000 and toYYYYMM(toDateTime(intDiv(d,1000),'UTC')-1) < 202010;
3 10001
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 22:07:13 +00:00
--------- xMM ----------------------------
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where toStartOfDay(d) >= '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d <= '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
3 10001
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d < '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d <= '2020-10-01 00:00:00' and a=1;
2020-09-26 22:07:13 +00:00
1 1
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d <= '2020-10-01 00:00:00' and a<>3;
2020-09-26 22:07:13 +00:00
2 5001
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d < '2020-10-01 00:00:00' and a<>3;
2020-09-26 22:07:13 +00:00
1 5000
2021-04-09 09:48:08 +00:00
Selected 1/6 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d < '2020-11-01 00:00:00' and a = 1;
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a = 1;
2020-09-26 22:07:13 +00:00
3 15000
2021-04-09 09:48:08 +00:00
Selected 3/6 parts by partition key, 3 parts by primary key, 3/3 marks by primary key, 3 marks to read from 3 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a = 66;
2020-09-26 22:07:13 +00:00
0 0
2021-02-13 13:32:50 +00:00
Selected 0/6 parts by partition key, 0 parts by primary key, 0/0 marks by primary key, 0 marks to read from 0 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a <> 66;
2020-09-26 22:07:13 +00:00
6 30000
2021-04-09 09:48:08 +00:00
Selected 6/6 parts by partition key, 6 parts by primary key, 6/6 marks by primary key, 6 marks to read from 6 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a = 2;
2020-09-26 22:07:13 +00:00
2 10000
2021-04-09 09:48:08 +00:00
Selected 2/6 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a = 1;
2020-09-26 22:07:13 +00:00
2 15000
2021-04-09 09:48:08 +00:00
Selected 2/5 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where toStartOfDay(d) >= '2020-10-01 00:00:00';
2020-09-26 22:07:13 +00:00
1 10000
2021-04-09 09:48:08 +00:00
Selected 1/5 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where a <> 66;
2020-09-26 22:07:13 +00:00
5 30000
2021-04-09 09:48:08 +00:00
Selected 5/5 parts by partition key, 5 parts by primary key, 5/5 marks by primary key, 5 marks to read from 5 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d <= '2020-10-01 00:00:00' and a<>3;
2020-09-26 22:07:13 +00:00
2 5001
2021-04-09 09:48:08 +00:00
Selected 2/5 parts by partition key, 2 parts by primary key, 2/2 marks by primary key, 2 marks to read from 2 ranges
2020-09-26 01:20:36 +00:00
2020-09-26 15:25:47 +00:00
select uniqExact(_part), count() from xMM where d >= '2020-09-01 00:00:00' and d < '2020-10-01 00:00:00' and a<>3;
2020-09-26 22:07:13 +00:00
1 5000
2021-04-09 09:48:08 +00:00
Selected 1/5 parts by partition key, 1 parts by primary key, 1/1 marks by primary key, 1 marks to read from 1 ranges
2020-09-26 01:20:36 +00:00