citusdata / citusdata/citus

citus_stat_tenants performance overhead

Open
#6,850 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

I think this is widely known, but still wanted to document.

For a very simple insert workload ( `insert into simple_test VALUES (2.0,2);` and ` pgbench -f /tmp/f.sql -c 32 -j 8 -t 5000 -P 1
`:
- When citus_stat_tenants disabled, I get 13k tps
- When citus_stat_tenants enabled, I get 10k tps
- When citus_stat_tenants enabled and another session calling `citus_stat_tenants` continuously, I get 8k tps

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.