Commit acc2ea05 authored by Marcel Huber's avatar Marcel Huber
Browse files

Merge branch 'release_20.10.0'

parents 45ffeebf c3f3088a
Pipeline #42012 passed with stages
in 5 minutes and 40 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
wait-for-it.sh: waiting 20 seconds for postgres:5432
wait-for-it.sh: postgres:5432 is available after 1 seconds
wait-for-it.sh: postgres:5432 is available after 0 seconds
You are now connected to database "postgres" as user "postgres".
on
......@@ -9,11 +9,23 @@ You are now connected to database "postgres" as user "postgres".
Target width is unset.
You are now connected to database "ds2" as user "ds2".
You are now connected to database "postgres" as user "postgres".
VACUUM
You are now connected to database "ds2" as user "ds2".
--== Query (Q1) ==--
-- tag::lastname-firstname-customers[]
-- tag::lastname-firstname-customers-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-eo[]
-- tag::lastname-firstname-customers-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers;
-- end::lastname-firstname-customers-query-ea[]
-- tag::lastname-firstname-customers-query[]
SELECT
lastname,
......@@ -22,6 +34,8 @@ FROM
customers;
-- end::lastname-firstname-customers-query[]
-- tag::lastname-firstname-customers-ci[]
-- end::lastname-firstname-customers-ci[]
-- tag::lastname-firstname-customers-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-explain-adoc[]
......@@ -29,15 +43,15 @@ Output format is asciidoc.
[cols="<l",frame="none"]
|====
|Seq Scan on customers
|Planning Time: 0.157 ms
|Execution Time: 331.697 ms
|Planning Time: 1.204 ms
|Execution Time: 293.721 ms
|====
-- end::lastname-firstname-customers-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-explain-text[]
Seq Scan on customers
Planning Time: 0.022 ms
Execution Time: 193.842 ms
Planning Time: 0.046 ms
Execution Time: 192.889 ms
-- end::lastname-firstname-customers-explain-text[]
-- end::lastname-firstname-customers-explain[]
......@@ -47,6 +61,17 @@ Output format is aligned.
-- tag::lastname-firstname-customers-id1000-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-id1000-eo[]
-- tag::lastname-firstname-customers-id1000-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
customerid = 1000;
-- end::lastname-firstname-customers-id1000-query-ea[]
-- tag::lastname-firstname-customers-id1000-query[]
SELECT
lastname,
......@@ -57,24 +82,28 @@ WHERE
customerid = 1000;
-- end::lastname-firstname-customers-id1000-query[]
-- tag::lastname-firstname-customers-id1000-ci[]
-- end::lastname-firstname-customers-id1000-ci[]
-- tag::lastname-firstname-customers-id1000-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-id1000-explain-adoc[]
[cols="<l",frame="none"]
|====
|Index Scan using customers_pkey on customers
|Index Only Scan using customers_customerid_lastname_firstname on customers
| Index Cond: (customerid = 1000)
| Heap Fetches: 0
|Planning Time: 0.084 ms
|Execution Time: 0.140 ms
|Execution Time: 0.400 ms
|====
-- end::lastname-firstname-customers-id1000-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-id1000-explain-text[]
Index Scan using customers_pkey on customers
Index Only Scan using customers_customerid_lastname_firstname on customers
Index Cond: (customerid = 1000)
Planning Time: 0.021 ms
Execution Time: 0.028 ms
Heap Fetches: 0
Planning Time: 0.088 ms
Execution Time: 0.019 ms
-- end::lastname-firstname-customers-id1000-explain-text[]
-- end::lastname-firstname-customers-id1000-explain[]
......@@ -84,6 +113,17 @@ Output format is aligned.
-- tag::lastname-firstname-customers-idrange-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-idrange-eo[]
-- tag::lastname-firstname-customers-idrange-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
customerid BETWEEN 1000 AND 1100;
-- end::lastname-firstname-customers-idrange-query-ea[]
-- tag::lastname-firstname-customers-idrange-query[]
SELECT
lastname,
......@@ -94,24 +134,28 @@ WHERE
customerid BETWEEN 1000 AND 1100;
-- end::lastname-firstname-customers-idrange-query[]
-- tag::lastname-firstname-customers-idrange-ci[]
-- end::lastname-firstname-customers-idrange-ci[]
-- tag::lastname-firstname-customers-idrange-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-idrange-explain-adoc[]
[cols="<l",frame="none"]
|====
|Index Scan using customers_pkey on customers
|Index Only Scan using customers_customerid_lastname_firstname on customers
| Index Cond: ((customerid >= 1000) AND (customerid <= 1100))
|Planning Time: 0.091 ms
|Execution Time: 0.054 ms
| Heap Fetches: 0
|Planning Time: 0.110 ms
|Execution Time: 0.044 ms
|====
-- end::lastname-firstname-customers-idrange-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-idrange-explain-text[]
Index Scan using customers_pkey on customers
Index Only Scan using customers_customerid_lastname_firstname on customers
Index Cond: ((customerid >= 1000) AND (customerid <= 1100))
Planning Time: 0.064 ms
Execution Time: 0.031 ms
Heap Fetches: 0
Planning Time: 0.109 ms
Execution Time: 0.028 ms
-- end::lastname-firstname-customers-idrange-explain-text[]
-- end::lastname-firstname-customers-idrange-explain[]
......@@ -121,6 +165,17 @@ Output format is aligned.
-- tag::lastname-firstname-customers-agerange-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-agerange-eo[]
-- tag::lastname-firstname-customers-agerange-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
age BETWEEN 20 AND 30;
-- end::lastname-firstname-customers-agerange-query-ea[]
-- tag::lastname-firstname-customers-agerange-query[]
SELECT
lastname,
......@@ -131,26 +186,28 @@ WHERE
age BETWEEN 20 AND 30;
-- end::lastname-firstname-customers-agerange-query[]
-- tag::lastname-firstname-customers-agerange-ci[]
-- end::lastname-firstname-customers-agerange-ci[]
-- tag::lastname-firstname-customers-agerange-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-agerange-explain-adoc[]
[cols="<l",frame="none"]
|====
|Seq Scan on customers
| Filter: ((age >= 20) AND (age <= 30))
| Rows Removed by Filter: 848687
|Planning Time: 0.052 ms
|Execution Time: 213.441 ms
|Index Only Scan using customers_age_lastname_firstname on customers
| Index Cond: ((age >= 20) AND (age <= 30))
| Heap Fetches: 0
|Planning Time: 0.072 ms
|Execution Time: 37.367 ms
|====
-- end::lastname-firstname-customers-agerange-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-agerange-explain-text[]
Seq Scan on customers
Filter: ((age >= 20) AND (age <= 30))
Rows Removed by Filter: 848687
Planning Time: 0.033 ms
Execution Time: 211.770 ms
Index Only Scan using customers_age_lastname_firstname on customers
Index Cond: ((age >= 20) AND (age <= 30))
Heap Fetches: 0
Planning Time: 0.058 ms
Execution Time: 29.401 ms
-- end::lastname-firstname-customers-agerange-explain-text[]
-- end::lastname-firstname-customers-agerange-explain[]
......@@ -160,6 +217,17 @@ Output format is aligned.
-- tag::lastname-firstname-customers-gtZ-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-gtZ-eo[]
-- tag::lastname-firstname-customers-gtZ-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
lastname > 'Z';
-- end::lastname-firstname-customers-gtZ-query-ea[]
-- tag::lastname-firstname-customers-gtZ-query[]
SELECT
lastname,
......@@ -170,32 +238,28 @@ WHERE
lastname > 'Z';
-- end::lastname-firstname-customers-gtZ-query[]
-- tag::lastname-firstname-customers-gtZ-ci[]
-- end::lastname-firstname-customers-gtZ-ci[]
-- tag::lastname-firstname-customers-gtZ-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-gtZ-explain-adoc[]
[cols="<l",frame="none"]
|====
|Gather
| Workers Planned: 2
| Workers Launched: 2
| -> Parallel Seq Scan on customers
| Filter: ((lastname)::text > 'Z'::text)
| Rows Removed by Filter: 320514
|Planning Time: 0.040 ms
|Execution Time: 80.839 ms
|Index Only Scan using customers_lastname_firstname on customers
| Index Cond: (lastname > 'Z'::text)
| Heap Fetches: 0
|Planning Time: 0.073 ms
|Execution Time: 9.812 ms
|====
-- end::lastname-firstname-customers-gtZ-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-gtZ-explain-text[]
Gather
Workers Planned: 2
Workers Launched: 2
-> Parallel Seq Scan on customers
Filter: ((lastname)::text > 'Z'::text)
Rows Removed by Filter: 320514
Planning Time: 0.040 ms
Execution Time: 78.637 ms
Index Only Scan using customers_lastname_firstname on customers
Index Cond: (lastname > 'Z'::text)
Heap Fetches: 0
Planning Time: 0.047 ms
Execution Time: 7.928 ms
-- end::lastname-firstname-customers-gtZ-explain-text[]
-- end::lastname-firstname-customers-gtZ-explain[]
......@@ -205,6 +269,16 @@ Output format is aligned.
-- tag::lastname-firstname-customers-gtN-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-gtN-eo[]
-- tag::lastname-firstname-customers-gtN-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
firstname
FROM
customers
WHERE
lastname > 'N';
-- end::lastname-firstname-customers-gtN-query-ea[]
-- tag::lastname-firstname-customers-gtN-query[]
SELECT
firstname
......@@ -214,26 +288,28 @@ WHERE
lastname > 'N';
-- end::lastname-firstname-customers-gtN-query[]
-- tag::lastname-firstname-customers-gtN-ci[]
-- end::lastname-firstname-customers-gtN-ci[]
-- tag::lastname-firstname-customers-gtN-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-gtN-explain-adoc[]
[cols="<l",frame="none"]
|====
|Seq Scan on customers
| Filter: ((lastname)::text > 'N'::text)
| Rows Removed by Filter: 500821
|Planning Time: 0.036 ms
|Execution Time: 226.083 ms
|Index Only Scan using customers_lastname_firstname on customers
| Index Cond: (lastname > 'N'::text)
| Heap Fetches: 0
|Planning Time: 0.066 ms
|Execution Time: 134.448 ms
|====
-- end::lastname-firstname-customers-gtN-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-gtN-explain-text[]
Seq Scan on customers
Filter: ((lastname)::text > 'N'::text)
Rows Removed by Filter: 500821
Index Only Scan using customers_lastname_firstname on customers
Index Cond: (lastname > 'N'::text)
Heap Fetches: 0
Planning Time: 0.069 ms
Execution Time: 227.112 ms
Execution Time: 109.035 ms
-- end::lastname-firstname-customers-gtN-explain-text[]
-- end::lastname-firstname-customers-gtN-explain[]
......@@ -243,6 +319,18 @@ Output format is aligned.
-- tag::lastname-firstname-customers-orderby-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-orderby-eo[]
-- tag::lastname-firstname-customers-orderby-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
ORDER BY
lastname,
firstname;
-- end::lastname-firstname-customers-orderby-query-ea[]
-- tag::lastname-firstname-customers-orderby-query[]
SELECT
lastname,
......@@ -254,28 +342,26 @@ ORDER BY
firstname;
-- end::lastname-firstname-customers-orderby-query[]
-- tag::lastname-firstname-customers-orderby-ci[]
-- end::lastname-firstname-customers-orderby-ci[]
-- tag::lastname-firstname-customers-orderby-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-orderby-explain-adoc[]
[cols="<l",frame="none"]
|====
|Sort
| Sort Key: lastname, firstname
| Sort Method: external merge Disk: 27488kB
| -> Seq Scan on customers
|Planning Time: 0.053 ms
|Execution Time: 3136.313 ms
|Index Only Scan using customers_lastname_firstname on customers
| Heap Fetches: 0
|Planning Time: 0.090 ms
|Execution Time: 156.453 ms
|====
-- end::lastname-firstname-customers-orderby-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-orderby-explain-text[]
Sort
Sort Key: lastname, firstname
Sort Method: external merge Disk: 27488kB
-> Seq Scan on customers
Planning Time: 0.030 ms
Execution Time: 3111.635 ms
Index Only Scan using customers_lastname_firstname on customers
Heap Fetches: 0
Planning Time: 0.078 ms
Execution Time: 132.884 ms
-- end::lastname-firstname-customers-orderby-explain-text[]
-- end::lastname-firstname-customers-orderby-explain[]
......@@ -285,6 +371,20 @@ Output format is aligned.
-- tag::lastname-firstname-customers-gtZ-orderby-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-gtZ-orderby-eo[]
-- tag::lastname-firstname-customers-gtZ-orderby-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
lastname > 'Z'
ORDER BY
lastname,
firstname;
-- end::lastname-firstname-customers-gtZ-orderby-query-ea[]
-- tag::lastname-firstname-customers-gtZ-orderby-query[]
SELECT
lastname,
......@@ -298,42 +398,28 @@ ORDER BY
firstname;
-- end::lastname-firstname-customers-gtZ-orderby-query[]
-- tag::lastname-firstname-customers-gtZ-orderby-ci[]
-- end::lastname-firstname-customers-gtZ-orderby-ci[]
-- tag::lastname-firstname-customers-gtZ-orderby-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-gtZ-orderby-explain-adoc[]
[cols="<l",frame="none"]
|====
|Gather Merge
| Workers Planned: 2
| Workers Launched: 2
| -> Sort
| Sort Key: lastname, firstname
| Sort Method: quicksort Memory: 1428kB
| Worker 0: Sort Method: quicksort Memory: 1388kB
| Worker 1: Sort Method: quicksort Memory: 1343kB
| -> Parallel Seq Scan on customers
| Filter: ((lastname)::text > 'Z'::text)
| Rows Removed by Filter: 320514
|Planning Time: 0.046 ms
|Execution Time: 120.382 ms
|Index Only Scan using customers_lastname_firstname on customers
| Index Cond: (lastname > 'Z'::text)
| Heap Fetches: 0
|Planning Time: 0.073 ms
|Execution Time: 8.250 ms
|====
-- end::lastname-firstname-customers-gtZ-orderby-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-gtZ-orderby-explain-text[]
Gather Merge
Workers Planned: 2
Workers Launched: 2
-> Sort
Sort Key: lastname, firstname
Sort Method: quicksort Memory: 1450kB
Worker 0: Sort Method: quicksort Memory: 1340kB
Worker 1: Sort Method: quicksort Memory: 1368kB
-> Parallel Seq Scan on customers
Filter: ((lastname)::text > 'Z'::text)
Rows Removed by Filter: 320514
Planning Time: 0.044 ms
Execution Time: 119.551 ms
Index Only Scan using customers_lastname_firstname on customers
Index Cond: (lastname > 'Z'::text)
Heap Fetches: 0
Planning Time: 0.053 ms
Execution Time: 7.800 ms
-- end::lastname-firstname-customers-gtZ-orderby-explain-text[]
-- end::lastname-firstname-customers-gtZ-orderby-explain[]
......@@ -343,6 +429,17 @@ Output format is aligned.
-- tag::lastname-firstname-customers-stateAR-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::lastname-firstname-customers-stateAR-eo[]
-- tag::lastname-firstname-customers-stateAR-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
lastname,
firstname
FROM
customers
WHERE
state = 'AR';
-- end::lastname-firstname-customers-stateAR-query-ea[]
-- tag::lastname-firstname-customers-stateAR-query[]
SELECT
lastname,
......@@ -353,32 +450,28 @@ WHERE
state = 'AR';
-- end::lastname-firstname-customers-stateAR-query[]
-- tag::lastname-firstname-customers-stateAR-ci[]
-- end::lastname-firstname-customers-stateAR-ci[]
-- tag::lastname-firstname-customers-stateAR-explain[]
Output format is asciidoc.
-- tag::lastname-firstname-customers-stateAR-explain-adoc[]
[cols="<l",frame="none"]
|====
|Gather
| Workers Planned: 2
| Workers Launched: 2
| -> Parallel Seq Scan on customers
| Filter: ((state)::text = 'AR'::text)
| Rows Removed by Filter: 330017
|Planning Time: 0.044 ms
|Execution Time: 74.578 ms
|Index Only Scan using customers_state_lastname_firstname on customers
| Index Cond: (state = 'AR'::text)
| Heap Fetches: 0
|Planning Time: 0.094 ms
|Execution Time: 2.820 ms
|====
-- end::lastname-firstname-customers-stateAR-explain-adoc[]
Output format is aligned.
-- tag::lastname-firstname-customers-stateAR-explain-text[]
Gather
Workers Planned: 2
Workers Launched: 2
-> Parallel Seq Scan on customers
Filter: ((state)::text = 'AR'::text)
Rows Removed by Filter: 330017
Planning Time: 0.037 ms
Execution Time: 58.861 ms
Index Only Scan using customers_state_lastname_firstname on customers
Index Cond: (state = 'AR'::text)
Heap Fetches: 0
Planning Time: 0.055 ms
Execution Time: 1.831 ms
-- end::lastname-firstname-customers-stateAR-explain-text[]
-- end::lastname-firstname-customers-stateAR-explain[]
......@@ -388,6 +481,21 @@ Output format is aligned.
-- tag::title-price-products-subselect-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::title-price-products-subselect-eo[]
-- tag::title-price-products-subselect-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
title,
price
FROM
products
WHERE
price = (
SELECT
max(price)
FROM
products);
-- end::title-price-products-subselect-query-ea[]
-- tag::title-price-products-subselect-query[]
SELECT
title,
......@@ -402,48 +510,46 @@ WHERE
products);
-- end::title-price-products-subselect-query[]
-- tag::title-price-products-subselect-ci[]
-- end::title-price-products-subselect-ci[]
-- tag::title-price-products-subselect-explain[]
Output format is asciidoc.
-- tag::title-price-products-subselect-explain-adoc[]
[cols="<l",frame="none"]
|====
|Gather
| Workers Planned: 2
| Params Evaluated: $1
| Workers Launched: 2
| InitPlan 1 (returns $1)
| -> Finalize Aggregate
| -> Gather
| Workers Planned: 2
| Workers Launched: 2
| -> Partial Aggregate
| -> Parallel Seq Scan on products products_1
| -> Parallel Seq Scan on products
| Filter: (price = $1)
| Rows Removed by Filter: 158747
|Planning Time: 0.181 ms
|Execution Time: 90.686 ms
|Bitmap Heap Scan on products
| Recheck Cond: (price = $1)
| Heap Blocks: exact=4853
| InitPlan 2 (returns $1)
| -> Result
| InitPlan 1 (returns $0)
| -> Limit
| -> Index Only Scan Backward using products_price on products products_1
| Index Cond: (price IS NOT NULL)
| Heap Fetches: 0
| -> Bitmap Index Scan on products_price
| Index Cond: (price = $1)
|Planning Time: 0.373 ms
|Execution Time: 47.017 ms
|====
-- end::title-price-products-subselect-explain-adoc[]
Output format is aligned.
-- tag::title-price-products-subselect-explain-text[]
Gather
Workers Planned: 2
Params Evaluated: $1
Workers Launched: 2
InitPlan 1 (returns $1)
-> Finalize Aggregate
-> Gather
Workers Planned: 2
Workers Launched: 2
-> Partial Aggregate
-> Parallel Seq Scan on products products_1
-> Parallel Seq Scan on products
Filter: (price = $1)
Rows Removed by Filter: 158747
Planning Time: 0.102 ms
Execution Time: 69.845 ms
Bitmap Heap Scan on products
Recheck Cond: (price = $1)
Heap Blocks: exact=4853
InitPlan 2 (returns $1)
-> Result
InitPlan 1 (returns $0)
-> Limit
-> Index Only Scan Backward using products_price on products products_1
Index Cond: (price IS NOT NULL)
Heap Fetches: 0
-> Bitmap Index Scan on products_price
Index Cond: (price = $1)
Planning Time: 0.097 ms
Execution Time: 22.750 ms
-- end::title-price-products-subselect-explain-text[]
-- end::title-price-products-subselect-explain[]
......@@ -453,6 +559,14 @@ Output format is aligned.
-- tag::income_avg-customers-eo[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
-- end::income_avg-customers-eo[]
-- tag::income_avg-customers-query-ea[]
EXPLAIN (ANALYZE 1,COSTS 0,TIMING 1,BUFFERS 0,VERBOSE 0,FORMAT TEXT)
SELECT
avg(income)
FROM
customers;
-- end::income_avg-customers-query-ea[]
-- tag::income_avg-customers-query[]
SELECT
avg(income)
......@@ -460,6 +574,8 @@ FROM
customers;
-- end::income_avg-customers-query[]