You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/concepts-server-parameters.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,12 @@ Here's the list of some of the parameters:
36
36
|**shared_preload_libraries**| This parameter is available for configuration with a predefined set of supported extensions. We always load the `azure` extension (used for maintenance tasks), and the `pg_stat_statements` extension (you can use the pg_stat_statements.track parameter to control whether the extension is active). |
37
37
|**connection_throttling**| You can enable or disable temporary connection throttling per IP for too many invalid password login failures. |
38
38
|**work_mem**| This parameter specifies the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. If your workload has few queries with many complex sorting and you have a lot of available memories, increasing this parameter may allow Postgres to do larger scans in-memory vs. spilling to disk, which will be faster. Be careful however, as one complex query may have number of sort, hash operations running concurrently. Each one of those operations will use as much memory as it value allows before it starts writing to disk based temporary files. Therefore on a relatively busy system total memory usage will be many times of individual work_mem parameter. If you do decide to tune this value globally, you can use formula Total RAM * 0.25 / max_connections as initial value. Azure Database for PostgreSQL - Flexible Server supports range of 4096-2097152 kilobytes for this parameter. |
39
-
|**effective_cache_size**| The effective_cache_size parameter estimates how much memory is available for disk caching by the operating system and within the database shared_buffers itself. This parameter is just a planner hint and does not allocate or reserve any memory. Index scans are most likely to be used against higher values; otherwise, sequential scans will be used if the value is low. Recommendations are to set effective_cache_size at 50%-75% of the machine’s total RAM. |
39
+
|**effective_cache_size**| The effective_cache_size parameter estimates how much memory is available for disk caching by the operating system and within the database shared_buffers itself. This parameter is just a planner "hint" and does not allocate or reserve any memory. Index scans are most likely to be used against higher values; otherwise, sequential scans will be used if the value is low. Recommendations are to set effective_cache_size at 50%-75% of the machine’s total RAM. |
40
40
|**maintenance_work_mem**| The maintenance_work_mem parameter basically provides the maximum amount of memory to be used by maintenance operations like vacuum, create index, and alter table add foreign key operations. Default value for that parameter is 64 KB. It’s recommended to set this value higher than work_mem. |
41
41
|**effective_io_concurrency**| Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously. Raising this value will increase the number of I/O operations that any individual PostgreSQL session attempts to initiate in parallel. The allowed range is 1 to 1000, or zero to disable issuance of asynchronous I/O requests. Currently, this setting only affects bitmap heap scans. |
42
42
|**require_secure_transport**| If your application doesn't support SSL connectivity to the server, you can optionally disable secured transport from your client by turning `OFF` this parameter value. |
43
43
|**log_connections**| This parameter may be read-only, as on Azure Database for PostgreSQL - Flexible Server all connections are logged and intercepted to make sure connections are coming in from right sources for security reasons. |
44
-
|**log_disconnections** | This parameter may be read-only, as on Azure Database for PostgreSQL - Flexible Server all disconnections are logged.
45
-
|
44
+
|**log_disconnections**| This parameter may be read-only, as on Azure Database for PostgreSQL - Flexible Server all disconnections are logged. |
46
45
47
46
>[!NOTE]
48
47
> As you scale Azure Database for PostgreSQL - Flexible Server SKUs up or down, affecting available memory to the server, you may wish to tune your memory global parameters, such as work_mem or effective_cache_size accordingly based on information above.
0 commit comments