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

Commitd9cacca

Browse files
committed
Finish reverting "Insert temporary debugging output in regression tests."
This removes the last of the temporary debugging queries added to theregression tests by commitf03a9ca. We've pretty much convincedourselves that the plan instability we were seeing is due to VACUUMsometimes failing to update relpages/reltuples for a single-page table,due to bgwriter or checkpointer holding a pin on that page at just thewrong time. I'll push a workaround for that separately.Discussion:https://postgr.es/m/CA+hUKG+0CxrKRWRMf5ymN3gm+BECHna2B-q1w8onKBep4HasUw@mail.gmail.com
1 parent4fa1d89 commitd9cacca

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

‎src/test/regress/expected/select_parallel.out

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,6 @@ select round(avg(aa)), sum(aa) from a_star a3;
8989
14 | 355
9090
(1 row)
9191

92-
-- Temporary hack to investigate whether extra vacuum/analyze is happening
93-
select relname, relpages, reltuples
94-
from pg_class
95-
where relname like '__star' order by relname;
96-
relname | relpages | reltuples
97-
---------+----------+-----------
98-
a_star | 1 | 3
99-
b_star | 1 | 4
100-
c_star | 1 | 4
101-
d_star | 1 | 16
102-
e_star | 1 | 7
103-
f_star | 1 | 16
104-
(6 rows)
105-
10692
-- Disable Parallel Append
10793
alter table a_star reset (parallel_workers);
10894
alter table b_star reset (parallel_workers);

‎src/test/regress/sql/select_parallel.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ explain (costs off)
3636
select round(avg(aa)),sum(aa)from a_star;
3737
select round(avg(aa)),sum(aa)from a_star a3;
3838

39-
-- Temporary hack to investigate whether extra vacuum/analyze is happening
40-
select relname, relpages, reltuples
41-
from pg_class
42-
where relnamelike'__star'order by relname;
43-
4439
-- Disable Parallel Append
4540
altertable a_star reset (parallel_workers);
4641
altertable b_star reset (parallel_workers);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp