pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedreading vacuum verbose output
2+ messages / 2 participants
[nested] [flat]
* reading vacuum verbose output
@ 2005-06-14 09:31 Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2005-06-14 13:35 ` Re: reading vacuum verbose output Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Tsirkin Evgeny @ 2005-06-14 09:31 UTC (permalink / raw)
To: pgsql-admin
Hello list!
I have run a vacuum verbose on a db and got something a can't understand
by myself :
INFO: Pages 4768: Changed 0, Empty 0; Tup 4764: Vac 0, Keep 0, UnUsed 542404.
Total CPU 0.35s/0.00u sec elapsed 1.51 sec.
INFO: --Relation public.student2maslulsign_rashum_musmach_old--
INFO: Pages 906: Changed 0, Empty 0; Tup 846: Vac 0, Keep 0, UnUsed 96035.
Total CPU 0.03s/0.01u sec elapsed 0.04 sec.
INFO: --Relation public.preconditioncourse--
INFO: Pages 297: Changed 0, Empty 0; Tup 3754: Vac 0, Keep 0, UnUsed 24163.
Total CPU 0.01s/0.00u sec elapsed 0.02 sec.
INFO: --Relation public.course--
INFO: Pages 40891: Changed 0, Empty 0; Tup 13203: Vac 0, Keep 0, UnUsed 1413836.
Total CPU 1.22s/0.17u sec elapsed 2.94 sec.
INFO: --Relation public.counter--
INFO: Pages 6050: Changed 0, Empty 0; Tup 10701: Vac 0, Keep 0, UnUsed 690548.
Total CPU 0.28s/0.01u sec elapsed 5.91 sec.
If there are unused tuples why i see the Changed 0 ?
Probably i misunderstand the output fields can somebody please explain
those to me?
(Note :The db is vacuumed every ~5 hours ver 7.3)
Thanks.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: reading vacuum verbose output
2005-06-14 09:31 reading vacuum verbose output Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
@ 2005-06-14 13:35 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2005-06-14 13:35 UTC (permalink / raw)
To: Tsirkin Evgeny <tsurkin@mail.jct.ac.il>; +Cc: pgsql-admin
Tsirkin Evgeny <tsurkin@mail.jct.ac.il> writes:
> INFO: --Relation public.student2maslulsign_rashum_musmach_old--
> INFO: Pages 906: Changed 0, Empty 0; Tup 846: Vac 0, Keep 0, UnUsed 96035.
> Total CPU 0.03s/0.01u sec elapsed 0.04 sec.
> If there are unused tuples why i see the Changed 0 ?
Those are unused tuple slots, not tuples. They can be re-used, but they
won't be reclaimed unless the page they are in is truncated from the
table.
> (Note :The db is vacuumed every ~5 hours ver 7.3)
It would appear that you need a round of VACUUM FULL to get these tables
back down to a reasonable physical size, and in future vacuum more often.
Check your FSM settings too.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-06-14 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14 09:31 reading vacuum verbose output Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
2005-06-14 13:35 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox