Commit Graph

370 Commits

Author SHA1 Message Date
Alexey Milovidov
48e840a199 dbms: external aggregation: development [#METR-17000]. 2015-11-30 22:57:46 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00
Alexey Milovidov
1889600e39 dbms: improved performance of Aggregator in non-compiled case [#METR-2944]. 2015-11-21 22:46:27 +03:00
Alexey Milovidov
4b29a48124 dbms: fixed error [#METR-17109]. 2015-11-09 21:45:55 +03:00
Alexey Milovidov
e7aabfe43c dbms: fixed error [#MTRSADMIN-1690]. 2015-10-30 05:29:53 +03:00
Alexey Milovidov
c9a8f19def dbms: fixed error with tuples of consts [#METR-18586]. 2015-10-29 00:21:18 +03:00
Alexey Milovidov
5cd5c0dde5 dbms: using 'max_rows_to_group_by' limit while merging aggregate states (in certain cases) [#METR-18507]. 2015-10-23 04:43:42 +03:00
Alexey Milovidov
90ff83b1ba dbms: using max_rows_to_group_by limit while merging aggregate states (incomplete) [#METR-18507]. 2015-10-22 04:44:33 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
804216f678 dbms: added full support of GROUP BY arrays [#METR-13168]. 2015-10-04 09:10:48 +03:00
Alexey Milovidov
9e8b28131e dbms: fixed error [#METR-17536]. 2015-09-15 00:09:33 +03:00
Alexey Milovidov
540c411aa8 dbms: fixed error [#METR-17536]. 2015-09-10 04:58:37 +03:00
Alexey Milovidov
217ef544c2 dbms: fixed error [#METR-17536]. 2015-09-10 00:32:29 +03:00
Alexey Milovidov
a476396e70 dbms: fixed error [#METR-17536]. 2015-09-08 23:19:30 +03:00
Alexey Milovidov
9f3cab500d dbms: memory efficient distributed aggregation: development [#METR-17536]. 2015-09-07 23:08:02 +03:00
Alexey Milovidov
2311c69d53 dbms: development of memory efficient distributed aggregation method [#METR-17536]. 2015-09-07 10:40:14 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Alexey Milovidov
cd734e6f06 dbms: allowed constant arguments of aggregate functions and keys [#METRIKASUPP-5388]. 2015-06-30 22:05:30 +03:00
Alexey Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
cc1887f5e3 dbms: fixed error with higher than usual memory usage [#METR-15530]. 2015-03-24 03:39:30 +03:00
Alexey Milovidov
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Milovidov
593a0a8d44 dbms: fixed error [#METR-15530]. 2015-03-19 08:15:38 +03:00
Alexey Milovidov
f4df541b99 dbms: fixed error [#METR-15530]. 2015-03-18 07:46:55 +03:00
Alexey Milovidov
ed1ffd0fbf dbms: fixed exception safety [#METR-15357]. 2015-03-17 00:31:40 +03:00
Alexey Milovidov
7431af2cf9 dbms: fixed error with exception safety [#METR-15357]. 2015-03-16 22:24:57 +03:00
Alexey Milovidov
33f89bfdb7 dbms: fixed exception safety [#METR-15352]. 2015-03-07 04:05:06 +03:00
Alexey Milovidov
82e782d6f9 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-22 21:02:54 +03:00
Alexey Milovidov
dc6259d931 dbms: added aggregation method 'concat' - performance improvement in generic case [#METR-2944]. 2015-02-22 19:09:16 +03:00
Alexey Milovidov
bbd48f8921 dbms: Aggregator: added specialization for many (up to 256 bit) fixed-size keys (up to 3x performance improvement) [#METR-2944]. 2015-02-22 08:53:16 +03:00
Alexey Milovidov
b6f4d3d3e8 dbms: added setting 'group_by_two_level_threshold' for fine tuning [#METR-2944]. 2015-02-22 08:51:16 +03:00
Alexey Milovidov
bd51359819 dbms: fixed error in exception message [#METR-2944]. 2015-02-01 01:17:33 +03:00
Alexey Milovidov
91b10d0820 dbms: slightly lowered memory usage of distributed aggregation [#METR-2944]. 2015-01-28 02:02:05 +03:00
Alexey Milovidov
af27e06238 Fixed errors in clang (part 4) [#METR-2807]. 2015-01-21 07:23:22 +03:00
Alexey Milovidov
1e32c8664f dbms: fixed error [#METR-14653]. 2015-01-19 20:50:55 +03:00
Alexey Milovidov
099d64931d dbms: compiled aggregator: development [#METR-2944]. 2015-01-18 04:18:39 +03:00
Alexey Milovidov
0c6dc2629e dbms: fixed error [#METR-14604]. 2015-01-17 07:49:13 +03:00
Alexey Milovidov
f61fe3fba5 dbms: tiny additions [#METR-14604]. 2015-01-17 00:01:41 +03:00
Alexey Milovidov
819f13801d dbms: fixed error with WITH TOTALS and group_by_overflow_mode [#METR-14604]. 2015-01-15 22:29:37 +03:00
Alexey Milovidov
ad5fdc0e62 dbms: compiled aggregator: development [#METR-2944]. 2015-01-13 06:03:45 +03:00
Alexey Milovidov
818d5ed0c5 dbms: compiled aggregator: development [#METR-2944]. 2015-01-13 04:57:22 +03:00
Andrey Mironov
ed3965c04c dbms: Aggregator.cpp include <cxxabi.h>
@milovidov check if this fix is rightful
2015-01-12 11:06:17 +03:00
Alexey Milovidov
882bf3ea75 dbms: compiled aggregator: development [#METR-2944]. 2015-01-11 05:00:26 +03:00
Alexey Milovidov
19f1bff25d dbms: dynamic compiled aggregator: development [#METR-2944]. 2015-01-11 03:57:21 +03:00
Alexey Milovidov
65e5e98369 dbms: addition to prev. revision [#METR-2944]. 2015-01-10 05:34:38 +03:00
Alexey Milovidov
a7a2712630 dbms: compiled aggregator: development [#METR-2944]. 2015-01-10 05:30:03 +03:00
Alexey Milovidov
9225adb3fc dbms: tiny modifications [#METR-2944]. 2015-01-08 21:52:48 +03:00
Alexey Milovidov
6212e7080b dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 09:49:32 +03:00
Alexey Milovidov
7c292a9956 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 08:39:21 +03:00
Alexey Milovidov
221efeb82a dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 06:18:49 +03:00
Alexey Milovidov
7cf0bca8af dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 08:28:21 +03:00
Alexey Milovidov
a7eacd1269 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 06:50:14 +03:00
Alexey Milovidov
acbe19fd84 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 06:16:28 +03:00
Alexey Milovidov
fd8b2b5261 dbms: Aggregator: preparation [#METR-2944]. 2015-01-02 03:35:33 +03:00
Alexey Milovidov
54415a6d0b dbms: more scalable aggregator: development [#METR-2944]. 2014-12-31 00:09:25 +03:00
Alexey Milovidov
2abb0f3792 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 23:38:05 +03:00
Alexey Milovidov
e9232fc2fc dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 21:04:53 +03:00
Alexey Milovidov
716fad23d0 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 15:58:02 +03:00
Alexey Milovidov
01526513ae dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 14:27:58 +03:00
Alexey Milovidov
f9f0682033 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 13:16:23 +03:00
Alexey Milovidov
da1974bbf3 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:56:01 +03:00
Alexey Milovidov
cf3812532e dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:18:01 +03:00
Alexey Milovidov
37e599934f dbms: further [#METR-2944]. 2014-10-29 05:35:16 +03:00
Alexey Milovidov
425263970f dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944]. 2014-10-29 04:18:50 +03:00
Michael Kolupaev
5bbb6dc090 some grammar fixes. [#METR-2807] 2014-08-12 13:35:15 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
2b7a2c025f dbms: development [#METR-10894]. 2014-06-06 03:52:28 +04:00
Alexey Milovidov
16f092d87b dbms: development [#METR-10894]. 2014-06-05 23:52:13 +04:00
Sergey Fedorov
edd482acf3 dbms: more fixes on aggregate function columns [METR-10894] 2014-05-30 20:22:14 +04:00
Sergey Fedorov
4fe8f37e03 Merge 2014-05-28 19:00:08 +04:00
Sergey Fedorov
8f306f4238 Merge 2014-05-26 20:13:46 +04:00
Alexey Milovidov
79213536df dbms: fixed error [#METR-11220]. 2014-05-23 04:50:28 +04:00
Alexey Milovidov
0d92614971 dbms: fixed wrong code [#METR-10894]. 2014-05-23 04:35:49 +04:00
Alexey Milovidov
c815fe7a6f dbms: fixed error [#METR-11220]. 2014-05-23 04:35:14 +04:00
Alexey Milovidov
0f5e847172 dbms: fixed segfault in case of memory limit exceeded [#METR-11220]. 2014-05-22 22:58:41 +04:00
Sergey Fedorov
19d17ceb6c dbms: bool array instead of miltiple checking for final aggregate functions [METR-10894] 2014-05-22 18:22:54 +04:00
Sergey Fedorov
be9527f09f dbms: more read write functions for DataTypeAggregateFunction and ColumnAggregateFunction [METR-10894] 2014-05-22 18:09:10 +04:00
Sergey Fedorov
214e8aa9ea Merge 2014-05-21 17:30:42 +04:00
Alexey Milovidov
ef82f8fd75 dbms: Fixed error in prev. revision [#METR-11160]. 2014-05-20 23:30:39 +04:00
Alexey Milovidov
7f2d738498 dbms: fixed segfault in case of memory limit exceeded [#METR-11160]. 2014-05-19 23:41:56 +04:00
Alexey Milovidov
b5eb465f84 dbms: preparation [#METR-2944]. 2014-05-10 09:16:23 +04:00
Alexey Milovidov
82a44f8eec dbms: tiny improved performance of aggregation [#METR-2944]. 2014-05-10 05:37:12 +04:00
Alexey Milovidov
47afe8bd9c dbms: Aggregator: decomposed code to easier trying more aggregation methods; performance is suddenly improved up to 25%; fixed memory leak when exception while aggregating by KEYS_128 method [#METR-2944]. 2014-05-10 04:31:22 +04:00
Alexey Milovidov
10fdfb2c9f dbms: tiny performance improvement [#METR-2944]. 2014-05-01 04:17:02 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Michael Kolupaev
262ffcd74b Fixed parametric aggregate functions in totals. [#METR-10566] 2014-03-25 22:16:40 +04:00
Michael Kolupaev
d83ff9ceb2 clickhouse: totals modes. [#METR-9365] 2014-02-27 16:53:38 +04:00
Michael Kolupaev
04f0056b0a clickhouse: totals mode: development. [#METR-9365] 2014-02-27 16:53:38 +04:00
Alexey Milovidov
8efd6ee42c dbms: sending only set/changed settings [#METR-10087]. 2014-02-17 23:56:45 +00:00
Alexey Milovidov
8d53dcde32 dbms: improved performance for small queries [#METR-8582]. 2013-12-16 02:32:00 +00:00
Alexey Milovidov
c252785d2a dbms: additional performance improvement [#METR-2944]. 2013-11-03 23:54:12 +00:00
Alexey Milovidov
18a8aa74f8 dbms: merged convertToBlock and finalize aggregation steps whenever possible [#METR-2944]. 2013-11-03 23:35:18 +00:00
Alexey Milovidov
1845d91ac6 dbms: fixed error when no aggregate functions and GROUP BY WITH TOTALS [#METR-9030]. 2013-10-23 23:12:40 +00:00
Alexey Milovidov
1aa789831b dbms: Aggregator: fixed error [#CONV-2944]. 2013-09-16 05:33:49 +00:00
Alexey Milovidov
40464a0123 dbms: added new aggregation method [#CONV-2944]. 2013-09-15 10:53:10 +00:00
Alexey Milovidov
e9551970fb dbms: Aggregator: fixed error [#CONV-8366]. 2013-09-02 20:28:18 +00:00
Alexey Milovidov
151506d742 dbms: added totals as separate data in JSON formats [#CONV-8366]. 2013-09-01 04:55:41 +00:00
Alexey Milovidov
e54ee51124 dbms: probably better [#CONV-2944]. 2013-08-24 03:58:33 +00:00
Alexey Milovidov
de9783ce11 dbms: tiny improvement [#CONV-2944]. 2013-07-28 01:42:36 +00:00
Alexey Milovidov
facaf9d24a dbms: improved performance of aggregation by FixedString columns [#CONV-2944]. 2013-07-19 20:12:02 +00:00
Alexey Milovidov
d3d9aa327e dbms: improved performance of aggregation by many fields: lowered number of allocs; more direct memory layout; don't use temporary Fields; lowered memory consumption [#CONV-2944]. 2013-06-30 16:56:00 +00:00
Alexey Milovidov
0931ac57ae dbms: improved performance [#CONV-2944]. 2013-06-25 14:16:16 +00:00
Alexey Milovidov
235c9ce7dd dbms: improved performance of aggregation a little [#CONV-2944]. 2013-06-25 08:06:40 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Michael Kolupaev
8abe29d8d0 clickhouse: fixed a minor bug with aggregation and constants [#CONV-6703]. 2013-06-17 10:19:34 +00:00
Vyacheslav Alipov
20e4583662 typo in error messages [#CONV-2807] 2013-05-17 08:02:34 +00:00
Alexey Milovidov
4d19d33441 dbms: fixed error after adding 'WITH TOTALS' modifier [#CONV-7489]. 2013-05-06 11:45:28 +00:00
Alexey Milovidov
28c9579a5f Separated ColumnString from ColumnArray and ColumnFixedString from ColumnFixedArray; removed ColumnFixedArray [#CONV-2944]. 2013-05-05 15:25:25 +00:00
Alexey Milovidov
15b0ef253c dbms: added WITH TOTALS modifier for GROUP BY [#CONV-2944]. 2013-05-04 15:46:50 +00:00
Alexey Milovidov
85664affbf dbms: development of multi-queries [#CONV-2944]. 2013-05-03 10:20:53 +00:00
Alexey Milovidov
d08e7cf5bc dbms: fixed error [#CONV-7486]. 2013-05-03 05:23:14 +00:00
Alexey Milovidov
b73bbbd7a7 dbms, sqxxl: fixed error [#CONV-7289]. 2013-04-13 00:56:07 +00:00
Alexey Milovidov
08ae323871 dbms: modified log message [#CONV-2944]. 2013-02-17 19:55:05 +00:00
Alexey Milovidov
7b790fb2a8 dbms: Aggregator: improvement [#CONV-2944]. 2013-02-16 20:15:45 +00:00
Alexey Milovidov
9e4fd68e6c dbms: fixed possible leak [#CONV-2944]. 2013-02-16 18:59:05 +00:00
Alexey Milovidov
105962f514 dbms: fixed error with Aggregator [#CONV-2944]. 2013-02-13 20:13:28 +00:00
Alexey Milovidov
427be97e00 dbms: probably fixed error in Aggregator [#CONV-2944]. 2013-02-13 19:24:19 +00:00
Alexey Milovidov
f63c86b53a dbms: improvement [#CONV-2944]. 2013-02-09 02:20:26 +00:00
Alexey Milovidov
1c80514138 dbms: improvement [#CONV-2944]. 2013-02-09 01:02:52 +00:00
Alexey Milovidov
39429e780d dbms: continue improvement [#CONV-2944]. 2013-02-09 00:12:04 +00:00
Alexey Milovidov
aeb201b726 dbms: continue of improvement [#CONV-2944]. 2013-02-08 23:41:05 +00:00
Alexey Milovidov
e9a9124069 dbms: continuing improvement (incomplete) [#CONV-2944]. 2013-02-08 20:34:30 +00:00
Alexey Milovidov
b9bf7544dd dbms: Aggregator: more logging [#CONV-2944]. 2013-02-04 03:31:53 +00:00
Alexey Milovidov
3891f4a230 dbms: improved performance for queries with large aggregation result [#CONV-2944]. 2013-02-03 23:11:21 +00:00
Alexey Milovidov
26a73dae15 dbms: improvement to prev. revision [#CONV-2944]. 2013-02-03 18:45:33 +00:00
Alexey Milovidov
0735bb7d60 dbms: improved performance of queries with large aggregation result [#CONV-2944]. 2013-02-03 18:39:09 +00:00
Alexey Milovidov
70e14f7eb7 dbms: improved performance for queries with large aggregation result [#CONV-2944]. 2013-02-03 18:08:52 +00:00
Alexey Milovidov
b9e62fade5 dbms: fixed error after AutoArray [#CONV-2944]. 2013-01-22 16:57:11 +00:00
Alexey Milovidov
e7093907ef dbms: improved performance of aggregation [#CONV-2944]. 2013-01-08 19:41:22 +00:00
Alexey Milovidov
865130d3b6 dbms: improved performance (less copies of fields) [#CONV-2944]. 2013-01-07 06:47:15 +00:00
Alexey Milovidov
f800b5b769 dbms: using special array for Row and instead of std::vector<AggregateFunctionPlainPtrs> (experimental) [#CONV-2944]. 2013-01-07 00:57:43 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Alexey Milovidov
c3cf6626e3 dbms: development of limits [#CONV-2944]. 2012-12-25 19:28:59 +00:00
Alexey Milovidov
b312f42808 dbms: reverted previous modification [#CONV-2944]. 2012-12-16 00:23:41 +00:00
Alexey Milovidov
62a8ecc749 dbms: probably improved performance of inserting, merging and sorting [#CONV-2944]. 2012-12-15 23:10:14 +00:00
Alexey Milovidov
f5419d3d5a dbms: development of connection pool with failover [#CONV-2944]. 2012-11-06 18:20:00 +00:00
Alexey Milovidov
544dd9a596 dbms: probably fixed error with aggregate function serialization (incomplete) [#CONV-2944]. 2012-10-24 18:14:36 +00:00
Alexey Milovidov
2eee93e1d5 dbms: improved performance of aggregation by many fields; fixed error in function concat [#CONV-2944]. 2012-10-07 06:30:10 +00:00
Alexey Milovidov
20d1415938 dbms: fixed error [#CONV-2944]. 2012-09-12 19:58:38 +00:00
Alexey Milovidov
c584e302e5 dbms: fixed race [#CONV-2944]. 2012-09-12 18:49:21 +00:00
Alexey Milovidov
9cd4ad0a9a dbms: development [#CONV-2944]. 2012-08-23 23:49:28 +00:00
Alexey Milovidov
fc0088bfd3 dbms: development [#CONV-2944]. 2012-08-23 20:22:44 +00:00
Alexey Milovidov
8b2aabed53 dbms: development [#CONV-2944]. 2012-08-21 18:34:55 +00:00
Alexey Milovidov
dc79f25feb dbms: development [#CONV-2944]. 2012-07-15 23:13:08 +00:00
Alexey Milovidov
5e790da370 dbms: development [#CONV-2944]. 2012-05-31 05:41:56 +00:00
Alexey Milovidov
60df8681ce dbms: development [#CONV-2944]. 2012-05-31 01:13:15 +00:00
Alexey Milovidov
3fcdce8316 dbms: development [#CONV-2944]. 2012-05-31 00:33:42 +00:00
Alexey Milovidov
c899cd3c0d dbms: development [#CONV-2944]. 2012-05-30 03:30:29 +00:00
Alexey Milovidov
f018ea4aac dbms: development [#CONV-2944]. 2012-05-30 01:38:02 +00:00
Alexey Milovidov
9e1271cc76 dbms: development [#CONV-2944]. 2012-05-10 07:47:13 +00:00
Alexey Milovidov
e07d47617f dbms: development [#CONV-2944]. 2012-03-05 07:58:34 +00:00
Alexey Milovidov
c90243f7fe dbms: development [#CONV-2944]. 2012-02-27 16:23:28 +00:00
Alexey Milovidov
7fc40e1847 dbms: development [#CONV-2944]. 2012-02-27 07:54:16 +00:00
Alexey Milovidov
42abc4cebd dbms: development [#CONV-2944]. 2012-02-27 06:28:20 +00:00
Alexey Milovidov
3bffaff936 dbms: development [#CONV-2944]. 2011-12-19 08:06:31 +00:00
Alexey Milovidov
1197d447c4 dbms: development [#CONV-2944]. 2011-12-19 02:00:40 +00:00
Alexey Milovidov
bd81f47c67 dbms: development [#CONV-2944]. 2011-10-03 06:22:37 +00:00
Alexey Milovidov
5ccc87b6b0 dbms: development [#CONV-2944]. 2011-09-28 05:24:38 +00:00
Alexey Milovidov
6c1a9ede84 dbms: development [#CONV-2944]. 2011-09-26 15:22:25 +00:00
Alexey Milovidov
de9845ee22 dbms: development [#CONV-2944]. 2011-09-26 14:06:19 +00:00
Alexey Milovidov
cd94f5cccb dbms: development [#CONV-2944]. 2011-09-26 13:16:11 +00:00
Alexey Milovidov
191c78ede0 dbms: development [#CONV-2944]. 2011-09-26 12:50:50 +00:00
Alexey Milovidov
40430ba966 dbms: development [#CONV-2944]. 2011-09-26 11:58:35 +00:00
Alexey Milovidov
1df4bf414c dbms: development [#CONV-2944]. 2011-09-26 11:05:38 +00:00
Alexey Milovidov
c8a4bcbb58 dbms: development [#CONV-2944]. 2011-09-26 07:25:22 +00:00
Alexey Milovidov
70ff575fd9 dbms: development [#CONV-2944]. 2011-09-26 01:50:32 +00:00
Alexey Milovidov
13d0b57ca3 dbms: development [#CONV-2944]. 2011-09-25 05:07:47 +00:00
Alexey Milovidov
b979162b00 dbms: development [#CONV-2944]. 2011-09-25 03:37:09 +00:00
Alexey Milovidov
5c8b01da3a dbms: development [#CONV-2944]. 2011-09-24 20:32:41 +00:00
Alexey Milovidov
4164a38d79 dbms: development [#CONV-2944]. 2011-09-19 03:34:23 +00:00