Commit Graph

428 Commits

Author SHA1 Message Date
ivanzhukov
733c74fe8a Always store queries in a vector 2017-05-09 21:53:47 +03:00
ivanzhukov
3c6de6eee9 Use new IO functions interface 2017-05-09 21:53:47 +03:00
ivanzhukov
5fa4b5f15e Support query in a file 2017-05-09 21:53:47 +03:00
ivanzhukov
086ef6ed82 Support directory as an input 2017-05-09 21:53:47 +03:00
ivanzhukov
1c2b64168e Code style 2017-05-09 21:53:46 +03:00
ivanzhukov
0fb964ba79 Print all runs for one query first 2017-05-09 21:53:31 +03:00
ivanzhukov
52849e746e Check metrics for execType 2017-05-09 21:53:31 +03:00
ivanzhukov
f4c6219244 Use new connectionPool inerface 2017-05-09 21:53:31 +03:00
ivanzhukov
73fa7905f0 Use new RemoteBlockInputStream's interface 2017-05-09 21:53:31 +03:00
ivanzhukov
c6f35247bf Fix include 2017-05-09 21:53:29 +03:00
ivanzhukov
26606a1556 Dont print corrupted statistics 2017-05-09 21:52:58 +03:00
ivanzhukov
dca10863c7 Refactoring 2017-05-09 21:52:58 +03:00
ivanzhukov
70fb951831 Separate metrics output for queries 2017-05-09 21:52:58 +03:00
ivanzhukov
09ca5e0032 Construct and output info at the end 2017-05-09 21:52:58 +03:00
ivanzhukov
64a18f6b6e Rename read_{rows,bytes} to {rows,bytes}_read 2017-05-09 21:52:58 +03:00
ivanzhukov
3568946082 Add support for time criterions 2017-05-09 21:52:58 +03:00
ivanzhukov
c4c6960c75 Separate 'loop' queries execution from 'once' 2017-05-09 21:52:57 +03:00
ivanzhukov
1986ceb819 Execute queries without terminate conditions 2017-05-09 21:52:56 +03:00
ivanzhukov
4e5362b246 Replace raw pointers with Poco's AutoPtr 2017-05-09 21:52:42 +03:00
ivanzhukov
17c7b2a0cf Extract settings and construct queries from config 2017-05-09 21:52:40 +03:00
ivanzhukov
fd307bffb7 Add command line options support 2017-05-09 21:52:17 +03:00
ivanzhukov
39c3054d09 Add base file for PerformanceTest 2017-05-07 01:04:39 +03:00
ivanzhukov
842ebadc0e Add cmake rules for performance test launcher 2017-05-07 01:04:39 +03:00
proller
fac00792f9 Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system 2017-05-05 16:59:18 -07:00
proller
f32862be60 Hotfix for functions lib in client 2017-04-21 22:16:31 +03:00
Alexey Zatelepin
baf0f70ba3 Failover if the needed table is missing on remote server [#CLICKHOUSE-2141] 2017-04-20 19:19:30 +03:00
Alexey Zatelepin
d1fa449f4a PR fixes [#CLICKHOUSE-2141] 2017-04-20 17:04:38 +03:00
Alexey Zatelepin
c91828e5bf PR fixes [#CLICKHOUSE-2141] 2017-04-19 21:29:50 +03:00
Alexey Zatelepin
485c58b039 use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141] 2017-04-19 20:50:17 +03:00
Alexey Zatelepin
aa62dc354f ensure that empty entries are not returned from PoolWithFailoverBase [#CLICKHOUSE-2141] 2017-04-18 16:37:00 +03:00
Alexey Zatelepin
e30dc7c254 check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141] 2017-04-17 22:51:41 +03:00
Alexey Zatelepin
0a98f43d3a add TablesStatus request to protocol [#CLICKHOUSE-2141] 2017-04-17 19:02:48 +03:00
Alexey Milovidov
777adabde7 Client: fixed error with percentage [#CLICKHOUSE-2]. 2017-04-16 07:28:04 +03:00
Alexey Milovidov
00ebb1709d Client: more correct code [#CLICKHOUSE-2]. 2017-04-12 22:50:49 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
a0b9bf5e97 Moved code to cpp [#CLICKHOUSE-2]. 2017-04-08 04:32:05 +03:00
Alexey Milovidov
a7e557f2a3 clickhouse-client: Fixed terminal escape codes in Mosh [#CLICKHOUSE-2930]. 2017-04-07 20:56:03 +03:00
f1yegor
b4c23f122a Translated comments 2017-04-02 20:37:49 +03:00
Alexey Milovidov
310736cd7e Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4 Revert "Using C++17 [#CLICKHOUSE-3]."
This reverts commit 431a735efe.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8 Using C++17 [#CLICKHOUSE-3]. 2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +03:00
George
1d317d994f Fixed mistake that made % not show over 50% 2017-03-31 08:11:31 +03:00
Alexey Milovidov
14c8003081 Normalized formatting [#CLICKHOUSE-3].
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*)    ' | xargs sed -i -r -e 's/^(\t*)    /\1\t/'
2017-03-26 04:28:07 +03:00
f1yegor
bc0d9a2cae translate comments 2017-03-25 21:12:56 +01:00
Alexey Zatelepin
3f9eb5f0f9 implemented clickhouse --extract-from-config tool [#CLICKHOUSE-2876] 2017-03-25 02:31:18 +03:00
George3d6
f338a747b0 Update Client.cpp (#615)
* Update Client.cpp

* Update Client.cpp

Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +04:00
Vitaliy Lyudvichenko
349c96ec8f Resolved #619. Eliminated copy paste from benchmark util. [#CLICKHOUSE-3] 2017-03-21 15:18:56 +03:00
proller
930ac5b2ce move ClickHouseRevision to dbms 2017-03-16 13:51:41 +04:00