ややシンプルなUPDATE...WHERE EXISTS...
テーブルにしています。Oracle は (他のすべてのクライアント ツールを介して) ただし、接続の問題の可能性を示す ORA-03113 をすぐに (遅延なく) 返します。これをデータベースボックスで直接実行しています。
このインスタンスは稼働中で、問題なく動作しています。SQL と複雑な手順を発行でき、数十のスキーマが操作可能です。これは、この 1 つの特定の SQL ステートメントにすぎません。
どうなり得るか?調べる方法は?
$ sqlplus user/pass
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 28 13:04:38 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from dual;
D
-
X
SQL> update foo_a a
2 set a.field0 = (
3 select b.bar
4 from foo_b b
5 where b.custom_no = 0
6 and b.csf_id = a.id
7 ) , a.updated_on = current_timestamp
9 where exists (
8 select 1
10 from foo_b c
11 where c.custom_no = 0
12 and c.csf_id = a.id
13 );
update foo_a a
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SQL>