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
|
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
|
611d585e93
|
Merge
|
2014-12-30 06:56:37 +03:00 |
|
Alexey Milovidov
|
b0f5ce86a3
|
dbms: more scalable aggregator: development [#METR-2944].
|
2014-12-27 08:43:13 +03:00 |
|
Alexey Arno
|
2cdffef31c
|
dbms: Server: minimize the number of calls to executeUnion(). [#METR-14099]
|
2014-12-27 00:37:38 +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 Arno
|
ae2fb27f9b
|
dbms: Server: add optimization for UNION ALL queries that do not contain wildcards. [#METR-14099]
|
2014-12-25 18:27:03 +03:00 |
|
Alexey Arno
|
70d01a1696
|
dbms: Server: fixed function names according to naming convention, added more comments and functional tests. [#METR-14099]
|
2014-12-25 13:22:24 +03:00 |
|
Alexey Milovidov
|
33efb971b4
|
Merge
|
2014-12-24 22:00:41 +03:00 |
|
Alexey Milovidov
|
32a2ec00d1
|
dbms: more scalable aggragator: preparation [#METR-2944].
|
2014-12-24 22:00:14 +03:00 |
|
Alexey Arno
|
3cc4410c50
|
dbms: Server: add more optimizations and refactoring in InterpreterSelectQuery initialization. [#METR-14099]
|
2014-12-24 18:30:15 +03:00 |
|
Alexey Arno
|
b0256d0990
|
dbms: Server: Remove boilerplate code. [#METR-14099]
|
2014-12-24 18:30:15 +03:00 |
|
Alexey Arno
|
ece876f05d
|
dbms: Server: add first part of a fix for column renaming in UNION ALL queries.
|
2014-12-24 18:30:14 +03:00 |
|
Alexey Milovidov
|
10553e7840
|
dbms: fixed error with views [#METR-14449].
|
2014-12-23 23:32:00 +03:00 |
|
Alexey Arno
|
28055dde55
|
dbms: Server: fixed typo in function declaration [#METR-14408]
|
2014-12-20 00:19:48 +03:00 |
|
Alexey Arno
|
5d23310cea
|
dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408]
|
2014-12-19 18:56:12 +03:00 |
|
Alexey Arno
|
84456a08c3
|
dbms: Server: rewrite expression lists in each SELECT query of the UNION ALL chain, if needed. [#METR-14099]
|
2014-12-19 16:10:48 +03:00 |
|
Alexey Milovidov
|
a362a666eb
|
dbms: fixed error with JOIN [#METR-14411].
|
2014-12-19 05:30:13 +03:00 |
|
Alexey Arno
|
747d2211d6
|
Remove code that turned out to be redudant. [#METR-14099]
|
2014-12-17 23:57:21 +03:00 |
|
Alexey Arno
|
d29f019981
|
Apply required fixes [#METR-14099]
|
2014-12-17 18:56:52 +03:00 |
|
Andrey Mironov
|
3ebfd2fb7f
|
dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
|
2014-12-17 17:19:07 +03:00 |
|
Alexey Arno
|
8cdc779c9c
|
Add fix: temporarily turn off UNION ALL support for SELECT queries because it breaks functional tests. [#METR-14099]
|
2014-12-16 15:06:51 +03:00 |
|
Alexey Arno
|
819b3bd6ac
|
Code cleanups [#METR-14099].
|
2014-12-15 19:07:50 +03:00 |
|
Alexey Arno
|
9dd48cbf36
|
Simplify code [#METR-14099].
|
2014-12-15 19:07:50 +03:00 |
|
Alexey Arno
|
53318492a0
|
Add optimization in InterpreterSelectQuery that tries to minimize quantity of stream mergings.
|
2014-12-15 19:07:50 +03:00 |
|
Alexey Arno
|
dd6ac530f4
|
Various cleanups
|
2014-12-15 19:07:49 +03:00 |
|
Alexey Arno
|
8995500f14
|
Add initial support for SELECT requests chained by UNION ALL.
|
2014-12-15 19:07:49 +03:00 |
|
Alexey Milovidov
|
f4ea556a30
|
dbms: lowered memory usage of huge ORDER BY with small LIMIT [#METR-2944].
|
2014-12-15 07:13:33 +03:00 |
|
Alexey Milovidov
|
4de26c886c
|
dbms: changed default value of totals_mode [#MOBMET-1139].
|
2014-12-05 22:37:23 +03:00 |
|
Andrey Mironov
|
d0971956e0
|
dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199]
|
2014-11-21 16:34:37 +03:00 |
|
Alexey Milovidov
|
a7b4903f14
|
dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831].
|
2014-11-19 23:40:51 +03:00 |
|
Andrey Mironov
|
50328d120a
|
Merge
|
2014-11-12 13:42:04 +03:00 |
|
Andrey Mironov
|
731be3e7cf
|
Merge
|
2014-11-12 13:37:47 +03:00 |
|
Alexey Milovidov
|
9a9036f217
|
dbms: added FREEZE PARTITION functionality [#METR-13441].
|
2014-11-11 07:11:07 +03:00 |
|
Alexey Milovidov
|
ec08b393de
|
dbms: tiny improvement [#METR-2944].
|
2014-11-01 02:20:18 +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 |
|
Alexey Milovidov
|
0045133b0e
|
dbms: prepared for fully-functional progress bar [#METR-2944].
|
2014-10-25 22:33:52 +04:00 |
|
Andrey Mironov
|
ec5aa734f9
|
dbms: cut coupling between dbms and dbms_functions. [#METR-12739]
|
2014-10-24 13:33:31 +04:00 |
|
Andrey Mironov
|
847b91614a
|
dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739]
|
2014-10-21 16:11:20 +04:00 |
|
Alexey Milovidov
|
d3664eac89
|
dbms: added setting replication_alter_partitions_sync [#METR-13158].
|
2014-10-18 23:14:09 +04:00 |
|
Andrey Mironov
|
0bfd35e5c7
|
dbms: defaulted columns support for ALTER, currently without type deduction and checking.
|
2014-10-16 17:37:01 +04:00 |
|
Alexey Milovidov
|
c2e4662ad7
|
Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807].
|
2014-10-16 05:21:03 +04:00 |
|
Alexey Milovidov
|
07ba420b85
|
dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153].
|
2014-10-15 23:59:12 +04:00 |
|
Andrey Mironov
|
6f7997ce11
|
dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739]
|
2014-10-10 19:45:43 +04:00 |
|
Alexey Milovidov
|
c1601502bd
|
dbms: FETCH PARTITION: parsing and dispatching [#METR-13153].
|
2014-10-10 00:28:33 +04:00 |
|
Andrey Mironov
|
f675bed75b
|
dbms: add partial validation of ALTER queries. [#METR-12739]
|
2014-10-07 13:09:59 +04:00 |
|
Alexey Milovidov
|
a800baba16
|
dbms: more neat [#METR-2944].
|
2014-10-07 02:48:20 +04:00 |
|
Alexey Milovidov
|
2c2d4ea921
|
dbms: added table system.settings [#METR-2944].
|
2014-10-06 06:01:41 +04:00 |
|
Andrey Mironov
|
220ce78326
|
dbms: support ALIAS in table declaration
|
2014-10-03 19:30:10 +04:00 |
|
Andrey Mironov
|
468b7af64e
|
Merge
|
2014-10-03 14:19:34 +04:00 |
|
Andrey Mironov
|
59ae69c5e9
|
rename optimization setting to optimize_move_to_prewhere
|
2014-10-02 13:48:53 +04:00 |
|
Andrey Mironov
|
aebc4f0f48
|
add merge_tree_optimize_where setting, default to false. [#METR-11900]
|
2014-10-01 17:51:44 +04:00 |
|
Andrey Mironov
|
5f88c8ae81
|
always show default_type and default_expression columns for DESC TABLE query. [#METR-12739]
|
2014-10-01 15:17:44 +04:00 |
|
Andrey Mironov
|
34dba980c7
|
show defaulted columns info in DESC TABLE query output. [#METR-12739]
|
2014-09-30 07:48:40 +04:00 |
|
Andrey Mironov
|
8052020218
|
add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739]
|
2014-09-30 07:08:47 +04:00 |
|
Andrey Mironov
|
3060ba9571
|
return ColumnDefaults from InterpreterCreateQuery::parseColumns. [#METR-12739]
|
2014-09-29 18:58:48 +04:00 |
|
Andrey Mironov
|
1d04061a0e
|
implement type-deduction and type-enforcing. [#METR-12739]
|
2014-09-25 19:01:09 +04:00 |
|
Andrey Mironov
|
f77ef5f84d
|
rename evaluateDatabaseName function and header, add comments
|
2014-09-24 15:53:41 +04:00 |
|
Andrey Mironov
|
0a4e3f1280
|
add function currentDatabase(), allow string-expressions in place of database name
|
2014-09-24 15:53:41 +04:00 |
|
Alexey Milovidov
|
658ab39d41
|
dbms: removed misleading comment [#METR-12795].
|
2014-09-18 22:12:07 +04:00 |
|
Andrey Mironov
|
e954fa6d00
|
add elapsed and progress rows to system.merges. [#METR-12574]
Fix data-race introduced due to misconception of atomic instructions on integers.
|
2014-09-18 14:23:12 +04:00 |
|
Andrey Mironov
|
09a570ffc0
|
Merge
|
2014-09-12 20:05:29 +04:00 |
|
Andrey Mironov
|
13a77ffaa1
|
fix DB::ProcessList::Element::Update
|
2014-09-12 16:50:18 +04:00 |
|
Andrey Mironov
|
e3d8e4e48b
|
initial implementation. [#METR-12574]
|
2014-09-10 15:34:26 +04:00 |
|
Alexey Milovidov
|
842f04db1f
|
dbms: preparation [#METR-2944].
|
2014-08-24 11:17:50 +04:00 |
|
Andrey Mironov
|
09265f50f9
|
StorageDistributed: write to multiple local replicas, post-review corrections. [#METR-12221]
|
2014-08-22 18:06:20 +04:00 |
|
Alexey Milovidov
|
5523bdeaca
|
dbms: improved performance on small blocks [#METR-2944].
|
2014-08-22 06:31:54 +04:00 |
|
Alexey Milovidov
|
aae80fa8c5
|
dbms: removed deprecated 'replica_name' configuration parameter [#METR-10202].
|
2014-08-22 05:01:28 +04:00 |
|
Alexey Milovidov
|
2b188ba6e0
|
dbms: improved build time [#METR-2944].
|
2014-08-22 04:57:20 +04:00 |
|
Andrey Mironov
|
c6d4fd941f
|
review corrections. [#METR-12221]
|
2014-08-21 16:15:24 +04:00 |
|
Andrey Mironov
|
269be93cbe
|
write to local nodes, refactor StorageDistributed, extract DirectoryMonitor. [#METR-12221]
|
2014-08-19 12:33:14 +04:00 |
|
Andrey Mironov
|
ec0cee0afe
|
escape user, password and host. [#METR-12221]
|
2014-08-19 12:33:14 +04:00 |
|
Andrey Mironov
|
61af8baa77
|
save username and password and take internal_replication into account. [#METR-12221]
|
2014-08-19 12:33:14 +04:00 |
|
Andrey Mironov
|
e73bfe7b8a
|
naive split implementation for DistributeBlockOutputStream (IColumn::insertFrom). [#METR-12221]
|
2014-08-19 12:33:13 +04:00 |
|
Michael Kolupaev
|
583f4c114e
|
Merge
|
2014-08-11 19:59:05 +04:00 |
|
Michael Kolupaev
|
71b90ea1d4
|
Merge
|
2014-08-08 14:03:19 +04:00 |
|
Andrey Mironov
|
beca178f2f
|
dbms: support WITH TOTALS without GROUP BY
|
2014-08-08 10:10:12 +04:00 |
|
Michael Kolupaev
|
9bec7e4a28
|
Merge
|
2014-08-07 16:26:04 +04:00 |
|
Michael Kolupaev
|
7643a49b8e
|
Merge
|
2014-08-07 16:26:04 +04:00 |
|
Michael Kolupaev
|
00fefb3df2
|
dbms: interpreting ALTER TABLE DROP PARTITION. Not storage supports it yet. [#METR-12037]
|
2014-08-07 16:26:04 +04:00 |
|
Pavel Kartavyy
|
7f7d512f03
|
dbms: added check query [#METR-11709]
|
2014-08-05 14:53:27 +04:00 |
|
Andrey Mironov
|
5c85b79e68
|
dbms: ExpressionAnalyzer: eliminate injective function calls from group by expressions. [#METR-12108]
|
2014-07-31 11:24:07 +04:00 |
|
Michael Kolupaev
|
01094ec78d
|
Merge
|
2014-07-15 14:13:36 +04:00 |
|
Michael Kolupaev
|
007c0cedc1
|
fixed build and a bunch of other stuff. [#METR-11886]
|
2014-07-14 19:49:03 +04:00 |
|
Michael Kolupaev
|
62de3bc73a
|
Merge
|
2014-07-14 16:24:22 +04:00 |
|
Michael Kolupaev
|
d1edd92696
|
Merge
|
2014-07-11 17:34:12 +04:00 |
|
Michael Kolupaev
|
1005bbaa55
|
Merge
|
2014-07-11 17:11:06 +04:00 |
|
Michael Kolupaev
|
703b1d1c93
|
addition to previous commit. [#METR-11886]
|
2014-07-11 12:12:03 +04:00 |
|
Michael Kolupaev
|
ff64aeb036
|
Merge
|
2014-07-10 15:13:45 +04:00 |
|
Michael Kolupaev
|
ac7ee44128
|
Merge
|
2014-07-10 14:16:50 +04:00 |
|
Michael Kolupaev
|
0a67d151bd
|
dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202]
|
2014-07-09 15:54:26 +04:00 |
|
Alexey Milovidov
|
baa0f2ed94
|
dbms: separate limits for JOINs [#METR-11370].
|
2014-07-07 22:32:20 +04:00 |
|
Alexey Milovidov
|
4f2d00e696
|
dbms: fixed error in prev. revision [#METR-11370].
|
2014-07-07 00:46:17 +04:00 |
|
Alexey Milovidov
|
8643f02ac0
|
dbms: reworked GLOBAL subqueries (probably doesn't work) [#METR-11370].
|
2014-07-06 23:48:39 +04:00 |
|
Alexey Milovidov
|
e7722f50b1
|
dbms: JOINs: development [#METR-11370].
|
2014-07-06 04:19:49 +04:00 |
|
Alexey Milovidov
|
18f670defa
|
dbms: JOINs: development [#METR-11370].
|
2014-07-05 00:30:06 +04:00 |
|
Alexey Milovidov
|
ecb1cf9b33
|
dbms: ExpressionAnalyzer: better [#METR-11370].
|
2014-07-04 23:13:38 +04:00 |
|
Michael Kolupaev
|
3925f6dcf9
|
Merge
|
2014-07-04 14:11:55 +04:00 |
|
Alexey Milovidov
|
be8c22f47f
|
dbms: GLOBAL JOINs: development [#METR-11370].
|
2014-07-04 05:40:22 +04:00 |
|
Michael Kolupaev
|
861eee9163
|
Merge
|
2014-07-03 16:15:43 +04:00 |
|
Alexey Milovidov
|
1579017cfd
|
dbms: JOINs: fixed dealing with aliases [#METR-11370].
|
2014-07-03 00:23:48 +04:00 |
|
Michael Kolupaev
|
15d9e39aa6
|
Merge
|
2014-07-02 16:30:38 +04:00 |
|
Alexey Milovidov
|
108a7850a5
|
dbms: improved performance on short queries [#METR-11571].
|
2014-06-26 04:58:14 +04:00 |
|
Alexey Milovidov
|
149e92c6a7
|
dbms: removed useless copy of Block [#METR-11571].
|
2014-06-24 23:53:48 +04:00 |
|
Alexey Milovidov
|
4645131f7a
|
dbms: added ALL JOINs [#METR-11370].
|
2014-06-19 23:00:58 +04:00 |
|
Alexey Milovidov
|
b970c85546
|
dbms: JOINs: development [#METR-11370].
|
2014-06-19 22:15:46 +04:00 |
|
Alexey Milovidov
|
efbd0de1ee
|
dbms: JOINs: development [#METR-11370].
|
2014-06-19 00:08:31 +04:00 |
|
Alexey Milovidov
|
2a25c8a4c0
|
dbms: JOINs: development [#METR-11370].
|
2014-06-18 23:14:29 +04:00 |
|
Alexey Milovidov
|
d67b11211a
|
dbms: added support for ANY INNER JOIN [#METR-11370].
|
2014-06-18 22:31:35 +04:00 |
|
Alexey Milovidov
|
2ffdaa5ee0
|
dbms: JOINs: development [#METR-11370].
|
2014-06-17 21:07:22 +04:00 |
|
Alexey Milovidov
|
29e8538f25
|
dbms: JOINs: development [#METR-11370].
|
2014-06-13 13:07:20 +04:00 |
|
Alexey Milovidov
|
870f766798
|
dbms: JOINs: development [#METR-11370].
|
2014-06-13 10:39:15 +04:00 |
|
Alexey Milovidov
|
bfff8ab715
|
dbms: JOINs: development [#METR-11370].
|
2014-06-13 06:05:05 +04:00 |
|
Alexey Milovidov
|
1ba07d65ad
|
dbms: development [#METR-11370].
|
2014-06-13 03:21:38 +04:00 |
|
Alexey Milovidov
|
607485d82a
|
dbms: better [#METR-11370].
|
2014-06-13 01:17:03 +04:00 |
|
Alexey Milovidov
|
fcc21c5b4c
|
dbms: better [#METR-11370].
|
2014-06-13 01:15:44 +04:00 |
|
Alexey Milovidov
|
8ca868ce25
|
dbms: better [#METR-11370].
|
2014-06-13 01:12:47 +04:00 |
|
Alexey Milovidov
|
5a74e92b0b
|
dbms: better [#METR-11370].
|
2014-06-12 23:53:36 +04:00 |
|
Alexey Milovidov
|
f16a9beb61
|
dbms: removed sign_rewrite (obsolete, unused); tiny modifications [#METR-11370].
|
2014-06-12 23:23:06 +04:00 |
|
Alexey Milovidov
|
a7c8921eb2
|
dbms: little more readable [#METR-11370].
|
2014-06-12 22:41:09 +04:00 |
|
Alexey Milovidov
|
a77ec35c96
|
dbms: JOINs: development [#METR-11370].
|
2014-06-12 09:13:50 +04:00 |
|
Alexey Milovidov
|
0ba0894a90
|
dbms: JOINs: development [#METR-11370].
|
2014-06-12 08:04:47 +04:00 |
|
Alexey Milovidov
|
295398e423
|
dbms: JOIN: development [#METR-11370].
|
2014-06-12 06:31:30 +04:00 |
|
Alexey Milovidov
|
a1595ee591
|
Tiny modifications [#METR-11370].
|
2014-06-12 05:22:49 +04:00 |
|
Alexey Milovidov
|
136ad3f5d3
|
dbms: removed garbage [#METR-11370].
|
2014-06-12 04:56:43 +04:00 |
|
Alexey Milovidov
|
e19c4aedde
|
dbms: tiny improved comments [#METR-11370].
|
2014-06-12 02:36:55 +04:00 |
|
Sergey Fedorov
|
4fe8f37e03
|
Merge
|
2014-05-28 19:00:08 +04:00 |
|
Alexey Milovidov
|
0d92614971
|
dbms: fixed wrong code [#METR-10894].
|
2014-05-23 04:35:49 +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 |
|
Pavel Kartavyy
|
b336d8057c
|
clickhouse: alter nested columns [#METR-11063]
|
2014-05-20 19:44:46 +04:00 |
|
Alexey Milovidov
|
7f2d738498
|
dbms: fixed segfault in case of memory limit exceeded [#METR-11160].
|
2014-05-19 23:41:56 +04:00 |
|
Sergey Fedorov
|
f5d07ed9dd
|
dbms: fixed uninitialized variable in set.h [METR-11023]
|
2014-05-15 14:45:44 +04:00 |
|
Sergey Fedorov
|
b308db2434
|
dbms: limits for transfering external tables, only_external mode in set [METR-11023]
|
2014-05-15 14:24:03 +04:00 |
|
Sergey Fedorov
|
208e5ccdce
|
dbms: rewriting logic of global in queries [METR-10974]
|
2014-05-14 19:07:51 +04:00 |
|
Michael Kolupaev
|
2765b93851
|
Merge
|
2014-05-13 14:16:33 +04:00 |
|
Alexey Milovidov
|
8198d86f5a
|
dbms: fixed errors on clang [#METR-2807].
|
2014-05-12 04:45:50 +04:00 |
|
Alexey Milovidov
|
b5eb465f84
|
dbms: preparation [#METR-2944].
|
2014-05-10 09:16:23 +04:00 |
|
Alexey Milovidov
|
95827e2dc2
|
dbms: improved performance of aggregation by string key [#METR-2944].
|
2014-05-10 06:42:45 +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 |
|
Michael Kolupaev
|
be5a9cf820
|
Merge
|
2014-05-08 17:27:18 +04:00 |
|
Alexey Milovidov
|
0abc554493
|
dbms: tracking amount of memory usage per query [#METR-11015].
|
2014-05-04 02:57:43 +04:00 |
|
Michael Kolupaev
|
4cee45e004
|
dbms: better optimization of ARRAY JOIN; tests for it. [#METR-11017]
|
2014-04-30 23:19:35 +04:00 |
|