dropping partitioned table waits forever

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

 



Hi

 

I have a table partitioned on a daily basis. Data is constantly inserted in this table. When I attempt to drop a partition that is not used(i.e previous day’s), the drop table waits for a loooong time.This is probably due to the fact that the old partitioned table is being referenced in a query plan(the insert into the parent table uses triggers).

 

How can I prevent the locking out of the drop table? I tried truncate table but it is worse. It locks out the inserts in the parent table and then it waits.(hence causing a deadlock)


[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