Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nearbase.dev/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Parameters tab on your instance detail page shows the PostgreSQL configuration parameters currently applied to your database. These are the settings that control memory allocation, query planning, connection limits, logging thresholds, and more.

Viewing Parameters

  1. Open the instance in the console.
  2. Go to the Parameters tab.
  3. You’ll see the full list of parameters with their current running values.

Running vs. Pending Parameters

Some parameter changes take effect immediately; others require a database restart.
StateDescription
RunningThe value currently active on the database process.
PendingA value has been submitted but not yet applied. This appears when a parameter requires a restart to take effect.
When a parameter is in Pending state, the new value will be applied at the next scheduled maintenance window or when you manually restart the instance.

Common Parameters

ParameterDescription
max_connectionsMaximum number of simultaneous client connections.
shared_buffersAmount of memory dedicated to PostgreSQL’s shared buffer cache.
work_memMemory available for each sort or hash operation per query.
log_min_duration_statementQueries slower than this threshold (in ms) are written to slow query logs. Set to -1 to disable.
idle_in_transaction_session_timeoutAutomatically terminates sessions that have been idle in a transaction for longer than this duration.
statement_timeoutAutomatically cancels queries that run longer than this duration.
timezoneThe time zone used for timestamps in this database.
Parameter modifications are available on request. Contact team@nearbase.dev if you need to tune a specific parameter for your workload.

Slow Query Threshold

The log_min_duration_statement parameter controls what appears in your Slow Query Logs. By default it is set to capture queries that take longer than a few hundred milliseconds. Lowering this value captures more queries but increases log volume.