// 無料リファレンス

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.

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

Every setting, by engine

182 settings 押す / 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.