# External VictoriaDB in PMM setup

**URL:** <https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [February 17, 2023, 1:46am UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150 "2023-02-17T01:46:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Animesh\_Agarwal](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/animesh_agarwal/32/9369_2.png) [@Animesh\_Agarwal](https://forums.percona.com/u/Animesh_Agarwal)\
**Post date:** [February 17, 2023, 1:46am UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150/1 "2023-02-17T01:46:23Z")

</div>

Hi Team,  
Is it possible to have an external Victoria DB cluster in the PMM setup ?  
pmm-server should be able to connect to an external VictoriaDB cluster.

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [February 17, 2023, 11:55am UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150/2 "2023-02-17T11:55:13Z")

</div>

PMM Server does not support connection to external components, not matter if this VictoriaMetrics, ClickHouse or PostgreSQL.

---

<div class="post-metadata">

**Author:** ![Animesh\_Agarwal](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/animesh_agarwal/32/9369_2.png) [@Animesh\_Agarwal](https://forums.percona.com/u/Animesh_Agarwal)\
**Post date:** [February 17, 2023, 1:52pm UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150/3 "2023-02-17T13:52:21Z")

</div>

Hi @vadimtk  
Thanks for the quick response. Can you please help us understand if there is a workaround to connect to external components. Having a separate VictoriaMetricsDB or ClickHouse helps to scale them separately based on the load. Is it possible to build the PMM server from source by pointing to external VictoriaDB and ClickHouse

Also, as per [PMM 2.33.0 - Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management/release-notes/2.33.0.html#offline-metric-collection) the support for having external components will be solved in Stage2. Can you please help with an ETA for this?

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [February 17, 2023, 2:06pm UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150/4 "2023-02-17T14:06:15Z")

</div>

@Animesh_Agarwal there is no supported or known workaround to connect to external components.  
It should be possible to make modification to the source code to connect to external components, but I will not be able to point to the specific part of the code.  
In fact this is what PMM team will work on to provide Stage2 of HA.  
I can’t provide any more detailed ETA beside what already mentioned in the document: **will be rolled out in 2023**

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [February 21, 2023, 2:58pm UTC](https://forums.percona.com/t/external-victoriadb-in-pmm-setup/20150/5 "2023-02-21T14:58:55Z")

</div>


