Database resources and deletion
Change resources, replicas, backups, lock, and delete a database.
Start and stop
From the database page or its row menu in the list, choose Start or Stop.
- While stopped, the database does not answer requests, but its data stays on disk.
- While stopped, the database's resources are not billed.
Click Start to run it again.
Restart
Choose Restart from the database menu. Lexoya also restarts the database automatically to apply some changes.
Change resources
- Choose Plan from the database menu.
- Change CPU, Memory, and Disk.
- Check the new price in Price Estimation.
- Click Apply Changes.
Ranges:
- CPU: 1–32 cores
- Memory: 1–32 GB
- Disk: up to 200 GB
Important rules:
- Memory cannot be less than the CPU count.
- Disk can only grow; shrinking is blocked to prevent data loss.
- For Redis, disk must be at least twice the memory size.
- Applying new resources restarts the database and may take a few minutes.
Replicas and high availability
The Scale option is only shown for multi-node services, such as three-node PostgreSQL and MySQL, RabbitMQ, and Elasticsearch.
- The replica count must be odd: 1, 3, 5, and so on.
- Each replica uses the plan's resources.
- Choosing 0 stops the database.
- Changes may take a few minutes.
A single-node database cannot be converted to three nodes. Create a three-node database from the start for high availability.
Rename
- On the database page, click the edit icon next to the name.
- Enter the new name.
- Click the check mark.
The name is only a label. It does not affect the host or connection details.
Backups
New databases are added to the account's default backup schedule. To configure the backup location, time, and days, see App and disk backups.
To take an immediate backup or restore:
- Open the backup list from the Backup menu.
- Select the backup.
- For a restore, choose the destination.
A restore creates a new resource and does not replace the current one.
Lock
Lock prevents accidental deletion. Click Unlock to release it. Locking does not stop the database.
Delete a database
- Choose Delete from the database menu.
- Review the dependent resources.
- Type the database name to confirm.
- Click Delete.
The database moves to the Trash and is permanently deleted after 24 hours.
Deletion is permanent and the data cannot be recovered. Unlock the database first if it is locked.