mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
cd14f9ebcb
* split up select.md * array-join.md basic refactoring * distinct.md basic refactoring * format.md basic refactoring * from.md basic refactoring * group-by.md basic refactoring * having.md basic refactoring * additional index.md refactoring * into-outfile.md basic refactoring * join.md basic refactoring * limit.md basic refactoring * limit-by.md basic refactoring * order-by.md basic refactoring * prewhere.md basic refactoring * adjust operators/index.md links * adjust sample.md links * adjust more links * adjust operatots links * fix some links * adjust aggregate function article titles * basic refactor of remaining select clauses * absolute paths in make_links.sh * run make_links.sh * remove old select.md locations * translate docs/es * translate docs/fr * translate docs/fa * remove old operators.md location * change operators.md links * adjust links in docs/es * adjust links in docs/es * minor texts adjustments * wip * update machine translations to use new links * fix changelog * es build fixes * get rid of some select.md links * temporary adjust ru links * temporary adjust more ru links * improve curly brace handling * adjust ru as well * fa build fix * ru link fixes * zh link fixes * temporary disable part of anchor checks
83 lines
3.2 KiB
Markdown
83 lines
3.2 KiB
Markdown
---
|
||
machine_translated: true
|
||
machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd
|
||
toc_priority: 54
|
||
toc_title: "Tester Le Mat\xE9riel"
|
||
---
|
||
|
||
# Comment tester votre matériel avec ClickHouse {#how-to-test-your-hardware-with-clickhouse}
|
||
|
||
Avec cette instruction, vous pouvez exécuter le test de performance clickhouse de base sur n'importe quel serveur sans installation de paquets ClickHouse.
|
||
|
||
1. Aller à “commits” page: https://github.com/ClickHouse/ClickHouse/commits/master
|
||
|
||
2. Cliquez sur la première coche verte ou croix rouge avec vert “ClickHouse Build Check” et cliquez sur le “Details” lien de proximité “ClickHouse Build Check”. Il n'y a pas un tel lien dans certains commits, par exemple des commits avec de la documentation. Dans ce cas, choisissez le commit le plus proche ayant ce lien.
|
||
|
||
3. Copiez le lien à “clickhouse” binaire pour amd64 ou aarch64.
|
||
|
||
4. ssh sur le serveur et le télécharger avec 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. Télécharger 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. Télécharger des fichiers de référence:
|
||
|
||
<!-- -->
|
||
|
||
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. Télécharger les données de test selon le [Yandex.Metrica dataset](../getting-started/example-datasets/metrica.md) instruction (“hits” tableau contenant 100 millions de lignes).
|
||
|
||
<!-- -->
|
||
|
||
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. Exécuter le serveur:
|
||
|
||
<!-- -->
|
||
|
||
./clickhouse server
|
||
|
||
1. Vérifiez les données: ssh au serveur dans un autre terminal
|
||
|
||
<!-- -->
|
||
|
||
./clickhouse client --query "SELECT count() FROM hits_100m_obfuscated"
|
||
100000000
|
||
|
||
1. Modifier le benchmark-new.sh, changement `clickhouse-client` de `./clickhouse client` et d'ajouter `–-max_memory_usage 100000000000` paramètre.
|
||
|
||
<!-- -->
|
||
|
||
mcedit benchmark-new.sh
|
||
|
||
1. Exécutez le test:
|
||
|
||
<!-- -->
|
||
|
||
./benchmark-new.sh hits_100m_obfuscated
|
||
|
||
1. Envoyez les numéros et les informations sur votre configuration matérielle à clickhouse-feedback@yandex-team.com
|
||
|
||
Tous les résultats sont publiés ici: https://clickhouse.tech/de référence/de matériel/
|