5 links
tagged with all of: optimization + postgresql
Click any tag below to further narrow down your results
Links
Efficient storage in PostgreSQL can be achieved by understanding data type alignment and padding bytes. By organizing columns in a specific order, one can minimize space waste while maintaining or even enhancing performance during data retrieval.
PostgreSQL's full-text search (FTS) can be significantly faster than often perceived, achieving a ~50x speed improvement with proper optimization techniques such as pre-calculating `tsvector` columns and configuring GIN indexes correctly. Misleading benchmarks may overlook these optimizations, leading to an unfair comparison with other search solutions. For advanced ranking needs, extensions like VectorChord-BM25 can further enhance performance.
PostgreSQL v18 introduces the ability to preserve optimizer statistics during major upgrades, enhancing performance and reducing downtime. This feature allows users to export optimizer statistics with `pg_dump` and ensures that statistics remain intact when using `pg_upgrade`, streamlining database upgrades.
VACUUM is a crucial maintenance task in PostgreSQL, with optimizations like skipping index cleaning to enhance performance. This article explains the implications of the "skip indexes" optimization, particularly how it affects the visibility of dead tuples during database maintenance operations.
OpenAI relies heavily on PostgreSQL as the backbone for its services, necessitating effective scalability and reliability measures. The article discusses optimizations implemented by OpenAI, including load management, query optimization, and addressing single points of failure, alongside insights into past incidents and feature requests for PostgreSQL enhancements.