forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0628670
committed
Invent SERIALIZE option for EXPLAIN.
EXPLAIN (ANALYZE, SERIALIZE) allows collection of statistics aboutthe volume of data emitted by a query, as well as the time takento convert the data to the on-the-wire format. Previously therewas no way to investigate this without actually sending the datato the client, in which case network transmission costs mightswamp what you wanted to see. In particular this feature allowsinvestigating the costs of de-TOASTing compressed or out-of-linedata during formatting.Stepan Rutz and Matthias van de Meent,reviewed by Tomas Vondra and myselfDiscussion:https://postgr.es/m/ca0adb0e-fa4e-c37e-1cd7-91170b18cae1@gmx.de1 parent97ce821 commit0628670
File tree
10 files changed
+542
-11
lines changed- doc/src/sgml
- ref
- src
- backend
- access/common
- commands
- tcop
- include
- commands
- tcop
- test/regress
- expected
- sql
- tools/pgindent
10 files changed
+542
-11
lines changedLines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
| |||
956 | 956 |
| |
957 | 957 |
| |
958 | 958 |
| |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
959 | 970 |
| |
960 | 971 |
| |
961 | 972 |
| |
| |||
965 | 976 |
| |
966 | 977 |
| |
967 | 978 |
| |
968 |
| - | |
| 979 | + | |
| 980 | + | |
969 | 981 |
| |
970 | 982 |
| |
971 | 983 |
| |
|
Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
| |||
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
209 | 238 |
| |
210 | 239 |
| |
211 | 240 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
| 297 | + | |
| 298 | + | |
| 299 | + | |
297 | 300 |
| |
298 | 301 |
| |
299 | 302 |
| |
| |||
317 | 320 |
| |
318 | 321 |
| |
319 | 322 |
| |
320 |
| - | |
| 323 | + | |
321 | 324 |
| |
322 | 325 |
| |
323 | 326 |
| |
|
0 commit comments
Comments
(0)