Skip to content

Commit

Permalink
Merge #64137
Browse files Browse the repository at this point in the history
64137: sql: add 'max sql temp disk usage' stat to explain analyze output r=cucaroach a=cucaroach

```
   sql: add 'max sql temp disk usage' stat to explain analyze output

    Disk usage is currently tracked per node but we don't report it.
    Having to look at the sql.disk.distsql.spilled.bytes.written metric or
    examine explain analyze (distsql) diagram is cumbersome.   Example:

    > explain analyze (distsql) SELECT ...
      planning time: 2ms
      execution time: 18.6s
      distribution: full
      vectorized: true
      rows read from KV: 6,001,215 (806 MiB)
      cumulative time spent in KV: 10.8s
      maximum memory usage: 32 MiB
      network usage: 0 B (0 messages)
      max sql temp disk usage: 170 MiB

    Add a unit test to confirm output is as expected and doesn't appear in
    non-spill situations.   Also this field is completely omitted in redact
    situations as whether we spill is a metamorphic random variable so
    spilling isn't deterministic.

    Release note (sql): Add line to explain analyze output to show disk spill
    usage to make it clear when disk spilling occurs executing a query.  This
    output is only shown when the disk usage is greater than zeor.  The
    verbiage in the distsql explain diagrams changed from 'max scratch disk
    allocated' to 'max sql temp disk usage' for consistency and too match
    how we talk about sql spill disk usage elsewhere.
```

fixes #64111

Co-authored-by: Tommy Reilly <[email protected]>
  • Loading branch information
craig[bot] and cucaroach committed Apr 27, 2021
2 parents 9431aa2 + 95d269b commit 6b79a99
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pkg/sql/execinfrapb/component_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (s *ComponentStats) formatStats(fn func(suffix string, value interface{}))
fn("max memory allocated", humanize.IBytes(s.Exec.MaxAllocatedMem.Value()))
}
if s.Exec.MaxAllocatedDisk.HasValue() {
fn("max scratch disk allocated", humanize.IBytes(s.Exec.MaxAllocatedDisk.Value()))
fn("max sql temp disk usage:", humanize.IBytes(s.Exec.MaxAllocatedDisk.Value()))
}

// Output stats.
Expand Down
8 changes: 4 additions & 4 deletions pkg/sql/execinfrapb/component_stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ KV bytes read: 80 B`,
expected: `
execution time: 0µs
max memory allocated: 0 B
max scratch disk allocated: 0 B`,
max sql temp disk usage:: 0 B`,
},
{ // 5
stats: ComponentStats{
Expand Down Expand Up @@ -185,7 +185,7 @@ KV rows read: 10
KV bytes read: 12 KiB
execution time: 1s
max memory allocated: 1.0 KiB
max scratch disk allocated: 1.0 KiB
max sql temp disk usage:: 1.0 KiB
batches output: 10
rows output: 100`,
},
Expand Down Expand Up @@ -237,7 +237,7 @@ KV rows read: 10
KV bytes read: 12 KiB
execution time: 1s
max memory allocated: 1.0 KiB
max scratch disk allocated: 1.0 KiB
max sql temp disk usage:: 1.0 KiB
batches output: 10
rows output: 100`,
},
Expand Down Expand Up @@ -305,7 +305,7 @@ KV rows read: 10
KV bytes read: 12 KiB
execution time: 1s
max memory allocated: 1.0 KiB
max scratch disk allocated: 1.0 KiB
max sql temp disk usage:: 1.0 KiB
batches output: 10
rows output: 100`,
},
Expand Down
1 change: 1 addition & 0 deletions pkg/sql/instrumentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ func (ih *instrumentationHelper) buildExplainAnalyzePlan(

ob.AddMaxMemUsage(queryStats.MaxMemUsage)
ob.AddNetworkStats(queryStats.NetworkMessages, queryStats.NetworkBytesSent)
ob.AddMaxDiskUsage(queryStats.MaxDiskUsage)

if err := emitExplain(ob, ih.evalCtx, ih.codec, ih.explainPlan); err != nil {
ob.AddTopLevelField("error emitting plan", fmt.Sprint(err))
Expand Down
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/dist_vectorize
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ network usage: <hidden>
table: kw@primary
spans: FULL SCAN
·
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsmt1u2zYUx-_3FMS52la5MiU7TQQUMDZ0QLo1HtJiN4MvGOnMFmyLHknH8YI81l5gTzbImtv6Q5_IQsr0XS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1-5myHEaIz5g5F8IUL8XfBwfZv8cLiet_5aiFCqfNTLD67TzZBUTJV93n5TdN1cMfXDvygMP0W15GJKEqYwDVef4t-cX7JYba8sQokiZkn8N9tf9mba_xkZYny_XvcXQ5vU_DS2XvNmdIYyY7E7-esjudKMhJYgufwqSGhTJLRY5dbKhPZtZEIbFEPPvGJYHv5FYfjWPtErzUi0FMNyJLRY5dbKZKcYWsLE22XS_ZKJv_1-2J3sl06m27Woa14p7R1pi09YD-VIiq12K56oblts4BO10xZXMNFti7U4hv6RtviEZVKOpNhqG1IMy8PXbYsNfKJ22uIKJrptsZZieNHEFtuB5NXZLDdDYuW-dDmSYgNuyCuzPHztZtnAxNdulrXI_PJslpshsXJfuhxJsQE3pBiWh6_dLGsphhVMdJtlLTK_OpvlvX81HNtxccIyqWCi2y6bqBMrN6wrmJSYcEPem1ULsNIx02PbLuxlotsz66mIZjdzmKiTEiduSkU8t14cgNKo98KS7N9rKTHKN5vIRLdv1pM75Uzs9M3lTLRvXhsJpdiLm_LqbNKkZotHbNKlZoubaNL6dmZixA62kVCKvbgpFXGvYcVC3zx6-u6_AAAA___AK3SS

# Verify execution.
statement ok
Expand Down
8 changes: 4 additions & 4 deletions pkg/sql/logictest/testdata/logic_test/explain_analyze_plans
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ network usage: <hidden>
table: kw@primary
spans: FULL SCAN
·
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsm29vmzgcx5_fq7D8qNPIiE3SpZEmZZt2p-7WZOqfk6ZTVLngS1ESyBmnaa_qy7o3cK_sBGnWBIINrKsB8yxgHPh9_PXX8Y9f7mHw9wz24dmnL58-noPpzZupAcjN5GC6ejN9BX49HZ2A6Q34PDoegukKjIbRJeAdCNvBb6eji6_gw7foJDSg5zt0SOY0gP0_IYIGxNCAFjRgBxqwC8cGXDDfpkHgs_CS-6jDsXML-20Dut5iycPTYwPaPqOwfw-5y2cU9uE5uZrRU0ocysw2NKBDOXFn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bWpExVZ5sKOGg6plskMx91TpRsgl7WzDZUGOZiJGkb0tL44fiAJQnG0o4qHomGyRzX7VOlPhhT_gL90icbDgqmGyoscbESATpi9IkYCQRaLmJFDPRM9kgYaKlTlDi_Z4o26DHCoPyvN_TRSd5Xhk2TCRpjdJsRGQhqB7XUs5_1WkINWJPvORr8hASJlpuWSVMBLmN8piiJATV46rGFCXzX3UuQo3YE-8vd349o444G4ESr_qadISEiZ7lFDIo6du00iRpJCHomZGQQVG9_VYDRVzDoJqJmtW3qYrIy0TPrWtTaZEfSgUKaGTzX89xbUoj8jLRc-valFvkh1KBKhrZ_NdzXMX1EUhSIIGaCokk0sIlEhpDUb1NKyMUQZKjPHmapkpizx_cmiqJJJNyV0mUkYnqlISauVO4SkJjKI1SciU5SrMlweWuklBjik2VRF4meqYkZFAapeRKcpTHFMVVElhSJYGbKokk0qZKIj8U1du0MkLRs-5CBqUC9TS4qZIYP4wffvk_AAD__w-cClQ=
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsm39v2rgfx___PgrLf3VaWLADHY00iW3a99TdClN_nDSdUOUSH42AhDmmtFf1Yd0TuEd2SigrEGInrKudOP81cUzsl99-O_7403sYfZ9AF559-vLp4zkY37wZW4DcjA7GizfjV-D_p_0TML4Bn_vHPTBegH4veQS8A3E5-O20f_EVfPiW3IQWDEKP9siURtD9EyJoQQwt6EALtqAF23BgwRkLhzSKQhY_cp9UOPZuodu0oB_M5jy-PbDgMGQUuveQ-3xCoQvPydWEnlLiUWY3oQU9yok_SV4zvunOmD8l7A5a8GxGgsgFDTt-cX_OXdCNm_H7H4D7U-qC5r__RMvrYRhwGnA_DFJFLFxEgFHiueCx8tUdp6tbHfABWvCK8OE1jUA457P4NXGjknqrGwgOHiy4vFr2ddWXqztwTaLrzV504-cHFow4GVHoogdrPziHW3AWaTg2Kj0enInn6XdC5lFGve3feR2_ONdTO0ifUDain0M_oMxGWzqc0L_4QRe9fvWO-aPr5Z9PlK1ujJze0uE8DXVKbs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o4a0E1EzVrb50JUZSJmdvWOr-iOBTtk2Zks9_MUa3TIYoyMXPbWidZFIeifeaMbPabOarinAgkSYpAdVZEGuneaREGQ1G9RdMRiiDAoUuEps6M2PGvbHVmRJqJ3pkROjJRHYxQM3f2zowwGEqtlEIBDk22I1jvzAg1llhnRhRlYmYwQgalVkqhAIculijOjMCSzAhcZ0akkdaZEcWhqN6i6QjFzGwLGRTtc2hwnRkxeBg8_O-_AAAA__8KQ_L5

# This query verifies stats collection for the hashJoiner, distinct and sorter.
query T
Expand Down Expand Up @@ -147,7 +147,7 @@ network usage: <hidden>
table: kw@primary
spans: FULL SCAN
·
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzsnN9uo0YUxu_7FKO52lXx4hmw4yCtFO2fqtm2cZVElarKFwSmMbINLozjpFEeqy_QJ6vAyzp4zBxItplZxneL8cSc3zlzvuEb2Huc_TXHHr74-PPH95fow-nF5enZ-0v0arZ-s36Nfjgf_4JmN-jT-PQMzdZofIZmN29m6C3Kz6Px-YeP5-jd78URtnCchOzMX7AMe39ggi1MsYUdbGEXW3iAJxZepknAsixJ86_cFwNOw1vs9S0cxcsVzz-eWDhIUoa9e8wjPmfYw5f-1ZydMz9kqd3HFg4Z96N58TOzm5NlGi389A5b-GLpx5mHenb-w-MV99BJfhk__YZ4tGAe6v_7T7Y5DpKYs5hHSSycSpN1hlLmhx76PPjqjrPyoxF6hy185fNgyjKUrPgy_5n8oopx5QcETx4svDnaxFrGcnWHpn42rUZxkn9_YuGM-9cMe-TBehqc4Q6ctQjHJo_x0G8RD63Fs_07qzhJQ5aysPKXJvlI6Ct7GP_oZ9NPSRSz1CY7BThnf_JXJ-T12zS6nhb_qsBltyxYiSAX_i1asEWS3iF_Pk8Cn7PQQ_2CXn4uC9KcIQqjbCZ-ozXfLTunTWl9iDIexQG3yUBIiC6htSsd9xmlIwNE-9oC2gY_aJP7iyTlLLWpkPnvNYxs2CCt-5JahLM3s2dJL1nazk5aa-IGr3xQe-VHlSs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9k3AeAYwcj7djkT1V6GmkQHDhHN9DKAxaP6WQ8todT7I7qURPkhIgUOEan8tR0zvQzglTcz9w4AFDO9DOClNyOf9YCg6PX-_74dlfy1PQd4bc8RLHcDvYzJw__-DQAA__8Zn8kG

# This query verifies stats collection for WITH ORDINALITY and the hashJoiner.
query T
Expand Down Expand Up @@ -191,7 +191,7 @@ network usage: <hidden>
table: kv@primary
spans: FULL SCAN
·
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUUc1u00AQvvMUozmiRYn_OOzJBYpqKDVKIhBCPmy8o3YVe9fsrkuiKI_FC_BkyDYVTdKkBMSB43yz3873s0b3pUKO0_PL85czeAqvJ_k7WNzCx2x2AfnkVXZ1dpnNPsHZFAQ7sJgjQ20kXYmaHPLPGGDBsLGmJOeM7aB1_yCTS-Rjhko3re_ggmFpLCFfo1e-IuQ4E_OKJiQk2dEYGUryQlX9t4vbtLGqFnaFDKeN0I7DM2T49gN4VROH8fdvbphLoz1pr4zeW1nz1YElITkkAzJfebqD4jG8QIZz4csbcmBa37SeQ6ekJ94BCRYbhsP004nz4pqQBxv2-25zK5UWlfKrUbBtlpZUtvsG_kJYeIqw-zWE_2MN0R_WEP3rGuKDwn7pabWxkizJLTFFx3zsyQPuLoS7eWOUJjuKt93lndQ0YGnI0oilMUsTlj5Hdsh2LZZQU23sCkRVmVJ4khyGrrqdK20XDEjlFvsvHg0tPJxackqdE3KN0Y5203vw53EXGclrGipwprUlvbem7M8MY97zekCS88M2GIZMD6tO4H1ycJQcb5GDXXJ4lBwdvxydcDncJcdHycnO5WLz5EcAAAD__yk3D0s=
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzUUcFu00AQvfMVozmiRYkdm8OeXKCohlKjJAIh5MPGO0pXsXfd3XVJFOWz-AG-DNkmokmblIA49Djv7dt5b94a3U2JHCfnl-evp_Ac3o6zD7C4hc_p9AKy8Zv06uwynX6BswkIdoCYIUNtJF2JihzyrxhgzrC2piDnjG2hdfcglUvkQ4ZK141v4ZxhYSwhX6NXviTkOBWzksYkJNnBEBlK8kKV3beL26S2qhJ2hQwntdCOwwtk-P4TeFURh-GP766fC6M9aa-MvkdZ882BJSE5xD0yW3naQtEQXiHDmfDFNTkwja8bz6F10gm3QIz5hmE__UrivJgT8mDD_jxtZqXSolR-NQh2w9KSiuZ-gH8wFp5i7G4N4VOsYfSXNYz-dw3RQWO__TTaWEmW5I6ZvFU-9uSBdBfCXb8zSpMdRLvpstZqErAkZMmIJRFLYpa8RHYodiWWUFFl7ApEWZpCeJIc-q5azt2U4KmqQSq3gMaJOfEt_-jJwsM3i08pc0yuNtrR_u0e_HnYHozknPoCnGlsQR-tKbo1_Zh1ug6Q5HzPBv2Q6p5qDd4VB0fF0Y442BeHR8Wj45tHJ2wO98XRUXG8tznfPPsZAAD__zX-Di8=

# Verify that EXPLAIN ANALYZE on an unsupported query doesn't return an error.
statement ok
Expand Down Expand Up @@ -239,7 +239,7 @@ network usage: <hidden>
table: kv@primary
spans: FULL SCAN
·
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslU1u2zwQhvffKYhZJQAN_X8ouEpbpEXQHxdOkC4KLxhx4BKWSJWk7LiGj9UL9GSFKMut7KRWlwa8nBm-Hr7PjKk12G8FMLi9fn_9-o7wxexifknG99cTcnFJ3kzGH8h8ARSUFviRl2iBfYEIKMRAIQEKKVDIYEqhMjpHa7Vpjqy94EY8AgspSFXVrklPKeTaILA1OOkKBAZ3_KHACXKBJgiBgkDHZeHbzBdXlZElNyugcFtxZRkZBU3jce0YuWqu8e6eOFkiI-HPH7aNc60cKie1OigZvbTEIBeMbMUPK4dd6gV5BRQeuMu_oiW6dlXTprmU13WJCKYbCm20NWUdnyGwaEOfMf7bb620EWhQ9LxON0-g-SyV0Es0Qdbn8vL-7cVVdLnj0BDxnbw_RrJdbB0vij4FfMS8PoRT8kdSYqnNivCi0Dl3KBgJPZGmZnPTcCFC2vnhiaPMsmeZxT1m0fBliY4vSxCPguRU1iUebj0eYD0ZBempWE-GW08GWE9H_h9zEtbT4dbTAdaz0akYP_JZmKCttLK490o-_cth83qimGH71Fpdmxw_GZ37Nm049jqfEGhdW43a4Eb5kr_gn-Lor-L_e-JwXxz_S2dvxbsChW6pzZwU3KHKV7sBdfkll64_OoEWjeSF_M4P59rJtsPNUS5wO-Cu1E25q7WT7qolWstnvQPh4EXoI0nOSPaRpGck-0iyM5LNdPPfrwAAAP__Rova6Q==
Diagram: https://cockroachdb.github.io/distsqlplan/decode.html#eJzslU1u2zwQhvffKYhZJQAN_X8ouEpbpEXQHxdOkC4KLxhx4BKWSIWk7LiBj9UL9GSFKMuN7KRWlwa8nBm-Hr7P0KNHsPcFMLi-_Hj59obwxexsfk7Gt5cTcnZO3k3Gn8h8ARSUFviZl2iBfYMIKMRAIQEKKVDIYEqhMjpHa7Vpjjx6wZV4ABZSkKqqXZOeUsi1QWCP4KQrEBjc8LsCJ8gFmiAECgIdl4VvM19cVEaW3KyAwnXFlWVkFDSNx7Vj5KK5xodb4mSJjIS_fto2zrVyqJzUaq9k9NISg1wwshHfrRx2qVfkDVC44y7_jpbo2lVNm-ZSXtclIpiuKbTRxpR1fIbAojV9wfgfv7XSRqBB0fM6XT-D5qtUQi_RBFmfy-vb92cX0fmWQ0PEd_L-GMm2sXW8KPoU8AHzeh9OyR9IiaU2K8KLQufcoWAk9ESamr0viMOyIkLaOaktnyHr6geJZS8Si3vEouFPJTr8VIJ4FCTH8lji4dbjAdaTUZAei_VkuPVkgPV05P8vR2E9HW49HWA9Gx2L8QMfhQnaSiuLOzvy-V8Om92JYobtorW6Njl-MTr3bdpw7HU-IdC6thq1wZXyJX_Bp-Lor-L_e-JwVxz_S2dvxbsChW6pzZwU3KHKV9sBdfkll64_OoEWjeSF_MH359rJNsPNUS5wM-Cu1E25q7WT7qol2mbXPz0QDn4IfSTJCckukvSEZBdJdkKynq7_-x0AAP__cwfZzQ==

# Very simple query to make it easier to spot regressions when rewriting results
# in test files.
Expand Down
Loading

0 comments on commit 6b79a99

Please sign in to comment.