ClickHouse/docs/ja/operations/performance-test.md
Ivan Blinkov d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00

83 lines
3.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
machine_translated: true
machine_translated_rev: d734a8e46ddd7465886ba4133bff743c55190626
toc_priority: 54
toc_title: "\u30CF\u30FC\u30C9\u30A6\u30A7\u30A2\u8A66\u9A13"
---
# ClickHouseでハードウェアをテストする方法 {#how-to-test-your-hardware-with-clickhouse}
この命令を実行できますが基本的なclickhouse性能試験はサーバーなしでの設置clickhouseパッケージ。
1. に行く “commits” ページ:https://github.com/ClickHouse/ClickHouse/commits/master
2. 最初の緑色のチェックマークまたは緑色の赤い十字をクリックします “ClickHouse Build Check” とをクリック “Details” リンク近く “ClickHouse Build Check”.
3. リンクをコピーする “clickhouse” amd64またはaarch64のバイナリ。
4. サーバーにsshを実行し、wgetでダウンロードします:
<!-- -->
# For amd64:
wget https://clickhouse-builds.s3.yandex.net/0/00ba767f5d2a929394ea3be193b1f79074a1c4bc/1578163263_binary/clickhouse
# For aarch64:
wget https://clickhouse-builds.s3.yandex.net/0/00ba767f5d2a929394ea3be193b1f79074a1c4bc/1578161264_binary/clickhouse
# Then do:
chmod a+x clickhouse
1. ダウンロードconfigs:
<!-- -->
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/programs/server/config.xml
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/programs/server/users.xml
mkdir config.d
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/programs/server/config.d/path.xml -O config.d/path.xml
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/programs/server/config.d/log_to_console.xml -O config.d/log_to_console.xml
1. Benchmarkファイル:
<!-- -->
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/benchmark/clickhouse/benchmark-new.sh
chmod a+x benchmark-new.sh
wget https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/benchmark/clickhouse/queries.sql
1. ダウンロード試験データによると [Yandexの。Metricaデータセット](../getting-started/example-datasets/metrica.md) 指示 (“hits” 100万行を含むテーブル
<!-- -->
wget https://clickhouse-datasets.s3.yandex.net/hits/partitions/hits_100m_obfuscated_v1.tar.xz
tar xvf hits_100m_obfuscated_v1.tar.xz -C .
mv hits_100m_obfuscated_v1/* .
1. サーバーの実行:
<!-- -->
./clickhouse server
1. データを確認する別のターミナルのサーバーへのssh
<!-- -->
./clickhouse client --query "SELECT count() FROM hits_100m_obfuscated"
100000000
1. 編集するbenchmark-new.sh,変更 “clickhouse-client” に “./clickhouse client” と追加 “max\_memory\_usage 100000000000” パラメータ。
<!-- -->
mcedit benchmark-new.sh
1. ベンチマークの実行:
<!-- -->
./benchmark-new.sh hits_100m_obfuscated
1. ハードウェア構成に関する番号と情報を以下に送信しますclickhouse-feedback@yandex-team.com
すべての結果はここに掲載されていますhttps://clickhouse。ツつィツ姪“ツつ”ツ債ツづュツつケhtml