PostgreSQL Test App - Overview

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

Navigation

Level Path Navlink
1 reference Reference
2 r-releases-notes Release Notes