Commit Graph

418 Commits

Author SHA1 Message Date
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
bf71e2ed90 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:11:52 +03:00
Alexey Milovidov
f2ccbc9802 Better exception message [#METR-21479]. 2016-05-26 00:35:57 +03:00
Alexey Milovidov
55b580f882 More profile events [#METR-2944]. 2016-04-23 05:39:40 +03:00
Alexey Milovidov
0611e45ac9 Little better [#METR-20892]. 2016-04-15 06:57:38 +03:00
Alexey Milovidov
f7c09d58a5 Attempt to improve performance [#METR-20892]. 2016-04-15 03:33:21 +03:00
Alexey Milovidov
745badfff9 PaddedPODArray: development (incomplete) [#METR-20892]. 2016-04-15 00:44:12 +03:00
Alexey Milovidov
9c9ef5534c PaddedPODArray: development [#METR-20892]. 2016-04-15 00:26:06 +03:00
Alexey Milovidov
f7b8709885 Fixed error (after update of Poco) with local replicas optimization [#METR-20654]. 2016-03-29 20:51:07 +03:00
Alexey Arno
e376b337f8 dbms: Removed obsolete files. [#METR-18510] 2016-03-29 19:30:28 +03:00
Alexey Arno
09985be3ba dbms: Added more comments. Made some code more understandable. [#METR-18510] 2016-03-28 16:00:00 +03:00
Alexey Milovidov
702876f9f0 Fixed suboptimal index usage in point queries [#METR-20607]. 2016-03-27 14:37:25 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00
Alexey Milovidov
261914bef7 Fixed error in comment [#METR-2944]. 2016-03-12 08:59:31 +03:00
Alexey Milovidov
b335dfacba Fixing warnings on clang [#METR-2807]. 2016-03-07 09:18:06 +03:00
Alexey Milovidov
e41feb0ade Fixing warnings on clang [#METR-2807]. 2016-03-07 09:08:34 +03:00
Alexey Milovidov
4aa0a85ca2 Fixing warning on clang [#METR-2807]. 2016-03-07 09:00:25 +03:00
Alexey Milovidov
51874d6dd3 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:15:42 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Alexey Milovidov
5ba1215b12 Updated comment [#METR-2944]. 2016-02-21 23:08:08 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

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

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

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

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

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

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

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

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

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

    Fixed error.

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

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

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

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
b375b6c6e6 dbms: fixed comments [#METR-17973]. 2016-02-04 00:37:52 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
341a9e89e7 dbms: improved performance (not in all cases) [#METR-19585]. 2016-01-27 06:26:36 +03:00
Alexey Milovidov
0853c80d7c dbms: initial implementation of position functions for non-constant needle argument [#METR-19585]. 2016-01-27 06:11:28 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596]. 2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5 dbms: added profile event for yielding leadership [#METR-17573]. 2016-01-20 23:43:42 +03:00
Alexey Milovidov
1cc27117b9 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 03:45:19 +03:00
Alexey Milovidov
a0a803439b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:58:35 +03:00
Alexey Milovidov
2dc07ef0a3 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:47:18 +03:00
Alexey Milovidov
de72545808 dbms: addition [#METR-19609]. 2016-01-14 00:17:23 +03:00
Alexey Milovidov
fefce00f5d dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:30:11 +03:00
Alexey Milovidov
c103a4ec47 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:21:56 +03:00
Alexey Milovidov
c67d973c51 dbms: added setting 'max_memory_usage_for_all_queries' [#METR-19561]. 2016-01-13 06:59:24 +03:00
Alexey Milovidov
7b521a8c5e dbms: added setting 'max_memory_usage_for_user' [#METR-19561]. 2016-01-13 05:38:30 +03:00
Alexey Milovidov
e522ec23f9 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 05:11:40 +03:00
Alexey Milovidov
54d3af930c Merge 2016-01-13 04:06:56 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
a6b01ee987 dbms: multiple MemoryTrackers: development [#METR-19561]. 2015-12-30 18:39:11 +03:00
Alexey Milovidov
2368ac3675 dbms: fixed error with ArenaWithFreeLists; added comments; improved performance [#METR-19278]. 2015-12-27 13:58:20 +03:00
Alexey Milovidov
d51e03da61 dbms: added fault injection in memory tracker to more easily reproducing the bug [#METR-19278]. 2015-12-23 10:39:28 +03:00
Alexey Milovidov
00b43c9c46 dbms: added comment [#METR-19278]. 2015-12-23 10:32:44 +03:00
Alexey Milovidov
d6ecae4588 dbms: fixed one of errors [#METR-19278]. 2015-12-23 08:04:30 +03:00
Alexey Milovidov
5b91e13f43 dbms: more safe [#METR-19278]. 2015-12-16 23:50:56 +03:00
Alexey Milovidov
5cf76fd8f2 dbms: fixed error [#METR-16212]. 2015-12-13 14:35:48 +03:00
Alexey Milovidov
42480c31ef dbms: preparation [#METR-16212]. 2015-12-13 11:51:28 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Andrey Mironov
c8e3d90536 dbms: SmallObjectPool: fix odr-use in debug build 2015-12-08 12:16:40 +03:00
Andrey Mironov
cf2c86956e dbms: SmallObjectPool: remove minimum size check [#METR-18946] 2015-12-07 19:30:26 +03:00
Alexey Milovidov
0ef797d9f3 dbms: fixed error [#METR-17000]. 2015-12-06 17:27:09 +03:00
Alexey Milovidov
5890747c56 dbms: instrumenting external sort/aggregation [#METR-17000]. 2015-12-04 00:23:21 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Andrey Mironov
699e5480f6 dbms: use ArenaWithFreeLists for strings in cache dictionary [#METR-17328] 2015-11-24 15:47:51 +03:00
Andrey Mironov
24f986c9f1 dbms: fixed ArenaWithFreeLists "off-by-one" error which lead to allocating blocks of size less than required. 2015-11-24 14:28:29 +03:00
Alexey Milovidov
49be9e9b3e dbms: added comment [#METR-19024]. 2015-11-23 23:24:54 +03:00
Alexey Milovidov
c461d32474 dbms: fixed comment [#METR-2944]. 2015-11-21 18:51:09 +03:00
Alexey Milovidov
57e8a8fdbb dbms: added t-digest algorithm [#METR-19024]. 2015-11-21 15:47:41 +03:00
Andrey Mironov
295e23a587 dbms: reimplement ArenaWithFreeLists on top of Arena [#METR-17328], [#METR-18520] 2015-11-19 18:06:00 +03:00
Andrey Mironov
de8eb7b914 dbms: fix debug build of ArenaWithFreeLists. [#METR-17328], [#METR-18520] 2015-11-19 16:41:35 +03:00
Andrey Mironov
8feafa0da2 dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382] 2015-11-18 16:31:29 +03:00
Andrey Mironov
4f1caeb0e4 dbms: SmallObjectPool for ComplexKeyCacheDictionary [#METR-17382] 2015-11-18 14:53:15 +03:00
Andrey Mironov
2e8cc93664 dbms: ArenaWithFreeLists basic implementation. [#METR-17382] 2015-11-17 19:09:43 +03:00
Alexey Milovidov
408a2e4751 Fixed errors in gcc-5 [#METR-18843]. 2015-11-16 07:56:31 +03:00
Alexey Milovidov
4b7db2cc36 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:17:11 +03:00
Alexey Milovidov
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Alexey Milovidov
3a1a8c9567 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 10:05:01 +03:00
Alexey Milovidov
f353711e5e dbms: improved performance of quantile and quantileDeterministic aggregate functions [#METR-18778]. 2015-11-15 08:52:41 +03:00
Alexey Milovidov
959ae7cd78 dbms: unified allocators [#METR-18778]. 2015-11-15 06:09:40 +03:00
Alexey Milovidov
60054d177c dbms: removed madvise because it is bad [#MTRSADMIN-1703]. 2015-11-11 00:21:24 +03:00
Andrey Mironov
977954f9ce AIOContextPool: wait for all io_events in flight before destruction [#METR-18618] 2015-11-05 18:40:01 +03:00
Andrey Mironov
ad27ad476d AIOContextPool: type aliases for clarity, commentary corrections [#METR-18618] 2015-11-05 17:11:09 +03:00
Andrey Mironov
249a5922fe AIOContextPool: refactor, extract member functions, employ a condition_variable to minimize CPU waste [#METR-18618] 2015-11-05 16:52:21 +03:00
Andrey Mironov
32f31eedc4 AIOContextPool: handle EAGAIN from a call to io_submit [#METR-18618] 2015-11-03 18:37:21 +03:00
Andrey Mironov
9bfd90bb0f dbms: use AIOContextPool in ReadBufferAIO [#METR-18618] 2015-11-03 18:15:45 +03:00
Alexey Milovidov
aacc364d6d dbms: OptimizedRegularExpression: fixed error [#METRIKASUPP-5937]. 2015-10-29 03:18:40 +03:00
Alexey Arno
46113b0fb3 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:30:36 +03:00
Alexey Arno
1bea69c0e2 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:26:24 +03:00
Alexey Arno
c326cf8624 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:21:46 +03:00
Alexey Arno
497b9ba3c8 Merge 2015-10-24 01:43:06 +03:00
Alexey Milovidov
d5e8f3e427 dbms: attempt to fix memory usage [#METR-18456]. 2015-10-16 20:27:11 +03:00
Alexey Milovidov
5249748571 dbms: fixed memory usage when using distributed_aggregation_memory_efficient [#METR-18456]. 2015-10-15 22:41:32 +03:00
Andrey Mironov
a4657df04e dbms: move Volnitsky to DB namespace 2015-10-15 16:05:27 +03:00
Andrey Mironov
6a4a1887a8 dbms: DB::UTF8::syncForward remove default parameter value 2015-10-15 15:55:34 +03:00
Andrey Mironov
39189f48d3 dbms: UTF8Helpers.h: make all functions inline 2015-10-15 15:54:33 +03:00
Andrey Mironov
53a251d1f5 dbms: ext.hpp include fix 2015-10-15 15:40:17 +03:00
Andrey Mironov
97ca8e5945 Merge 2015-10-15 14:36:39 +03:00
Andrey Mironov
e4f0f59742 dbms: fix unsigned vs signed comparison [#METR-18210] 2015-10-15 14:17:02 +03:00
Andrey Mironov
957c8ecafe dbms: refactor position function family, remove debug versions. [#METR-18210] 2015-10-14 15:12:56 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Arno
e86428b4ac Merge 2015-10-08 17:23:23 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +03:00