3 links
tagged with all of: performance + postgresql + tuning
Click any tag below to further narrow down your results
Links
PostgreSQL 18 introduces asynchronous I/O (AIO), enhancing storage utilization and performance. The article provides tuning advice for two key parameters, io_method and io_workers, highlighting that while io_method defaults to worker for broad compatibility, increasing io_workers beyond the default of three can significantly improve performance on larger machines. Trade-offs between different AIO methods and their impact on performance are also discussed.
Properly collecting optimizer statistics for partitioned tables in PostgreSQL is crucial for accurate query planning and execution performance. The article discusses the significance of these statistics, how they differ from partition statistics, and the role of the `ANALYZE` command in enhancing query efficiency.
Understanding when to rebuild PostgreSQL indexes is crucial for maintaining database performance. The decision depends on index type, bloat levels, and performance metrics, with recommendations to use the `pgstattuple` extension to assess index health before initiating a rebuild. Regular automatic rebuilds are generally unnecessary and can waste resources.