Commit Graph

562 Commits

Author SHA1 Message Date
Alexey Milovidov
d3ae1267eb Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895]. 2017-03-20 23:29:12 +03:00
Ravengg
b47cc72701 Fix part log (#591)
* fix_part_log

* fixed language back

* add reset part_log back

* reset part_log when don't need more

* Fix header

* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
26788e3938 Formatting [#CLICKHOUSE-2]. 2017-03-13 21:01:46 +03:00
f1yegor
401425bb89 translate comments 2017-03-12 20:18:07 +01:00
Ravengg
b079dacfd1 Added part_log with statistics scripts (#549)
* Added part_log

* first_test

* filter and hits_res

* Add renamer and drawer

* Add columns database and table into PartLog

* Add normal way to get table_name and database_name from part

* improve drawer

* add stats for random size parts

* Merge converter and drawer

* make drawer more informative

* add new data

* add new data

* new data

* add long range stats

* for checking best way

* Add add_parts script

* Good style for global merge

* delete commented code

* Fixed spaces to tabs

* Note that Stopwatch is started automatically.

* Style

* Update StorageMergeTree.cpp

* Update StorageReplicatedMergeTree.cpp

* Switch act_time_ms to duration_ms

* Added ability to disable part_log

* fixed getPartLog

* fix usage getPartLog

* fix
2017-03-07 21:13:54 +04:00
Alexey Zatelepin
7090d0861a reinitialize primary key after ALTER [#CLICKHOUSE-2853] 2017-02-21 21:32:04 +04:00
Alexey Milovidov
c9b4a163be Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831]. 2017-02-12 01:31:22 +04:00
Alexey Zatelepin
aace171ef6 forbid multidimensional array columns in MergeTree tables [#CLICKHOUSE-2803] 2017-02-10 09:05:33 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9 Add requested PR changes. [#CLICKHOUSE-2145] [issue #325] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4 Add protection from accidental DROP queries. [#CLICKHOUSE-2184] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785 Add source_part_names column into system.merges. [#CLICKHOUSE-2145] 2017-01-24 22:26:29 +04:00
Alexey Milovidov
58e5dad1a1 Squashed commit of the following:
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:59:13 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:58:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:55:14 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:54:22 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:47:34 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:40:09 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:22:49 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:18:17 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:17:06 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:16:28 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:15:42 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:13:35 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:11:18 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:09:04 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:06:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:05:44 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:04:53 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:01:47 2017 +0300

    Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
d89ee33ce2 Squashed commit of the following:
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:35:01 2017 +0300

    Style [#METR-2944].

commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:33:11 2017 +0300

    Miscellaneous [#METR-2944].

commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:30:19 2017 +0300

    Miscellaneous [#METR-2944].

commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:11:41 2017 +0300

    Miscellaneous [#METR-2944].

commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:56:15 2017 +0300

    Miscellaneous [#METR-2944].

commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:47:52 2017 +0300

    Miscellaneous [#METR-2944].

commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:46:05 2017 +0300

    Miscellaneous [#METR-2944].

commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:39:46 2017 +0300

    Miscellaneous [#METR-2944].

commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:38:03 2017 +0300

    Miscellaneous [#METR-2944].

commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:34:15 2017 +0300

    Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Vitaliy Lyudvichenko
07d720565c Added profile events for INSERTs. [#METR-23930]
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e Added memory tracking events and columns for merges. [#METR-23911] 2016-12-31 02:39:53 +03:00
Alexey Milovidov
bba5dcbcfa Fixed deadlock [#METR-23557]. 2016-11-22 22:27:45 +03:00
Alexey Milovidov
e73e4e887a Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327]. 2016-11-18 05:34:34 +03:00
Alexey Milovidov
b19e61757e Little improvement for large number of small inserts [#METR-22327]. 2016-11-18 04:03:57 +03:00
Alexey Milovidov
74c3b30622 dbms: Simplified logic of selecting merges [#METR-21841]. 2016-10-28 01:50:02 +03:00
Alexey Milovidov
365be3c026 Fixed warning with gcc 6 [#METR-2944]. 2016-09-19 09:24:18 +03:00
Alexey Milovidov
322e5031bd Investigation [#METR-22327]. 2016-09-02 07:03:40 +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
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 Milovidov
b3b2cd110a Tiny modification [#METR-22327]. 2016-08-13 04:59:09 +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
cb7a458ac4 Added check [#METR-22325]. 2016-08-07 14:12:55 +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 Milovidov
5ded454986 Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884]. 2016-06-28 23:50:37 +03:00
Alexey Milovidov
47898ae73b Disabled implicit moving to PREWHERE when using FINAL [#METR-20644]. 2016-06-06 21:41:28 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +03:00
Alexey Milovidov
3c1c9d46f7 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 15:22:22 +03:00
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
8f50b30268 Alter primary key: development [#METR-21119]. 2016-05-18 00:07:10 +03:00
Alexey Milovidov
9a60b90941 Alter primary key: development [#METR-21119]. 2016-05-17 23:11:43 +03:00
Alexey Milovidov
d680a7f8da Alter primary key: development [#METR-21119]. 2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a Alter primary key: development [#METR-21119]. 2016-05-17 02:04:03 +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
07f04d70d3 Merge 2016-04-24 12:44:47 +03:00
Alexey Milovidov
3923c7abce Merge 2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce Preparation [#METR-20644]. 2016-04-15 20:13:51 +03:00
Alexey Milovidov
e1a80f5ded Added support for case when merged data differs from data on another replicas [#METR-20670]. 2016-03-31 04:25:16 +03:00
Alexey Milovidov
bb122a2fa7 dbms: less locking while clearing old parts; better while loading parts [#METR-2944]. 2016-02-14 14:02:47 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
4a35d9169f dbms: merges don't block ALTERs [#METR-18690]. 2015-11-06 20:34:48 +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 Milovidov
f356545bbe dbms: allowed DROP/DETACH partition on non-leader [#METR-17573]. 2015-10-03 00:28:19 +03:00
Alexey Milovidov
a531680a92 dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944]. 2015-09-24 07:13:06 +03:00
Andrey Mironov
244eabb54b dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063] 2015-09-21 15:13:11 +03:00
Alexey Milovidov
6571769d3b dbms: added setting 'select_sequential_consistency' [#METR-16779]. 2015-09-20 14:54:58 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
f1655cc62f Merge 2015-08-18 00:09:36 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
4899dd47aa dbms: get rid of 'increment.txt': addition [#METR-16629]. 2015-06-05 19:41:18 +03:00
Alexey Milovidov
9c78e95702 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:24:41 +03:00
Alexey Milovidov
76bfd2af21 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:08:12 +03:00
Alexey Milovidov
c19193cf61 Merge 2015-06-02 23:22:53 +03:00
Andrey Mironov
fb2828f256 Merge 2015-05-20 15:06:48 +03:00
Alexey Milovidov
cebe87f321 Merge 2015-05-05 21:22:59 +03:00
Andrey Mironov
77b2ef6f81 Merge 2015-04-21 16:10:08 +03:00
Alexey Milovidov
93ae68b68d dbms: probably fixed race condition (and flapping test) with ALTER ... DETACH and merge [#METR-2944]. 2015-04-16 14:30:34 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Alexey Arno
5cd9ed0582 dbms: Server: Added support for the client-side parameter min_bytes_to_use_direct_io in OPTIMIZE. [#METR-15090] 2015-04-10 18:31:51 +03:00
Alexey Milovidov
bba4b0c66c dbms: removed rare-useful repetitive log messages [#METR-2944]. 2014-12-21 04:27:56 +03:00
Andrey Mironov
3ebfd2fb7f dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6 dbms: stop merges on ALTER. [#METR-14032] 2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045 Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
fc9472ba47 dbms: pass proper context into Storage::read(). [#METR-14179] 2014-12-16 15:40:25 +03:00
Alexey Milovidov
d7a1abbbdc Merge 2014-11-22 05:22:30 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Andrey Mironov
847b91614a dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739] 2014-10-21 16:11:20 +04:00
Alexey Milovidov
d3664eac89 dbms: added setting replication_alter_partitions_sync [#METR-13158]. 2014-10-18 23:14:09 +04:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Alexey Milovidov
a2634c60d0 dbms: fixed error in prev. revisions [#METR-12524]. 2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224 Merge 2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e Merge 2014-10-03 21:57:01 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30:10 +04:00
Andrey Mironov
468b7af64e Merge 2014-10-03 14:19:34 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Alexey Milovidov
995bc9a5dd dbms: investigation [#METR-12784]. 2014-09-30 00:26:46 +04:00
Alexey Milovidov
f2c0ba3ba2 dbms: fixed error with merges [#METR-12767]. 2014-09-18 03:57:25 +04:00
Andrey Mironov
e3d8e4e48b initial implementation. [#METR-12574] 2014-09-10 15:34:26 +04:00
Michael Kolupaev
d9ae9876ce Merge 2014-08-13 12:08:40 +04:00
Michael Kolupaev
e9ef0705f3 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
8a41d7985a Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2c8e5cd239 Passing new db name to IStorage::rename. [#METR-12038] 2014-07-28 18:50:51 +04:00
Michael Kolupaev
90dc182f12 Merge 2014-07-23 19:24:51 +04:00
Michael Kolupaev
67b76568d3 Merge 2014-07-17 13:38:31 +04:00
Michael Kolupaev
007c0cedc1 fixed build and a bunch of other stuff. [#METR-11886] 2014-07-14 19:49:03 +04:00
Michael Kolupaev
62de3bc73a Merge 2014-07-14 16:24:22 +04:00
Michael Kolupaev
e26223d5c8 Merge 2014-07-11 16:47:45 +04:00
Michael Kolupaev
703b1d1c93 addition to previous commit. [#METR-11886] 2014-07-11 12:12:03 +04:00
Michael Kolupaev
a6fd9cd2bd Merge 2014-07-09 17:39:19 +04:00
Michael Kolupaev
15d9e39aa6 Merge 2014-07-02 16:30:38 +04:00
Alexey Milovidov
19d6a632b6 Fixed build [#METR-2807]. 2014-05-08 22:34:43 +04:00
Michael Kolupaev
ea9e8964f0 Merge 2014-05-08 11:12:01 +04:00
Michael Kolupaev
563e0bf025 Merge 2014-04-11 22:04:31 +04:00
Michael Kolupaev
541ead96e5 Merge 2014-04-11 19:53:32 +04:00
Michael Kolupaev
7ec176038c Merge 2014-04-11 17:05:20 +04:00
Michael Kolupaev
e3dfe90ffe Merge 2014-04-09 19:53:47 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Alexey Milovidov
0fc10a40ae dbms: tiny modification [#METR-2944]. 2014-04-06 05:19:02 +04:00
Michael Kolupaev
1b5b9a1f1e Merge 2014-04-04 16:47:57 +04:00
Michael Kolupaev
847128152e Merge 2014-04-04 14:37:33 +04:00
Michael Kolupaev
2b7cdfd950 Merge 2014-03-27 15:30:54 +04:00
Michael Kolupaev
6df8500852 Fixed dropping tables. [#METR-10202] 2014-03-20 17:28:49 +04:00
Michael Kolupaev
c5da5fd5f0 Merge 2014-03-20 17:00:42 +04:00
Michael Kolupaev
67c563a4d3 Added locks to IStorage. Some race conditions are fixed, some are introduced, along with some possible deadlocks. [#METR-10202] 2014-03-19 14:45:13 +04:00
Michael Kolupaev
5b67cc94ce Small style change. [#METR-10202] 2014-03-13 23:14:25 +04:00
Michael Kolupaev
2a766770fc Merge 2014-03-13 23:07:17 +04:00
Michael Kolupaev
00d9c28571 Merge 2014-03-13 21:44:00 +04:00
Michael Kolupaev
36a86a4fc9 Merge 2014-03-13 16:48:07 +04:00
Michael Kolupaev
58ea3b108b Merge 2014-03-09 21:36:01 +04:00
Pavel Kartavyy
5bc75d93b5 dbms: ignore missing files [#METR-10242] 2014-03-05 23:39:34 +04:00
Pavel Kartavyy
774206e517 Revert "dbms: ignore missed columns in alter [#METR-10242]"
This reverts commit 9060ec63fb8d81741171213fa1689c7f202c7ea9.
2014-03-05 23:32:34 +04:00
Pavel Kartavyy
becc2e21c7 dbms: ignore missed columns in alter [#METR-10242] 2014-03-05 23:06:32 +04:00
Pavel Kartavyy
6f5c19d4b4 dbms: fixed deadlock in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0abe7f6435 dbms: added sync [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
2c1629a9d2 dbms: added exception for nested and array types [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0b023ec06d dbms: added tab [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
108342491f dbms: added reset of cache in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
9c269c7b81 dbms: removed useless [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
ada47dcc44 dbms: bugfixes in alter [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
68540416c6 dbms: added code to modify column type [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
50fc514bf8 Merge 2014-03-05 22:20:55 +04:00
Alexey Milovidov
11001c52b4 dbms: fixed error [#METR-10257]. 2014-03-04 04:17:20 +04:00
Alexey Milovidov
46cb5ea0a2 Merge 2014-03-02 00:37:04 +04:00
Alexey Milovidov
78e9b847e0 dbms: style [#METR-10255]. 2014-03-01 00:19:00 +04:00
Michael Kolupaev
89e91f3dc4 Merge 2014-02-28 14:32:07 +04:00
Alexey Milovidov
7fb97708f3 dbms: removing old_ parts before attempt to merge [#METR-10069]. 2014-02-14 19:38:13 +00:00
Alexey Milovidov
b5923961ad dbms: allowed all rows to be removed while merging parts [#METR-9909]. 2014-02-09 22:07:01 +00:00
Alexey Milovidov
eba56181d2 dbms: Added comment [#METR-2944]. 2014-01-09 13:39:06 +00:00
Alexey Milovidov
febe35c0bf dbms: OPTIMIZE query is merging aggressive [#METR-9516]. 2013-12-16 03:51:30 +00:00
Sergey Fedorov
6fb0caf597 Merge 2013-12-13 16:20:06 +00:00
Sergey Fedorov
9ba96ea811 merge tree: sharedptr buf fixed, correct calculating directory size in bytes, a few more changes [METR-9279] [METR-9444] 2013-12-13 14:23:04 +00:00
Sergey Fedorov
aa56701c8a merge tree: fixed incorrect usage of Singleton [METR-9279] [METR-9444] 2013-12-12 15:12:18 +00:00
Sergey Fedorov
4787aefff9 merge tree: update in CurrentlyMergingInfo. Now looking on available disk space before merge [METR-9279] [METR-9444] 2013-12-12 14:11:40 +00:00
Sergey Fedorov
ee1fff79f2 merge tree: fixed currently merging vulnerability, added singleton with total merging files size [METR-9279] [METR-9444] 2013-12-12 13:54:16 +00:00
Alexey Milovidov
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +00:00
Alexey Milovidov
9690a3003b Merge 2013-12-09 00:29:24 +00:00
Sergey Fedorov
67745b8a7e Merge 2013-12-03 16:14:36 +00:00
Sergey Fedorov
544f935bcf Merge 2013-12-03 16:10:20 +00:00
Sergey Fedorov
10918b67cc Merge 2013-12-03 15:06:59 +00:00
Sergey Fedorov
2bc11e4271 Merge 2013-12-03 14:40:20 +00:00
Michael Kolupaev
4d85e7b1a4 Merge 2013-12-02 09:46:30 +00:00
Michael Kolupaev
596b2bc1d9 ClickHouse: Parsing and passing around PREWHERE condition. No actual filtering yet. [#METR-9091] 2013-11-28 13:16:46 +00:00
Pavel Kartavyy
06759d5f3e dbms: style fix 2013-11-13 09:47:12 +00:00
Alexey Milovidov
9fbaa3f823 dbms: removed now-useless log message [#METR-2944]. 2013-11-11 03:38:40 +00:00
Michael Kolupaev
99041b3173 Merge 2013-10-25 12:15:12 +00:00
Alexey Milovidov
ee6ca65243 Merge 2013-10-22 18:39:14 +00:00
Michael Kolupaev
d195799419 Merge 2013-10-03 12:46:17 +00:00
Alexey Milovidov
4ebdcee47e dbms: addition to prev. revision [#CONV-8806]. 2013-10-01 20:39:26 +00:00
Alexey Milovidov
c084250925 Merge 2013-09-30 19:54:25 +00:00
Alexey Milovidov
0629fb4fdd Merge 2013-09-30 01:29:19 +00:00
Pavel Kartavyy
1bf0490191 Merge 2013-09-23 12:01:19 +00:00
Pavel Kartavyy
37ed6f55d4 dbms: fixed error with missed .mrk file [#CONV-2944] 2013-09-19 15:20:31 +00:00
Alexey Milovidov
808cec6d53 Merge 2013-09-15 03:44:32 +00:00
Alexey Milovidov
fd4f4a9a86 dbms: fixed error [#CONV-2944]. 2013-09-14 05:14:22 +00:00
Alexey Milovidov
a47faab727 dbms: style [#CONV-2807]. 2013-09-13 23:52:10 +00:00
Alexey Milovidov
2be066285a dbms: lowered memory usage for merge operations [#CONV-8705]. 2013-09-13 23:28:40 +00:00
Alexey Milovidov
97b923fd7b dbms: uncompressed cache: better [#CONV-8661]. 2013-09-08 07:30:52 +00:00
Alexey Milovidov
efae271ae0 dbms: added uncompressed cache (experimental) [#CONV-8661]. 2013-09-08 05:53:10 +00:00
Pavel Kartavyy
18d1ee2eb2 Fixed incorrect working with nested tables in ALTER [#conv-8383] 2013-08-14 16:52:40 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Alexey Milovidov
c2fc882312 dbms: tiny improvements [#CONV-8383]. 2013-08-09 00:12:59 +00:00
Pavel Kartavyy
4c07a0bccb Merge 2013-08-08 09:50:15 +00:00
Pavel Kartavyy
a5c799d7a3 Merge 2013-08-07 13:07:42 +00:00
Vyacheslav Alipov
090aae8e7b propagated [de]serialization to storages and (in|out)put streams [#CONV-7967] 2013-07-12 13:35:05 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Michael Kolupaev
e8d77fe8ec Merge 2013-06-18 09:43:35 +00:00
Michael Kolupaev
84050bc8bb Merge 2013-06-04 11:00:33 +00:00
Michael Kolupaev
f7aedd227d Merge 2013-06-03 13:17:17 +00:00
Michael Kolupaev
dd72f5b8b8 clickhouse: switched to ExpressionAnalyzer [#CONV-7444]. 2013-06-03 10:18:41 +00:00
Michael Kolupaev
503ca18634 clickhouse: removed heuristic for FINAL [#CONV-7363]. 2013-05-20 15:48:38 +00:00
Michael Kolupaev
5c386bb038 clickhouse: fixed sampling [#CONV-7363]. 2013-05-15 11:32:31 +00:00
Michael Kolupaev
e03e85184f clickhouse: fixed FINAL ans SAMPLE broken by some changes in Expression [#CONV-7363]. 2013-05-15 09:55:09 +00:00
Alexey Milovidov
01177e16fe Merge 2013-05-06 12:15:34 +00:00
Alexey Milovidov
d38fd54295 dbms: fixed cyclic references (leak) [#CONV-2944]. 2013-05-05 20:07:11 +00:00
Alexey Milovidov
2efd1bc6b0 dbms: removed few cyclic SharedPtr references [#CONV-2944]. 2013-05-05 18:02:05 +00:00
Michael Kolupaev
e3999c23af clickhouse: code indentation [#CONV-2807]. 2013-04-29 11:34:06 +00:00
Michael Kolupaev
ffdeac3136 clickhouse: fixed FINAL with one data part [#CONV-7363]. 2013-04-29 11:20:10 +00:00
Michael Kolupaev
a34f86cc7b clickhouse: FINAL only returning positive rows [#CONV-7363]. 2013-04-26 13:20:42 +00:00
Michael Kolupaev
cd1183267c clickhouse: added CollapsingFinalBlockInputStream [#CONV-7363]. 2013-04-25 15:46:14 +00:00
Michael Kolupaev
12e73e0692 clickhouse: fixed reading sign column with FINAL modifier [#CONV-7363]. 2013-04-25 11:37:20 +00:00
Michael Kolupaev
fb180683c1 clickhouse: faster SELECT ... FINAL [#CONV-7363]. 2013-04-24 12:17:29 +00:00
Michael Kolupaev
a263b0b265 clickhouse: fixed FINAL [#CONV-7363]. 2013-04-24 11:39:12 +00:00
Michael Kolupaev
5be6bd2408 Merge 2013-04-24 10:31:32 +00:00
Michael Kolupaev
77ae92d8ab Merge 2013-04-23 11:35:09 +00:00
Michael Kolupaev
2c135ca1e2 clickhouse: slightly improved comment [#CONV-7363]. 2013-04-23 11:12:36 +00:00
Michael Kolupaev
d97d22919e Merge 2013-04-23 11:08:41 +00:00
Alexey Milovidov
2bf90fb924 Renamed file [#CONV-6992]. 2013-04-08 19:47:25 +00:00
Michael Kolupaev
7393b0033b Merge 2013-02-25 10:23:31 +00:00
Michael Kolupaev
fa771f6573 clickhouse: slightly refactored storages [#CONV-6561]. 2013-02-21 09:11:18 +00:00
Michael Kolupaev
0184d23e1c Merge 2013-02-14 11:22:56 +00:00
Michael Kolupaev
e7c3e10814 clickhouse: slightly refactored storage creation [#CONV-6561]. 2013-02-06 11:26:35 +00:00
Alexey Milovidov
7cc2871e30 dbms: allowed to send custom settings with query; sending current settings to remote servers for distributed query processing [#CONV-2944]. 2013-02-01 19:02:04 +00:00
Michael Kolupaev
c4b52f7232 clickhouse: fixed dropping tables [#CONV-6561]. 2013-01-23 17:43:19 +00:00
Michael Kolupaev
9b3b82c750 clickhouse: fixed segfault when a table is dropped while in use [#CONV-6561]. 2013-01-23 17:38:03 +00:00
Michael Kolupaev
572211a44a Merge 2013-01-23 11:16:32 +00:00
Alexey Milovidov
5b341830e9 Merge 2013-01-14 18:22:07 +00:00
Michael Kolupaev
190179d7ba dbms: fixed typo in comment [#CONV-2944]. 2013-01-09 10:19:24 +00:00
Alexey Milovidov
f800b5b769 dbms: using special array for Row and instead of std::vector<AggregateFunctionPlainPtrs> (experimental) [#CONV-2944]. 2013-01-07 00:57:43 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Alexey Milovidov
b312f42808 dbms: reverted previous modification [#CONV-2944]. 2012-12-16 00:23:41 +00:00
Alexey Milovidov
62a8ecc749 dbms: probably improved performance of inserting, merging and sorting [#CONV-2944]. 2012-12-15 23:10:14 +00:00
Alexey Milovidov
4a06e09f79 dbms: tiny improvement [#CONV-2944]. 2012-12-15 02:11:37 +00:00
Alexey Milovidov
2c9ff38ab2 dbms: fixed error [#CONV-2944]. 2012-12-13 20:28:10 +00:00
Michael Kolupaev
c77e8e98ef clickhouse: improved integer sample size processing [#6201]. 2012-12-13 10:08:54 +00:00
Michael Kolupaev
60bf093973 clickhouse: added minor diagnostic output [#6201]. 2012-12-13 09:38:36 +00:00
Michael Kolupaev
93143369ce clickhouse: added support for non-UInt32 sampling columns [#6201]. 2012-12-13 09:32:08 +00:00
Michael Kolupaev
a5e5b3dd9f clickhouse: fixed SAMPLE by count [#6201]. 2012-12-12 16:39:32 +00:00
Michael Kolupaev
b9de3987f2 clickhouse: fixed [#6201]. 2012-12-12 16:26:18 +00:00
Michael Kolupaev
b5681acdb7 clickhouse: fixed [#6201]. 2012-12-12 16:11:27 +00:00
Michael Kolupaev
81883201ec clickhouse: fixed [#6201]. 2012-12-12 15:45:08 +00:00
Michael Kolupaev
3f2da2d2e3 clickhouse: fixed [#6201]. 2012-12-12 15:37:43 +00:00
Michael Kolupaev
2350e09c51 clickhouse: fixed compiler warnings [#6201]. 2012-12-12 14:38:39 +00:00
Michael Kolupaev
42073f42ec clickhouse: added support for SAMPLE clause of SELECT query (works only in merge tree storage) [#6201]. 2012-12-12 14:25:55 +00:00
Alexey Milovidov
de13137958 dbms: changed signature of IDataType::serializeBinary [#CONV-2944]. 2012-12-11 20:31:39 +00:00
Michael Kolupaev
7f27cbbcb7 Merge 2012-12-10 10:23:10 +00:00
Alexey Milovidov
60ae1a07b1 dbms: fixed warning [#CONV-2944]. 2012-12-06 17:36:51 +00:00
Michael Kolupaev
2b9f4ca2bf Merge 2012-12-06 13:07:29 +00:00
Michael Kolupaev
35184afdc2 Merge 2012-12-06 12:51:15 +00:00
Michael Kolupaev
655b7e0300 Merge 2012-12-06 12:24:08 +00:00
Michael Kolupaev
8600340828 Merge 2012-12-06 11:48:41 +00:00
Michael Kolupaev
8f512c546a Merge 2012-12-06 11:10:05 +00:00
Michael Kolupaev
5555027deb Merge 2012-12-06 09:45:09 +00:00
Michael Kolupaev
03c96075f9 Merge 2012-12-05 13:39:38 +00:00
Michael Kolupaev
5c9f35b2a3 Merge 2012-12-05 13:31:33 +00:00
Michael Kolupaev
dba35f0364 Merge 2012-12-05 12:44:55 +00:00
Michael Kolupaev
b6139c17bc Merge 2012-12-03 10:43:25 +00:00
Michael Kolupaev
01fa6de3bc Merge 2012-12-03 10:03:47 +00:00
Michael Kolupaev
02973d945b clickhouse: fixed compiler warning [#CONV-6108]. 2012-12-03 09:39:04 +00:00
Michael Kolupaev
2d8026c0b0 Merge 2012-12-03 08:52:58 +00:00
Michael Kolupaev
c54004b880 Merge 2012-11-30 08:33:36 +00:00
Alexey Milovidov
b167cc3711 dbms: tiny improvement [#CONV-2944]. 2012-11-30 05:40:28 +00:00
Alexey Milovidov
5aa8c9efc4 Merge 2012-11-30 02:01:02 +00:00
Alexey Milovidov
a09c023956 dbms: addition to prev. revision [#CONV-2944]. 2012-11-30 00:59:02 +00:00
Alexey Milovidov
a0972784b1 Merge 2012-11-30 00:52:45 +00:00
Michael Kolupaev
e49cd16868 Merge 2012-11-29 17:43:23 +00:00
Michael Kolupaev
9ad859149f Merge 2012-11-29 17:04:12 +00:00
Michael Kolupaev
e255b5e249 Merge 2012-11-29 16:39:29 +00:00
Michael Kolupaev
21ef4655ca Merge 2012-11-29 12:26:34 +00:00
Michael Kolupaev
c2ba1fc202 Merge 2012-11-29 12:24:08 +00:00
Michael Kolupaev
fa2066d350 Merge 2012-11-29 11:50:16 +00:00
Michael Kolupaev
906f1f0026 Merge 2012-11-29 11:48:27 +00:00
Michael Kolupaev
5306e4e1ff Merge 2012-11-29 11:32:29 +00:00
Michael Kolupaev
8073045c7e Merge 2012-11-29 11:29:11 +00:00
Michael Kolupaev
982686f51c Merge 2012-11-29 10:50:17 +00:00
Michael Kolupaev
f55d19f71a Merge 2012-11-29 08:41:20 +00:00
Michael Kolupaev
912cf7c4eb Merge 2012-11-28 17:17:17 +00:00
Michael Kolupaev
58a4dc8d2d Merge 2012-11-28 13:29:30 +00:00
Michael Kolupaev
ae9c8ffc9b Merge 2012-11-28 11:49:14 +00:00
Michael Kolupaev
e200c1c478 Merge 2012-11-28 08:52:15 +00:00
Michael Kolupaev
fba19e8eb6 clickhouse: fixed possible deadlock [#CONV-6108]. 2012-11-22 17:57:10 +00:00
Alexey Milovidov
2ae2cf32bb dbms: fixed error [#CONV-2944]. 2012-11-20 22:48:38 +00:00
Michael Kolupaev
336d483d06 Merge 2012-11-19 18:04:50 +00:00
Alexey Milovidov
1a7af177cd dbms: development [#CONV-2944]. 2012-10-20 02:10:47 +00:00
Alexey Milovidov
f77216b3de Merge 2012-09-22 07:30:40 +00:00
Alexey Milovidov
e6cb036898 dbms: fixed error [#CONV-2944]. 2012-09-10 19:05:06 +00:00
Alexey Milovidov
0652f9da96 dbms: development [#CONV-2944]. 2012-08-31 20:38:05 +00:00
Alexey Milovidov
325c02d43a dbms: development [#CONV-2944]. 2012-08-31 18:40:21 +00:00
Alexey Milovidov
c9e3956100 dbms: development [#CONV-2944]. 2012-08-30 20:35:02 +00:00
Alexey Milovidov
f594dcebd0 dbms: development [#CONV-2944]. 2012-08-30 17:43:31 +00:00
Alexey Milovidov
692805fa39 dbms: development [#CONV-2944]. 2012-08-29 20:23:19 +00:00
Alexey Milovidov
c25456d09c dbms: development [#CONV-2944]. 2012-08-21 15:37:29 +00:00
Alexey Milovidov
88d79b7bb3 dbms, ███████████: development [#CONV-5417]. 2012-08-20 05:32:50 +00:00
Alexey Milovidov
e94f780d47 dbms: development [#CONV-2944]. 2012-08-16 19:03:02 +00:00
Alexey Milovidov
2fd184302d dbms: development [#CONV-2944]. 2012-08-16 18:17:01 +00:00
Alexey Milovidov
f9027b8f0e dbms: development [#CONV-2944]. 2012-08-16 17:27:40 +00:00
Alexey Milovidov
0d5710f04a dbms: development [#CONV-2944]. 2012-08-13 20:16:06 +00:00
Alexey Milovidov
598614b624 dbms: development [#CONV-2944]. 2012-08-13 19:13:11 +00:00
Alexey Milovidov
cf9279b789 Merge 2012-08-10 20:04:34 +00:00
Alexey Milovidov
788ea2a552 dbms: development [#CONV-2944]. 2012-08-07 20:37:45 +00:00
Alexey Milovidov
061a75785b dbms: development [#CONV-2944]. 2012-08-02 17:33:31 +00:00
Alexey Milovidov
53b7f03c44 dbms: development [#CONV-2944]. 2012-08-01 20:08:59 +00:00
Alexey Milovidov
83337ec474 dbms: development [#CONV-2944]. 2012-07-31 20:30:13 +00:00
Alexey Milovidov
19a3e788e9 dbms: development [#CONV-2944]. 2012-07-31 20:13:14 +00:00
Alexey Milovidov
76c691f96a dbms: development [#CONV-2944]. 2012-07-31 20:03:53 +00:00
Alexey Milovidov
b0a8f84c14 dbms: development [#CONV-2944]. 2012-07-31 19:08:49 +00:00
Alexey Milovidov
5646959300 dbms: development [#CONV-2944]. 2012-07-31 18:25:16 +00:00
Alexey Milovidov
50af0bc1c4 dbms: development [#CONV-2944]. 2012-07-31 18:15:51 +00:00
Alexey Milovidov
db924e76d0 dbms: development [#CONV-2944]. 2012-07-31 17:33:08 +00:00
Alexey Milovidov
5e1e2742b6 dbms: development [#CONV-2944]. 2012-07-31 17:22:40 +00:00
Alexey Milovidov
4f5115cc3d dbms: development [#CONV-2944]. 2012-07-31 17:14:11 +00:00
Alexey Milovidov
4bd8509fab dbms: development [#CONV-2944]. 2012-07-31 17:07:20 +00:00
Alexey Milovidov
6d27ecd869 dbms: development [#CONV-2944]. 2012-07-31 16:58:37 +00:00
Alexey Milovidov
a8ea14641f dbms: development [#CONV-2944]. 2012-07-31 16:57:25 +00:00
Alexey Milovidov
bdeb4e7200 Merge 2012-07-31 16:37:20 +00:00
Alexey Milovidov
d01baf5125 dbms: development [#CONV-2944]. 2012-07-30 20:32:36 +00:00
Alexey Milovidov
c878d6c7b8 dbms: development [#CONV-2944], 2012-07-23 06:23:29 +00:00