I’ve had another occurrence of the issue. It even repeated with SQL spooled to screen. First of all, it takes about ten seconds before the first SQL appears in the bottom window. Then teh following SQL statements are executed:
Timestamp: 08:29:23.001
Connect: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:23.091
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[17],IN)=‘GEN_TABLE_COLUMNS’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:25.929
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[17],IN)=‘GEN_TABLE_COLUMNS’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:26.599
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[10],IN)=‘GEN_TABLES’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:27.755
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[19],IN)=‘GEN_MESSAGE_COLUMNS’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:28.682
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[19],IN)=‘GEN_MESSAGE_COLUMNS’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:29.351
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
UNION ALL
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c2.table_name = :name
AND c2.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint
AND cc2.owner = rel.child_owner
AND cc2.constraint_name = rel.fk_constraint
AND cc1.position = cc2.position
ORDER BY 4, 10
:name(VARCHAR[19],IN)=‘MESSAGE_COLUMN_DATA’
:owner(VARCHAR[7],IN)=‘IIB_KRG’
Session: IIB_KRG@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.61.122)(PORT=1621))(CONNECT_DATA=(SERVICE_NAME=OMSPRD)))
Timestamp: 08:29:30.029
Select ‘REF_INTEGRITY’ as type,
rel.parent_owner,
rel.parent_table,
rel.pk_constraint,
rel.child_owner,
rel.child_table,
rel.fk_constraint,
cc1.column_name pk_column,
cc2.column_name fk_column,
cc1.position column_position
FROM (Select c1.owner AS parent_owner,
c1.table_name AS parent_table,
c2.r_constraint_name AS pk_constraint,
c2.owner AS child_owner,
c2.table_name AS child_table,
c2.constraint_name AS fk_constraint
FROM sys.DBA_CONSTRAINTS c1, sys.DBA_CONSTRAINTS c2
WHERE c1.table_name = :name
AND c1.owner = :owner
AND c1.constraint_type IN (‘P’, ‘U’)
AND c2.constraint_type = ‘R’
AND c2.r_constraint_name = c1.constraint_name
AND c2.r_owner = c1.owner) rel,
sys.DBA_CONS_COLUMNS cc1,
sys.DBA_CONS_COLUMNS cc2
WHERE cc1.owner = rel.parent_owner
AND cc1.constraint_name = rel.pk_constraint