Skip to content

Commit b3e33e7

Browse files
committed
Less indentation
1 parent cee3b74 commit b3e33e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/postgresql/hyperscale/concepts-performance-tuning.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ nodes.
101101
-- logically correct, but slow
102102

103103
WITH single_ad AS (
104-
SELECT *
105-
FROM ads
106-
WHERE id=1
104+
SELECT *
105+
FROM ads
106+
WHERE id=1
107107
)
108108
SELECT *
109109
FROM single_ad s
@@ -117,9 +117,9 @@ We can speed up the query up by filtering on the distribution column,
117117
-- faster, joining on distribution column
118118

119119
WITH single_ad AS (
120-
SELECT *
121-
FROM ads
122-
WHERE id=1 and company_id=1
120+
SELECT *
121+
FROM ads
122+
WHERE id=1 and company_id=1
123123
)
124124
SELECT *
125125
FROM single_ad s

0 commit comments

Comments
 (0)