diff --git a/css/qp.css b/css/qp.css index db006a8..0af2d23 100644 --- a/css/qp.css +++ b/css/qp.css @@ -5,12 +5,50 @@ border: 1px solid black; } +div.qp-node-label-cost { +} + +div.qp-node-label-time { + color: orange; +} + +div.qp-node-label-cardinality { + color: gray; +} + +span.qp-node-label-cardinality-waring { + color: red; +} + +div.qp-node-label-2-warning { + background: red; +} + +div.qp-node-id { + display: none; + color: gray; + position: absolute; + top: 0; + right: 0; + padding-top: 3px; + padding-right: 5px; +} + div.qp-node, div.qp-tt { font-size: 11px; line-height: normal; } +/* +div.qp-node:hover div.qp-node-id { + display: block; +} +*/ +div.qp-tr:hover div.qp-node-id { + display: block; +} + .qp-statement-header { border-color: black; border-style: solid; @@ -92,9 +130,37 @@ div[class|='qp-icon'] { text-align: left; } -.qp-bold, +.qp-tt-warning-important { + color: red; +} + +.qp-tt-wait td { + text-align: left; + padding-left: 2px; +} + +.qp-tt-wait th { + text-align: left; +} + +.qp-tt-params td { + text-align: left; + padding-left: 2px; +} + +.qp-tt-params th { + text-align: left; +} + .qp-tt-header { font-weight: bold; + margin-bottom: 1px; +} + +.qp-bold { + font-weight: bold; + margin-top: 7px; + margin-bottom: 1px; } .qp-tt-header { diff --git a/src/qp.xslt b/src/qp.xslt index eb50e0d..e8a8caa 100644 --- a/src/qp.xslt +++ b/src/qp.xslt @@ -27,30 +27,93 @@
-
+
+ + + + +
+
-
Missing Index (Impact ):
+
+ + + + Missing Index (Impact ): +
CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>] ON . ( - , + , ) INCLUDE ( - , + , ) + -- WITH (SORT_IN_TEMPDB=ON, DATA_COMPRESSION=PAGE) - + + + + +
+ + + + + + + + + + + + + + + + + Found "Eager Index Spool", at nodeId= + + : + CREATE NONCLUSTERED INDEX <Name of Missing Index> ON + + . + + ( + + + , + + ) + + + + INCLUDE ( + + + , + + ) + + + -- WITH (SORT_IN_TEMPDB=ON, DATA_COMPRESSION=PAGE) + +
+
+ + +
@@ -64,9 +127,12 @@ +
+ +
@@ -315,6 +381,11 @@ + + Non Parallel Plan Reason + + +
@@ -412,14 +483,77 @@ -
Cost:
+
Cost:
-
Cost: 0%
+
Cost: 0%
+
+ + + + + + + + + + + + + + +
Time: s
+
+
+ + + + + + + + +
+ Time: s +
+ CPU Time: s +
+ + UDF Time: s +
+
+ + UDF CPU Time: s +
+
+
+
+
+ + + + + + + +
+ A= of +
+ E= + + + + + qp-node-label-cardinality-waring + + () + +
+
- +
Seek Predicates
@@ -537,7 +671,8 @@
Columns With No Statistics:
-
The query had to wait seconds for during execution.
+
The query had to wait seconds for during execution.
+
Type conversion in expression () may affect "" in query plan choice.
@@ -553,8 +688,46 @@
+ + + +
Top 10 Waits
+
+ + + + + + + + + + + + + +
Type Ms Count Ms/Count
+
+
+ + + +
Compile and Runtime Parameters
+
+ + + + + + + + +
Name DataType Compiled Value Runtime Value
+
+
+ Seek Keys[]: @@ -677,7 +850,14 @@ -
()
+ + +
()
+
+ +
()
+
+