when altering a table with one new column, pb8 was hanged and i close and reopen and again the same problem is coming, does any body know to solve this issue... asked 25 Mar '13, 07:07 kvraman03 Volker Barth |
ALTER TABLE ... ADD COLUMN requires an exclusive lock: all other transactions that are referencing the table must commit before the ALTER can proceed. Also, in v7 the ALTER must rewrite all of the rows. If the table is large, it can take a significant amount of time. The exclusive lock is held the entire time so while the ALTER is in progress, all other connections that attempt to access the table will block. -john. answered 25 Mar '13, 07:12 John Smirnios Thank you john, it worked..
(25 Mar '13, 07:38)
kvraman03
|