Here is the last sql run before it went to sleep:
Select C.CONSTRAINT_NAME, CC.COLUMN_NAME, C.SEARCH_CONDITION, C.GENERATED, C.TABLE_NAME
from SYS.DBA_CONS_COLUMNS cc , SYS.DBA_CONSTRAINTS c
where c.OWNER = cc.OWNER (+)
and c.CONSTRAINT_NAME = cc.CONSTRAINT_NAME (+)
and c.TABLE_NAME = cc.TABLE_NAME (+)
and c.OWNER = ‘PRODDB’
AND C.CONSTRAINT_TYPE in (‘C’, ‘?’, ‘F’)
order by table_name, constraint_name, column_name
FYI. It seems to do the same thing if you extract this sql and run it against another instance (not one involved in the compares).
As I said in the original post, I need this to provide the “NOT NULL” portion of the table creates.
Thanks for your assistance.
Thanks,
Dave Bowers
Sr. Database Administrator
HNI
Corporation
bowersd@hnicorp.com
(W) 563 272-7211
© 563 299-7211
P Please consider the environment before printing this email
*** This email may contain information that is confidential. If you are not the intended recipient, please notify me immediately and delete the email and any attachments.***
From: Brad Boddicker [mailto:bounce-ButtonPusher@toadworld.com]
Sent: Wednesday, July 19, 2017 8:26 AM
To: toadoracle@toadworld.com
Subject: RE: [Toad for Oracle - Discussion Forum] Toad Schema Compare
RE: Toad Schema Compare
Reply by Brad Boddicker
SQL is run behind the scenes to run those comparisons. The hang, or slowdown is coming because of a query that is being run against the DB. We need to find out what that query is. If you open SQL Monitor, you can monitor all the SQL that Toad is running and once Toad gets hung up, you can go back to SQL Monitor and see this offending statement
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle Forum notifications altogether.
Toad for Oracle - Discussion Forum
Flag
this post as spam/abuse.