// referência gratuita

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

Every setting, by engine

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