
Database Server Fields
Connection Status
When you open the Database Servers page, each server shows a connection status badge:- Connected (green) — The platform successfully reached the server and validated the credentials
- Disconnected (gray) — The server is unreachable or credentials are invalid
- Last checked timestamp — Shows when the status was last verified
Server Purpose
Database Servers are where tenant databases are physically created and hosted. When you create a new tenant, the platform:- Connects to the database server using the credentials stored here
- Creates a new PostgreSQL database for that tenant (e.g.,
tenant_acme_corp_2024) - Runs all required migrations to set up the tenant’s schema
- Returns a ready-to-use tenant environment
Add a Database Server
1
Go to Database Servers
Click Database Servers in the root admin sidebar.
2
Click New Server
Fill in the Name, Host, Port, Username, and Password.
3
Test Connection
Click Test to verify connectivity before saving. This checks that the host is reachable and the credentials are valid.
4
Save
Click Create. New tenants can now be assigned to this server.
Assign to Tenants
When creating a tenant, select which database server to provision it on. Existing tenants cannot be moved between servers through the UI.Frequently Asked Questions
How many tenants can one database server handle?
How many tenants can one database server handle?
This depends on the server’s hardware (RAM, CPU, storage) and the size of each tenant’s data. As a rough guideline, a standard server with 8GB RAM can comfortably handle 50–100 active tenants with moderate transaction volumes. Monitor server load and add additional servers when you approach capacity.
Can I have database servers in different regions?
Can I have database servers in different regions?
Yes. Add multiple servers in different regions and assign tenants based on their geographic location. This reduces latency for tenants and helps with data residency compliance.
What PostgreSQL version is required?
What PostgreSQL version is required?
DuitPOS requires PostgreSQL 13 or later. PostgreSQL 15 or 16 is recommended for best performance and security.
How do I rotate the database password?
How do I rotate the database password?
Update the password in PostgreSQL first, then edit the server record in the dashboard and enter the new password. Click Test to confirm connectivity before saving.
Related
Tenants
Manage business accounts on this platform
Root Users
Manage platform administrator accounts
LHDN Admin
Configure platform-wide e-invoicing credentials

