Skip to site navigation (Press enter)

Re: [PERFORM] Why is VACUUM ANALYZE so slow?

Neil Conway Tue, 16 Dec 2003 15:57:06 -0800

"David Shadovitz" <[EMAIL PROTECTED]> writes:
> I'm running PG 7.2.2 on RH Linux 8.0.

Note that this version of PostgreSQL is quite old.

> I'd like to know why "VACUUM ANALYZE <table>" is extemely slow (hours) for 
> certain tables.

Is there another concurrent transaction that has modified the table
but has not committed? VACUUM ANALYZE will need to block waiting for
it. You might be able to get some insight into this by examining the
pg_locks system view:

http://www.postgresql.org/docs/current/static/monitoring-locks.html

As well as the pg_stat_activity view.

-Neil


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
  • Previous message
  • View by thread
  • View by date
  • Next message
  • [PERFORM] Why is VACUUM ANALYZE <table> so slow? David Shadovitz
    • Re: [PERFORM] Why is VACUUM ANALYZE <table> so ... Neil Conway
    • Re: [PERFORM] Why is VACUUM ANALYZE <table> so ... David Shadovitz

Reply via email to

The Mail Archive
  • The Mail Archive home
  • pgsql-performance - all messages
  • pgsql-performance - about the list
  • Expand
  • Previous message
  • Next message
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • 87brq8l6l5.fsf@mailbox.samurai.com