Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5d099f

Browse files
committed
doc: Replace non-ASCII lines in psql example output
We normally use the default line mode in examples.
1 parent8f6c942 commitb5d099f

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

‎doc/src/sgml/jit.sgml

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,12 @@
151151
is not using <acronym>JIT</acronym>:
152152
<screen>
153153
=# EXPLAIN ANALYZE SELECT SUM(relpages) FROM pg_class;
154-
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
155-
│ QUERY PLAN │
156-
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
157-
│ Aggregate (cost=16.27..16.29 rows=1 width=8) (actual time=0.303..0.303 rows=1 loops=1) │
158-
│ -> Seq Scan on pg_class (cost=0.00..15.42 rows=342 width=4) (actual time=0.017..0.111 rows=356 loops=1) │
159-
│ Planning Time: 0.116 ms │
160-
│ Execution Time: 0.365 ms │
161-
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
154+
QUERY PLAN
155+
-------------------------------------------------------------------------------------------------------------
156+
Aggregate (cost=16.27..16.29 rows=1 width=8) (actual time=0.303..0.303 rows=1 loops=1)
157+
-> Seq Scan on pg_class (cost=0.00..15.42 rows=342 width=4) (actual time=0.017..0.111 rows=356 loops=1)
158+
Planning Time: 0.116 ms
159+
Execution Time: 0.365 ms
162160
(4 rows)
163161
</screen>
164162
Given the cost of the plan, it is entirely reasonable that no
@@ -169,22 +167,20 @@
169167
=# SET jit_above_cost = 10;
170168
SET
171169
=# EXPLAIN ANALYZE SELECT SUM(relpages) FROM pg_class;
172-
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
173-
│ QUERY PLAN │
174-
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
175-
│ Aggregate (cost=16.27..16.29 rows=1 width=8) (actual time=6.049..6.049 rows=1 loops=1) │
176-
│ -> Seq Scan on pg_class (cost=0.00..15.42 rows=342 width=4) (actual time=0.019..0.052 rows=356 loops=1) │
177-
│ Planning Time: 0.133 ms │
178-
│ JIT: │
179-
│ Functions: 3 │
180-
│ Generation Time: 1.259 ms │
181-
│ Inlining: false │
182-
│ Inlining Time: 0.000 ms │
183-
│ Optimization: false │
184-
│ Optimization Time: 0.797 ms │
185-
│ Emission Time: 5.048 ms │
186-
│ Execution Time: 7.416 ms │
187-
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
170+
QUERY PLAN
171+
-------------------------------------------------------------------------------------------------------------
172+
Aggregate (cost=16.27..16.29 rows=1 width=8) (actual time=6.049..6.049 rows=1 loops=1)
173+
-> Seq Scan on pg_class (cost=0.00..15.42 rows=342 width=4) (actual time=0.019..0.052 rows=356 loops=1)
174+
Planning Time: 0.133 ms
175+
JIT:
176+
Functions: 3
177+
Generation Time: 1.259 ms
178+
Inlining: false
179+
Inlining Time: 0.000 ms
180+
Optimization: false
181+
Optimization Time: 0.797 ms
182+
Emission Time: 5.048 ms
183+
Execution Time: 7.416 ms
188184
</screen>
189185
As visible here, <acronym>JIT</acronym> was used, but inlining and
190186
expensive optimization were not. If <xref

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp