- Notifications
You must be signed in to change notification settings - Fork5
Commit92f03fe
committed
Allow setting sample ratio for auto_explain
New configuration parameter auto_explain.sample_ratio makes itpossible to log just a fraction of the queries meeting the configuredthreshold, to reduce the amount of logging.Author: Craig Ringer and Julien RouhaudReview: Petr Jelinek1 parent69ab7b9 commit92f03fe
File tree
2 files changed
+46
-3
lines changed- contrib/auto_explain
- doc/src/sgml
2 files changed
+46
-3
lines changedLines changed: 28 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| |||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 |
| |
51 | 55 |
| |
52 | 56 |
| |
| |||
159 | 163 |
| |
160 | 164 |
| |
161 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
162 | 179 |
| |
163 | 180 |
| |
164 | 181 |
| |
| |||
191 | 208 |
| |
192 | 209 |
| |
193 | 210 |
| |
194 |
| - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
195 | 220 |
| |
196 | 221 |
| |
197 | 222 |
| |
| |||
210 | 235 |
| |
211 | 236 |
| |
212 | 237 |
| |
213 |
| - | |
| 238 | + | |
214 | 239 |
| |
215 | 240 |
| |
216 | 241 |
| |
| |||
280 | 305 |
| |
281 | 306 |
| |
282 | 307 |
| |
283 |
| - | |
| 308 | + | |
284 | 309 |
| |
285 | 310 |
| |
286 | 311 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
206 | 224 |
| |
207 | 225 |
| |
208 | 226 |
| |
|
0 commit comments
Comments
(0)