Skip to content
Docs
strackt.io Open app

Configure a service

Adjust database capacity or Valkey memory, review the consequences, and save changes for the next server update.

Configure a service

Open a MariaDB, PostgreSQL or Valkey service from Services or its server, then choose Settings → Configuration. Anyone in the workspace can view the values. Only the workspace owner can change them.

The settings affect the whole service, including every application connected to it. For a site's web server settings, use Configure on the application's Services page instead; see Configure your web server.

Set database capacity

These steps cover MariaDB and PostgreSQL services already in your workspace. For new database setup, see Add a service.

For MariaDB and PostgreSQL, Capacity offers Automatic, Light, Balanced, High-traffic and Custom profiles. The values below the profile show the memory and connection settings it produces, with an explanation of the recommendation. Choosing a profile fills in values for the current server and connected applications. To adopt different recommendations later, review and save them again.

  1. Choose a profile to stage its suggested values together. Nothing is saved or applied yet.
  2. Review the resulting values. To adjust one yourself, open its row under Settings, enter a value, then choose Stage change. You can use Use recommended in the row editor to fill in the suggested value.
  3. Open Advanced for the less common settings. Editing a value away from the profile's values makes the profile Custom. Choosing Custom alone keeps the values you have; it doesn't calculate a new set.
  4. Review the changes in the bar at the bottom and choose Save changes.

On MariaDB, In use shows current connections, the connection limit and the peak over the last 24 hours when measurements are available. If the peak comes within ten percent of the limit, the page offers Raise to …. That action stages a higher connection limit for you to review and save. PostgreSQL doesn't show this connection-use section.

Set a Valkey memory limit

Valkey starts with Memory limit: No limit. That means there is no explicit memory cap for the service; it can still run out of memory on the server.

  1. Open Memory limit under Settings.
  2. Enter a limit in MB, or choose Use recommended when a recommendation is shown. The recommendation is based on the server's memory; it doesn't change your saved limit automatically.
  3. Choose Stage change, then Save changes in the changes bar.

An empty value means No limit. To remove a cap, clear the value and save. Limits start at 64 MB and cannot exceed the server's memory when it is known.

Setting a first cap or lowering an existing one shows a warning: if Valkey already holds more than the new limit, new writes can be refused until memory frees. Review the consequence before choosing Save anyway. Raising or removing the cap doesn't need this acknowledgement. If writes are being refused, raise or remove the cap and apply the pending change on the server.

Choose what happens when memory is full

Under Advanced, When memory is full defaults to Refuse new writes. Existing keys are kept rather than discarded to make room.

The eviction choices remove keys to free memory. Use eviction only for a Valkey service used as a cache alone. Eviction can drop queued jobs and sessions, and a restore point cannot bring them back. It affects all applications sharing this service. If you select an eviction choice, review the warning before using Save anyway.

Save and apply your changes

There are three actions between editing a value and changing the server:

  1. Stage change collects an edit on this page. Picking a capacity profile also stages its values. Review the changes together, or use Discard to drop your unsaved edits.
  2. Save changes stores the changes. The page then calls them staged because they are waiting for the next server configuration update. Saving doesn't change the running service immediately.
  3. Open the service's server and apply its pending changes when you're ready. This configuration update changes the running service. See Server pending changes.

If a restore, migration or other work holds the service, wait for that work to finish or resolve it before saving again.

Was this helpful?