cache| Solution
In the afternoon, the business staff reported that any operations related to the Zzss03201281cs_no table would be hang, including Desc zzss03201281cs_no, and hang there.
The first feeling was locked, so I looked at the lock
Sql> SELECT * from V$lock where block=1;
No rows selected
Sql>
Sql> SELECT * from Gv$lock where block=1;
No rows selected
Sql>
Then look at the wait event:
Sql> Col event for A30
Sql> L
1* Select Event,p1,p2,sid from v$session_wait where event= ' Library cache lock '
Sql>/
Sql> Select B.username Username, b.terminal terminal,b.program program,b.spid
2 from V$session A, v$process b
where a.paddr=b.addr and a.sid = ' &sid ';
3 Enter value for sid:30
Old 3:where a.paddr=b.addr and a.sid = ' &sid '
New 3:where a.paddr=b.addr and a.sid = ' 30 '
After you kill the process, the problem is solved. (Sadly, forget to look at this guy executing the SQL, hehe)
Sql> desc zzss03201281cs_no
ERROR:
Ora-04043:object Zzss03201281cs_no does not exist
Sql> desc zzss03201281cs_no
ERROR:
Ora-04043:object Zzss03201281cs_no does not exist
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.