Commit Graph

333 Commits

Author SHA1 Message Date
Alexey Arno
ce2abcabdd dbms: Server: In the code managing asynchronous writes, fill with zeroes the portion of the buffer that is eventually truncated in order to keep Valgrind quiet. [#METR-15090] 2015-05-14 01:17:28 +03:00
Alexey Arno
5d0e5ec60c dbms: Server: better designed initialization. Does not change anything. [#METR-15090] 2015-05-14 00:28:28 +03:00
Pavel Kartavyy
6f1f6e3d99 Merge 2015-05-12 17:44:10 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Alexey Arno
47b9cd0dd6 dbms: Server: Small cosmetic cleanup. [#METR-15090] 2015-04-30 18:04:42 +03:00
Alexey Arno
fe683b8c78 dbms: Server: Remove unneeded event statistics. [#METR-15090] 2015-04-30 16:25:34 +03:00
Alexey Arno
31faf89c70 dbms: Server: Further simplified the business logic: no more calls to fcntl. [#METR-15090] 2015-04-22 19:05:48 +03:00
Alexey Arno
cd24f85cfe dbms: Server: Reduced the number of open files. [#METR-15090] 2015-04-22 16:37:30 +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 Arno
beddce0927 dbms: Server: unit tests cleanup. [#METR-15090] 2015-04-15 13:07:48 +03:00
Alexey Arno
d35e4d0e4d dbms: Server: Code cleanups. [#METR-15090] 2015-04-14 16:44:38 +03:00
Alexey Arno
341fed3e49 dbms: Server: Code cleanups. [#METR-15090] 2015-04-14 14:35:10 +03:00
Alexey Arno
e27cb9cb75 Merge 2015-04-13 18:02:39 +03:00
Alexey Arno
b5c1932b8c Merge 2015-04-10 20:51:39 +03:00
Alexey Arno
c7ab47d84d dbms: Server: min_bytes_to_use_direct_io = 0 means no AIO; various cleanups. [#METR-15090] 2015-04-10 20:09:16 +03:00
Alexey Arno
aabd7b8320 Merge 2015-04-09 00:59:23 +03:00
Alexey Arno
cc3577bc5e dbms: Server: feature development. [#METR-15090] 2015-04-07 17:16:49 +03:00
Alexey Arno
76df76b844 dbms: Server: feature development. [#METR-15090] 2015-04-07 15:36:51 +03:00
Alexey Arno
47fa16ef3b dbms: Server: feature development. [#METR-15090] 2015-04-07 15:08:08 +03:00
Alexey Arno
ec556cddac dbms: Server: feature development. [#METR-15090] 2015-04-07 14:43:23 +03:00
Alexey Arno
52e6f5d428 dbms: Server: feature development. [#METR-15090] 2015-04-07 13:49:48 +03:00
Alexey Arno
59ebe53759 dbms: Server: feature development. [#METR-15090] 2015-04-07 03:04:36 +03:00
Alexey Arno
a452e4a3a9 dbms: Server: feature development. [#METR-15090] 2015-04-07 03:01:36 +03:00
Alexey Arno
c7a4225f0e dbms: Server: feature development. [#METR-15090] 2015-04-07 02:21:20 +03:00
Alexey Arno
5312a1b17d dbms: Server: feature development. [#METR-15090] 2015-04-07 01:33:52 +03:00
Alexey Arno
ee75917084 dbms: Server: feature development. [#METR-15090] 2015-04-06 18:19:10 +03:00
Alexey Arno
45e05b44ef dbms: Server: feature development. [#METR-15090] 2015-04-06 18:10:09 +03:00
Alexey Arno
d9452e86f4 dbms: Server: feature development. [#METR-15090] 2015-04-06 16:18:28 +03:00
Alexey Arno
57c58f3ad7 dbms: Server: feature development. [#METR-15090] 2015-04-06 16:05:26 +03:00
Alexey Arno
60a3558718 dbms: Server: feature development. [#METR-15090] 2015-04-06 15:27:11 +03:00
Alexey Arno
444107f40a dbms: Server: feature development. [#METR-15090] 2015-04-06 14:54:08 +03:00
Alexey Arno
985e3cf1ec dbms: Server: feature development. [#METR-15090] 2015-04-05 23:04:55 +03:00
Alexey Arno
50d103a4c2 dbms: Server: feature development. [#METR-15090] 2015-04-05 20:09:23 +03:00
Alexey Arno
bc9ec44a61 dbms: Server: feature development. [#METR-15090] 2015-04-05 19:48:41 +03:00
Alexey Arno
ad1c5a36cf dbms: Server: feature development. [#METR-15090] 2015-04-05 18:54:16 +03:00
Alexey Arno
1a628a512f dbms: Server: feature development. [#METR-15090] 2015-04-05 01:24:41 +03:00
Alexey Arno
7cdc460f96 dbms: Server: feature development. [#METR-15090] 2015-04-04 01:44:32 +03:00
Alexey Arno
4cccd8548e dbms: Server: feature development. [#METR-15090] 2015-04-03 16:45:44 +03:00
Alexey Arno
fa89f1643e dbms: Server: feature development. [#METR-15090] 2015-04-03 14:51:41 +03:00
Alexey Milovidov
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
1654320fb7 dbms: updated comment [#METR-2944]. 2015-03-31 23:46:44 +03:00
Alexey Arno
f847b5d641 dbms: Server: feature development. [#METR-15090] 2015-03-31 15:23:22 +03:00
Alexey Arno
3413657675 dbms: Server: feature development. [#METR-15090] 2015-03-31 01:10:59 +03:00
Alexey Arno
6a4ec3019d dbms: Server: feature development. [#METR-15090] 2015-03-30 18:39:55 +03:00
Alexey Arno
edaf451117 dbms: Server: feature development. [#METR-15090] 2015-03-30 15:17:09 +03:00
Alexey Arno
254117ddea dbms: Server: feature development. [#METR-15090] 2015-03-30 14:42:10 +03:00
Alexey Arno
a4aa640c64 dbms: Server: feature development. [#METR-15090] 2015-03-30 12:59:16 +03:00
Alexey Arno
e48c4dc0d4 dbms: Server: feature development. [#METR-15090] 2015-03-30 11:55:40 +03:00
Alexey Arno
00209e7bbb dbms: Server: feature development. [#METR-15090] 2015-03-27 19:53:01 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
21259c6f3e dbms: Server: feature development. [#METR-15090] 2015-03-25 18:30:48 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Alexey Arno
3a2fa12708 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:44:55 +03:00
Alexey Arno
3c65c6d1c5 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:17:51 +03:00
Alexey Arno
6789e6327c dbms: Server: feature development. [#METR-15090] 2015-03-25 17:15:50 +03:00
Alexey Arno
9f6d66a285 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:14:06 +03:00
Alexey Arno
33460bb5ea dbms: Server: feature development. [#METR-15090] 2015-03-24 17:01:53 +03:00
Alexey Arno
1d0bd25480 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:05:49 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Alexey Arno
1ef29358d6 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:52:13 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
2ec5cd0506 dbms: Server: feature development. [#METR-15090] 2015-03-19 13:06:11 +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
53c1253ffe dbms: Server: feature development. [#METR-15090] 2015-03-17 00:39:27 +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 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 Arno
f8cec8213d dbms: Server: Fix typo [#METR-15090] 2015-03-13 17:07:31 +03:00
Alexey Arno
b5cbb2b46c dbms: Server: Fix typo [#METR-15090] 2015-03-13 16:52:28 +03:00
Alexey Arno
9e65fb7d95 dbms: Server: feature development. [#METR-15090] 2015-03-13 16:14:31 +03:00
Alexey Arno
e20bafa7dd dbms: Server: feature development. [#METR-15090] 2015-03-13 15:27:31 +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
7061e302ec dbms: Server: feature development. [#METR-15090] 2015-03-12 18:38:22 +03:00
Alexey Arno
eb8a0fdc16 dbms: Server: feature development. [#METR-15090] 2015-03-12 17:09:22 +03:00
Alexey Arno
ee09fc9124 dbms: Server: feature development. [#METR-15090] 2015-03-12 15:36:18 +03:00
Alexey Arno
9dbbaf8c38 dbms: Server: feature development. [#METR-15090] 2015-03-11 20:27:34 +03:00
Alexey Arno
c132a7c428 dbms: Server: feature development. [#METR-15090] 2015-03-11 18:28:43 +03:00
Alexey Arno
039385df87 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:47:52 +03:00
Alexey Arno
a7968c5590 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:32:32 +03:00
Alexey Arno
f3b6be50e3 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:02:38 +03:00
Alexey Arno
07cf0c9bc0 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:51:59 +03:00
Alexey Arno
7e757377e4 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:40:15 +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
0f434ebd95 dbms: Server: feature development. [#METR-15090] 2015-03-11 14:45:07 +03:00
Alexey Arno
b9260807fd dbms: Server: feature development. [#METR-15090] 2015-03-11 14:31:09 +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
22fa97ed16 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:29:31 +03:00
Alexey Arno
cfdf8fc8e8 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:09:17 +03:00
Alexey Arno
87823c4de7 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:16:49 +03:00
Alexey Arno
6259ad1359 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:00:29 +03:00
Alexey Arno
ce0a3d0ee3 dbms: Server: feature development. [#METR-15090] 2015-03-10 14:43:30 +03:00
Alexey Arno
4b9efbbc66 dbms: Server: feature development. [#METR-15090] 2015-03-06 19:16:10 +03:00
Alexey Arno
4f0da70657 dbms: Server: feature development. [#METR-15090] 2015-03-06 18:34:42 +03:00
Alexey Arno
3459fdc01e dbms: Server: feature development. [#METR-15090] 2015-03-06 17:45:14 +03:00
Alexey Arno
cdfb096f8f dbms: Server: feature development. [#METR-15090] 2015-03-06 14:08:25 +03:00
Alexey Arno
b458241ae5 dbms: Server: feature development. [#METR-15090] 2015-03-06 13:34:14 +03:00
Alexey Arno
3c8c29451b dbms: Server: feature development. [#METR-15090] 2015-03-06 13:29:58 +03:00
Alexey Arno
a733dedf97 dbms: Server: feature development. [#METR-15090] 2015-03-05 19:20:15 +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 Arno
1d14c4192e dbms: Server: feature development. Dont pay attention for now. [#METR-15090] 2015-03-04 13:47:53 +03:00
Alexey Arno
78283c6b85 Merge 2015-02-09 14:40:54 +03:00
Alexey Arno
2e5d1041a1 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-08 02:13:04 +03:00
Alexey Milovidov
96c16b742b Separated test case for compiler bug [#METR-10240]. 2015-02-06 09:49:37 +03:00
Alexey Milovidov
fd01de7b03 Separated test case [#METR-10240]. 2015-02-06 07:45:28 +03:00
Alexey Milovidov
a7b4903f14 dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831]. 2014-11-19 23:40:51 +03:00
Alexey Milovidov
c017f3ebe3 dbms: added operators for DB/IO [#METR-2944]. 2014-11-15 22:00:55 +03:00
Alexey Milovidov
8a0bdbe1d7 dbms: improved performance of deserializing strings (+5% on search phrases) [#METR-2944]. 2014-11-15 21:57:49 +03:00
Pavel Kartavyy
fad7154163 refactoring [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
c8e4f3442d dbms: compilation fix [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
7f48de7cdc RemoteWriteBuffer: calc hash of data [#METR-10969] 2014-08-06 17:24:41 +04:00
Michael Kolupaev
4830e7f634 Hashing*Buffer: small fix. [#METR-10202] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
133cbbab37 HashingReadBuffer: added test. fixed bug [#METR-10969] 2014-07-22 14:35:44 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Michael Kolupaev
b92f1ff480 Merge 2014-04-02 17:45:39 +04:00
Alexey Milovidov
0b8867ca55 dbms: updated test [#METR-8766]. 2014-04-02 11:14:40 +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
8bbee1f1c1 dbms: Added HashingWriteBuffer and a unit test. [#METR-10202] 2014-03-27 12:12:32 +04:00
Alexey Milovidov
c23feaa671 dbms: tiny modification [#METR-2944]. 2014-03-10 19:58:30 +04:00
Alexey Milovidov
8c87b14c7f Fixed warnings on clang [#METR-2807]. 2014-03-10 08:17:17 +04:00
Alexey Milovidov
3d0b31dfed dbms: probably better [#METR-10240]. 2014-03-07 08:04:02 +04:00
Michael Kolupaev
df2e012943 clickhouse: added LRUCache and changed UncompressedCache to use it; added a test, fixed another test. [#METR-9633] 2014-02-11 11:05:02 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
6820638c30 dbms: IO: added test [#METR-2944]. 2014-01-04 04:52:22 +00:00
Evgeniy Gatov
b61eadf4db dbms: fixed test [#METR-9091]. 2013-11-27 15:09:42 +00:00
Michael Kolupaev
75567adb51 Merge 2013-11-26 11:55:11 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Alexey Milovidov
c611212c3f dbms: preparation [#CONV-2944]. 2013-09-15 05:51:43 +00:00
Alexey Milovidov
8d8b96480b dbms: updated test [#CONV-8661]. 2013-09-09 02:23:36 +00:00
Alexey Milovidov
efae271ae0 dbms: added uncompressed cache (experimental) [#CONV-8661]. 2013-09-08 05:53:10 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
3e12dc2c1a dbms: improved performance of parsing tsv [#CONV-2944]. 2013-01-05 14:16:05 +00:00
Alexey Milovidov
e4b3530417 dbms: improvement performance of parsing tsv [#CONV-2944]. 2013-01-05 10:07:01 +00:00
Alexey Milovidov
e4b2657ea5 dbms: fixed VarUInt for numbers with highest significant bit set [#CONV-2944]. 2012-12-14 19:41:39 +00:00
Michael Kolupaev
940f9881b8 dbms: fixed WriteBufferValidUTF8 skipping too many characters, added test for it [#CONV-5902]. 2012-11-16 09:42:48 +00:00
Michael Kolupaev
ddf856fbcb dbms: probably improved WriteBufferValidUTF8 [#CONV-5902]. 2012-11-14 12:20:58 +00:00
Michael Kolupaev
a145ee29d8 dbms: improved utf8 test [#CONV-5902]. 2012-11-14 11:41:07 +00:00
Michael Kolupaev
36e227d2f6 dbms: fixed utf8 test [#CONV-5902]. 2012-11-14 10:35:47 +00:00
Michael Kolupaev
47c2eb030e dbms: slightly fixed utf8 test [#CONV-5902]. 2012-11-14 10:31:25 +00:00
Michael Kolupaev
1237fbb7bd dbms: added valid utf8 test [#CONV-5902]. 2012-11-14 10:18:35 +00:00
Michael Kolupaev
441b177af6 dbms: added WriteBufferValidUTF8 [#CONV-5902]. 2012-11-14 09:49:51 +00:00
Alexey Milovidov
12afcb64ed Better diagnostics [#CONV-2807]. 2012-11-08 18:30:49 +00:00
Alexey Milovidov
fcac2b63dd dbms: development (more verbose diagnostic) [#CONV-2944]. 2012-09-24 05:40:45 +00:00
Alexey Milovidov
d76d37f0fe dbms: development [#CONV-2944]. 2012-07-21 06:47:17 +00:00
Alexey Milovidov
b1815b9278 dbms: development [#CONV-2944]. 2012-05-08 05:42:05 +00:00
Alexey Milovidov
92fe894931 DB/IO/WriteHelpers: fixed error with minimum negative integers [#CONV-2807]. 2012-03-18 22:07:58 +00:00
Alexey Milovidov
fe9837123a DB/IO: added test [#CONV-2944]. 2012-02-23 22:38:29 +00:00
Alexey Milovidov
8997be7209 dbms: fixed counting in ReadBuffer [#CONV-2944]. 2012-02-09 23:49:04 +00:00
Alexey Milovidov
55f686b861 Modified test [#CONV-2807]. 2012-02-09 23:43:31 +00:00
Alexey Milovidov
6852d6446b DB/IO: fixed copyData() function [#CONV-4023]. 2012-02-02 23:44:59 +00:00
Alexey Milovidov
c7a0bb020f Modified test [#CONV-3939]. 2012-02-02 19:41:24 +00:00
Alexey Milovidov
e388d1dbf9 DB::IO: added AsynchronousWriteBuffer [#CONV-4035]. 2012-01-30 19:18:25 +00:00
Alexey Milovidov
5df939464a dbms: development [#CONV-2944]. 2012-01-05 10:22:02 +00:00
Alexey Milovidov
67b5d05034 dbms, ███████████: fixed at least one error [#CONV-2944]. 2011-12-26 02:17:33 +00:00
Alexey Milovidov
d9e921a127 dbms: development [#CONV-2944]. 2011-11-01 17:57:37 +00:00
Alexey Milovidov
a6ec731e4c DB: unified compressed buffers and compressed iostreams [#CONV-2546]. 2011-06-27 18:33:23 +00:00
Alexey Milovidov
ea1a7d9192 DB: IO: allowed to use not own memory piece [#CONV-2546]. 2011-06-27 18:22:14 +00:00
Alexey Milovidov
61149dd093 dbms: tests: better output [#CONV-2546]. 2011-06-24 21:07:18 +00:00
Alexey Milovidov
739361334f dbms: added checksums in compressed data [#CONV-2546]. 2011-06-24 20:18:09 +00:00
Alexey Milovidov
e60253110a Merge 2011-06-17 21:19:39 +00:00
Alexey Milovidov
425fc839b0 dbms: using Snappy (experimental); removed compressed iostreams [#CONV-2546]. 2011-06-17 20:44:10 +00:00
Alexey Milovidov
36517e32a2 dbms: improvement [#CONV-2546]. 2011-06-15 18:54:18 +00:00
Alexey Milovidov
236ee3303e dbms: improvement [#CONV-2546]. 2011-06-15 18:42:51 +00:00
Alexey Milovidov
cb45d49d11 dbms: added copyData function for Read/Write buffers. 2011-05-16 16:31:19 +00:00
Alexey Milovidov
b18bedd18c DB: IO: development. 2011-05-05 19:10:17 +00:00
Alexey Milovidov
50239f2c7c VarInt: added missing functions. 2011-03-22 20:36:01 +00:00
Alexey Milovidov
614f49533e Added util var_uint. 2010-09-14 16:43:00 +00:00
Alexey Milovidov
6390f54f9f VarInt: added method getLengthOfVarInt(). 2010-07-06 18:50:24 +00:00
Alexey Milovidov
f409cf1540 dbms: development. 2010-06-07 17:14:13 +00:00
Alexey Milovidov
a10879ca79 dbms: development. 2010-06-07 12:48:32 +00:00
Alexey Milovidov
167a7b19c0 dbms: development. 2010-06-04 18:32:37 +00:00
Alexey Milovidov
e0f951245a dbms: development 2010-06-04 18:25:25 +00:00