PostgreSQL Test App

  • Canonical
Channel Revision Published Runs on
latest/stable 211 09 Aug 2024
Ubuntu 22.04
latest/stable 210 09 Aug 2024
Ubuntu 22.04
latest/beta 211 09 Aug 2024
Ubuntu 22.04
latest/beta 210 09 Aug 2024
Ubuntu 22.04
latest/edge 275 28 Oct 2024
Ubuntu 22.04
latest/edge 274 28 Oct 2024
Ubuntu 22.04
juju deploy postgresql-test-app
Show information

Platform:

Ubuntu
22.04

PostgreSQL Test App

The PostgreSQL Test App is used in various test scenarios for Charmed PostgreSQL installations. It is a workload-less charm and can be deployed and used in both K8s and VM installations.

Usage

Deploy and integrate Charmed PostgreSQL with PostgreSQL Test App

juju deploy postgresql db
juju deploy postgresql-test-app app
juju integrate db app:database

Configure the write load rate

juju config app sleep_interval=1000 # (optional, sleep 1000ms second between inserts)

Run an endless load test

juju run app/leader start-continuous-writes # (optional, to start endless write test)
juju run app/leader show-continuous-writes  # (optional, to show amount of records in DB)
juju run app/leader stop-continuous-writes  # (optional, to stop endless write test)

Clean up your deployment

juju remove-application app db


Help improve this document in the forum (guidelines). Last updated 2 months ago.