on 2011 Nov 03 9:40 AM
Re-loading a v12.0.1.3152 database I get this error message
Could not execute statement. User 'another user' has the row in 'Person' locked SQLCODE=-210, ODBC 3 State="40001" Line 23582, column 1 You can continue executing or stop.
ALTER TABLE "pears"."employment" ADD NOT NULL FOREIGN KEY "person" ("personid") REFERENCES "pears"."Person" ("personid")
This is similar to this question (Dec 2009), relating to 10.0.1 where the issue seemed to be the cleaner process, and work was in progress to resolve this.
I don't see anything in the latest readme about cleaner issues since 3152, and wonder if this problem could have returned. The tables in question have several 100,000 rows each, but are much smaller than other tables that have similar keys and re-loaded without problem.
There are of course no other external users connected to the database.
As far as I'm aware, we had solved this specific problem in 2009. QTS 605792 renamed all background connections so that, in case this sort of problem was reported, a more useful identifier than "other user" would be reported. That fix went into 12.0.0GA, in addition to 10.0.1 and 11.0.1. QTS 609706 embodies the changes made to prevent DDL statements, such as ALTER TABLE, from reporting an error due to cleaner activity. This also shipped in 12.0.0GA.
Is this problem reproducible, Justin? Will your reload.sql script create this problem reproducibly? If so, I would like to see that script and get it to fail here in the lab.
My apologies for the inconvenience.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.