Chapter 19. Server Configuration

Table of Contents

19.1. Setting Parameters
19.1.1. Parameter Names and Values
19.1.2. Parameter Interaction via the Configuration File
19.1.3. Parameter Interaction via SQL
19.1.4. Parameter Interaction via the Shell
19.1.5. Managing Configuration File Contents
19.2. File Locations
19.3. Connections and Authentication
19.3.1. Connection Settings
19.3.2. TCP Settings
19.3.3. Authentication
19.3.4. SSL
19.4. Consumo de recursos
19.4.1. Memoria
19.4.2. Disco
19.4.3. Uso de recursos del kernel
19.4.4. Escritor en segundo plano (Background Writer)
19.4.5. E/S
19.4.6. Procesos worker (Worker Processes)
19.5. El registro de escritura anticipada (Write Ahead Log)
19.5.1. Configuración
19.5.2. Checkpoints
19.5.3. Archivado
19.5.4. Recuperación
19.5.5. Recuperación de archivos
19.5.6. Objetivo de recuperación
19.5.7. Resumen del WAL (WAL Summarization)
19.6. Replicación
19.6.1. Servidores emisores
19.6.2. Servidor primario
19.6.3. Servidores en espera (standby)
19.6.4. Suscriptores
19.7. Planificación de consultas
19.7.1. Configuración de los métodos del planificador
19.7.2. Constantes de coste del planificador
19.7.3. Optimizador genérico de consultas (Genetic Query Optimizer)
19.7.4. Otras opciones del planificador
19.8. Error Reporting and Logging
19.8.1. Where to Log
19.8.2. When to Log
19.8.3. What to Log
19.8.4. Using CSV-Format Log Output
19.8.5. Using JSON-Format Log Output
19.8.6. Process Title
19.9. Estadísticas de rendimiento (Run-time Statistics)
19.9.1. Estadísticas acumulativas de consultas e índices
19.9.2. Monitoreo de estadísticas
19.10. Vacuado (Vacuuming)
19.10.1. Vaciado automático (Automatic Vacuuming)
19.10.2. Retraso de vacuum basado en coste (Cost-based Vacuum Delay)
19.10.3. Comportamiento por defecto
19.10.4. Congelación (Freezing)
19.11. Client Connection Defaults
19.11.1. Statement Behavior
19.11.2. Locale and Formatting
19.11.3. Shared Library Preloading
19.11.4. Other Defaults
19.12. Lock Management
19.13. Version and Platform Compatibility
19.13.1. Previous PostgreSQL Versions
19.13.2. Platform and Client Compatibility
19.14. Error Handling
19.15. Preset Options
19.16. Customized Options
19.17. Developer Options
19.18. Short Options

There are many configuration parameters that affect the behavior of the database system. In the first section of this chapter we describe how to interact with configuration parameters. The subsequent sections discuss each parameter in detail.