Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tracefile not getting created

Apoorva S-OracleJan 23 2018 — edited Jan 24 2018

Hi,

I have enabled SQL trace for orclpdb and I have the following code in a SQL script:

set echo on

connect trace/trace@orclpdb

alter session set tracefile_identifier='mytraceP3';

update sales set amount_sold=20000 where prod_id=13 and cust_id=987;

commit;

create index sales_prod_cust_indx on sales(prod_id,cust_id);

connect trace/trace@orclpdb

alter session set tracefile_identifier='mytraceS3';

update sales set amount_sold=30000 where prod_id=13 and cust_id=987;

commit;

connect trace/trace

drop index sales_prod_cust_indx;

exit;

The tracefile for mytraceP3 gets generated but mytraceS3 does not get generated.

Could somebody please help me?

- Apoorva

This post has been answered by AJ on Jan 23 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2018
Added on Jan 23 2018
10 comments
290 views