Allow setting sample ratio for auto_explain
Magnus Hagander <magnus@hagander.net>
Allow setting sample ratio for auto_explain New configuration parameter auto_explain.sample_ratio makes it possible to log just a fraction of the queries meeting the configured threshold, to reduce the amount of logging. Author: Craig Ringer and Julien Rouhaud Review: Petr Jelinek
Files
| Path | Change | +/− |
|---|---|---|
| contrib/auto_explain/auto_explain.c | modified | +28 −3 |
| doc/src/sgml/auto-explain.sgml | modified | +18 −0 |