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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content