Speed Up clean_pending.pl?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The company I'm at is running dbmirror, and we've found a problem with clean_pending,pl, in that it takes an age to run. I've done some looking about, and came with up this:

http://www.postgresql.org/docs/7.4/interactive/indexes.html

After reading the comments on that page, I explain'd the query that clean_pending runs, and found that it is performing a sequential scan on each of the tables.

Is there a way to make it use the indexes?

Any help would be appreciated.

Thanks

John


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux