Skip to content
ParticleDB

Connections and timeouts

Use the configured client address, database and credentials. A web console URL is not a database connection string.

Reuse connections where the client supports pooling. Choose a pool size that matches application concurrency and server capacity. Close connections when the application stops.

Keep a transaction on one checked-out connection until commit or rollback. A connection returned to the pool with an open or aborted transaction can affect the next request.

Distinguish connection establishment, network reads, SQL execution and idle sessions. Configure each through the client or server interface that supports it. A timeout does not prove a write was not committed; reconcile uncertain results using stable identifiers.

After a broken connection, create a new connection. After a transaction conflict, retry the transaction using a bounded policy. After authentication failure, fix credentials rather than retrying indefinitely.

Client guides · Troubleshooting

Documentation home · Troubleshooting