sqlldr中出现ORA-00054资源争用问题
版本:Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
附件为sqlldr日志中的报错,
在数据库后台跟踪出现如下的lock等待
holder(NPBSPROD_AFFINIUM-146:10842) SQL=SELECT 'X' FROM SYS.LOADER_PART_INFO WHE
RE TNAME = :1 AND OWNER = :2 AND PARTTYPE = 3
waiter(NPBSPROD_AFFINIUM-21:58744) SQL=DELETE FROM NPBSPROD_AFFINIUM.UA_SEGMEMBE
RSHIP WHERE (SegmentID = 191)
在这里SQL=SELECT 'X' FROM SYS.LOADER_PART_INFO WHERE TNAME = :1 AND OWNER = :2 AND PARTTYPE = 3 阻塞了下面的delete语句,想问下各位,这句select的意义是什么?查了文档说的也不清楚, 求各位指教。 holder(NPBSPROD_AFFINIUM-146:10842) SQL=SELECT 'X' FROM SYS.LOADER_PART_INFO WHE
RE TNAME = :1 AND OWNER = :2 AND PARTTYPE = 3
我不清楚 你是如何后去这些信息的,但似乎上面的holder语句只说明 其执行过该语句,并不代表是该语句 阻塞了DELETE Maclean Liu(刘相兵 发表于 2014-10-17 14:41 static/image/common/back.gif
holder(NPBSPROD_AFFINIUM-146:10842) SQL=SELECT 'X' FROM SYS.LOADER_PART_INFO WHE
RE TNAME = :1 AND ...
就是业务的process在跑, 我在后台不停去的查v$lock 去确定 holder和waiter
页:
[1]