0% found this document useful (0 votes)
185 views

Error

If a suitable plan table is not present one can be created by fooling as the sys user. With this done we can trace a statement. FRM-40735: ON-LOCK trigger raised unhandled exception ORA-04062 error running report:REP-0081: error during file I / O operation. REP-0124: Unable to write to the temporary file.

Uploaded by

chavandilip
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
185 views

Error

If a suitable plan table is not present one can be created by fooling as the sys user. With this done we can trace a statement. FRM-40735: ON-LOCK trigger raised unhandled exception ORA-04062 error running report:REP-0081: error during file I / O operation. REP-0124: Unable to write to the temporary file.

Uploaded by

chavandilip
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

ALTER SYSTEM SET TIMED_STATISTICS = TRUE;

If a suitable plan table is not present one can be created by doing the fooling
as the SYS user.
@ORACLE_HOMErdbmsadminutlxplan.sql
CREATE PUBLIC SYNONYM PLAN_TABLE FOR SYS.PLAN_TABLE;
GRANT SELECT, INSERT, UPDATE, DELETE ON SYS.PLAN_TABLE TO PUBLIC;
With this done we can trace a statement.
ALTER SESSION SET SQL_TRACE = TRUE;
SELECT COUNT(*)
FROM dual;
ALTER SESSION SET SQL_TRACE = FALSE;
TKPROF <trace-file> <output-file> explain=user/password@service table=sys.plan_t
able
FRM-40735: ON-LOCK trigger raised unhandled exception ORA-04062
error running report:REP-0081: Error during file I/O operation.
REP-0124: Unable to write to the temporary file.
scafa 3
+---------------------------------------------------------------------------+
Purchasing: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
POXBLREL module: Purchase Order and Releases Detail Report
+---------------------------------------------------------------------------+
Current system time is 25-APR-2012 12:24:18
+---------------------------------------------------------------------------+
+----------------------------| Starting concurrent program execution...
+----------------------------Arguments
-----------P_STRUCT_NUM='50285'
P_qty_precision='11'
-----------Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.WE8ISO8859P1
'.,'
REP-0081: Error during file I/O operation.
REP-0124: Unable to write to the temporary file.
scafa 3
Report Builder: Release 6.0.8.28.0 - Production on Wed Apr 25 12:24:18 2012

(c) Copyright 1999 Oracle Corporation. All rights reserved.


Enter Username:
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your con
current request 33841619.
Review your concurrent request log and/or report output file for more detailed i
nformation.
+---------------------------------------------------------------------------+
Executing request completion options...
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 25-APR-2012 14:02:56
+---------------------------------------------------------------------------+

You might also like