pg_stat_ch
pg_stat_ch
pg_stat_ch : Export PostgreSQL query telemetry to ClickHouse
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 6020 | pg_stat_ch
|
pg_stat_ch
|
0.3.3 |
STAT
|
Apache-2.0
|
C++
|
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--sLd--
|
No
|
Yes
|
Yes
|
Yes
|
no
|
no
|
| Relationships | |
|---|---|
| See Also | pg_tracing
pg_stat_monitor
pg_stat_kcache
powa
|
Requires shared_preload_libraries = pg_stat_ch; README recommends track_io_timing = on.
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY
|
0.3.3 |
18
17
16
15
14
|
pg_stat_ch |
- |
| RPM | PIGSTY
|
0.3.3 |
18
17
16
15
14
|
pg_stat_ch_$v |
- |
| DEB | PIGSTY
|
0.3.3 |
18
17
16
15
14
|
postgresql-$v-pg-stat-ch |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
el8.x86_64
|
MISS
|
MISS
|
MISS
|
MISS
|
MISS
|
el8.aarch64
|
MISS
|
MISS
|
MISS
|
MISS
|
MISS
|
el9.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
el9.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
el10.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
el10.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
d12.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
d12.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
d13.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
d13.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
u22.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
u22.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
u24.x86_64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
u24.aarch64
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
PIGSTY 0.3.3
|
MISS
|
MISS
|
Source
pig build pkg pg_stat_ch; # build rpm/debInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgsql -u # add both repo and update cacheInstall this extension with pig:
pig install pg_stat_ch; # install via package name, for the active PG version
pig install pg_stat_ch -v 18; # install for PG 18
pig install pg_stat_ch -v 17; # install for PG 17
pig install pg_stat_ch -v 16; # install for PG 16Config this extension to shared_preload_libraries:
shared_preload_libraries = 'pg_stat_ch';Create this extension with:
CREATE EXTENSION pg_stat_ch;Last updated on