How to enable execution statistics in postgresql cartridge on Openshift.

Solution Verified - Updated -

Issue

  • How to capture increased statistics in postgresql cartridge on Openshift.
  • How to configure pg_stat_statements in postgres.conf on Openshift
shared_preload_libraries = 'pg_stat_statements'   # (change requires restart)
pg_stat_statements.track = all

Environment

  • Openshift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In