on 2013 Mar 25 7:07 AM
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...
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
47 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.