Stop Catalog Bloat: Boost PostgreSQL Performance by Replacing Temporary Tables

Recently, we encountered an issue where catalog queries executed by the drivers during session creation were taking significantly longer than expected. These queries, managed by PHP drivers, were impacted by a performance bottleneck. Due to this user session creations are taking more time. Upon investigation, I discovered that the pg_attribute and pg_class system catalog tables…