Commit Graph

667 Commits

Author SHA1 Message Date
Alexey Milovidov
7f4d8d15cd Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:30:53 +03:00
Alexey Milovidov
aae7269dd0 Revert "Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]."
This reverts commit bd47aaeefe38a1c55ed5a225cbda49db0f8ce1dc.
2016-05-20 23:27:04 +03:00
Alexey Milovidov
b7a05d0608 Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:01:34 +03:00
Alexey Milovidov
e344f3275b Merge 2016-04-24 22:46:37 +03:00
Alexey Milovidov
07f04d70d3 Merge 2016-04-24 12:44:47 +03:00
Alexey Milovidov
73fd006e12 Merge 2016-04-24 09:05:41 +03:00
Alexey Milovidov
2bb5a4749b Merge 2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce Merge 2016-04-15 20:42:51 +03:00
Alexey Milovidov
1d2c603ecf Fixed errors [#METR-12588]. 2016-04-14 08:03:33 +03:00
Alexey Milovidov
b664f367d8 Improved Summing/Aggregating streams [#METR-12588]. 2016-04-14 00:15:36 +03:00
Alexey Milovidov
49cf0f148c Better [#METR-12588]. 2016-04-13 07:15:30 +03:00
Alexey Milovidov
edc1bb39c7 Merge 2016-04-13 06:56:22 +03:00
Alexey Arno
09985be3ba dbms: Added more comments. Made some code more understandable. [#METR-18510] 2016-03-28 16:00:00 +03:00
Alexey Arno
4ce2d94be7 dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510] 2016-03-10 18:42:36 +03:00
Alexey Milovidov
0a48e6296e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:35:06 +03:00
Alexey Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Alexey Milovidov
93c5ba2d4d Added support for unknown fields in TSKVRowInputStream [#METR-20081]. 2016-02-19 19:59:31 +03:00
Alexey Milovidov
799ccc739b Addition to prev. revision [#METR-20081]. 2016-02-18 14:45:32 +03:00
Alexey Milovidov
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
79814b090d Implemented format XML [#METR-20026]. 2016-02-14 06:06:26 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
e720a53cf2 dbms: return early on WHERE 0 [#METR-19758]. 2016-01-22 23:43:16 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
bb67108daa dbms: addition to prev. revision [#METR-19470]. 2016-01-13 05:21:11 +03:00
Alexey Milovidov
7f1d46fd6c dbms: renamed format ODBC to ODBCDriver [#METR-19470]. 2016-01-13 05:20:12 +03:00
Alexey Milovidov
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
f5597548b3 dbms: addition [#METR-2944]. 2016-01-12 05:39:12 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Roman Peshkurov
0463b94020 Merge 2015-12-17 13:08:03 +03:00
Alexey Milovidov
d98e9405d9 dbms: removed wrong code [#METR-19278]. 2015-12-17 00:20:12 +03:00
Alexey Milovidov
d84625b4ab dbms: fixed build [#METR-19278]. 2015-12-16 23:21:52 +03:00
Roman Peshkurov
c7b5b4892f mobile-logs-api: added information about read bytes. [#MOBMET-2465] 2015-12-16 14:02:44 +03:00
Alexey Milovidov
418a0b5988 dbms: little better (but doesn't fix any error) [#METR-19278]. 2015-12-16 07:04:23 +03:00
Alexey Milovidov
ccec8e4adc dbms: external aggregation: better scaling [#METR-17000]. 2015-12-13 18:07:01 +03:00
Alexey Milovidov
03f091c01c dbms: fixed error [#METR-19316]. 2015-12-09 07:28:01 +03:00
Alexey Milovidov
7dc5661521 dbms: more memory efficient merging aggregated states [#METR-17000]. 2015-12-06 19:22:01 +03:00
Alexey Milovidov
071b1e367c dbms: fixed error [#METR-19700]. 2015-12-06 18:29:16 +03:00
Alexey Milovidov
fa76a1a452 dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000]. 2015-12-05 07:20:37 +03:00
Alexey Milovidov
e1deff76a9 dbms: fixed error [#METR-19262]. 2015-12-05 06:04:13 +03:00
Alexey Milovidov
5890747c56 dbms: instrumenting external sort/aggregation [#METR-17000]. 2015-12-04 00:23:21 +03:00
Alexey Milovidov
0ceb0280f7 dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000]. 2015-12-03 08:03:23 +03:00
Alexey Milovidov
7012dc56a3 dbms: MergingAggregatedMemoryEfficientBlockInputStream: fixed two errors [#METR-17000]. 2015-12-03 05:43:40 +03:00
Alexey Milovidov
99d7aa59b8 dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000]. 2015-12-02 01:35:48 +03:00
Alexey Milovidov
d76d57dda2 dbms: better [#METR-17000]. 2015-12-02 00:20:14 +03:00
Alexey Milovidov
8844334423 dbms: external aggregation: development [#METR-17000]. 2015-12-01 19:58:15 +03:00
Alexey Milovidov
fe8f947a43 dbms: allowed external aggregation with non-parallel aggregation [#METR-17000]. 2015-12-01 17:43:51 +03:00
Alexey Milovidov
eef5fcc466 dbms: addition to prev. revision [#METR-17000]. 2015-12-01 17:11:31 +03:00
Alexey Milovidov
02b16fce06 dbms: external aggregation: initial implementation [#METR-17000]. 2015-12-01 17:09:05 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00
Alexey Milovidov
cc75d4603b dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-29 16:18:12 +03:00
Alexey Milovidov
302e726a14 dbms: fixed error in gcc-5 [#METR-18843]. 2015-11-16 07:00:46 +03:00
Alexey Milovidov
df3f04cdeb dbms: fixing warnings in gcc-5 [#METR-18843]. 2015-11-16 06:28:10 +03:00
Alexey Milovidov
a82692e655 dbms: fixed error [#METR-2944]. 2015-11-15 12:17:51 +03:00
Alexey Milovidov
9b991b3d6c dbms: whitespaces [#METR-2944]. 2015-11-11 05:13:24 +03:00
Alexey Arno
29dc5f91d1 Merge 2015-11-06 20:44:01 +03:00
Alexey Milovidov
127918a032 dbms: when limit for rows to read/result exceeded, will break at next block [#METR-18644]. 2015-11-03 21:58:43 +03:00
Alexey Milovidov
00ea6b6b94 dbms: ODBC: more conscious [#METR-18538]. 2015-10-31 08:48:28 +03:00
Alexey Milovidov
89848a098a dbms: setting Content-Type header in HTTP interface [#METR-18603]. 2015-10-31 00:19:54 +03:00
Alexey Milovidov
1331e1fb42 dbms: preparation [#METR-18603]. 2015-10-29 23:38:37 +03:00
Alexey Milovidov
c9a8f19def dbms: fixed error with tuples of consts [#METR-18586]. 2015-10-29 00:21:18 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +03:00
Alexey Milovidov
feec229066 Moved files [#METR-17973]. 2015-10-05 04:26:43 +03:00
Alexey Milovidov
3a5032fd4a Moved files [#METR-17973]. 2015-10-05 03:52:29 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
c757bf9063 dbms: setting thread names [#METR-2944]. 2015-09-24 21:54:21 +03:00
Alexey Milovidov
27c1d4e807 dbms: added VerticalRaw format [#METR-17986]. 2015-09-20 07:04:52 +03:00
Alexey Milovidov
fa9553307e dbms: fixed error [#METR-17286]. 2015-09-18 03:46:36 +03:00
Alexey Milovidov
6ffb49fbe4 dbms: fixed progress bar for subqueries in IN and JOIN [#METR-18025]. 2015-09-14 05:39:54 +03:00
Andrey Mironov
9f32c9b9cf dbms:investigation [#METR-16938] 2015-09-11 18:11:41 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
50690565c1 dbms: improvement [#METR-17536]. 2015-09-08 22:53:16 +03:00
Alexey Milovidov
fb04cf1a99 dbms: added comment [#METR-17536]. 2015-09-08 00:20:28 +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
66b130a2e5 dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758]. 2015-09-05 04:22:09 +03:00
Alexey Milovidov
767a3c8090 dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561]. 2015-09-04 22:40:55 +03:00
Alexey Milovidov
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +03:00
Alexey Milovidov
469b409ba0 dbms: added storage StripeLog (incomplete) [#METR-17716]. 2015-08-16 10:01:41 +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
f98ab0c9c1 dbms: allowed to cancel query while sending external tables data [#METR-15144]. 2015-07-27 20:36:52 +03:00
Alexey Milovidov
e3b5bc0ea6 dbms: fixed segfault when using INSERT SELECT or CREATE AS SELECT with extremes=1 or WITH TOTALS [#METR-17491]. 2015-07-27 18:51:37 +03:00
Alexey Milovidov
b0387d5ccf dbms: FULL and RIGHT JOINs: partial implementation [#METR-15418]. 2015-07-22 05:59:47 +03:00
Alexey Milovidov
ca17e5f14a dbms: FULL and RIGHT JOIN: preparation [#METR-15418]. 2015-07-22 00:29:02 +03:00
Alexey Milovidov
3ca8bb4448 dbms: added format TSKV [#METR-2944]. 2015-07-18 07:27:38 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Alexey Milovidov
df4a33949b dbms: logging query finish for queries without result [#METR-16946]. 2015-07-14 06:05:10 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +03:00
Alexey Milovidov
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Alexey Milovidov
4cebee36ea dbms: added setting 'skip_unavailable_shards' [#METR-17059]. 2015-06-28 09:38:18 +03:00
Alexey Milovidov
6f3d8f0efc dbms: added simple priorities system [#METR-16911]. 2015-06-21 09:06:04 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
0b3c071eb9 dbms: removed useless code [#METR-16739]. 2015-06-08 23:19:28 +03:00
Alexey Milovidov
96f1bbc379 dbms: added support for randomization of quota intervals [#METR-16576]. 2015-05-30 00:32:10 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Andrey Mironov
fef078c8ec Merge 2015-05-25 18:33:44 +03:00
Pavel Kartavyy
6f1f6e3d99 Merge 2015-05-12 17:44:10 +03:00
Alexey Milovidov
e3b0c97b0f dbms: fixed error with merging [#METR-16247]. 2015-05-12 07:55:14 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Alexey Milovidov
c89970cc01 dbms: fixed comment [#METR-2944]. 2015-04-28 07:35:54 +03:00
Alexey Milovidov
2c067ad2c2 dbms: fixed error [#METR-16053]. 2015-04-23 03:20:41 +03:00
Alexey Milovidov
30c800bb69 dbms: fixed error [#METR-16053]. 2015-04-23 00:26:12 +03:00
Alexey Milovidov
4f469ea831 dbms: preparation [#METR-15418]. 2015-04-19 01:33:24 +03:00
Alexey Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
e871f4efe2 dbms: added support for arrays in tuple in NativeBlock streams [#METR-15964]. 2015-04-16 13:48:35 +03:00
Alexey Milovidov
97cbc17863 Merge 2015-04-16 12:56:29 +03:00
Alexey Milovidov
c89b7dcf92 dbms: implementation of WITH TOTALS inside JOINed subqueries [#METR-15417]. 2015-04-16 12:55:24 +03:00
Alexey Arno
ba9df3a39a dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-16 12:29:40 +03:00
Alexey Arno
72297de7f5 Merge 2015-04-16 11:51:03 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Alexey Arno
bc2de9a94d dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-15 16:23:37 +03:00
Andrey Mironov
620cd64569 Merge 2015-04-13 15:05:58 +03:00
Alexey Milovidov
cac503ff82 Merge 2015-04-12 07:39:20 +03:00
Alexey Arno
b5c1932b8c Merge 2015-04-10 20:51:39 +03:00
Andrey Mironov
26cfbd6e96 dbms: fix merge [#METR-15836] 2015-04-10 18:54:51 +03:00
Andrey Mironov
486568015e Merge 2015-04-10 18:13:26 +03:00
Andrey Mironov
226b11b887 dbms: fix test reference and bring commentaries up-to-date [#METR-15913]. 2015-04-10 13:02:57 +03:00
Alexey Milovidov
eaa412df2b dbms: added setting 'strict_insert_defaults' (incomplete) [#METR-15913]. 2015-04-10 03:43:08 +03:00
Andrey Mironov
6cde3424bc Merge 2015-04-09 20:01:12 +03:00
Andrey Mironov
0aec8580b1 dbms: add rich commentary [#METR-15836] 2015-04-09 14:34:50 +03:00
Andrey Mironov
e64fbdf250 dbms: addition to previous commit [#METR-15836] 2015-04-08 19:57:01 +03:00
Andrey Mironov
1e794acb87 Merge 2015-04-08 19:39:02 +03:00
Alexey Milovidov
be630f9fae dbms: better diagnostics of errors in TabSeparated format [#METR-15574]. 2015-03-29 12:02:24 +03:00
Alexey Milovidov
3d80f45b71 dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 11:44:04 +03:00
Alexey Milovidov
92c2a9ceaa dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 10:13:38 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00
Alexey Milovidov
ed4c4292aa dbms: fixed possible error [#METR-15530]. 2015-03-18 05:48:36 +03:00
Alexey Milovidov
c1ff26c7a3 dbms: tiny modifications [#METR-15484]. 2015-03-14 00:01:04 +03:00
Alexey Milovidov
1d7d1051a2 dbms: fixed error [#METR-15451]. 2015-03-12 05:22:55 +03:00
Alexey Milovidov
9c9162bf94 dbms: FINAL: tiny modifications [#METR-2944]. 2015-03-12 03:01:14 +03:00
Alexey Milovidov
ae4c458c5b dbms: more uniform distribution of work among threads [#METR-2944]. 2015-03-08 01:00:58 +03:00
Alexey Milovidov
1ba32c6fbb dbms: fixed one of errors [#METR-15352]. 2015-03-06 23:14:45 +03:00
Alexey Milovidov
f749aa6c01 dbms: fixed errors [#METR-15352]. 2015-03-06 04:06:11 +03:00
Alexey Milovidov
2ad20a00be dbms: addition to prev. revision [#METR-2944]. 2015-03-06 03:12:08 +03:00
Alexey Milovidov
d1ca4fe4b3 dbms: RemoteBlockInputStream: more simple [#METR-15352]. 2015-03-06 03:01:59 +03:00