mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge branch 'update-openssl' of github.com:yandex/ClickHouse into update-openssl
This commit is contained in:
commit
f47fe13ece
@ -18,8 +18,8 @@ struct BlockIO
|
||||
BlockIO(const BlockIO &) = default;
|
||||
~BlockIO() = default;
|
||||
|
||||
/** process_list_entry should be destroyed after in and after out,
|
||||
* since in and out contain pointer to objects inside process_list_entry (query-level MemoryTracker for example),
|
||||
/** process_list_entry should be destroyed after in, after out and after pipeline,
|
||||
* since in, out and pipeline contain pointer to objects inside process_list_entry (query-level MemoryTracker for example),
|
||||
* which could be used before destroying of in and out.
|
||||
*/
|
||||
std::shared_ptr<ProcessListEntry> process_list_entry;
|
||||
@ -56,6 +56,7 @@ struct BlockIO
|
||||
|
||||
out.reset();
|
||||
in.reset();
|
||||
pipeline = QueryPipeline();
|
||||
process_list_entry.reset();
|
||||
|
||||
process_list_entry = rhs.process_list_entry;
|
||||
|
@ -0,0 +1,5 @@
|
||||
DROP TABLE IF EXISTS tab;
|
||||
create table tab (A Int64) Engine=MergeTree order by tuple();
|
||||
insert into tab select cityHash64(number) from numbers(1000);
|
||||
select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1; -- { serverError 159 }
|
||||
DROP TABLE IF EXISTS tab;
|
@ -25,6 +25,7 @@ find . -name '*.so.*' -print -exec mv '{}' /output \;
|
||||
if [ "performance" == "$COMBINED_OUTPUT" ]
|
||||
then
|
||||
cp -r ../dbms/tests/performance /output
|
||||
cp -r ../docker/test/performance-comparison/config /output ||:
|
||||
rm /output/unit_tests_dbms ||:
|
||||
rm /output/clickhouse-odbc-bridge ||:
|
||||
fi
|
||||
|
@ -70,7 +70,7 @@ function configure
|
||||
<metric_log remove="remove">
|
||||
<table remove="remove"/>
|
||||
</metric_log>
|
||||
<use_uncompressed_cache>1</use_uncompressed_cache>
|
||||
<use_uncompressed_cache>0</use_uncompressed_cache>
|
||||
<!--1 GB-->
|
||||
<uncompressed_cache_size>1000000000</uncompressed_cache_size>
|
||||
</yandex>
|
||||
|
@ -0,0 +1,14 @@
|
||||
<yandex>
|
||||
<logger>
|
||||
<console>true</console>
|
||||
</logger>
|
||||
<text_log remove="remove">
|
||||
<table remove="remove"/>
|
||||
</text_log>
|
||||
<metric_log remove="remove">
|
||||
<table remove="remove"/>
|
||||
</metric_log>
|
||||
<use_uncompressed_cache>0</use_uncompressed_cache>
|
||||
<!--64 GiB-->
|
||||
<uncompressed_cache_size>1000000000</uncompressed_cache_size>
|
||||
</yandex>
|
@ -0,0 +1,10 @@
|
||||
<yandex>
|
||||
<profiles>
|
||||
<default>
|
||||
<query_profiler_real_time_period_ns>10000000</query_profiler_real_time_period_ns>
|
||||
<query_profiler_cpu_time_period_ns>0</query_profiler_cpu_time_period_ns>
|
||||
<allow_introspection_functions>1</allow_introspection_functions>
|
||||
<log_queries>1</log_queries>
|
||||
</default>
|
||||
</profiles>
|
||||
</yandex>
|
@ -1,6 +1,6 @@
|
||||
# Начало работы
|
||||
|
||||
Если вы новичок в ClickHouse и хотите получить вживую оценить его производительность, прежде всего нужно пройти через [процесс установки](install.md).
|
||||
Если вы новичок в ClickHouse и хотите вживую оценить его производительность, прежде всего нужно пройти через [процесс установки](install.md).
|
||||
|
||||
После этого можно выбрать один из следующих вариантов:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user