// free reference

Database configuration reference

182 server settings across five engines. Each page gives the default for the current release, whether a change needs a restart, and the SQL to read and change it.

The same job on each engine

Engines split the work differently, so these are the closest matches, not exact equivalents. A dash means this reference has no matching setting on that engine.

Job PostgreSQL MySQL SQL Server Oracle SQLite
Main data cache shared_buffers Default 128MB innodb_buffer_pool_size Default 128MB max server memory (MB) Default 2147483647 sga_target Default 0 cache_size Default -2000 (about 2MB)
Sort and hash work memory work_mem Default 4MB sort_buffer_size Default 256KB – pga_aggregate_target Default 10MB or 20% of SGA –
Connection limit max_connections Default 100 max_connections Default 151 user connections Default 0 (= 32767) processes Default Set at creation –
CPUs per query max_parallel_workers_per_gather Default 2 – max degree of parallelism Default 0 parallel_degree_policy Default MANUAL –
What a COMMIT waits for synchronous_commit Default on innodb_flush_log_at_trx_commit Default 1 DELAYED_DURABILITY Default DISABLED – synchronous Default 2 (FULL)
Checkpoint pacing max_wal_size Default 1GB innodb_redo_log_capacity Default 100MB TARGET_RECOVERY_TIME Default 60 SECONDS fast_start_mttr_target Default 0 wal_autocheckpoint Default 1000 pages
Statement time limit statement_timeout Default 0 (disabled) max_execution_time Default 0 (disabled) – – –
Lock wait limit lock_timeout Default 0 (disabled) innodb_lock_wait_timeout Default 50 LOCK_TIMEOUT Default -1 (wait forever) – busy_timeout Default 0
Slow query logging log_min_duration_statement Default -1 (disabled) long_query_time Default 10 QUERY_STORE Default ON (READ_WRITE) – –

Every setting, by engine

182 settings Press / to search

PostgreSQL 52

MySQL 47

SQL Server 37

Oracle 28

SQLite 18

Database configuration FAQ

Which settings are covered?

The ones that change performance or behavior on a real server: memory, connections, parallelism, WAL and redo, checkpoints, vacuum and statistics, timeouts, logging and temporary storage. Each setting page lists its default, its allowed range, its restart rule and the statements that read and change it.

Which versions do the defaults apply to?

PostgreSQL 18, MySQL 8.4 LTS, SQL Server 2025, Oracle 23ai/26ai and current SQLite 3.5x. Where a default changed in a recent release, such as MySQL 8.4's InnoDB defaults or PostgreSQL 18's effective_io_concurrency, the page says which version changed it.

How were the defaults checked?

Against running servers: pg_settings on PostgreSQL 18, performance_schema.variables_info on MySQL 8.4, sys.configurations on SQL Server 2025, V$PARAMETER on Oracle AI Database 26ai Free (release 23.26) and PRAGMA on SQLite. Where a container image ships a value different from the vendor default, the page names both.

Should I change these settings on a managed cloud database?

Many apply, but through the provider's parameter groups or flags rather than ALTER SYSTEM or sp_configure, and some are locked. Defaults on managed services also differ: Azure SQL Database turns READ_COMMITTED_SNAPSHOT on, and RDS sizes buffer pools from the instance class.

// see what your server is running with

Query the settings, then change them

SQLly connects to PostgreSQL, MySQL, SQL Server, Oracle and SQLite, runs the queries from these pages against your own server, and shows the results in a grid you can sort and filter.