The first day of working--everything is fresh to me--I am a super person!

I did astrange thing at the first day of the new year and Oracle gave me a foolish feedback then I took a rather long timeto find the root cause about the issue.

$ sqlplus scott/tiger

SQL*Plus: Release 10.2.0.3.0 - Production on Mon Feb 2 02:15:49 2009

Copyright (c) 1982, 2006, Oracle. All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP
and Data Mining options

SQL> CREATE MATERIALIZED VIEW sgreports.summary on prebuilt table
2 REFRESH force with primary key
3 AS select *
4 FROM sgreports.summary;
CREATE MATERIALIZED VIEW sgreports.summary on prebuilt table
*
ERROR at line 1:
ORA-04020: deadlock detected while trying to lock object
30x407DD02900x41697EB180x40BE24128


SQL> CREATE MATERIALIZED VIEW summary on prebuilt table
2 REFRESH force with primary key
3 AS select *
4 FROM sgreports.summary;

Materialized view created.

I took time to find what has caused the deadlock,sound like joke,isn't it:)

The first day of working--everything is fresh to me--I am a super person!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值