Commit Graph

3058 Commits

Author SHA1 Message Date
Alexey Milovidov
e3b0c97b0f dbms: fixed error with merging [#METR-16247]. 2015-05-12 07:55:14 +03:00
Alexey Milovidov
566b62854b dbms: more unform distribution of work among threads (experimental) [#METR-2944]. 2015-05-11 03:11:22 +03:00
Andrey Mironov
2c58c9ea50 dbms: add system.dictionaries.query_count field [#METR-
15569]
2015-05-08 15:31:34 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8ae0453076 dbms: removed unused exception [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8e0041e9d0 dbms: error codes - refactoring [#METR-15570] 2015-05-08 12:24:42 +03:00
Andrey Mironov
759f10aa88 dbms: add builtin_dictionaries_reload_interval to config [#METR-16143] 2015-05-07 18:06:11 +03:00
Andrey Mironov
b9b0ebb0f8 dbms: prohibit chaining of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
64dc50dfa4 dbms: implementation of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
27ebf02a8d dbms: simplify sequenceMatch prototype by appending .* before any pattern [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
6acdcb281d dbms: sequenceMatch: remove usage of continue [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
be67de26b5 dbms: sequenceMatch aggregate function draft, temporal conditions currently ignored [#METR-16058] 2015-05-07 17:04:27 +03:00
Alexey Arno
51711df1c0 Removed blank. [#METR-15652] 2015-05-07 15:28:41 +03:00
Alexey Arno
ac6a365ea1 Greatly simplfied code. [#METR-15652] 2015-05-07 15:28:09 +03:00
Alexey Arno
44066984cf Merge 2015-05-07 13:31:50 +03:00
Alexey Milovidov
c57063be27 Merge 2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863 dbms: cut dependency [#METR-2944]. 2015-05-07 02:35:37 +03:00
Alexey Milovidov
9c99febfc3 dbms: added ProfileEvents for Compiler [#METR-16212]. 2015-05-05 18:50:20 +03:00
Alexey Milovidov
46eb776111 dbms: increased 'max_ast_elements' by default and for profile 'web' [#METRIKASUPP-5044]. 2015-05-05 17:54:14 +03:00
Alexey Arno
550d5e9e7a dbms: Server: Fixed hostname + IP address presentation. [#METR-15859] 2015-05-05 13:13:45 +03:00
Alexey Milovidov
6ce28acc0f dbms: cut dependency [#METR-2944]. 2015-05-04 20:52:19 +03:00
Alexey Milovidov
f33943144d Revert "dbms: improvement [#METR-16164]."
This reverts commit b9f977d430df589f006d6c2bb3ffc32bc2f54a31.
2015-05-03 12:13:29 +03:00
Alexey Milovidov
310ed66b00 Revert "dbms: improvement (incomplete) [#METR-16164]."
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
2015-05-03 12:13:08 +03:00
Alexey Milovidov
2f2c7869f6 dbms: fixed error [#METR-16164]. 2015-05-03 11:06:15 +03:00
Alexey Arno
47b9cd0dd6 dbms: Server: Small cosmetic cleanup. [#METR-15090] 2015-04-30 18:04:42 +03:00
Alexey Arno
fa78aa633f Merge 2015-04-30 15:43:16 +03:00
Alexey Milovidov
b5f1084132 dbms: improvement (incomplete) [#METR-16164]. 2015-04-30 08:45:34 +03:00
Alexey Milovidov
cb1301d3cb dbms: improvement [#METR-16164]. 2015-04-30 00:30:40 +03:00
Alexey Milovidov
685aa695bb dbms: function 'transform': added support for constant argument [#METR-15987]. 2015-04-29 04:30:44 +03:00
Alexey Milovidov
738e736500 dbms: function 'transform': development [#METR-15987]. 2015-04-28 08:21:41 +03:00
Alexey Milovidov
d371b7c843 dbms: function 'transform': development [#METR-15987]. 2015-04-28 07:47:27 +03:00
Alexey Milovidov
c89970cc01 dbms: fixed comment [#METR-2944]. 2015-04-28 07:35:54 +03:00
Alexey Milovidov
123cd3340d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:54:57 +03:00
Alexey Milovidov
5e230a6b2d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:38:41 +03:00
Alexey Arno
5463d74a84 Merge 2015-04-24 18:49:30 +03:00
Alexey Arno
e1b6730e5b Merge 2015-04-24 15:26:23 +03:00
Alexey Arno
999bc75dfe dbms: Server: Removed unneeded optimization (ii). [#METR-14408] 2015-04-23 16:16:42 +03:00
Alexey Arno
a15052e0e6 Merge 2015-04-23 15:57:39 +03:00
Alexey Arno
80850909c7 Merge 2015-04-23 14:07:15 +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 Arno
cd24f85cfe dbms: Server: Reduced the number of open files. [#METR-15090] 2015-04-22 16:37:30 +03:00
Alexey Arno
5136ffb2a6 dbms: Server: Simplified code. [#METR-14408] 2015-04-21 18:12:08 +03:00
Andrey Mironov
77b2ef6f81 Merge 2015-04-21 16:10:08 +03:00
Alexey Milovidov
4f469ea831 dbms: preparation [#METR-15418]. 2015-04-19 01:33:24 +03:00
Alexey Milovidov
9077eb4f3c dbms: preparation [#METR-15418]. 2015-04-19 01:30:43 +03:00
Alexey Arno
8a317f076d Merge 2015-04-17 16:56:29 +03:00
Alexey Milovidov
a2f2cc369d dbms: preparation for FULL and RIGHT JOINs [#METR-15418]. 2015-04-17 11:46:06 +03:00
Alexey Milovidov
124a12095a dbms: added support for selecting stronger compression method [#METR-15386]. 2015-04-17 08:35:53 +03:00
Alexey Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
4c703cbfd7 dbms: added profile events for AIO and ordinary IO [#METR-15090]. 2015-04-16 15:06:05 +03:00
Alexey Milovidov
a5ac7fb70c dbms: disabled direct IO by default [#METR-15090]. 2015-04-16 14:47:17 +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
e4bd9b1dec dbms: cut another dependency [#METR-2944]. 2015-04-16 10:22:29 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Andrey Mironov
bedd5e7c26 dbms: add function URLHash plus tests [#METR-15826] 2015-04-15 18:00:28 +03:00
Alexey Arno
bc2de9a94d dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-15 16:23:37 +03:00
Alexey Arno
ac1e12e8dc dbms: Server: tweaked comments. [#METR-15090] 2015-04-15 11:45:22 +03:00
Alexey Milovidov
3a658e4b26 dbms: fixed error with multiquery mode in Client [#METR-15975]. 2015-04-14 23:46:34 +03:00
Alexey Arno
7415b65a55 Merge 2015-04-14 18:00:57 +03:00
Alexey Milovidov
cfd2d2aad5 dbms: removed useless code [#METR-2944]. 2015-04-14 05:55:59 +03:00
Alexey Milovidov
c4ea83a906 dbms: cut dependencies [#METR-2944]. 2015-04-14 05:45:30 +03:00
Alexey Milovidov
463526910d dbms: little better [#METR-15933]. 2015-04-14 04:39:30 +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 Milovidov
00305592bc dbms: addition to prev. revision [#METR-15933]. 2015-04-11 07:15:14 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +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
Alexey Milovidov
7d4bf16d06 dbms: fixed Block::insertDefault method for elements of nested data structures (it is used in AddedDefaultsBlockInputStream, InterpreterInsertQuery) [#METR-15896]. 2015-04-09 05:10:06 +03:00
Alexey Milovidov
543c4c92cb dbms: removed dead code; healing corrupted nested columns [#METR-15896]. 2015-04-09 03:37:08 +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
e74b56c1d7 dbms: fixed deadlock [#METR-15843]. 2015-04-08 00:24:05 +03:00
Alexey Milovidov
f1dc2f4775 dbms: fixed error [#METR-15387]. 2015-04-03 19:16:02 +03:00
Andrey Mironov
e267ba87f0 dbms: rename isNan to isNaN [#METR-15731] 2015-04-03 17:52:33 +03:00
Andrey Mironov
4ed57ac566 dbms: add functions isFinite, isInfinite, isNan [#METR-METR-15731] 2015-04-03 16:30:51 +03:00
Andrey Mironov
2de6e4a51b Merge 2015-04-03 13:10:38 +03:00
Andrey Mironov
ba2e06a6e6 propagate exception from dictionaries on server start, fix race condition 2015-04-02 19:37:05 +03:00
Andrey Mironov
ebd953e1b6 Merge 2015-04-02 19:37:05 +03:00
Andrey Mironov
ea9f5f2488 return old-fashioned code for calculation of total_rows 2015-04-02 12:36:40 +03:00
Alexey Milovidov
376087dd00 dbms: addition to prev. revision [#METR-15804]. 2015-04-02 06:19:09 +03:00
Alexey Milovidov
f6600e38d4 Merge 2015-04-02 06:17:10 +03:00
Alexey Milovidov
edf7fdc58d dbms: fixed error [#METR-15804]. 2015-04-02 06:08:43 +03:00
Andrey Mironov
6dcee7e9a5 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
c707bd3bc4 dbms: add FixedString support for function toFixedString 2015-04-01 14:45:01 +03:00
Andrey Mironov
4760f61f39 Merge 2015-04-01 14:45:01 +03:00
Alexey Milovidov
666c154e5d dbms: fixed compiler, added test [#METR-2944]. 2015-04-01 07:14:15 +03:00
Alexey Milovidov
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
54397c6c7a dbms: added support for parsing 10-digits unix timestamp as DateTime (in addition to YYYY-MM-DD hh:mm:ss format) [#METR-15790]. 2015-04-01 00:09:19 +03:00
Alexey Milovidov
d3d3329d79 dbms: updated default setting for compiler [#METR-2944]. 2015-03-29 12:20:28 +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
Andrey Mironov
082620d054 dbms: do not attempt loading builtin dictionaries if config has no corresponding keys. [#METR-15691] 2015-03-27 18:44:52 +03:00
Andrey Mironov
edbe23ac1f dbms: add dictionaries_lazy_load config parameter, defaults to true. [#METR-15691] 2015-03-27 16:11:31 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +03:00
Alexey Arno
1c9aa586ed Merge 2015-03-27 13:51:33 +03:00
Alexey Milovidov
06c35e0faa dbms: improvement [#METR-15484]. 2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc dbms: fixed 'force_index_by_date' setting [#METR-15484]. 2015-03-27 06:06:06 +03:00
Alexey Milovidov
048eed9424 dbms: improved performance of LIKE and regexp search [#METR-15690]. 2015-03-27 05:12:45 +03:00
Alexey Arno
732a80d833 dbms: Server: Fixed race condition in PoolWithFailoverBase in a more elegant way. [#METR-15531] 2015-03-26 17:53:35 +03:00
Alexey Milovidov
f3f935e3d8 dbms: toDateTime: improvement [#METR-2944]. 2015-03-26 05:54:16 +03:00
Alexey Milovidov
9cc2e52047 dbms: string search: improved performance in fallback case [#METR-15690]. 2015-03-26 03:38:17 +03:00
Alexey Arno
00ca9c9b24 Merge 2015-03-25 19:46:54 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Andrey Mironov
8bc12dbbe4 dbms: system.dictionaries: add brief source description. [#METR-15569] 2015-03-25 13:10:35 +03:00
Andrey Mironov
6b605d10bb dbms: correct load factor for FlatDictionary (based on capacity, not size). [#METR-15569] 2015-03-25 13:10:35 +03:00
Alexey Milovidov
7c74a112a0 dbms: tiny improvement [#METR-2944]. 2015-03-25 04:45:42 +03:00
Andrey Mironov
e25783995c dbms: system.dictionaries: hit-rate, element count and load-factor. [#METR-15569] 2015-03-24 20:04:03 +03:00
Andrey Mironov
8796aa8497 dbms: HashTable: grower getBufferSizeInCells 2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea dbms: system.dictionaries: provide attribute names and types[#METR-13298] 2015-03-24 20:04:03 +03:00
Andrey Mironov
f38d552844 dbms: simplify return value of IDictionary::getTypeName [#METR-13298] 2015-03-24 15:26:19 +03:00
Andrey Mironov
57e13e7d2a dbms: CacheDictionary: do not decrease bytes_allocated by 1 erroneously[#METR-13298] 2015-03-24 15:21:52 +03:00
Andrey Mironov
a892434ffa dbms: CacheDictionary: correctly decrease bytes_allocated on adding default strings. [#METR-13298] 2015-03-24 15:17:18 +03:00
Andrey Mironov
51e1ad0591 dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298] 2015-03-24 15:12:48 +03:00
Andrey Mironov
4b259dfc01 dbms: IDictionary::getBytesAllocated 2015-03-24 14:30:16 +03:00
Andrey Mironov
3964fc0a0d dbms: make PODArray::storage_size public 2015-03-24 14:30:02 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Andrey Mironov
e521611c98 dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298] 2015-03-24 12:50:39 +03:00
Alexey Milovidov
904bd9713c dbms: slightly increased default value of setting 'group_by_two_level_threshold' (it's better, but exact amount is a guess) [#METR-2944]. 2015-03-24 03:44:54 +03:00
Alexey Milovidov
b4c9ba93e8 Revert "dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331]"
This reverts commit 209cf77fd6b2962b1996d254db802132ab2bd6f8.
2015-03-24 03:41:03 +03:00
Andrey Mironov
cf315e35ef dbms: support non-expiring cache lines in CacheDictionary. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
006360b75a dbms: dictionaries: more meaningful exception message on null_value parsing error. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
297d3263f2 dbms: PODArray::resize_fill(size_t, T): fix erroneous pointer arithmetic 2015-03-23 17:30:43 +03:00
Andrey Mironov
f321a422b7 dbms: FlatDictionary: fix off-by-one error on resize. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
33f41657df dbms: improve structure and speed of MySQLBlockInputStream. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
b81ef372d3 dbms: ColumnVector: add insert(T) function to avoid Field instantiation. [#METR-13298] 2015-03-23 17:30:43 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +03:00
Pavel Kartavyy
134ee3a779 Merge 2015-03-23 12:09:25 +03:00
Alexey Milovidov
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Arno
efc8ee558d dbms: Server: merge from master. [#METR-15090] 2015-03-20 20:02:01 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00
Andrey Mironov
17da36aba2 dbms: allow using Date and DateTime with dictionaries. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
ba0fcc32f9 dbms: MySQLDictionarySource: safely handle empty response. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
47148229e0 dbms: allow DataTypeFactory to be some weird multi-instance singleton, I don't feel like modifying all the code which uses it right now 2015-03-20 18:45:36 +03:00
Andrey Mironov
8ef4f22e4c Merge 2015-03-19 18:28:08 +03:00
Alexey Arno
2ec5cd0506 dbms: Server: feature development. [#METR-15090] 2015-03-19 13:06:11 +03:00
Alexey Milovidov
ba5a54ef7a dbms: temporarily added aggregate function 'debug' [#METR-15530]. 2015-03-19 06:58:23 +03:00
Alexey Milovidov
6107740fc6 dbms: tiny improvement [#METR-14848]. 2015-03-18 22:17:05 +03:00
Andrey Mironov
4243f54911 dbms: support multiple dictionaries config files with glob pattern [#METR-13298] 2015-03-18 19:07:15 +03:00
Andrey Mironov
1e1a26b76f dbms: fix typo in ClickHouseDictionarySource, specify database explicitly. [#METR-13298] 2015-03-18 17:20:07 +03:00
Andrey Mironov
3b3f5b17c4 dbms: fix thread-unsafety: retain mysqlxx::Pool::Entry for the whole duration of a query. [#METR-13298] 2015-03-18 15:20:54 +03:00
Alexey Arno
b5f690dcd1 dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331] 2015-03-18 14:28:30 +03:00
Andrey Mironov
7196d9c987 dbms: fix usage of moved-from variable, drain mysqlxx query result completely. [#METR-13298] 2015-03-18 12:58:58 +03:00
Alexey Milovidov
ed4c4292aa dbms: fixed possible error [#METR-15530]. 2015-03-18 05:48:36 +03:00
Alexey Milovidov
77f2e60146 Merge 2015-03-18 04:48:48 +03:00
Alexey Milovidov
a73cd458c2 dbms: irrelevant fixes [#METR-15530]. 2015-03-18 04:48:15 +03:00
Alexey Milovidov
ad6ca01f87 dbms: tiny modification [#METR-2944]. 2015-03-18 00:05:03 +03:00
Alexey Arno
6c3bd8759d dbms: Server: feature development. [#METR-15090] 2015-03-17 16:57:24 +03:00
Alexey Arno
f4b7889f90 dbms: Server: feature development. [#METR-15090] 2015-03-17 15:44:49 +03:00
Alexey Arno
9ab8c585ac dbms: Server: feature development. [#METR-15090] 2015-03-17 14:30:23 +03:00
Alexey Arno
73f0eac93b dbms: Server: feature development. [#METR-15090] 2015-03-17 00:06:38 +03:00
Alexey Arno
bb1b661629 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:05:44 +03:00
Alexey Arno
93ae3550c7 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:00:20 +03:00
Alexey Milovidov
7431af2cf9 dbms: fixed error with exception safety [#METR-15357]. 2015-03-16 22:24:57 +03:00
Alexey Arno
ee22aac2fe dbms: Server: feature development. [#METR-15090] 2015-03-16 13:49:27 +03:00
Alexey Arno
80410ce746 dbms: Server: feature development. [#METR-15090] 2015-03-16 13:41:58 +03:00
Alexey Milovidov
e7b3884f2d dbms: fixed common misunderstanding with function toDate(UInt32) [#METR-2944]. 2015-03-16 07:44:53 +03:00
Alexey Milovidov
026670c4ec dbms: fixed error with exception safety [#METR-15451]. 2015-03-15 14:30:26 +03:00
Alexey Milovidov
0535438ea4 dbms: fixed bad code with GLOBAL operations [#METR-15144]. 2015-03-15 11:05:28 +03:00
Alexey Milovidov
291d9daabf Merge 2015-03-14 05:37:53 +03:00
Alexey Milovidov
5c69667f2a dbms: different compression methods on merge: preparation [#METR-15386]. 2015-03-14 05:36:39 +03:00
Alexey Milovidov
0a27283081 dbms: added setting 'force_index_by_date' [#METR-15484]. 2015-03-14 04:20:10 +03:00
Alexey Milovidov
b828604a5f Merge 2015-03-14 00:31:23 +03:00
Alexey Milovidov
c1ff26c7a3 dbms: tiny modifications [#METR-15484]. 2015-03-14 00:01:04 +03:00
Alexey Arno
241e35b424 Merge 2015-03-13 16:18:47 +03:00
Alexey Arno
7395eff889 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:46:04 +03:00
Alexey Arno
606ac0198c dbms: Server: feature development. [#METR-15090] 2015-03-13 14:22:34 +03:00
Alexey Arno
e8c2f6e7b8 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:02:43 +03:00
Alexey Arno
125f837847 dbms: Server: feature development. [#METR-15090] 2015-03-12 19:22:49 +03:00
Alexey Arno
ee09fc9124 dbms: Server: feature development. [#METR-15090] 2015-03-12 15:36:18 +03:00
Alexey Milovidov
db2956eb73 dbms: removing duplicate elements from ORDER BY [#METR-2944]. 2015-03-12 06:31:15 +03:00
Alexey Milovidov
1d7d1051a2 dbms: fixed error [#METR-15451]. 2015-03-12 05:22:55 +03:00
Alexey Milovidov
0b07103305 dbms: tiny modification [#METR-2944]. 2015-03-12 05:21:28 +03:00
Alexey Milovidov
9c9162bf94 dbms: FINAL: tiny modifications [#METR-2944]. 2015-03-12 03:01:14 +03:00
Alexey Arno
9dbbaf8c38 dbms: Server: feature development. [#METR-15090] 2015-03-11 20:27:34 +03:00
Alexey Arno
a7968c5590 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:32:32 +03:00
Alexey Arno
fa73113afb dbms: Server: feature development. [#METR-15090] 2015-03-11 16:26:24 +03:00
Alexey Arno
07d52d9abd dbms: Server: feature development. [#METR-15090] 2015-03-11 16:15:19 +03:00
Alexey Arno
b9260807fd dbms: Server: feature development. [#METR-15090] 2015-03-11 14:31:09 +03:00
Pavel Kartavyy
78e12a7563 Connection: set separate timeout for ping [#METR-15351] 2015-03-11 14:18:36 +03:00
Pavel Kartavyy
192bbc0285 PoolWithFailover: increased error decreasing period [#METR-15351] 2015-03-11 14:18:36 +03:00
Pavel Kartavyy
3f56620685 Connection: ping can be executed as long as read/write timeout [#METR-15351] 2015-03-11 14:18:36 +03:00
Alexey Milovidov
ad71fa8155 dbms: fixed error [#METR-15371]. 2015-03-10 23:16:13 +03:00
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
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
82b3fb4921 dbms: addition to prev. revision [#METR-15352]. 2015-03-07 04:10:14 +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
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
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
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
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
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
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
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
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
7fdc23c5f2 dbms: Server: fix race conditions [#METR-14410] 2015-02-25 15:43:06 +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
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
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
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
64c8535382 dbms: Server: performance optimization [#METR-14875] 2015-02-20 13:37:55 +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
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
c342867233 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
Andrey Mironov
17ff7a352b Merge 2015-02-16 20:06:45 +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
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
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
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
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
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
8c62be82d1 dbms: make StorageFactory a singleton 2015-02-09 13:10:35 +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 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
83f17692e1 dbms: send requests to local clickhouse via network [#METR-13298] 2015-02-04 16:47:30 +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
60df70053d dbms: fixed error [#METR-14902]. 2015-02-03 20:39:24 +03:00
Andrey Mironov
6fecb60894 dbms: better decoupling [#METR-13298] 2015-02-03 20:03:35 +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
79e97417d9 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
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
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
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
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
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
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
ebe7738c27 dbms: implemented function arrayElement for data type Array(Tuple(...)) [#METR-14783]. 2015-02-01 11:19:11 +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
1e18ff37c6 dbms: fixed error with JOIN [#METR-14847]. 2015-01-31 00:19:35 +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
Andrey Mironov
7addd501fe dbms: allow use of clickhouse as a dictionary source [#METR-13298] 2015-01-29 14:51:52 +03:00
Alexey Milovidov
aef67b8c44 dbms: addition to prev. revision [#METR-2944]. 2015-01-29 06:11:56 +03:00
Alexey Milovidov
6db5e98515 dbms: StorageJoin: fixed error [#METR-2944]. 2015-01-29 06:07:58 +03:00
Andrey Mironov
95bb52b8e5 dbms: use PODArray with FlatDictionary [#METR-13298]
remove IDictionarySource::reset
2015-01-28 19:23:52 +03:00
Andrey Mironov
070c6be60e dbms: add PODArray::resize_fill(size_t, const T&) 2015-01-28 19:23:07 +03:00
Andrey Mironov
e982b5c92d dbms: add all integral and floating point types to IDictionary. [#METR-13298] 2015-01-28 18:02:05 +03:00
Andrey Mironov
f4e7d2d4f5 dbms: add dictGetHierarchy and dictIsIn. [#METR-13298] 2015-01-28 16:20:20 +03:00
Alexey Milovidov
e4e313f54f dbms: StorageJoin: development [#METR-2944]. 2015-01-28 05:37:05 +03:00
Alexey Milovidov
2b0b4d0528 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 03:38:10 +03:00
Alexey Milovidov
2c124ea375 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 03:08:45 +03:00
Alexey Milovidov
8a61f96d67 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 00:24:24 +03:00
Andrey Mironov
6b406df4d9 dbms: implement MysqlBlockInputStream. [#METR-13298] 2015-01-27 16:00:20 +03:00
Alexey Milovidov
fed642cd7c dbms: added StorageSet [#METR-2944]. 2015-01-27 03:52:03 +03:00
Alexey Milovidov
a1eb599105 dbms: added value 'in_order' to setting 'load_balancing' [#METR-14782]. 2015-01-26 22:55:10 +03:00
Andrey Mironov
1b4b0d5779 dbms: MysqlDictionarySource with draft MysqlBockInputStream 2015-01-26 19:53:44 +03:00
Andrey Mironov
419d517867 dbms: add abstractions for dictionary sources 2015-01-26 18:27:51 +03:00
Alexey Milovidov
6927823716 dbms: little better [#METR-2944]. 2015-01-25 08:07:51 +03:00
Alexey Milovidov
81e42e4d90 dbms: fixed error in gcc 4.9 [#METR-2944]. 2015-01-24 04:55:29 +03:00
Alexey Milovidov
3d28956cbb dbms: fixed errors in gcc 4.9 [#METR-2944]. 2015-01-24 04:10:05 +03:00
Andrey Mironov
a8c2d66076 dbms: fix error in populating attributes. [#METR-13298] 2015-01-22 17:41:05 +03:00
Andrey Mironov
92664ed612 dbms: sparse array implementation of FlatDictionary. [#METR-13298] 2015-01-22 17:32:38 +03:00
Alexey Milovidov
6fb28b7af9 dbms: fixed error with method write of storage Distributed [#METR-2944]. 2015-01-22 07:14:34 +03:00
Alexey Milovidov
86e9e77eae Fixed errors in clang (part 5, final) [#METR-2807]. 2015-01-22 04:13:13 +03:00
Andrey Mironov
300b7342e7 dbms: dummy types and functions for external dictionaries. [#METR-13298] 2015-01-21 14:39:48 +03:00
Alexey Milovidov
02f9d15a36 Addition to prev. revision [#METR-2944]. 2015-01-21 07:30:33 +03:00
Alexey Milovidov
af27e06238 Fixed errors in clang (part 4) [#METR-2807]. 2015-01-21 07:23:22 +03:00
Alexey Milovidov
8a1c22bf41 Fixed errors in clang (part 3) [#METR-2807]. 2015-01-21 07:17:02 +03:00
Alexey Milovidov
27543ea7e5 Fixed errors in clang (part 2) [#METR-2807]. 2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663 Fixed errors in clang (part 1) [#METR-2807]. 2015-01-21 06:56:28 +03:00
Alexey Milovidov
e53a8c11dc dbms: addition to prev. revision [#METR-14693]. 2015-01-20 21:42:06 +03:00
Alexey Milovidov
a54a634595 dbms: fixed performance issue caused by typo [#METR-14654]. 2015-01-19 22:51:46 +03:00
Alexey Milovidov
9947387bef dbms: added distributed sorting [#METR-2944]. 2015-01-18 11:27:28 +03:00
Alexey Milovidov
1685b293f7 dbms: tiny improvements [#METR-2944]. 2015-01-18 11:25:56 +03:00
Alexey Milovidov
099d64931d dbms: compiled aggregator: development [#METR-2944]. 2015-01-18 04:18:39 +03:00
Alexey Milovidov
bca1036dd8 dbms: compiled aggregator: added support for empty list of aggregate functions [#METR-2944]. 2015-01-18 04:11:32 +03:00
Alexey Milovidov
4f6bcb0568 Fixed typos [#METR-2807]. 2015-01-18 00:18:07 +03:00
Andrey Mironov
00324f2f9c dbms: allow non-parenthesised expressions in array access operator []. [#METR-14585] 2015-01-16 13:25:34 +03:00
Andrey Mironov
081f435952 dbms: increase limit to function range, change error message. [#METR-14585] 2015-01-16 13:25:34 +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
715f5bf8d1 dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557]. 2015-01-14 05:44:25 +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
Alexey Milovidov
b5b1693573 dbms: Cluster: cleanups [#METR-2944]. 2015-01-13 03:56:43 +03:00