Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
34a9af27bf
Inreased default ALTERs safety threshold [#METR-2944].
2016-11-09 17:14:39 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
b7f635d8df
Merge selector: development [#METR-21840].
2016-10-30 12:13:30 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
f6f92cb7bc
Fixed error with falsely reported large memory consumption of long running INSERT queries [#METR-23288].
2016-10-25 17:22:10 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
cac493d0a0
Addition to prev. revision [#METR-23237].
2016-10-24 05:06:52 +03:00
Alexey Milovidov
32eeb84992
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc
translate config.xml and MergeTreeSettings.h
2016-10-23 22:13:10 +02:00
Alexey Milovidov
f05fa7695a
Removed useless code [#METR-2944].
2016-10-23 08:37:45 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Yuri Dyachenko
297a1547c5
more usable settings for delayed insert. issue: #METR-22563
2016-10-19 20:58:27 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +03:00
alexey-milovidov
8d7ba10835
Merge pull request #132 from ludv1x/METR-22802
...
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
alexey-milovidov
fad9272161
Merge pull request #137 from ludv1x/METR-22471
...
Fixed std::terminate on DROP of StorageReplicatedMergeTree
2016-10-14 23:28:39 +04:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
aa863ea7bb
Fixed std::terminate on DROP of StorageReplicatedMergeTree. [#METR-22471]
2016-10-14 13:17:05 +03:00
Alexey Milovidov
dce56bfeba
Implemented TODO [#METR-23132].
2016-10-14 05:51:03 +03:00
Vitaliy Lyudvichenko
ebbc9b9877
Added abilty to automatically update clusters configuration. [#METR-22802]
2016-10-11 17:17:49 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +03:00
Alexey Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Alexey Milovidov
469eebe4f0
Investigation [#METR-2944].
2016-09-04 20:12:07 +03:00
Alexey Milovidov
322e5031bd
Investigation [#METR-22327].
2016-09-02 07:03:40 +03:00
Alexey Arno
6c064ab55b
dbms: Better comment [#METR-18510]
2016-09-01 13:24:06 +03:00
Alexey Milovidov
0db84044e5
Better [#METR-22608].
2016-09-01 05:26:45 +03:00
alexey-milovidov
012f34a799
Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
...
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Alexey Milovidov
867b73b6b0
Fixed error with cancelling merges on ALTERs [#METR-22524].
2016-08-26 22:50:04 +03:00
Alexey Arno
cd0541134a
dbms: post-testing fixes [#METR-19266]
2016-08-24 03:39:38 +03:00
Alexey Milovidov
e0f3cbb432
Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462].
2016-08-22 23:34:21 +03:00
Alexey Milovidov
b3b2cd110a
Tiny modification [#METR-22327].
2016-08-13 04:59:09 +03:00
Alexey Arno
c74ee4e478
dbms: Code cleanup [#METR-19266]
2016-08-12 18:22:28 +03:00
Alexey Milovidov
6cc8dadd6d
Fixed error [#METR-21993].
2016-08-11 00:20:46 +03:00
Alexey Arno
f5d9d0ebc9
Merge branch 'master' into METR-19266 [#METR-19266]
2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Milovidov
d8eb52c189
Improvement [#METR-22352].
2016-08-10 10:20:21 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4b41c52747
Attempt to improve performance of replication queue processing [#METR-22352].
2016-08-09 23:39:28 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Milovidov
55ddf44693
Whitespaces [#METR-22173].
2016-08-05 05:40:45 +03:00
Alexey Milovidov
61b9996d9e
Better [#METR-22173].
2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a
Avoid copying ColumnWithTypeAndName [#METR-22173].
2016-08-05 02:35:07 +03:00
Alexey Milovidov
ee92f5d0cc
dbms: prefer fetching part from replica, in some cases [#METR-22288].
2016-08-02 22:02:00 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Arno
beeeb0ab13
dbms: NULL support for MergeTree [#METR-19266]
2016-07-21 19:22:24 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Arno
fa9829ad85
dbms: removed unused code [#METR-19266]
2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865
dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266]
2016-07-13 19:41:19 +03:00
Alexey Arno
6d753f05e6
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-12 21:08:16 +03:00
Alexey Arno
93ac3ee3a8
dbms: Server: Feature development. [#METR-19266]
2016-07-06 18:15:15 +03:00
Alexey Milovidov
5ded454986
Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884].
2016-06-28 23:50:37 +03:00
Alexey Milovidov
e8ffd48e49
Loosen safety threshold on amount of ALTER changes [#METR-21615].
2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435
Fixed error when too long merges cannot be successful [#METR-21616].
2016-06-06 22:16:34 +03:00
Alexey Milovidov
3e60a95cdd
Allowed subqueries in views [#METR-21586].
2016-06-06 21:19:28 +03:00
Vladimir Chebotarev
39c2c0f5a5
dbms, contrib: Clang 3.8 build fixes. [#METR-21516]
2016-05-31 14:06:27 +03:00
Alexey Milovidov
7651dcbc0a
Fixed error after moving to non-recursive mutex [#METR-21503].
2016-05-30 04:16:22 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
6a51b999da
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:50:16 +03:00
Alexey Milovidov
646d70a545
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
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
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802
Better exception message [#METR-21479].
2016-05-26 00:35:57 +03:00
Alexey Milovidov
92ca4ab538
Investigating [#METR-21326].
2016-05-19 23:24:41 +03:00
Alexey Milovidov
bf265e264a
Alter primary key: development [#METR-21119].
2016-05-17 02:04:03 +03:00
Alexey Milovidov
161e1c3ace
Merge
2016-05-16 21:52:55 +03:00
Alexey Milovidov
aeb57a512e
Removed wrong addition [#METR-21326].
2016-05-16 21:52:24 +03:00
Alexey Milovidov
2f1fead382
Merge
2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d
Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326].
2016-05-16 21:43:38 +03:00
Alexey Milovidov
6942819013
Altering primary key [#METR-21119].
2016-05-14 00:08:19 +03:00
Alexey Milovidov
834f6904a4
Fixed typo [#METR-2944].
2016-05-12 23:43:51 +03:00
Alexey Milovidov
eea75db9fb
Modify primary key: development [#METR-21119].
2016-05-05 21:28:46 +03:00
Alexey Milovidov
70273d65f6
Better diagnostics [#METR-21183].
2016-05-04 21:04:36 +03:00