Collects small insterts and sends big requests to ClickHouse servers
100K+
This is official image of https://github.com/nikepan/clickhouse-bulk
docker run -e "CLICKHOUSE_SERVERS=http://1.2.3.4:8123,http://3.4.5.6:8123" -p 8124 clickhouse-bulk
clickhouse-bulk:
image: clickhouse-bulk
ports:
- "8124"
environment:
- CLICKHOUSE_SERVERS=http://1.2.3.4:8123
CLICKHOUSE_SERVERS - comma separated list of serversCLICKHOUSE_FLUSH_COUNT - count of rows for insertCLICKHOUSE_FLUSH_INTERVAL - insert intervalDUMP_CHECK_INTERVAL - interval of resend dumpsCLICKHOUSE_DOWN_TIMEOUT - wait time if server is downCLICKHOUSE_CONNECT_TIMEOUT - clickhouse server connect timeoutmanual check main metrics
curl -s http://127.0.0.1:8124/metrics | grep "^ch_"
ch_bad_servers 0 - actual count of bad serversch_dump_count 0 - dumps saved from launchch_queued_dumps 0 - actual dump files id directorych_good_servers 1 - actual good servers countch_received_count 40 - received requests count from launchch_sent_count 1 - sent request count from launchFor better performance words FORMAT and VALUES must be uppercase.
Content type
Image
Digest
sha256:893c461bc…
Size
8.5 MB
Last updated
about 1 month ago
docker pull nikepan/clickhouse-bulk