ORA-02402: PLAN_TABLE not found
Hi,
when I do this :
explain plan for select * from scott.emp ;
I have this :
ERROR at line 1:
ORA-02402: PLAN_TABLE not found
Should I do something before ?
DB version is 9.2.0
Thank you very much.
Hi,
SQL> !oerr ora 02402
02402, 00000, "PLAN_TABLE not found"
// *Cause: The table used by EXPLAIN to store row source information does
// not exist in the current schema.
// *Action: Create a plan table in the current schema or use the INTO clause
// of the statement to put the results of the explain command in an
// existing plan table.
SQL>
I believe that you need to create the PLAN TABLE as following url:
http://www.oracle-base.com/articles/8i/ExplainPlanUsage.php
or
http://www.idevelopment.info/data/Oracle/DBA_tips/Tuning/TUNING_13.shtml
Cheers,
Marcello M.
Similar Messages
-
Impdp ORA-39166:object not found
hello i am impporting a table from a database dump using
./impdp propeloper/password directory=dmpdir dumpfile=propeloper.dmp TABLE_EXISTS_ACTION=truncate tables=ops_add_awb_pay
and i get this error
ORA-39002: invalid operation
ORA-39166: Object PROPELOPER.OPS_ADD_AWB_PAY was not found.
does this mean that the table does not exist in the dump ?
i tried remap_schema=oper.propeloper as well but that gave the same error.918358 wrote:
hello i am impporting a table from a database dump using
./impdp propeloper/password directory=dmpdir dumpfile=propeloper.dmp TABLE_EXISTS_ACTION=truncate tables=ops_add_awb_pay
and i get this error
ORA-39002: invalid operation
ORA-39166: Object PROPELOPER.OPS_ADD_AWB_PAY was not found.
does this mean that the table does not exist in the dump ?If this table owns user "propeloper" then yes. -
ORA 12514 - Message not found ERROR
I have just installed Designer 6.0 on Win98 ... I have set my tnsnames.ora and it looks as though I can connect because I can use tnsping but I get the error when trying to connect through Designer ....
Please help ... the DB is 8i.
Thanks
David
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Martin ():
Hi,
See http://www.chow1.myweb.nl for "setup instructions"
HTH
Martin<HR></BLOCKQUOTE>
Martin -
I am trying to run Designer 6.0 to read/update a designer repository that is already setup on another machine. I just need to be able to talk to the Designer machine remotely. Does your setup include that?
Thanks
David
null -
ORA-13487: SRID not found for source coordinate system metadata
Hi,
When executing the following
DECLARE
g SDO_GEORASTER;
BEGIN
SELECT raster INTO g FROM CADRE_AWIFS_GEORASTERS
WHERE row_id = 3 FOR UPDATE;
SDO_GEOR.IMPORTFROM
g, 'SRID=8307',
'GEOTIFF','FILE',
'/Oracle2/usr/local/src/cadre/raster_import_orcl/BAND2.TIF'
UPDATE CADRE_AWIFS_GEORASTERS SET raster = g
WHERE row_id = 3;
COMMIT;
END;
I get the error ORA-13487
How can I find the SRID that's making it blow up?your file is geotiff, so you should remove "SRID=8307' from the storage parameter. instead, always apply blocksize.
to find out what kind of coordinate system is inside your geotiff file, you can use many tools. if you don't have the tools, recommend listgeo.exe or gdalinfo. both are open source and can be dowloaded and installed in minutes.
you may call sdo_cs.find_srid to search the equivalent CS in oracle spatial. or simply check the WKTEXT in the cs_srs table to find out.
Jeffrey -
CASE not found while executing CASE statement on Submit Form
Hi to all APEX users and developers.
I have several APEX applications and they are all working well, but recently I got one strange exception when I try to submit page:
Session: Fetch session header information
...metadata, fetch page info
...Validate item page affinity.
...Validate hidden_protected items.
Add error onto error stack
...Error data:
......message: Error processing request.
......additional_info: ORA-06592: CASE not found while executing CASE statement
......display_location: ON_ERROR_PAGE
......is_internal_error: true
......apex_error_code: APEX.UNHANDLED_ERROR
......ora_sqlcode: -6592
......ora_sqlerrm: ORA-06592: CASE not found while executing CASE statement
.....error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 9273
......component.type: APEX_APPLICATION_AUTH
......component.id: 41350431648668800
......component.name: MNRFR
...Show Error on Error Page
......Performing rollback
Processes - point: AFTER_ERROR_HEADER
Processes - point: BEFORE_ERROR_FOOTER
End Page Processinga
Page has more than 120 items (most of them are hidden), so my first thought is that page has problem with posting so many items, but APEX error message doesn't hel me at all. Any help would be very appreciated :)
AlmirHi Almir,
actually it is the 100 page item limit. See (http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/limits.htm)
I also had a look into the source code and the code at the position where the error gets raised only supports 100 page items.
Can you have a look into the generated HTML code and look if you have a page items which is mapped to p_t101 or a higher number ?
I will file a bug to show a better error message.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Page Not Found error on application import
I'm using ApEx 2.1 on Oracle Express DB.
I export an application, that works fine. I now want to import it again into the same instance as a copy with a new Application Id. I start the import wizard, click on load and then I get
"Page can not be found" error.
I've followed the threads
import application - wwv_flow_accept page not found and ora-904
Page not found after import of application
but I have no idea of how to access the Web server Logs in Oracle Express which is mentioned in the above threads.
Any ideas on where to start trouble shooting?
regards
Paul P.continued....
I've just had a look at the import repository and each time I tried to import the file it loaded with 2,065,528 bytes.(i.e. 3 times)
The actual file size is 4,334 Kb so it seems the import falls over half way each time.
Paul P -
Help-Task not found - Please check the Task Type, Name and Location are cor
HI all,
i have upgraded my owb from version 11gr1 to 11gr2. the installation is complete and all my mappings and objects are imported successfully.
i was able to execute the mappings using the sql code:
@/oracle/product/11.2.0/owb/rtp/sql/sqlplus_exec_template.sql
by logging into sqlplus as the user in whose schema mappings are deployed.
hOwever, suddenly i am getting the error since sometime back - not sure what might have happened or what might have gone wrong. can someone please help me understand what might be wrong - how to decode this?
Here is my error:
@/oracle/product/11.2.0/owb/rtp/sql/sqlplus_exec_template.sql
Role set.
Enter value for 1: WSODS
Call completed.
Enter value for 2: ODS_SCHEMA
Enter value for 3: PLSQLMAP
Enter value for 4: MAPPING_1
Enter value for 6: ","
Enter value for 5: ","
Stage 1: Decoding Parameters
| location_name=ODS_SCHEMA
| task_type=PLSQLMAP
| task_name=MAPPING_1
Stage 2: Opening Task
begin
ERROR at line 1:
ORA-20001: Task not found - Please check the Task Type, Name and Location are
correct.
ORA-06512: at "OWBSYS.WB_RT_API_EXEC", line 759
ORA-06512: at "OWBSYS.WB_RT_SCRIPT_UTIL", line 910
ORA-06512: at line 2When i execute this: i get the result as follows:
SELECT warehouse_object_id, store_id, object_type_id, object_type_name, object_name FROM owb$wb_rt_warehouse_objects
where object_name = 'MAPPING_1';
WAREHOUSE_OBJECT_ID STORE_ID OBJECT_TYPE_ID OBJECT_TYPE_NAME OBJECT_NAME
15947 15325 769 PLSQLMap MAPPING_1
1 rows selectedEdited by: Chaitanya on Mar 5, 2012 3:33 AMHi Chaitanya,
Did you get any resolution for this error? I'm facing the same error while trying to execute OWB mapping through this command.
Any help would be much appreciated. Thanks.
Regards,
Jagari -
Good afternoon! I have a problem with creating a wallet for TDE.
Oracle Version 11.2.0.2.0.
SQLNET.ORA is :
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /app/oracle
# TO SWITCH OFF ORACLE ADR FEATURE
# DIAG_ADR_ENABLED=off
DIAG_SIGHANDLER_ENABLED=FALSE
DIAG_RESTRICTED=TRUE
TRACE_LEVEL_SERVER=admin
TRACE_LEVEL_CLIENT=admin
TRACE_DIRECTORY_SERVER=/app/oracle/product/11.2.0/db_1/network/log
TRACE_DIRECTORY_CLIENT=/app/oracle/product/11.2.0/db_1/network/log
TRACE_FILE_CLIENT=cli
TRACE_FILE_SERVER=srv
TRACE_UNIQUE_CLIENT=off
SQLNET.EXPIRE_TIME = 10
SQLNET.INBOUND_CONNECT_TIMEOUT = 20
SQLNET.ENCRYPTION_SERVER = REQUESTED
SQLNET.ENCRYPTION_CLIENT = REQUESTED
SQLNET.CRYPTO_SEED = 'KakdlkLAKMXM0000sdsdsadadeffdmsdmdkmdv'
SQLNET.ENCRYPTION_TYPES_SERVER= (AES256,RC4_256,3DES112,DES)
SQLNET.CRYPTO_CHECKSUM_SERVER = REQUESTED
SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER = (SHA1,MD5)
ENCRYPTION_WALLET_LOCATION =
(SOURCE=
(METHOD=file)
(METHOD_DATA=
(DIRECTORY=/app/oracle/admin/orcl/wallet)
I've creted wallet by command :
alter system set encryption key identified by "sdsdsdsds";
After that i can close and reopen this wallet , it's ok. But i can't create crypted tablaspace :
CREATE TABLESPACE RMD DATAFILE '/oradata/orcl/TDE.dbf' SIZE 600M
AUTOEXTEND ON NEXT 100M MAXSIZE 2000M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K ENCRYPTION USING 'AES256' DEFAULT STORAGE (ENCRYPT);
i've got an error ORA-28374: typed master key not found in wallet
My wallet looks like :
Requested Certificates:
Subject: CN=oracle
User Certificates:
Oracle Secret Store entries:
ORACLE.SECURITY.DB.ENCRYPTION.ASSSDSeFDX08Evy6Mco2yhXsAsdsdsdsdsdefdfdfdfddfddfdfdfAAAA
ORACLE.SECURITY.DB.ENCRYPTION.MASTERKEY
Trusted Certificates:
As i uderstood there should be also entry like ORACLE.SECURITY.TS.ENCRYPTION. But why this didn't created into wallet by command : alter system set encryption key identified by "sdsdsdsds" ?
Thanks!
Edited by: user5819915 on 13-Jan-2012 03:25Hi there,
first, "SQLNET.CRYPTO_SEED = 'KakdlkLAKMXM0000sdsdsadadeffdmsdmdkmdv" is no longer needed, the DB creates a seed itself and ignores this string.
Then, on to TDE ...: These things happen if you had a wallet before, and that wallet was deleted; now if you create a new wallet, the TS MK is missing. Looks like you didn't encrypt any data yet. You might see if you get https://updates.oracle.com/download/8682102.html for your DB version; apply the patch, decrypt all data, cycle through all log files and then create a new wallet. That might work, but I can't promise.
Peter -
PL/SQL Exception for ORA-00942 - Table or view not found?
Hey there!
I want to create an exception my code runs into whenever it tries to select from a table that is not existent (or because of insufficient privileges).
How can I get these ORA-00942 errors and place them into a exception? Except for WHEN OTHERS, that's not concrete enough.
Regards,
ThomasSQL> DECLARE
2 table_not_found EXCEPTION;
3 PRAGMA EXCEPTION_INIT(table_not_found, -942);
4 BEGIN
5 EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM DUALX';
6 EXCEPTION
7 WHEN table_not_found
8 THEN
9 dbms_output.put_line('Table NOT found');
10 END;
11 /
Table NOT found -
ERROR in JDEVELOPER: ORA-01882: timezone region not found
Hello All,
When i create new database connection with HR database (XE), I'm getting ORA-01882: timezone region not found error in jdeveloper.
Database Navigator->Create Database Connection
How to i fix this problem?
- JDeveloper 11.1.1.4
- Oracle Expression Edition 10g.
Thank you,
Erdenebayar.Hi Erdenebayar,
How did u add the line in jdev.conf i tried by adding below variants but none worked. Can you please print exact line that you've added to jdev.conf and added to projects (I'm using jdev 11.1.1.4):
Variant 0)
-Duser.timezone="+05:30" (each projects run profile)
Variant 1)
AddVMOption -Duser.timezone='05.30' (line added to jdev.conf)
-Duser.timezone='05.30' (each projects run profile)
Variant 2)
AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
-Duser.timezone='+05.30' (each projects run profile)
Variant 3)
AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
-Duser.timezone='+05.30' (each projects run profile)
Variant 4)
AddVMOption -Duser.timezone="+05:30" (line added to jdev.conf)
-Duser.timezone="+05:30" (each projects run profile)
Variant 5)
AddVMOption -Duser.timezone="05:30" (line added to jdev.conf)
-Duser.timezone="05:30" (each projects run profile)
But none are resolving the issue. -
Hello Readers,
I am doing a fresh install of SCM2007 on AIX5.3, Oracle 10.2.0.4. Type of install is central instance (ABAP, Java, DB on one server). After importing ABAP, sapinst proceeds to create secure store. At that point sapinst fails with the message:
CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.
The log file SecureStoreCreate.log says:
The java class is not found: com.sap.engine.offline.OfflineToolStart
The command being executed is
Execution of the command "/usr/java14_64/bin/java -classpath /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m -Xj9 com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s AD1 -f /sapmnt/AD1/global/security/data/SecStore.properties -k /sapmnt/AD1/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1.
Output:
The java class is not found: com.sap.engine.offline.OfflineToolStart
Based on another forum suggestion I extracted the J2EEINSTALL.SAR file from the Java components DVD to the temporary installation folder like so but this has not helped so far:
cd /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS
var_file=/installdvds/51032953_javacomp/J2EE_OSINDEP/J2EE-INST/J2EEINSTALL.SAR
/sapmnt/SID/exe/SAPCAR -xvf $var_file
Any suggestions? Have you come across this before? It seems to me that this particular sapinst has some bugs.
Thanks in advance!hi bhalu,
please check whether you have given the correct JCE policy files.
If you have installed IBM java then you to use the IBM JCE policy file in installation.
regards
chandru -
ORA-01023: Cursor context not found (Invalid cursor number)
hello guys.
when i'm trying to make a regular recover, i get this error:
RMAN> run
2> {
3> restore database;
4> recover database;
5> alter database open;
6> }
Starting restore at 09-MAR-07
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/09/2007 10:23:41
ORA-01023: Cursor context not found (Invalid cursor number)
what am i doing wrong and how could i open this cursor?
sorry, that i'm clueless.
thank you.TAF is not supported with RMAN according to Metalink note
-
Displaying "ORA-20502: Automation context not found." error message
Hi all,
I am implementing functionality in OSM 7 to read jms message sent by external system.I am setting default jmscorrelationid as "test" in order to identify message.I have implemented an automated task as xslt automator and having external event receiver.but when i get the message on the queue from external system weblogic console start giving error message as -
"ORA-20502: Automation context not found.
Can you please tell me what could be the reason for this??The trick is that OSM needs to initiate the communication. It is depicted in the diagrams in OSM Developer's Guide in the automation plugin section (however not very clear - in my opinion).
My experience is that you need to correlate messages to OSM by using the (JMS)correlation id sent by the initiating message from OSM. If this can't be sent directly to the external system, a component (e.g. JMS queue + MDB) needs to be placed between the systems and handle the correlation between the messages from the external systems and the OSM "request for reply". -
I am getting the exception mentioned in the subject field. Here is the query
select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
This is happening only for the during the daylight saving, because the date operation is returning the incorrect time value.
timeout_duration holds the value in terms of number of seconds.
Please suggest how to resolve the issue.
Caused by: java.sql.SQLDataException: ORA-01878: specified field not found in
datetime or interval
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.ja
va:1079)
at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1
293)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1
419)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedState
ment.java:3752)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatemen
t.java:3806)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedS
tatementWrapper.java:1667)
at
weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:13
5)
at>
When I run the following expression on this value I get the ORA-01878 error:
(EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)))
>
That isn't the same as the snippet you first posted
This works
select EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)) from
(select cast (systimestamp as timestamp(6)) etd_zulu from dual)The first snippet you posted was
>
select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
>
And it includes time zone. All of the web references I have found indicate the problem is either a missing timezone or a timezone mismatch.
I can't reproduce the problem with the last snippet you used. Are you certain that ETD_ZULE is timestamp and does not include timezone?
Do you have a complete query that fails? If so, try to narrow the query down to one record that is causing the problem. If you have to you can use brute force approach. Assume that 60 records should be produced. Add
WHERE ROWNUM < 30to the query. If it runs clean the problem is in the second half so use '< 40', and keep testing until you know which record. Then examine the contents of the field for that record.
Without some code to try to reproduce the problem there isn't much other help to offer. -
Mapping: ORA-04052 Remote Object not found
Hi,
I created a source module with a table reading from an external Oracle database. I can see data so the connection seems to work.
In the target module a mapping trying to read from this table can´t be deployed with this errors message:
- ora-06550: package body, line 0, column 0: ORA 04052: Error while trying to find the remote object: <name of the object> ....... ora-02019: connection description for remote-database not found.
An equal internal mapping, not adressing an external database, works find.
Any idea?
Thanks so much.
Georgoh, of course.
I could not find dblink, saw some source information. What section/s is /are to be checked?
I find code like
SELECT
/*+ NO_MERGE */
/* OBJSTAMM.INOUTGRP1 */
"OBJSTAMM"."OBJEKTNUMMER" "OBJEKTNUMMER"
FROM
"VMAN30M"."OBJSTAMM"@"PDORA06@QUELLE_VISMAN_LOCATION" "OBJSTAMM"
Is there a way to find out the correct "from" path?
Thanks Georg
Edited by: georgo on 02.05.2011 16:34
Maybe you are looking for
-
How can I make an applet look to the current directory to read a txt file in?
I am using a File class passing only the file name as the contructor but forte still looks in "C:\forte_jdk\forte4j\bin\Events.txt" which is not my current directory for the project. If leave it and ftp this applet to my web site I get an IOException
-
Where can I get a digital certifcate that does not require a USB key?
Where can I get a digital certificate that I can use with Adobe Acrobat that does not require a USB hardware key? I have been able to sign PDF documents with Adobe Acrobat versions 6 and 9 with my code signing certificate. When I use my code signing
-
Why can't I switch to a guest account?
Hi guys! So, my girlfriend recently let someone borrow her computer, so she needs to use mine. I have a long and complicated password (good for me) that she can't remember, so I thought it would be easiest if she just logged in to the Guest account o
-
App.Alert for "Save As" Actions
Hi, I am trying to set up an app.Alert for the "Save As" menu action. I do not want the alert to appear when the User "Saves", only on "Save As". The app alert will be a warning, with an "OK" button, allowing the User to proceed with the "Save As" pr
-
Download multiple files and rename
I have a folder with 20+ .webloc files, all pointing to Google calendar .ics downloads. (The URLs all look like "https://www.google.com/calendar/.../basic.ics".) I want to be able to automate downloading each of these, but the problem is that, no m