Skip to content

Commit

Permalink
add spilled data size to Web UI
Browse files Browse the repository at this point in the history
Added spilled data size to the Query Details page in the Resource
Utilization Summary section and to the Live Plan page in the Web UI just below
the "Splits" line (per stage).
  • Loading branch information
Wojciech Biela authored and Wojciech Biela committed Nov 18, 2016
1 parent fb131de commit 7c1d6d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
) +
"<div>Memory: " + stats.totalMemoryReservation + "</div>" +
"<div>Splits: Q:" + stats.queuedDrivers + ", R:" + stats.runningDrivers + ", F:" + stats.completedDrivers + "</div>" +
"<div>Spilled: " + stats.spilledDataSize + "</div>" +

"<hr>" +
"<div>Input: " + stats.processedInputDataSize + " / " + formatCount(stats.processedInputPositions) + " rows</div>";
Expand Down
8 changes: 8 additions & 0 deletions presto-main/src/main/resources/webapp/assets/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,14 @@ var QueryDetail = React.createClass({
{ formatDataSizeBytes(query.queryStats.cumulativeMemory / 1000.0, "") + " seconds" }
</td>
</tr>
<tr>
<td className="info-title">
Spilled Data
</td>
<td className="info-text">
{ query.queryStats.spilledDataSize }
</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 7c1d6d5

Please sign in to comment.