# PMM QAN - External clustered clickhouse schema issue

**URL:** <https://forums.percona.com/t/pmm-qan-external-clustered-clickhouse-schema-issue/38911>\
**Category:** PMM 3.x\
**Tags:** pmm, percona\
**Created:** [August 1, 2025, 8:24am UTC](https://forums.percona.com/t/pmm-qan-external-clustered-clickhouse-schema-issue/38911 "2025-08-01T08:24:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muralipmm](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/muralipmm/32/21672_2.png) [@Muralipmm](https://forums.percona.com/u/Muralipmm)\
**Post date:** [August 1, 2025, 8:24am UTC](https://forums.percona.com/t/pmm-qan-external-clustered-clickhouse-schema-issue/38911/1 "2025-08-01T08:24:56Z")

</div>

Hi Team ,

We are hosting pmm on k8s environment with external clickhouse and postgresql and we started the pod with external by giving creds in the env config. PMM QAN API2 is created database and tables on the clkickhouse but its not clustered. Its not using on cluster command for database and replicatedmergetree for tables , without this clickhouse will not be a clustered one , whatever pmm is inserting it will go into single node which defeats the purpose of clustering on clkickhouse. Please help how we can give support for external clustered clickhouse.

---

<div class="post-metadata">

**Author:** ![ademidoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ademidoff/32/14234_2.png) [@ademidoff](https://forums.percona.com/u/ademidoff)\
**Post date:** [August 6, 2025, 4:04pm UTC](https://forums.percona.com/t/pmm-qan-external-clustered-clickhouse-schema-issue/38911/2 "2025-08-06T16:04:32Z")

</div>

Hi,

It seems like we have a gap there and PMM will need to implement the `_replicatedmergetree_` engine for the clustered ClickHouse configurations. Therefore, please feel free to create a feature request in PMM Jira.

Meanwhile, it should be possible to work around it by running a DDL statement that alters the engine to make it `_replicatedmergetree_` instead.

Cheers
