"set autotrace on" error
I got the following error while trying to set autotrace on. Does anybody know how to fix this? Thanks a lot.
SQL> set autotrace on
SP2-0613: Unable to verify PLAN_TABLE format or existence
SP2-0611: Error enabling EXPLAIN report
SQL>
you must create a table (default name PLAN_TABLE) using the script
${ORACLE_HOME}/rdbms/admin/utlxplan.sql.
This table is used to store the explain plan output before it is ready for display.
Similar Messages
-
SET AUTOTRACE ON..problems
Hi everyone!
I tried to set autotrace on with the following command. I got some errors .
SQL> SET AUTOTRACE ON EXPLAIN STATISTICS
SP2-0613: Unable to verify PLAN_TABLE format or existence
SP2-0611: Error enabling EXPLAIN report
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
Can you please help me out with this problem?
Can you please explain what each of the errors meant?
Thank you all.kishore
run this script UTLXPLAN.SQL to create the plan_table IN YOUR SCHEMA
and then SET AUTOTRACE ON will work
prakash -
Hi all,
I want to set autotrace on.
So first I set following parameters in parameter file;
sql_trace=true
timed_statistices=true
then I run the plustrce.sql in sys schema, and grant the role to rbi user.
Later I Created the explain_table in rbi schema.
And file the set autotrace on
but I received the message cannot st autotrace.
please Guide me.hi Prathmesh
sql>sql_trace =true --> this statement sets the trace future on for every sql statement submitted to the database engine
sql>timed_statistics = true -- tells oracle to gather the wait times between events. this is needed for performance monitoring.
It's advisable to set sql_trace =false as by settting it to true you are degrading query performance
Also regarding the autotrace stuff it would be helpful if you specify explicitly the version of Oracle you are using and also the complete error message -
How can i set a global error page for all error cod
how can i set a global error page for all error code?
i don't want to leave a long list in the web.xml file.could any one help me?
thanksIf u have a common Error JSP named as ErrorPage.jsp
You need to have the following piece of code in the JSP as :
<%@ page isErrorPage ="true"%>
This makes it as the Common Error Page for the Application. Now all you need to do is from other JSP's throw the Exception to teh container. The container will redirect to this Page and process accordingly.
Thanks and regards,
Pazhanikanthan. P -
Oradism not set up correctly error in the alert log in 9.2.0.4
Hello,
I have installed 9.2.0.4 patch on top of 9.2.0.1 database.
The O/S is Solaris 5.9
The database is set to work with:
workarea_size_policy=AUTO.
The database is not working properly compared to other machines we have.
After looking in the alert log I found the following error popping after restart:
WARNING: -------------------------------
WARNING: oradism not set up correctly.
Dynamic ISM can not be locked. Please
setup oradism, or unset sga_max_size.
[diagnostic 0, 16, 5001]
I found the following two notes on the subject, contradicting each other and also contradicting the status of the machine:
Note:151222.1
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=151222.1
Telling me not to do the below procedure on 9.2.0.4, though I get the same error and miss the required etc entries specified.
Note:262886.1
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=262886.1
Telling me to copy oradism.sav to oradism and I already have those.
Can you please supply a full and DETAILED procedure regarding what should I do, in case it is not a procedure, please specify how I should solve the oradism not set up correctly error.
Tal Olier
[email protected]Hi Tal,
Just looked at the notes you referred to. The first doesn't apply to 9.2.0.4. as you state. The other note is for 9.2.0.4e (note the "e", stands for embedded). This "e" release is not what you have, so that note doesn't apply either.
The AR that I referred to is for 10g, but the 9iR2 info is the same. You need to make sure that $ORACLE_HOME/bin/oradism is owned by root. -
Set autotrace on sample set of data of 410 million rows
The dev env and the prod env is very different from our shop.
So if I do a sample on the prod data and then use the same query logic and do a real run and with autotrace on
Can I trust the plan and execution time of this sampling test and do an estimate on how it is gonna run in prod?
I guess I can use this to do a rough estimate of my prod run?
Any of you guys have done similar exercise?
I have the data size of 410 millions on my prod to process.
-Thx so muchI am talking about doing a perf exercise in the production environment but I am using only a sample cause and take 0.01 percent
idea of what I am doing. It is not linearly scale up of course but perhaps it gives me a rough idea?
insert into pipetest_result1
17:39:27 2 with pipetest1_smp001 as (
17:39:27 3 select * from pipetest1 sample(1) --can this give me a rough idea of how long it is gonna run?
17:39:27 4 ),
17:39:27 5 j1 as (
17:39:27 6 select id,value1,value2,pipetest1_YN(NVL(value1,1),NVL(value2,1)) result from pipetest1_smp001
17:39:27 7 )
17:39:27 8 select id,result from j1 where j1.result='Y'
17:39:27 9
spool off
@pipetest1
set autotrace on
spool &1
Enter value for 1: pipetest_perf_feb15x1
insert into pipetest_result1
17:40:14 2 with pipetest1_smp001 as (
17:40:14 3 select * from pipetest1 sample(1) --can this give me a rough idea of how long it is gonna run?
17:40:14 4 ),
17:40:14 5 j1 as (
17:40:14 6 select id,value1,value2,pipetest1_YN(NVL(value1,1),NVL(value2,1)) result from pipetest1_smp001
17:40:14 7 )
17:40:14 8 select id,result from j1 where j1.result='Y';
1231 rows created.
Elapsed: 00:00:02.13
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | INSERT STATEMENT | | 1 | 51 | 399 (2)|
| 1 | TABLE ACCESS SAMPLE| PIPETEST1 | 1 | 51 | 399 (2)|
Note
- 'PLAN_TABLE' is old version
Statistics
129 recursive calls
47 db block gets
2343 consistent gets
2211 physical reads
23536 redo size
819 bytes sent via SQL*Net to client
1003 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
2 sorts (memory)
0 sorts (disk)
1231 rows processed
spool off
@"pipetest1.sql"
set autotrace on
spool &1
Enter value for 1: pipetest1_feb15_all
insert into pipetest_result1
17:40:56 2 with pipetest1_smp001 as (
17:40:56 3 select * from pipetest1 --sample(1) --can this give me a rough ide a of how long it is gonna run?
17:40:56 4 ),
17:40:56 5 j1 as (
17:40:56 6 select id,value1,value2,pipetest1_YN(NVL(value1,1),NVL(value2,1)) result from pipetest1_smp001
17:40:56 7 )
17:40:56 8 select id,result from j1 where j1.result='Y';
123924 rows created.
Elapsed: 00:00:47.60
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | INSERT STATEMENT | | 11180 | 425K| 900 (57)|
| 1 | TABLE ACCESS FULL| PIPETEST1 | 11180 | 425K| 900 (57)|
Note
- 'PLAN_TABLE' is old version
Statistics
719 recursive calls
2901 db block gets
3227 consistent gets
0 physical reads
2261104 redo size
825 bytes sent via SQL*Net to client
1005 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
123924 rows processed -
안녕하세요.
오라클 버젼은 9203 이며, set autotrace on exp 하였을때 아래와 같이
ORA-01039: insufficient privileges on underlying objects of the view
메시지가 나옵니다.
새로운 유저로 utlplan.sql 실행시킨후 dba 유저로 plustrace.sql 실행시킨후 plustrace role의 권한을 새로운 유저에제 grant 하였으나,
여전히 에러를 발생시키며,
새로운 유저에게 DBA권한을 부여하면 plan이 잘나옵니다.
plustrace role 제외하고 다른 권한을 부여해야 하는지 알고 싶습니다.그러면..그 문제가 아닌것 같은데요..
ORA-01039: insufficient privileges on underlying objects of the view
이라면..
조회하고나 하는 쿼리에 view가 있고..
그 view에 있는 object를 조회할 수 있는 권한이 없는건
아닐까요? 테이블뿐만 아니라 유저 function까지요..
auto trace를 하는데.. from절에 a, b 테이블이 있다면..
select table_name from user_tables
where table_name in ('A','B');
이렇게 했더니 A가 안나왔다..
select view_name from user_views
where view_name='A';
아래도 안나오네?
그러면 synonym이 걸려있을 수도 있겠죠..
select * from user_synonyms where synonym_name='A';
이렇게 해봐서.. A의 정체가 어떤 것인지를 봅니다.
테이블인지 view인지..... synonym으로 가장한 것이 아닌지..
쿼리에서 점검이 필요하겠네요.
일반 쿼리도 모두 안되나요?
set autot on
select * from dual;
이렇게 해도 에러가 난다면 쿼리의 object권한 문제겠죠.
from 절에 들어가는 object에 대해서 조회를 해보세요..
글 수정:
minyh0124 (민연홍)
또는 이렇게도 생길 수 있겠죠..
테이블에 trigger가 걸려있는데.. trigger가 테이블이 select되면
유저가 만든 audit테이블에 insert가 된다..
그런데 audit 테이블에 권한이 없어서 insert가 안된다..
모 그래도 권한문제게겠죠..
추가로 trigger가 있는지 보셔요..
토드로 쿼리의 object를 모두 보세요. -
How to set autotrace to explain plan ONLY
Hi,
I would like to see explain plan for a long running statement.
Now if I do following:
set autotrace on explain
UPDATE ......-- my statement
I get the plan, but the rows are updated also :-(
Is there a way to tell ORACLE, please show me the explain plan but dio not execute the statement?
ThanksONLY FOR queries you can use
set autotrace traceonly explain
And actually query isn't executed. For other DML you cannot use that.
The other way can be explaining the query and then selecting the plan_table output:
SQL> explain plan for update t set code = 3;
Explained.
SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY);
PLAN_TABLE_OUTPUT
Plan hash value: 931696821
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 3 | 9 | 3 (0)| 00:00:01 |
| 1 | UPDATE | T | | | | |
| 2 | TABLE ACCESS FULL| T | 3 | 9 | 3 (0)| 00:00:01 |
Note
PLAN_TABLE_OUTPUT
- dynamic sampling used for this statement
13 rows selected.
SQL> see http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xplan.htm
Gints Plivna
http://www.gplivna.eu -
OSB Customization files 2 set Retry Application Errors and Timeout props
I know it's possible to set Endpoint URI, Retry Count and Retry Iteration Interval properties using customization files, but what about other properties? I am particularly interested in setting Retry Application Errors and Timeout for a HTTP business services. If it's not possible to do with customization files is there another way of setting them without having to go though each service in the console?
Edited by: user1019490 on Sep 23, 2010 2:45 AMYes, I guess this can be done as there is provision in ALSBCustomizationFile.xml. Below is the snippet from ALSBCustomizationFile.xml
<cus:envValueAssignments>
<xt:envValueType>Service URI Table</xt:envValueType>
<xt:location xsi:nil="true"/>
<xt:owner>
<xt:type>BusinessService</xt:type>
<xt:path>TestProject/BusinessService/TestBS</xt:path>
</xt:owner>
<xt:value>
<tableElement xmlns="http://www.bea.com/wli/sb/transports">
<URI>http://www.test.com/testService.asmx</URI>
<weight>0</weight>
</tableElement>
</xt:value>
</cus:envValueAssignments>
<cus:envValueAssignments>
<xt:envValueType>Service Retry Count</xt:envValueType>
<xt:location xsi:nil="true"/>
<xt:owner>
<xt:type>BusinessService</xt:type>
<xt:path>TestProject/BusinessService/TestBS</xt:path>
</xt:owner>
<xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value>
</cus:envValueAssignments>
<cus:envValueAssignments>
<xt:envValueType>Service Retry Iteration Interval</xt:envValueType>
<xt:location xsi:nil="true"/>
<xt:owner>
<xt:type>BusinessService</xt:type>
<xt:path>TestProject/BusinessService/TestBS</xt:path>
</xt:owner>
<xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value>
</cus:envValueAssignments>
Regards,
Karthik -
PE 10 "Reduce set of content- " error:
PE 10 “Reduce set of content… ” error: I downloaded both .exe and .7z files successfully after 8 hours to My Download area, launched program and the PE 10 Content all folders and files saved to desktop successfully. However, The PE 10 “reduce set of content” error still occurs.
I am assuming that PE 10 Content folder and files should be saved with the “existing Adobe PE10 files”. Can I copy and paste files to the correct location? What is the correct location? Any solution?Now I have bigger problems. The entire PE10 program has been removed from my computer but I have the PE10 Content files. Help!
-
Browsing Safari site up and down data occasionally skip up to beggining.Is this the setting or system error?
If you touch the top of the Safari page it will return to the top of the article. If that's what's happening it's normal.
-
Illustrator trial download doesnt work says error(-1) set up encountered error
illustrator trial download doesnt work says error(-1) set up encountered error any 1 else has this problem
Thsi would help.
http://helpx.adobe.com/x-productkb/policy-pricing/download-assistant-faq.html
Alternately you can follow the steps listed at http://forums.adobe.com/thread/981369 to initiate a direct download. -
Temp folder was not set for RTFStringbuffer Error
Hi,
We are using CR XI 11.0.0.895 and CR XI JRC is been used to generate the reports in PDF and RTF format.
While generating report of more than 1000 pages in RTF format throws the below mentioned exception
temp folder was not set for RTFStringbuffer
However, Generating reports in PDF format generates the report.
Find below the environment details which would helpful for the analysis.
CR XI 11.0.0.895
IE 6.0
MS-office 2003
Windows XP SP2
Reports JRC application deployed on Weblogic 8.1.4
Please suggest us a solution for this problem.
Thanks in advance.If you run [Process Monitor|http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx], do you see any file access errors when the JRC tries creating a temp RTF file?
I think I've recommended this before, but have you tried the newest version of the JRC?
[https://boc.sdn.sap.com/node/19020]
The XI Release 1 keycode will work with it.
Sincerely,
Ted Ueda -
Character set marker unknown error while importing data in 10g from 8i
Hi All,
I am trying to import the whole database schema wise (one by one) through oracle 10g database control page (which is browser based)
But when i try to import the objects of a schema i get the error that
"IMP-00037 : Character set marker unknown "
Import terminated unsuccessfully
Would anybody please tell me about the mentioned error ???
Kindly provide the solution.
Mentioned below are the character sets available in both the version.
Character sets in oracle 8.1.7 :-
Database Character Set :: WE8ISO8859P1
National Character Set :: WE8ISO8859P1
Character sets in oracle 10.2.0.1.0 :-
Database Character Set :: WE8ISO8859P1
National Character Set :: AL16UTF16
Regards
Milin...
Message was edited by:
user640001Hi,
As you have asked, i have mentioned the export command below to get the full database export file.
And I have copied this export file (dump) to another machine(Server) where i have to import that file to upgrade the database to 10g Rel 2.
SET CC=%DATE:~4,2%-%DATE:~7,2%-%DATE:~10,4%
exp username/password@db_name
file=D:\PAY_BKP\EXP_FULL_PAY_%CC%.DMP log=D:\PAY_BKP\EXP_FULL_PAY.log
indexes=yes
full=yes
Kindly provide guidance.
Regards
Milin -
Running Mac OSX 10.6.4 and using HP Laserjet 1022. When trying to print a .pdf opened by Adobe Reader I get ther above error. Document prints if opened with Preview. Any suggestions? Thanks.
I am trying to use ResultSet.TYPE_SCROLL_SENSITIVE and
CONCUR_UPDATABLE (using IBM DB2 JDBC 2.0) but I get
run time error :
SQL Exception.SQLState = null Error code = 0 Error
message = Updatable result set is not supported by
this version of the DB2 JDBC 2.0 driver.
Any suggestion or help is appreciated.
Has anyone heard that IBM DB2 implementation does not
support updatable and scroll_sensitive?It gave you a precise error message, and you don't believe the error message, thinking somehow you can get around it anyway, making it support updatable result sets...
You should check out this link:
http://www.hov-hov.dk/you.htm
Maybe you are looking for
-
Moved to PSE 9 from PSE 5: When I place cursor over a tool, the name of the tool doesn't appear. I can't tell for sure what tool I'm using. I have the same problem when mousing over the tool icons in an adjustment layer. Any ideas?
-
The computer where the CS3 was installed crashed and I was unable to unregister it before installing it in my new computer. Now, after installing it in the new computer, the Adobe's site refuses to register it for its serial number appears as registe
-
I'm trying to find out what is wrong or am I missing something. I went to itunes, created by ringtones and synced them to my phone. Now when I check my phone I dont see any ringtones on at all. Can someone please help me figure out if I'm doing somet
-
Badi/exit to set sales area data template for bp
Hi gurus, When a new bp is created through web ui, I would like to set the sale area template for that bp based on a few criteria. I am running on crm 7.0. I tried to call BAPI_BUPA_TEMPLATE_ADD or BUPA_TEMPLATE_ADD at BADI PARTNER_UPDATE, method CHA
-
When I got my used mac, a friend make me start it all over with (empty everything to then install tiger and enter my own name as the main user all the other users acount and stuff was erased) It was by pressing some keybord digits... but I don't reme