vadv / pg_store_plans

Store execution plans like pg_stat_statements does for queries.

Home Page:http://ossc-db.github.io/pg_store_plans/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It is a fork with changes:

  • Added GUC store_last_plan (false by default) last plan is not saved, only first one, gets +30% increase.
  • Does not save queryID in its own format, gives up to +10% increase.
  • Added sample_rate (based on random).
  • Added slow_statement_duration - this is an unconditional logging of query plans longer than the specified value.
  • GUC min_duration - now be specified as time.
  • GUC pg_store_plans.track_planning - track planning time.
  • make fixes.

About

Store execution plans like pg_stat_statements does for queries.

http://ossc-db.github.io/pg_store_plans/

License:Other


Languages

Language:C 83.8%Language:Perl 7.7%Language:PLpgSQL 7.3%Language:Shell 0.7%Language:Makefile 0.5%