fix copy paste mistake

pull/7334/head
naisila 2023-11-09 17:53:17 +03:00
parent 9dc1c40580
commit 3979f492e0
No known key found for this signature in database
GPG Key ID: A824BA9862D73E6D
2 changed files with 4 additions and 4 deletions

View File

@ -350,11 +350,11 @@ delete from local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
SELECT CASE WHEN s BETWEEN 20000000 AND 49999999 THEN 35000000 ELSE s END size SELECT CASE WHEN s BETWEEN 20000000 AND 25000000 THEN 22500000 ELSE s END
FROM pg_total_relation_size('local_vacuum_table') s ; FROM pg_total_relation_size('local_vacuum_table') s ;
size s
--------------------------------------------------------------------- ---------------------------------------------------------------------
35000000 22500000
(1 row) (1 row)
-- vacuum full deallocates pages of dead tuples whereas normal vacuum only marks dead tuples on visibility map -- vacuum full deallocates pages of dead tuples whereas normal vacuum only marks dead tuples on visibility map

View File

@ -231,7 +231,7 @@ delete from local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
VACUUM local_vacuum_table; VACUUM local_vacuum_table;
SELECT CASE WHEN s BETWEEN 20000000 AND 49999999 THEN 35000000 ELSE s END size SELECT CASE WHEN s BETWEEN 20000000 AND 25000000 THEN 22500000 ELSE s END
FROM pg_total_relation_size('local_vacuum_table') s ; FROM pg_total_relation_size('local_vacuum_table') s ;
-- vacuum full deallocates pages of dead tuples whereas normal vacuum only marks dead tuples on visibility map -- vacuum full deallocates pages of dead tuples whereas normal vacuum only marks dead tuples on visibility map