Commit Graph

3924 Commits

Author SHA1 Message Date
Alexey Arno
fde57c1a78 dbms: Server: feature development. [#METR-15090] 2015-03-10 20:14:07 +03:00
Alexey Arno
882f902118 dbms: Server: feature development. [#METR-15090] 2015-03-10 19:34:00 +03:00
Alexey Arno
22fa97ed16 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:29:31 +03:00
Alexey Arno
cfdf8fc8e8 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:09:17 +03:00
Alexey Arno
87823c4de7 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:16:49 +03:00
Alexey Arno
6259ad1359 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:00:29 +03:00
Alexey Arno
ce0a3d0ee3 dbms: Server: feature development. [#METR-15090] 2015-03-10 14:43:30 +03:00
Alexey Milovidov
7d11fc0931 dbms: added ZSTD algorithm (experimental) [#METR-15386]. 2015-03-09 04:15:43 +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
b1c48ebc08 dbms: added test [#METR-15352]. 2015-03-08 00:03:54 +03:00
Alexey Milovidov
82b3fb4921 dbms: addition to prev. revision [#METR-15352]. 2015-03-07 04:10:14 +03:00
Alexey Milovidov
33f89bfdb7 dbms: fixed exception safety [#METR-15352]. 2015-03-07 04:05:06 +03:00
Alexey Milovidov
4985fb3563 dbms: fixed potential error [#METR-15352]. 2015-03-07 04:03:14 +03:00
Alexey Milovidov
7f3e70f957 dbms: fixed double free [#METR-15352]. 2015-03-07 00:07:21 +03:00
Alexey Milovidov
ad06ce22c3 Merge 2015-03-06 23:15:42 +03:00
Alexey Milovidov
1ba32c6fbb dbms: fixed one of errors [#METR-15352]. 2015-03-06 23:14:45 +03:00
Alexey Arno
2de72742ba dbms: Server: feature development. [#METR-15090] 2015-03-06 19:19:01 +03:00
Alexey Arno
4b9efbbc66 dbms: Server: feature development. [#METR-15090] 2015-03-06 19:16:10 +03:00
Andrey Mironov
c880ae8abb dbms: CacheDictionary: store values for missing ids explicitly. Store exceptions for more user-friendly error messages [#METR-13298] 2015-03-06 19:13:59 +03:00
Alexey Arno
4f0da70657 dbms: Server: feature development. [#METR-15090] 2015-03-06 18:34:42 +03:00
Alexey Arno
3459fdc01e dbms: Server: feature development. [#METR-15090] 2015-03-06 17:45:14 +03:00
Andrey Mironov
de89a0ae4a dbms: superior implementation of dictGetHierarchy [#METR-13298] 2015-03-06 16:38:07 +03:00
Alexey Arno
cdfb096f8f dbms: Server: feature development. [#METR-15090] 2015-03-06 14:08:25 +03:00
Alexey Arno
b458241ae5 dbms: Server: feature development. [#METR-15090] 2015-03-06 13:34:14 +03:00
Alexey Arno
3c8c29451b dbms: Server: feature development. [#METR-15090] 2015-03-06 13:29:58 +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
Alexey Arno
a733dedf97 dbms: Server: feature development. [#METR-15090] 2015-03-05 19:20:15 +03:00
Alexey Arno
380e17b899 dbms: Server: feature development. [#METR-15090] 2015-03-05 17:59:29 +03:00
Alexey Arno
905f263045 dbms: Server: feature development. [#METR-15090] 2015-03-05 17:21:55 +03:00
Alexey Arno
7cf06b3bdb dbms: Server: feature development. [#METR-15090] 2015-03-05 14:57:54 +03:00
Alexey Arno
63afb6925e dbms: Server: feature development. [#METR-15090] 2015-03-05 11:18:16 +03:00
Alexey Milovidov
df8e3fa9ec dbms: added old modifications to tests [#METR-2944]. 2015-03-05 09:00:04 +03:00
Alexey Milovidov
577a7d102d dbms: fixed leaks [#METR-15352]. 2015-03-05 08:42:42 +03:00
Alexey Milovidov
bd4b866dc8 dbms: removed unused function [#METR-15352]. 2015-03-05 07:55:55 +03:00
Alexey Arno
e6a1a112a5 dbms: Server: merge from master [#METR-15090] 2015-03-04 15:15:09 +03:00
Alexey Arno
1d14c4192e dbms: Server: feature development. Dont pay attention for now. [#METR-15090] 2015-03-04 13:47:53 +03:00
Andrey Mironov
a032d7affb dbms: dictionary sources: escape column and table names; adjust max connections; MySQL support for CacheDictionary [#METR-13298] 2015-03-04 12:36:36 +03:00
Alexey Milovidov
47287b709c dbms: added test [#METR-15293]. 2015-03-04 00:19:48 +03:00
Alexey Milovidov
4de3ba0bc6 dbms: Set: fixed error [#METR-15293]. 2015-03-04 00:11:54 +03:00
Alexey Milovidov
e1fe24793e dbms: added test [#METR-15293]. 2015-03-03 23:01:37 +03:00
Alexey Milovidov
9981a29365 dbms: fixed error with IN [#METR-15293]. 2015-03-03 23:00:39 +03:00
Andrey Mironov
f479939760 dbms: less macro code [#METR-13298] 2015-03-02 16:16:26 +03:00
Alexey Milovidov
f33348442b dbms: updated default value of setting 'optimize_min_equality_disjunction_chain_length' [#METR-2944]. 2015-03-02 08:42:02 +03:00
Alexey Milovidov
ab0e29f0f2 dbms: Set: removed special case for small sets (not worth in most cases) [#METR-2944]. 2015-03-02 08:41:21 +03:00
Alexey Milovidov
0c14504781 Fixed build [#METR-2944]. 2015-03-02 06:57:27 +03:00
Alexey Milovidov
ce58b8ad01 dbms: addition to prev. revision [#METR-2944]. 2015-03-02 04:39:42 +03:00
Alexey Milovidov
e109ac1f57 dbms: improved performance for small sets [#METR-2944]. 2015-03-02 04:11:37 +03:00
Alexey Milovidov
0828dba841 dbms: preparation [#METR-2944]. 2015-03-02 04:10:58 +03:00
Alexey Milovidov
7276d5f0e9 dbms: addition to prev. revision [#METR-2944]. 2015-03-01 04:10:52 +03:00
Alexey Milovidov
47cbeb41e5 dbms: addition to prev. revision [#METR-2944]. 2015-03-01 04:09:45 +03:00
Alexey Milovidov
eea281236d dbms: improved performance of aggregate functions argMin, argMax (about 5 times) [#METR-2944]. 2015-03-01 04:06:49 +03:00
Alexey Milovidov
91cb53f584 dbms: whitespaces [#METR-2944]. 2015-03-01 03:14:55 +03:00
Alexey Milovidov
3e1dafe3cb dbms: added test (now broken) [#METR-15167]. 2015-02-28 00:07:42 +03:00
Alexey Milovidov
6ee73f0e05 dbms: improved error messages for table function remote [#METR-15145]. 2015-02-28 00:05:56 +03:00
Alexey Milovidov
df2ccb311c dbms: report error when Buffer table refers to itself [#METR-15167]. 2015-02-27 23:39:34 +03:00
Alexey Milovidov
a321aa8108 dbms: added value 2 for setting 'readonly'; ignoring settings from remote client in readonly mode [#METR-15168]. 2015-02-27 23:35:26 +03:00
Alexey Milovidov
8cf8d2d2b7 dbms: addition to test [#METR-15181]. 2015-02-27 20:41:48 +03:00
Alexey Milovidov
82e9bd7058 dbms: added test for prev. revision [#METR-15181]. 2015-02-27 20:40:08 +03:00
Alexey Milovidov
03b1849bac dbms: added aggregate functions quantileTimingWeighted, quantilesTimingWeighted, medianTimingWeighted [#METR-15181]. 2015-02-27 20:38:21 +03:00
Andrey Mironov
c20d5338f0 dbms: StringRef operator std::string made explicit 2015-02-27 17:28:19 +03:00
Andrey Mironov
9d7fd21463 dbms:drastically improve performance by caching current time [#METR-13298] 2015-02-27 16:12:30 +03:00
Andrey Mironov
3f34c733dd dbms: refactor FlatDictionary to use tuple and less macro-code[#METR-13298] 2015-02-27 16:12:30 +03:00
Alexey Arno
ca1c0756c2 dbms: Server: further simplification of memory ordering [#METR-14410] 2015-02-27 15:00:02 +03:00
Alexey Arno
c5b61652ff Merge 2015-02-27 00:38:33 +03:00
Alexey Arno
8456db4740 dbms: Server: updated unit test [#METR-14875] 2015-02-27 00:36:21 +03:00
Alexey Arno
b22532a35a dbms: Server: updated unit test [#METR-14875] 2015-02-26 23:19:51 +03:00
Alexey Arno
09317ca19c dbms: Server: added unit test [#METR-14875] 2015-02-26 20:33:46 +03:00
Andrey Mironov
20eb5013a4 dbms: cache dictionary revamp [#METR-13298] 2015-02-26 17:53:45 +03:00
Andrey Mironov
cc6ac6b930 dbms: implicit conversion operator for StringRef to std::string 2015-02-26 17:53:45 +03:00
Andrey Mironov
70817eb5a6 dbms: move semantics for PODArray 2015-02-26 17:53:45 +03:00
Alexey Milovidov
b793248b8f dbms: fixed error [#METR-2944]. 2015-02-25 22:45:32 +03:00
Alexey Arno
bfc98adc19 dbms: Server: updated comments [#METR-14410] 2015-02-25 20:40:13 +03:00
Alexey Arno
30eee9b656 dbms: Server: fixed race conditions in ParallelReplicas [#METR-14410] 2015-02-25 20:15:31 +03:00
Alexey Arno
d96e9f3f75 dbms: Server: simplified thread-aware order of memory accesses since there are only a few stores that seldom happen [#METR-14410] 2015-02-25 17:28:42 +03:00
Alexey Arno
e4875354bb dbms: Server: simplified code and updated settings [#METR-14875] 2015-02-25 17:23:15 +03:00
Alexey Arno
83f763d927 Merge 2015-02-25 15:43:33 +03:00
Alexey Arno
7fdc23c5f2 dbms: Server: fix race conditions [#METR-14410] 2015-02-25 15:43:06 +03:00
Alexey Milovidov
6301f4cc1b dbms: benchmark: actualized [#METR-2944]. 2015-02-25 03:27:19 +03:00
Alexey Milovidov
dbca19b7bc dbms: Arena: added unused method allocContinue (was applied for experiment) [#METR-2944]. 2015-02-23 20:27:13 +03:00
Alexey Milovidov
3894c5968a dbms: addition to prev. revision [#METR-2944]. 2015-02-22 21:09:59 +03:00
Alexey Milovidov
82e782d6f9 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-22 21:02:54 +03:00
Alexey Milovidov
779be55e63 dbms: added test [#METR-2944]. 2015-02-22 20:44:58 +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
f8f806ff58 dbms: fixed performance issue with very small blocks [#METR-2944]. 2015-02-22 18:31:39 +03:00
Alexey Milovidov
c744e73ba4 dbms: tiny modification [#METR-2944]. 2015-02-22 18:30:31 +03:00
Alexey Milovidov
e34eb1abcf dbms: addition to prev. revision [#METR-2944]. 2015-02-22 14:25:26 +03:00
Alexey Milovidov
0c144eb619 dbms: addition to prev. revision [#METR-2944]. 2015-02-22 13:53:09 +03:00
Alexey Milovidov
664d85e08f dbms: added support for value 'auto' of setting 'max_threads'; using that value by default [#METR-2944]. 2015-02-22 13:50:36 +03:00
Alexey Milovidov
2520c2e610 dbms: added small set optimization for aggregate function uniqHLL12 [#METR-2944]. 2015-02-22 10:23:37 +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
a838833a30 dbms: improved performance of aggregation by few fixed-size keys (up to 18%) [#METR-2944]. 2015-02-22 05:18:39 +03:00
Alexey Arno
37dee7d6ef dbms: Server: applied much better fix for instruction ordering [#METR-14410] 2015-02-21 16:59:15 +03:00
Alexey Milovidov
5070e7642d dbms: added SmallSet and SmallMap [#METR-2944]. 2015-02-21 03:28:53 +03:00
Alexey Milovidov
f7ef574ed2 dbms: improved performance of Set, Join, Distinct and arrayEnumerateUniq [#METR-2944]. 2015-02-20 22:48:52 +03:00
Alexey Arno
d4f6e1209a dbms: Server: fixed RemoteBlockInputStream destructor policy [#METR-14410] 2015-02-20 17:43:22 +03:00
Alexey Arno
6c21126a10 Merge 2015-02-20 17:29:45 +03:00
Alexey Arno
75dc809ad2 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:27:05 +03:00
Alexey Arno
e4fdbdb6f8 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:22:33 +03:00
Alexey Arno
025fcd815d Enforce ordering of variable assignment [#METR-14410] 2015-02-20 16:32:20 +03:00
Alexey Arno
9e44061a2f dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 14:33:21 +03:00
Andrey Mironov
e175883dd3 dbms: remove redundant checks in FunctionDictIsIn. [#METR-13298] 2015-02-20 13:57:38 +03:00
Alexey Arno
ef13e0203e dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 13:53:26 +03:00
Alexey Arno
64c8535382 dbms: Server: performance optimization [#METR-14875] 2015-02-20 13:37:55 +03:00
Andrey Mironov
57abed9773 dbms: check argument count for *If aggregate functions. [#METR-15164] 2015-02-19 19:27:19 +03:00
Andrey Mironov
7dd6397245 dbms: alter appendTrailingCharIfAbsent behaviour [#METR-15071] 2015-02-19 18:28:24 +03:00
Andrey Mironov
cf8a927150 dbms: invert the way multiple values are acquired from the dictionary [#METR-13298] 2015-02-19 18:28:24 +03:00
Alexey Arno
533783d64b dbms: Server: performance optimization (minimize copies and reallocations) [#METR-14875] 2015-02-19 17:55:47 +03:00
Alexey Arno
86129c634f dbms: Server: performance optimization [#METR-14875] 2015-02-19 14:08:49 +03:00
Alexey Arno
a4f4c6a811 dbms: Server: performance optimization [#METR-14875] 2015-02-19 02:15:20 +03:00
Alexey Arno
19a93cc0bf dbms: Server: fixed DAG traversal [#METR-14875] 2015-02-19 01:13:54 +03:00
Alexey Arno
d5d41df78d dbms: Server: cosmetic changes [#METR-14875] 2015-02-18 21:18:37 +03:00
Alexey Arno
123acacb4d dbms: Server: removed old code [#METR-14875] 2015-02-18 20:43:44 +03:00
Alexey Arno
fe8713a030 Merge 2015-02-18 20:41:51 +03:00
Alexey Arno
3d497e689b dbms: Server: compilation fix [#METR-14875] 2015-02-18 20:09:06 +03:00
Alexey Arno
cd59370159 dbms: Server: feature development [#METR-14875] 2015-02-18 20:05:25 +03:00
Alexey Arno
4dd8387f2d dbms: Server: feature development [#METR-14875] 2015-02-18 20:05:25 +03:00
Alexey Arno
8407779d2e dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:15 +03:00
Alexey Arno
0869016283 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2c547ad2fd dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
88aab687ab dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2920b7dbe5 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f6745b2972 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
932755f851 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
99663bfc99 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f37fea7f24 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f49bcac364 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c342867233 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
5546e6c872 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c95bec1cf4 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Milovidov
d9c29390fd dbms: benchmark: allowed to specify settings [#METR-2944]. 2015-02-16 23:12:59 +03:00
Andrey Mironov
17ff7a352b Merge 2015-02-16 20:06:45 +03:00
Alexey Milovidov
06d2a778ad dbms: fixed dynamic compiler [#METR-2944]. 2015-02-16 20:08:57 +03:00
Alexey Milovidov
b35f7f04ab dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 19:12:08 +03:00
Alexey Milovidov
9dd3662920 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 18:59:30 +03:00
Alexey Milovidov
e7aa1cd01c dbms: slightly improved performance of reading long strings [#METR-2944]. 2015-02-15 18:38:04 +03:00
Alexey Milovidov
ca4ca58855 dbms: slightly improved performance when reading long strings [#METR-2944]. 2015-02-15 18:18:21 +03:00
Alexey Milovidov
24a4956671 dbms: improved performance of reading string columns [#METR-2944]. 2015-02-15 17:25:43 +03:00
Alexey Milovidov
68dd2317ce dbms: improved performance on short queries from wide tables [#METR-2944]. 2015-02-15 16:30:07 +03:00
Alexey Milovidov
a8f155cb06 dbms: addition to prev. revision [#METR-2944]. 2015-02-15 15:40:07 +03:00
Alexey Milovidov
2d04fed3a3 dbms: improved performance of reading string column [#METR-2944]. 2015-02-15 15:38:21 +03:00
Alexey Milovidov
6d6faf8b5e dbms: improved performance of JSON output format for data without strings (2.5 times) [#METR-2944]. 2015-02-15 12:45:29 +03:00
Alexey Milovidov
fa84f264aa dbms: more sane progress bar - it doesn't roll back when using ConcatBlockInputStream [#METR-2944]. 2015-02-15 09:08:31 +03:00
Alexey Milovidov
886b2daf9b dbms: added support for subqueries in PREWHERE [#METR-15106]. 2015-02-15 07:16:11 +03:00
Alexey Milovidov
7d4ce4b505 dbms: added settings to fine tune reads from merge tree [#METR-2944]. 2015-02-15 05:31:48 +03:00
Alexey Milovidov
ad2392ee7d dbms: fixed error with StorageBuffer [#METR-15105]. 2015-02-13 23:37:30 +03:00
Alexey Arno
b5105ecdf7 dbms: Server: fixed bug in UNION ALL [#METR-15077] 2015-02-13 14:40:58 +03:00
Alexey Milovidov
597f2eb737 dbms: fixed build [#METR-2944]. 2015-02-13 07:28:31 +03:00
Alexey Milovidov
2017ee72c9 Revert "dbms: improving performance of String IN (set) (for graphite) [#METR-2944]."
This reverts commit 504894305d02e73c471e0020057d4b7a96afca1d.
2015-02-13 07:08:25 +03:00
Alexey Milovidov
7c8f3267be Revert "dbms: addition to prev. revision [#METR-2944]."
This reverts commit ae6fe44a0a0a3b600b41d781129159acb66815d5.
2015-02-13 07:08:11 +03:00
Alexey Milovidov
f7ff9d64dc dbms: addition to prev. revision [#METR-2944]. 2015-02-13 04:19:33 +03:00
Alexey Milovidov
dea75f4445 dbms: improving performance of String IN (set) (for graphite) [#METR-2944]. 2015-02-13 04:18:28 +03:00
Alexey Milovidov
ea113f138f dbms: preparation [#METR-2944]. 2015-02-13 04:17:44 +03:00
Alexey Milovidov
59a55a4ce0 dbms: fixed wrong check with function 'match' and many subpatterns [#METR-14976]. 2015-02-11 04:24:51 +03:00
Alexey Milovidov
0289a578f8 dbms: Better [#METR-15052]. 2015-02-11 03:38:07 +03:00
Alexey Milovidov
2920dba21d dbms: Throttler: improvement [#METR-15052]. 2015-02-11 03:07:00 +03:00
Alexey Milovidov
e09225d230 Addition to prev. revision [#METR-2807]. 2015-02-11 00:14:11 +03:00
Alexey Milovidov
a9eb28c07d Using std::make_unique [#METR-2807]. 2015-02-11 00:10:58 +03:00
Alexey Milovidov
2d37140ee1 Added missing file [#METR-15052]. 2015-02-10 23:50:01 +03:00
Alexey Milovidov
d0972a159d dbms: added setting 'max_memory_bandwidth' [#METR-15052]. 2015-02-10 23:48:17 +03:00
Andrey Mironov
984aa5c4b5 dbms: extract external dictionaries management to a separate type [#METR-13298] 2015-02-10 20:40:40 +03:00
Andrey Mironov
168e1cd98d dbms: post-review corrections [#METR-13298]
add dummy CacheDictionary (could not commit without it)
2015-02-10 17:50:52 +03:00
Andrey Mironov
176189a55e dbms: remove const on IDictionary::getSource return type, add commentaries 2015-02-10 17:50:52 +03:00
Andrey Mironov
ed3c230e5d dbms: extract function Cluster::isLocal 2015-02-10 17:50:52 +03:00
Alexey Arno
d01825eaca dbms: Server: fixed issue with query stage setup on replicas [#METR-14410] 2015-02-09 20:53:44 +03:00
Sergey Magidovich
a026585b18 dbms: Remove noinlene. Problem solved using gcc-4.9. [#MOBMET-1238] 2015-02-09 16:59:44 +03:00
Sergey Magidovich
74f89e1199 ███████████: Remove useless noinline. [#MOBMET-1116], [#MOBMET-1209], [#MOBMET-737] 2015-02-09 16:59:44 +03:00
Sergey Magidovich
f6b34a25e0 ███████████: Fix exception evoiding. [#MOBMET-1238] 2015-02-09 16:59:44 +03:00
Alexey Arno
a36c7f0001 dbms: Server: removed unneeded include [#METR-14410] 2015-02-09 15:56:46 +03:00
Alexey Arno
78283c6b85 Merge 2015-02-09 14:40:54 +03:00
Alexey Arno
77f262f8a8 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 13:51:36 +03:00
Andrey Mironov
a485aacc54 dbms: fix external dictionaries exception on empty path [#METR-13298] 2015-02-09 13:10:35 +03:00
Andrey Mironov
8c62be82d1 dbms: make StorageFactory a singleton 2015-02-09 13:10:35 +03:00
Andrey Mironov
19e3f7a561 dbms: remove unused header 2015-02-09 13:10:35 +03:00
Andrey Mironov
bfbe878f99 dbms: properly delay dictionary update time in case of exception [#METR-13298] 2015-02-09 13:10:35 +03:00
Pavel Kartavyy
41b1a8dd25 Merge 2015-02-09 11:34:14 +03:00
Alexey Arno
e8902aa644 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 01:37:55 +03:00
Alexey Arno
8c0a540350 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 00:34:43 +03:00
Alexey Milovidov
6521efcb2a dbms: fixed error [#METR-2944]. 2015-02-08 07:25:09 +03:00
Alexey Arno
2e5d1041a1 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-08 02:13:04 +03:00
Alexey Arno
cede256a43 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 22:39:16 +03:00
Alexey Arno
ba96a87097 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 20:12:29 +03:00
Alexey Arno
7d5f75a804 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 01:32:54 +03:00
Alexey Arno
55acd52df2 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 17:46:04 +03:00
Alexey Arno
e854aa6c71 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 15:33:15 +03:00
Alexey Arno
80aba15901 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 13:41:03 +03:00
Alexey Milovidov
96c16b742b Separated test case for compiler bug [#METR-10240]. 2015-02-06 09:49:37 +03:00
Alexey Milovidov
fd01de7b03 Separated test case [#METR-10240]. 2015-02-06 07:45:28 +03:00
Alexey Arno
4a002773a8 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 01:31:03 +03:00
Alexey Arno
c1a771eb66 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 00:10:29 +03:00
Andrey Mironov
c594ffa066 dbms: failover support for MysqlDictionarySource [#METR-13298];
return current time for tables with Update_time = null
2015-02-05 21:51:19 +03:00
Andrey Mironov
5a92644082 dbms: disable auto-reset on Poco::Event in Dictionaries [#METR-13298] 2015-02-05 16:57:12 +03:00
Andrey Mironov
d0d7d9e4f7 dbms: return local server support to ClickhouseDictionarySource [#METR-13298] 2015-02-05 16:44:39 +03:00
Andrey Mironov
835c8a317e dbms: prohibit local clickhouse as a dictionary source [#METR-13298] 2015-02-04 19:10:27 +03:00
Andrey Mironov
0b2e0ce0c1 dbms: heal ClickhouseDictionarySource for local clickhouse [#METR-13298] 2015-02-04 19:07:19 +03:00
Andrey Mironov
7127c21a42 dbms: add forgotten return, support non-reloaded dictionaries [#METR-13298] 2015-02-04 18:18:29 +03:00
Andrey Mironov
1ef9c4138a dbms: allow empty dictionaries_config element in config.xml [#METR-13298] 2015-02-04 17:29:02 +03:00
Andrey Mironov
83f17692e1 dbms: send requests to local clickhouse via network [#METR-13298] 2015-02-04 16:47:30 +03:00
Andrey Mironov
f591ba73e1 dbms: check that dictionaries config file exists [#METR-13298] 2015-02-04 16:21:50 +03:00
Alexey Arno
ab9da73dea dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 16:07:10 +03:00
Andrey Mironov
ad54825dfe dbms: uncomment clickhouse dictionary source creation [#METR-13298] 2015-02-04 16:06:56 +03:00
Andrey Mironov
cee209db3e Merge 2015-02-04 14:01:06 +03:00
Alexey Arno
d519fac7b5 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 13:40:00 +03:00
Alexey Arno
51f8ad6e9d dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 13:27:06 +03:00
Alexey Milovidov
3782bdfa16 dbms: added comment [#METR-14901]. 2015-02-04 08:27:28 +03:00
Alexey Milovidov
160d72916a dbms: additions to prev. revision [#METR-14654]. 2015-02-04 08:07:51 +03:00
Alexey Milovidov
66156f5085 dbms: fixed segfault when query was cancelled while merging aggregate states in calculation of TOTALS [#METR-14654]. 2015-02-04 08:05:17 +03:00
Alexey Milovidov
8d6862fe9a dbms: modified test for parallel replicas [#METR-14410]. 2015-02-04 08:02:57 +03:00
Alexey Milovidov
80a3f9436b dbms: added test [#METR-14783]. 2015-02-04 07:00:42 +03:00
Alexey Milovidov
60df70053d dbms: fixed error [#METR-14902]. 2015-02-03 20:39:24 +03:00
Andrey Mironov
496fdc0228 dbms: add safety to Context::getDictionaries [#METR-13298] 2015-02-03 20:14:12 +03:00
Andrey Mironov
6fecb60894 dbms: better decoupling [#METR-13298] 2015-02-03 20:03:35 +03:00
Alexey Milovidov
97b0966ce2 Merge 2015-02-03 19:40:39 +03:00
Alexey Milovidov
d9d20f8c01 dbms: fixed error with IN with subquery with WHERE and PREWHERE in distributed query execution [#METR-14901]. 2015-02-03 19:38:30 +03:00
Alexey Arno
de526d55d2 dbms: Server: small code tweak [#METR-14410] 2015-02-03 18:10:00 +03:00
Alexey Arno
7ff0baaa44 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 17:37:35 +03:00
Alexey Arno
f4a3efa977 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
8b4bb37213 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
79e97417d9 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
57036f94c0 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
7cba335206 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
b0c4727d7a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
a7f0279e1c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
35356191c9 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
c46cd1e087 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
14b7361e69 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
e81ffd1ddc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
39985e22f3 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
aa6e8f1fff dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
28570a12ce dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
a92da48209 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
9cb318dc33 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
6089f15f1f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
a6a56993e2 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
29a58d403b dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
9cc7718ebf dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
40d753d0fd dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
866e733991 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fe2e42920a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
72df57b68c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0576a2f2d6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
ca96f2f3eb dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fddc332e6f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0c54fc48fc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
f03b44e08e dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
49736cc853 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
7b43e723fd dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
06a63495f3 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
e86abf0311 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
0ba5c640b0 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
0102fa4cde dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
032a402d5a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
3ff8ee1f09 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
85f061a790 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
594ab09579 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
ce941bded6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
2c6d3efc61 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
820e6f4498 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
31a56bd1c1 dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
2f5a3ad238 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
edbe789d12 dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
218bfa5316 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
83234d153c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:02 +03:00
Alexey Arno
4d62c9f7ff dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
73006ac354 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
485c472bc7 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
92fb1d2689 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
8135c2286d dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
d6f59cbc9e dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:54 +03:00
Alexey Arno
dab90c2542 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:54 +03:00
Alexey Arno
ab0761c643 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:50 +03:00
Alexey Arno
cd4bbadb12 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:48 +03:00
Andrey Mironov
409dc6ff1b dbms: proper reloading for non-cached dictionaries [#METR-13298] 2015-02-03 14:51:33 +03:00
Alexey Milovidov
e26f52ae6e Addition to prev. revision [#METR-14873]. 2015-02-03 00:28:42 +03:00
Alexey Milovidov
e4ae80fd2d Removed Yandex Catalog categories (not used; but empty columns in tables are left) [#METR-14873]. 2015-02-03 00:22:07 +03:00
Alexey Milovidov
7f0654cabb Fixed build [#METR-2807]. 2015-02-01 11:24:49 +03:00
Alexey Milovidov
ebe7738c27 dbms: implemented function arrayElement for data type Array(Tuple(...)) [#METR-14783]. 2015-02-01 11:19:11 +03:00
Alexey Milovidov
ee98a3babc dbms: fixed error with 'max_distributed_connections = 1' [#METR-14855]. 2015-02-01 11:02:18 +03:00
Alexey Milovidov
a65acf8a03 dbms: better [#METR-2944]. 2015-02-01 10:27:56 +03:00
Alexey Milovidov
24cc25e809 dbms: tiny improvement [#METR-2944]. 2015-02-01 10:21:19 +03:00
Alexey Milovidov
5271a45625 dbms: fixed error with JOINs [#METR-14847]. 2015-02-01 10:20:33 +03:00
Alexey Milovidov
22b9ecfdea dbms: fixed error with DROP COLUMN in replicated tables [#METR-14848]. 2015-02-01 06:49:36 +03:00
Alexey Milovidov
bd51359819 dbms: fixed error in exception message [#METR-2944]. 2015-02-01 01:17:33 +03:00
Alexey Milovidov
fd0cd56609 dbms: added test for JOIN [#METR-14847]. 2015-01-31 00:22:55 +03:00
Alexey Milovidov
6ffae48988 dbms: added missing modification [#METR-2944]. 2015-01-31 00:20:16 +03:00
Alexey Milovidov
1e18ff37c6 dbms: fixed error with JOIN [#METR-14847]. 2015-01-31 00:19:35 +03:00
Alexey Milovidov
261a549407 dbms: addition to prev. revision [#METR-2944]. 2015-01-30 21:58:58 +03:00
Alexey Milovidov
da2ba1f7f7 dbms: fixed error with StorageSet and StorageJoin [#METR-2944]. 2015-01-30 21:57:44 +03:00
Andrey Mironov
345afb6059 dbms: store dictionary lifetime in dictionaries [#METR-13298] 2015-01-30 18:18:13 +03:00
Andrey Mironov
fb333b16d7 dbms: incapsulate dictionary source data and allow cloning [#METR-13298]; add cloning for dictionaries 2015-01-30 17:12:09 +03:00
Andrey Mironov
9eff84960a dbms: query table modification time in MysqlDictionarySource [#METR-13298] 2015-01-30 14:51:59 +03:00
Andrey Mironov
647cd1b0eb dbms: check dictionary source modification prior to reloading [#METR-13298]
Mysql and Clickhouse sources are not currently checked and will always say they are modified.
Reload periods are not currently checked.
2015-01-29 18:47:21 +03:00
Andrey Mironov
a66af0668e dbms: devirtualize dictionary access [#METR-13298] 2015-01-29 17:46:15 +03:00
Andrey Mironov
4bbdb2320e dbms: add HashedDictionary [#METR-13298] 2015-01-29 16:53:48 +03:00
Pavel Kartavyy
2482560b15 DB::Connection: don't log Ping requests 2015-01-29 15:53:59 +03:00
Andrey Mironov
7addd501fe dbms: allow use of clickhouse as a dictionary source [#METR-13298] 2015-01-29 14:51:52 +03:00
Alexey Milovidov
79dbfaa659 dbms: added test (failing, disabled) [#METR-2944]. 2015-01-29 06:17:16 +03:00
Alexey Milovidov
aef67b8c44 dbms: addition to prev. revision [#METR-2944]. 2015-01-29 06:11:56 +03:00