Commit Graph

414 Commits

Author SHA1 Message Date
Alexey Milovidov
d420486522 dbms: improved performance on short queries [#METR-11571]. 2014-06-20 23:56:45 +04:00
Alexey Milovidov
653c138564 dbms: lowered max delay of insert [#METR-11520]. 2014-06-20 22:45:19 +04:00
Michael Kolupaev
ed26098886 Merge 2014-05-14 21:51:43 +04:00
Michael Kolupaev
728bdf4928 Merge 2014-05-13 15:24:16 +04:00
Alexey Milovidov
8198d86f5a dbms: fixed errors on clang [#METR-2807]. 2014-05-12 04:45:50 +04:00
Alexey Milovidov
0abc554493 dbms: tracking amount of memory usage per query [#METR-11015]. 2014-05-04 02:57:43 +04:00
Alexey Milovidov
fc8aa282c0 dbms: lowered default block size; introduced default insert block size [#METR-11014].. 2014-04-30 00:22:57 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
da3cec39b1 dbms: addition to prev. revision [#METR-10988]. 2014-04-29 04:25:12 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Sergey Fedorov
c139a6d209 dbms: fixed bug in merge tree output stream: compression of min block now runs at the right moment [METR-10570] 2014-04-22 19:36:21 +04:00
Michael Kolupaev
d5215ae37e Better handling of old checksums files. [#METR-10202] 2014-04-18 13:55:25 +04:00
Michael Kolupaev
f362d03611 Merge 2014-04-14 14:19:38 +04:00
Pavel Kartavyy
d038e8631a dbms: improvements [#METR-10498] 2014-04-09 11:28:44 +04:00
Sergey Fedorov
ecc697cd2c Merge 2014-04-08 19:29:12 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
be281c42a4 dbms: removed useless code [#METR-2944]. 2014-04-08 10:52:56 +04:00
Alexey Milovidov
34bf7dd0ae Removed useless code [#METR-2807]. 2014-04-08 10:51:53 +04:00
Alexey Milovidov
c0db3d0328 dbms: removed useless file [#METR-2944]. 2014-04-08 10:29:02 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Pavel Kartavyy
049db94426 dbms: development [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
a737895eb4 build fix [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
14168120f1 development [#METR-10498] 2014-04-07 20:29:25 +04:00
Michael Kolupaev
954a97764c Merge 2014-04-04 17:27:47 +04:00
Alexey Milovidov
8a834d3025 dbms: added checking of max_query_size [#METR-10718]. 2014-04-04 06:27:01 +04:00
Alexey Milovidov
1246d54830 Merge 2014-04-03 20:23:31 +04:00
Michael Kolupaev
b4d85c1676 Merge 2014-04-03 15:48:28 +04:00
Michael Kolupaev
5542aa8f2d Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-03 11:14:42 +04:00
Alexey Milovidov
eb1e9ddbab dbms: removed useless memset, lowered default max_query_size [#METR-10718]. 2014-04-02 22:38:17 +04:00
Michael Kolupaev
b92f1ff480 Merge 2014-04-02 17:45:39 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Michael Kolupaev
f885e8680b Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-02 14:29:54 +04:00
Michael Kolupaev
8fc53a7020 Merge 2014-04-02 11:59:43 +04:00
Alexey Milovidov
33338e0d2e dbms: fixed compatibility [#METR-10667]. 2014-04-02 03:42:26 +04:00
Sergey Fedorov
6395e841f9 Merge 2014-03-28 18:36:24 +04:00
Sergey Fedorov
9d3da47428 protocol: commets on sending external tables [METR-10071] 2014-03-28 16:19:59 +04:00
Michael Kolupaev
634c33c766 Merge 2014-03-27 21:49:08 +04:00
Michael Kolupaev
347c8c9047 Merge 2014-03-27 21:42:19 +04:00
Sergey Fedorov
5237f8b6ca dbms: fixed cancelling input stream in tcphandler [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
9ecf7b3f79 defines: fixed DBMS_MIN_REVISION_WITH_TEMPORARY_TABLES to correct value [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
6f85a12692 dbms: fixed variable names, temporary tables are now external tables, in distributed query external table now always will be send to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
0c59630ddc temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071] 2014-03-27 16:06:44 +04:00
Michael Kolupaev
db3c061396 Added checksums to data parts. Not writing them yet. [#METR-10202] 2014-03-27 15:29:40 +04:00
Michael Kolupaev
7b6ce30656 Merge 2014-03-22 18:44:44 +04:00
Michael Kolupaev
7084f03ab9 Merge 2014-03-21 23:17:59 +04:00
Michael Kolupaev
750cb44f94 Merge 2014-03-21 17:42:14 +04:00
Michael Kolupaev
e10125a052 Using IStorage locks properly in most places. Got rid of StoragePtr and DatabaseDropper. Drops are now synchronous. [#METR-10202] 2014-03-20 14:59:45 +04:00
Alexey Milovidov
8c87b14c7f Fixed warnings on clang [#METR-2807]. 2014-03-10 08:17:17 +04:00
Alexey Milovidov
cd2e6663a5 dbms: tiny improvement [#METR-10240]. 2014-03-07 07:58:13 +04:00
Alexey Milovidov
c6bee512eb Revert "temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071]"
This reverts commit 6e6ca1f129b685e6271de1ccaf48a32f7e137d9e.
2014-03-04 23:01:22 +04:00
Sergey Fedorov
8d012adee3 temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071] 2014-03-04 19:31:56 +04:00
Alexey Milovidov
dec6f09c41 dbms: tiny usability improvement [#METR-2944]. 2014-03-02 23:52:55 +04:00
Alexey Milovidov
f20d8967b1 dbms: tiny fix [#METR-2944]. 2014-03-02 23:36:53 +04:00
Michael Kolupaev
3ec260bad2 Added setting for totals mode. [#METR-9365] 2014-02-27 16:51:58 +04:00
Alexey Milovidov
fee77d6c98 dbms: Fixed error with incorrect handling of weird case (column names with whitespaces) [#METR-10225]. 2014-02-26 23:50:04 +04:00
Alexey Milovidov
8e4b2ab015 dbms: removed useless define [#METR-2944]. 2014-02-20 04:15:18 +04:00
Michael Kolupaev
25a33cdeed reverted accidentally committed changes. [#METR-8818] 2014-02-17 10:32:21 +00:00
Michael Kolupaev
228b2f6f8a clickhouse: client with string query_id now works with old-versioned server (probably for real this time). [#METR-8818] 2014-02-17 10:27:18 +00:00
Sergey Fedorov
b75fe2f6eb dbms: query Id is String valued now, show process list also shows query_id, query_id is stored in processlist, now query could be replaced [METR-8818] 2014-02-12 17:31:02 +00:00
Pavel Kartavyy
92d5a9c302 dbms: added default_sample [#METR-9464] 2014-01-28 19:26:39 +00:00
Sergey Fedorov
8beae0f470 functions: substitutions in replaceRegexp functions [METR-9582] 2014-01-28 13:02:37 +00:00
Michael Kolupaev
936fc15640 clickhouse: better error message when an aggregate function is missing. [#METR-9590] 2014-01-13 11:29:24 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
16ed91c728 dbms: tiny modification [#METR-2944]. 2014-01-08 16:23:31 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Sergey Fedorov
6fb0caf597 Merge 2013-12-13 16:20:06 +00:00
Pavel Kartavyy
b64633e2a0 dbms: enable to write like: Set load_balancing = 'nearest_hostname' [#METR-9350] 2013-12-11 11:51:08 +00:00
Pavel Kartavyy
b9caf82430 dbms: added nearest_host mode to ConnectionPoolWithFailover [#METR-9350] 2013-12-10 17:07:09 +00:00
Michael Kolupaev
e4dbb2fa34 ClickHouse: added a method for debugging. [#METR-9091] 2013-12-05 12:46:29 +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
Alexey Milovidov
025531e1c5 dbms: better [#METR-9194]. 2013-11-18 19:18:03 +00:00
Alexey Milovidov
405f03d437 dbms: less copying of blocks; improvement [#METR-2944]. 2013-11-17 19:14:17 +00:00
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Alexey Milovidov
a3caaef38a dbms: better exception handling [#METR-2944]. 2013-11-02 23:42:10 +00:00
Alexey Milovidov
a907109ff8 Field: removed useless hash function [#METR-2807]. 2013-11-02 22:20:58 +00:00
Alexey Milovidov
8fd01c8d7d dbms: better comparison of floating point numbers with NaNs [#METR-9053]. 2013-11-01 20:10:43 +00:00
Sergey Fedorov
f7a6316abd dbms: Moved addingDefault logic into the Block class [#METR-9001] 2013-10-28 16:09:42 +00:00
Alexey Milovidov
c145c316de dbms: better exception message [#METR-2944]. 2013-10-26 03:53:51 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Michael Kolupaev
491480e79c ClickHouse: fixed and claened up ARRAY JOIN a little. [#CONV-8821] 2013-10-21 11:33:25 +00:00
Alexey Milovidov
67f4542bd0 dbms: more verbose messages on network errors [#CONV-8224]. 2013-10-20 06:04:51 +00:00
Michael Kolupaev
1cab77c753 Added support for multiple expressions in ARRAY JOIN section. There are known issues. Sorry for automatic indentation changes. [#CONV-8821] 2013-10-17 13:32:32 +00:00
Michael Kolupaev
61213cd547 ClickHouse: Added function arrayEnumerateUniq. [#CONV-8821] 2013-10-11 11:43:50 +00:00
Michael Kolupaev
6a63256dc9 ClickHouse: throwing exception on nested nested types. [#CONV-2807] 2013-10-11 07:41:13 +00:00
Alexey Milovidov
f148f00ee2 ███████████: removed ClickURLHash; saving all clicks as nested data [#CONV-8761]. 2013-10-04 20:15:42 +00:00
Alexey Milovidov
717a3fc591 dbms: fixed MergingSortedBlockInputStreams when one of stream is empty [#CONV-2944]. 2013-09-15 03:14:29 +00:00
Alexey Milovidov
1acad2acb1 Merge 2013-09-15 01:10:16 +00:00
Alexey Milovidov
2be066285a dbms: lowered memory usage for merge operations [#CONV-8705]. 2013-09-13 23:28:40 +00:00
Alexey Milovidov
861ae81325 dbms: updated config and defaults [#CONV-8661]. 2013-09-08 10:16:55 +00:00
Alexey Milovidov
23be968064 dbms: added waiting when too much queries [#CONV-8692]. 2013-09-07 04:54:59 +00:00
Alexey Milovidov
c69f353a17 dbms: added calculation of min/max [#CONV-8691]. 2013-09-07 02:03:13 +00:00
Alexey Milovidov
c7d8723a54 dbms: sending totals as separate packet [#CONV-8366]. 2013-09-05 20:22:43 +00:00
Alexey Milovidov
d055d54380 dbms: added SHOW PROCESSLIST query and 'max_concurrent_queries' setting [#CONV-8665] [#CONV-8664]. 2013-09-03 20:21:28 +00:00
Alexey Milovidov
4001d37bb7 dbms: quotas: development [#CONV-8459]. 2013-08-12 00:36:18 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Alexey Milovidov
0698d868c5 dbms: development of users [#CONV-8458]. 2013-08-11 00:48:28 +00:00
Alexey Milovidov
c4427e29fa dbms: addition to prev. revision [#CONV-8458]. 2013-08-11 00:09:03 +00:00
Alexey Milovidov
f3f6268ee5 dbms: users: development [#CONV-8458]. 2013-08-10 09:04:45 +00:00
Alexey Milovidov
f06d0148ba dbms: development of users and ACLs [#CONV-8458]. 2013-08-10 07:46:45 +00:00
Alexey Milovidov
8c6edb5a7b dbms: addition to prev. revision [#CONV-2944]. 2013-08-04 01:10:14 +00:00
Alexey Milovidov
37d10ba1e8 dbms: added comment [#CONV-2944]. 2013-08-04 00:58:07 +00:00
Alexey Milovidov
b74f610397 dbms: fixed error when receiving incorrect packet type [#CONV-2944]. 2013-08-04 00:42:35 +00:00
Vyacheslav Alipov
adf9e506f4 added nested arrays offsets check [#CONV-7967] 2013-08-02 14:26:04 +00:00
Vyacheslav Alipov
834b2bc8be added new type of Action: MULTIPLE_ARRAY_JOIN [#CONV-7967] 2013-07-26 13:46:52 +00:00
Alexey Milovidov
d3d9aa327e dbms: improved performance of aggregation by many fields: lowered number of allocs; more direct memory layout; don't use temporary Fields; lowered memory consumption [#CONV-2944]. 2013-06-30 16:56:00 +00:00
Alexey Milovidov
4da27ecd38 Addition to prev. revision [#CONV-7951]. 2013-06-21 23:27:26 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Michael Kolupaev
2d620a3aa1 clickhouse: added oveloads for higher order array functions [#CONV-7444]. 2013-06-20 12:27:33 +00:00
Vyacheslav Alipov
7f91afaf20 limits for IN and DISTINCT [not tested] [#CONV-7934] 2013-06-20 12:12:27 +00:00
Vyacheslav Alipov
cbae7f6c44 added comments, fixed non-emptiness of SelectSampleBlock [#CONV-7906] 2013-06-19 13:09:28 +00:00
Vyacheslav Alipov
fee4726953 implemented using revision version [#CONV-7906] 2013-06-18 14:12:10 +00:00
Alexey Milovidov
e853c4b320 dbms: don't write .sql files for ChunkRef tables [#CONV-7889]. 2013-06-17 07:01:31 +00:00
Alexey Milovidov
3b1cb6ef77 dbms: fixed error; improvement [#CONV-2944]. 2013-06-15 06:14:41 +00:00
Alexey Milovidov
c6b7353467 dbms: improved loading speed [#CONV-2944]. 2013-06-15 05:19:01 +00:00
Alexey Milovidov
9d1142b028 dbms: fixed error [#CONV-7444]. 2013-06-08 20:19:29 +00:00
Michael Kolupaev
452a233030 clickhouse: added function prerequisite support [#CONV-7444]. 2013-06-04 13:34:46 +00:00
Vyacheslav Alipov
7c9a0f8ac1 renamed methods with collator in ColumnString, removed catching exception [#CONV-7651] 2013-05-30 14:28:27 +00:00
Michael Kolupaev
813c79061a clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-29 11:46:51 +00:00
Vyacheslav Alipov
f1c161842b added collation [#CONV-7651] 2013-05-28 16:56:05 +00:00
Michael Kolupaev
fa4d2dd10b clickhouse: ExpressionAnalyzer: development, fixed build [#CONV-7444]. 2013-05-28 11:54:37 +00:00
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Vyacheslav Alipov
96fd8665db fixed revision define [#CONV-7549] 2013-05-22 14:58:30 +00:00
Vyacheslav Alipov
8501644704 works with client now [#CONV-7549] 2013-05-22 14:57:43 +00:00
Alexey Milovidov
ed45b776a1 ███████████: fixed error [#CONV-7591]. 2013-05-20 20:06:44 +00:00
Alexey Milovidov
af6a7b2697 DB/IO: improved writing strings [#CONV-2807]. 2013-05-15 22:58:57 +00:00
Michael Kolupaev
48c5dedb42 clickhouse: added parsing of lambda-expressions [#CONV-7444]. 2013-05-08 09:52:02 +00:00
Alexey Milovidov
85664affbf dbms: development of multi-queries [#CONV-2944]. 2013-05-03 10:20:53 +00:00
Alexey Milovidov
81418b287e dbms: removed IColumn::clear function [#CONV-7486]. 2013-05-03 03:23:41 +00:00
Michael Kolupaev
d97d22919e Merge 2013-04-23 11:08:41 +00:00
Alexey Milovidov
10358a3940 ███████████: using UATraits [#CONV-7042]. 2013-04-09 19:04:25 +00:00
Alexey Milovidov
d5463a550a ███████████: improvement [#CONV-7027]. 2013-03-29 01:47:34 +00:00
Alexey Milovidov
03e991c3cd Fixed error with strong typedef [#CONV-7027]. 2013-03-28 22:22:04 +00:00
Evgeniy Gatov
5fa50a6b58 dbms, ███████████: slightly better [#CONV-6826]. 2013-03-28 10:48:26 +00:00
Michael Kolupaev
c61f5c756a dbms: added writeText for Array [#CONV-6825]. 2013-03-11 10:29:41 +00:00
Evgeniy Gatov
964ff3a2a5 dbms: added DB::Array binary serialization, requered for ███████████; tiny comment fix [#CONV-6668]. 2013-03-09 05:44:26 +00:00
Evgeniy Gatov
a402f24711 dbms: fix for DB::Array [#CONV-6668]. 2013-02-25 23:08:25 +00:00
Michael Kolupaev
63b2d9cc82 clickhouse: clickhouse-client return code is exception code [#CONV-2944]. 2013-02-21 10:40:18 +00:00
Michael Kolupaev
40d71ab381 clickhouse: added DESCRIBE and SHOW CREATE queries, fixed formatting queries with FORMAT section [#CONV-6766]. 2013-02-21 10:02:33 +00:00
Alexey Milovidov
10a41c00f4 dbms: added profiles of settings [#CONV-2944]. 2013-02-17 19:54:32 +00:00
Alexey Milovidov
4b1888ecf3 dbms: fixed error with division [#CONV-2944]. 2013-02-16 21:23:55 +00:00
Michael Kolupaev
eac9f3c337 clickhouse: fixed some alias issues [#CONV-2944]. 2013-02-11 17:30:09 +00:00
Alexey Milovidov
f63c86b53a dbms: improvement [#CONV-2944]. 2013-02-09 02:20:26 +00:00
Alexey Milovidov
d4c64603a2 dbms: improvement of aggregation (incomplete) [#CONV-2944]. 2013-02-08 19:34:44 +00:00
Michael Kolupaev
746d879e44 clickhouse: added ChunkRef storage [#CONV-6705]. 2013-02-07 13:40:59 +00:00
Michael Kolupaev
6f2c6559c8 clickhouse: added Chunks storage [#CONV-6705]. 2013-02-07 13:03:19 +00:00
Michael Kolupaev
8caa22efe7 clickhouse: presumably fixed crash on cyclic aliases and null pointer when an alias is used before being declared [#CONV-6703]. 2013-02-06 14:20:18 +00:00
Alexey Milovidov
35c9215c3a dbms: added missing modification [#CONV-2944]. 2013-02-04 03:33:16 +00:00
Alexey Milovidov
3891f4a230 dbms: improved performance for queries with large aggregation result [#CONV-2944]. 2013-02-03 23:11:21 +00:00