truncate partitioned table locking

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

 



Hi

 

I have master table A, inherited by Table B and Table C

 

Table B has data for June 18

Table C has data for June 19

 

The application issues queries against the master table…on June 19, there is no reference to data from June 18 tables.

 

When I issue a truncate table B, it appears to take a lock on master table A (this is evident as other inserts to the table are in a WAITING state), and the ps listing shows the truncate table in a WAIT state (along with the INSERTS)

 

Does the truncation of a child table take a lock on the master table ? and if so, why does it go in a WAIT state


[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