ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTAB
Hello All,
I am using Oracle 11.2.0.3
in my alert logs I found the below errors:
ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
KUP-11024: This external table can only be accessed from within a Data Pump job.to resolve that i did the below steps:
SELECT owner_name, job_name, operation, job_mode,
state, attached_sessions
FROM dba_datapump_jobs
WHERE job_name NOT LIKE 'BIN$%'
ORDER BY 1,2; the result was that there is two running jobs and the attached_session flag was equal to 1, something like the below:
OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED
SCOTT SYS_IMPORT_TABLE_05 IMPORT TABLE RUNNING 1
SCOTT SYS_IMPORT_TABLE_01 IMPORT TABLE RUNNING 1 so i stopped these 2 jobs using the below statements:
SET serveroutput on
SET lines 100
DECLARE
h1 NUMBER;
BEGIN
h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_05','SCOTT');
DBMS_DATAPUMP.STOP_JOB (h1);
END;
SET serveroutput on
SET lines 100
DECLARE
h1 NUMBER;
BEGIN
h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_01','SCOTT');
DBMS_DATAPUMP.STOP_JOB (h1);
END;
/now the result become like below as stop pending in the state column:
OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED
SCOTT SYS_IMPORT_TABLE_05 IMPORT TABLE STOP PENDING 1
SCOTT SYS_IMPORT_TABLE_01 IMPORT TABLE STOP PENDING 1 for that I did more research and i dropped two temporary external tables after I got their names using the below query:
select OWNER,OBJECT_NAME,OBJECT_TYPE, status,
to_char(CREATED,'dd-mon-yyyy hh24:mi:ss') created
,to_char(LAST_DDL_TIME , 'dd-mon-yyyy hh24:mi:ss') last_ddl_time
from dba_objects
where object_name like 'ET$%'
/but nothing changed in the output of the below query, the state stayed STOP PENDING
SELECT owner_name, job_name, operation, job_mode,
state, attached_sessions
FROM dba_datapump_jobs
WHERE job_name NOT LIKE 'BIN$%'
ORDER BY 1,2; for that I used stop job but with the immediate flag as 1
DBMS_DATAPUMP.STOP_JOB (h1,1); now the result of the query is NOT RUNNING in the state column:
OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED
SCOTT SYS_IMPORT_TABLE_05 IMPORT TABLE NOT RUNNING 0
SCOTT SYS_IMPORT_TABLE_01 IMPORT TABLE NOT RUNNING 0 and I discovered that one of my import jobs that I did not realize that it was running, failed due to a fatal error, it is the one related to the import of one table.
My question:
Now the below query should return zero records no ?
How i can clear the result ? and does it affect any future import jobs for the same table?
SELECT owner_name, job_name, operation, job_mode,
state, attached_sessions
FROM dba_datapump_jobs
WHERE job_name NOT LIKE 'BIN$%'
ORDER BY 1,2;
hi just drop all tables that return be the query below i face some issue after 1 months
SQL> select owner, TABLE_NAME, DEFAULT_DIRECTORY_NAME, ACCESS_TYPE
from dba_external_tables
this error appear due to this table must be cleanup auto when the datadump complete the job ,but it's not dropped as well so when gather statistics this error appear,
so this drop table .
Similar Messages
-
ORA-20011: Approximate NDV failed: ORA-31000: Resource Error in Oracle 11g
Hi Friends,
I am using Oracle 11.2.0.1 on linux (x64) and i am getting the following messages in Alert Log / Trace Log.
Please let me know the fix.
Alert Log:
GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /u01/app/oracle/diag/rdbms/oraht01/oraht01/trace/oraht01_j001_30852.trc:
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Trace File entries:
----- Guard Frame Metadata Dump -----
----- Java Stack -----
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
*** 2013-01-21 22:00:36.397
GATHER_STATS_JOB: GATHER_TABLE_STATS('"XDB"','"XDB$ACL"','""', ...)
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Regards,
DBHi Friends,
Thanks for the info but the referred Thread and the Metalink Notes : 1290722.1 or 1305127.1 doesn't help me.
Trace File :
*** 2013-01-21 22:00:29.760
*** SESSION ID:(28.36753) 2013-01-21 22:00:29.760
*** CLIENT ID:() 2013-01-21 22:00:29.760
*** SERVICE NAME:(SYS$USERS) 2013-01-21 22:00:29.760
*** MODULE NAME:(DBMS_SCHEDULER) 2013-01-21 22:00:29.760
*** ACTION NAME:(ORA$AT_OS_OPT_SY_1144) 2013-01-21 22:00:29.760
SQL> SELECT JOB_NAME,STATUS,ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_1144';
JOB_NAME
STATUS
ADDITIONAL_INFO
ORA$AT_OS_OPT_SY_1144
SUCCEEDED
The job show completed but i want to avoid this issue in the Alert.
Regards,
DB -
ORA-20011: Approximate NDV failed:
Following errors written to the Alert log file. can anybody tell u what is the reason & how we can resolve
ORA-20011: Approximate NDV failed:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
Thanks in advance..Hi all,
Finally we got the solution.
we faced the issue only after DB migration from 10g to 11.2.
after migration ..some oracle external files, ext tables and oracle directory entries belongs to old DB was also migrated to new DB.
Whenever we are analyzing the schema it tried to access those false objects, which where not actually present in new DB..
Due to this oracle written the error message to alert log file....
Solution:
Try to check all the db directories are valid, or any external table entries are there in db with out actual flat files. if yes remove the entries from db
using
drop directory dir_name
drop table .. statements....
or try to create the needed dir or files with the same name...
Thanks
@ble -
Hi All,
Please find below ora error
ORA-20011: Approximate NDV failed..ORA-06564: object WRR_LPD23678 does not exist...
I got it from the alert log
Please let me know ...How to fix this issue...
Thanks
Pavan LAn error is for instance hit in dbms_stats.gather_table_stats for an
external table without its directory (external tables are excluded
when gathering statistics at database/schema level).>
OWNER TABLE_NAME DEFAULT_DIRECTORY_NAME
SYS xxxxxxxxxxxxxxxxxxxxx WRR_LPD23678BTW, what is your DB version? if it is already 11g the note mentioned as it is fixed in next version.
Or you can raise an SR too. -
Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-3065
Dear Experts,
Need your help. We export data from oracle 11g database and import into oracle 10g database.
We have created external tables with same DDL in both export and import schema.
we are able generate datadump files at export side successfuly. However, when we try to query the datadump files at import side we are getting following error:
Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-30653: reject limit REACHED
In the external table definition we have defined the reject limit as zero as we don't want any records to be rejected.
This issue occurred after we deployed the fix for an issue, which is -> In one of the table we store the xml of the modified record of some core table. And if the records contains control characters [ chr(0) to chr(31), expect chr(9), chr(10) and chr(13) ] then xml fails to validate and our export failed.
To fix it, we added the code to set the event at the start of the export rountine using command:
/*Replace the erroneous character with corresponding character reference*/
EXECUTE IMMEDIATE 'ALTER SESSION SET events = ''19119 trace name context forever, level 0x200000''';
After this, the export worked fine but import failed.
I have no clue what this error message is suggesting, expect the reject limit thing which I can't set to unlimited.
I would be grateful to have your comments on this. Please let me know if you need futher information.
Many ThanksHi,
What happens if you set that event on the importing side too?
Is there no other way to remove the speical characters - can you not use functions against the xml string directly in the routine that populates the external table - why are you using the event?
Cheers,
Harry -
SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
Dear Friends,
I executed the following stmsts:
1)CREATE OR REPLACE DIRECTORY TEST_DIR AS 'd:\mydata';
2)GRANT READ, WRITE ON DIRECTORY TEST_DIR TO wonders_mumbai1;
3)CREATE TABLE ext_tab18 (
old_cust VARCHAR2(8),
new_cust VARCHAR2(8)
ORGANIZATION EXTERNAL (
TYPE oracle_loader
DEFAULT DIRECTORY TEST_DIR
ACCESS PARAMETERS (
RECORDS DELIMITED BY NEWLINE
BADFILE TEST_DIR:'bad-upload.bad'
LOGFILE TEST_DIR:'log_upload.log'
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
(old_cust,new_cust))
LOCATION ('datafile1.csv')
REJECT LIMIT 0
NOMONITORING;
4)SELECT * FROM ext_tab18;
1 -3 execute successfully.
4 throws up the error:
Error starting at line 1 in command:
SELECT * FROM ext_tab18
Error report:
SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file log_upload.log
OS error The system cannot find the file specified.
ORA-06512: at "SYS.ORACLE_LOADER", line 19
29913. 00000 - "error in executing %s callout"
*Cause: The execution of the specified callout caused an error.
*Action: Examine the error messages take appropriate action.
What is to be done?Hi,
Yes if I put it on the server it works.
But if I put the file on the client in a shared folder and put the ip address as below:
10.97.140.59\mydata
it doesn't work.
So it seems that this will work if the file is on the server and not on any client.
If that be the case then it is a definite disadvantage.
thanks for ur reply. -
SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "minussign": expecting one of: "binary_double, binary_float, comma, char, date, defaultif, decimal, double, float, integer, (, nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned, varrawc, varchar, varraw, varcharc, zoned"
KUP-01007: at line 8 column 4
Here is my script
CREATE OR REPLACE DIRECTORY NO_STOCK_log_dir
AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\log';
CREATE OR REPLACE DIRECTORY NO_STOCK_bad_dir
AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\bad';
create table ext_NO_STOCK_table (
ACCT varchar(5),
SUBACCOUNT char(1),
ITEM_NO varchar(6),
PROCESS_DATE varchar(6),
ORDER_QTY integer
organization external
type oracle_loader
default directory user_dir
access parameters
records delimited by newline
badfile NO_STOCK_bad_dir:'NO_STOCK%a_%p.bad'
logfile NO_STOCK_log_dir:'NO_STOCK%a_%p.log'
fields
MISSING FIELD VALUES ARE NULL
ACCT (1:5) char(5),
SUBACCOUNT (6:6) char(1),
ITEM_NO (21:26) char(6),
PROCESS_DATE (30:35) char(6),
ORDER_QTY (37:41) integer external
location('NOSTOCK')
reject limit unlimited;
NOSTOCK data file is:
E2247 477265 110120 00001a minus qualifies as a special character and can not be used in identifiers unless you embed the identifier in double quotes.
Error messages are documented. You could and should have looked this up yourself.
Your question is redundant and a violation of Forums Etiquette.
Sybrand Bakker
Senior Oracle DBA -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing
Hi,
I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
Thanks,
Sunil ChauhanHi Kishan
Thanks for the reply.
Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
In addition i can provide you the DTD file.
<!-- ==================================================== -->
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<!-- ==================================================== -->
<!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "ACKNOWLEDGE"
>
<!ATTLIST NOUN
value CDATA #FIXED "PO"
>
<!ATTLIST REVISION
value CDATA #FIXED "008"
>
<!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
>
<!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
>
<!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
>
<!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
>
<!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
>
<!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
<!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
>
Thanks,S
--Sunil -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L
Hi There,
I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
<?xml version="1.0"?>
<ROWSET>
<ROW>
<ID>13</ID>
<TYPE_SEQ>8</TYPE_SEQ>
<TYPE>B749</TYPE>
<TYPE_DESC>B758</_TYPE_DESC>
<EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
<EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
<CREATED_BY>958344</CREATED_BY>
<CREATED_ON>2099-01-01</CREATED_ON>
<UPDATED_BY>172283</UPDATED_BY>
<UPDATED_ON>2099-01-01</UPDATED_ON>
</ROW>
</ROWSET>
It throws the following error.
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
Can any one advice the solution please.
-Sudheer.Hi Sudheer,
This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
Check it with this code:
SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
Check it with:
SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
Rutger -
Ore.neural throws ORA-29913: error in executing ODCITABLESTART callout
Hi,
We are using ORE 1.3 and server version 11.2.0.3.0 on an Oracle Linux box.
I was trying to do simple neural network from ORE and received the below error:
OREtrain2 <- ore.push(train2)
dt.mod <- ore.neural(ACTION ~ ., data = OREtrain2)Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
ORA-29913: error in executing ODCITABLESTART calloutI have researched it on Oracle forums and it seems there was a bug throwing the same error message prior to 11.2.0.3 and another one with Solaris installations of ORE 1.1, but neither of these explains why this happens in or case.
Thanks,
Zoltan
Edited by: user2548497 on Jun 2, 2013 1:13 PM
Edited by: user2548497 on Jun 2, 2013 1:14 PMHi Zoltan,
What are the data types of your data? This first release of ore.neural supports numerical data.
Regards,
Mark -
ORA-29913: error in executing ODCITABLEDESCRIBE callout
Hi,
Database is 11.2.0.3 Solaris SPARC with R 2.13.2 and ORE installed.
When executing last example from page 39: http://www.oracle.com/technetwork/database/options/advanced-analytics/r-enterprise/ore-trng4-embeddedrscripts-1501638.pdf
select *
from table(rqTableEval(
cursor(select ARRDELAY, DISTANCE, DEPDELAY
from ontime_s
where year = 2003
and month = 5
and dayofmonth = 2),
cursor(select 1 max1, 1 pos1, 'mod' name1,
to_number(null) max2, to_number(null) pos2,
to_char(null) name2, total, chunk, value
from ontime_lm),
'select ARRDELAY, DISTANCE, DEPDELAY, 1 PRED from ontime_s',
'R_TEST_Example3'))
order by 1, 2, 3;
select *
ERROR at line 1:
ORA-29913: error in executing ODCITABLEDESCRIBE callout
What could be a problem?
Regards,Yes, it is 11.2.0.3.4 on Solaris 10 SPARC:
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
and excerpt from opatch lsinventory:
Patch description: "Database Patch Set Update : 11.2.0.3.4 (14275605)"
Sub-patch 13923374; "Database Patch Set Update : 11.2.0.3.3 (13923374)"
Sub-patch 13696216; "Database Patch Set Update : 11.2.0.3.2 (13696216)"
Sub-patch 13343438; "Database Patch Set Update : 11.2.0.3.1 (13343438)"
I just confimed I have the same error on another box with base 11.2.0.3.0 (no patches) database installed on Solaris 10 x64.
Thank you. -
ERROR at line 1: ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA
Hi,
i am using external tables for fetching values from text file
1)
create or replace directory XTERN_DATA_DIRTEST
as 'E:\test';
2)
create table xtern_countrytest
COUNTRYNAME VARCHAR2(200)
organization external
( default directory XTERN_DATA_DIRtest
access parameters
records delimited by '|$|'
fields terminated by '|#|'
MISSING FIELD VALUES ARE NULL
location ('Country.txt')
when i execute
select * from xtern_countrytest am gettng following error
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file Country.txt in XTERN_DATA_DIRTEST not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
FYI,i have granted access,file is present at location,same thing works in development environment,but this error is happening in live server,
can any one has a idea about this,its urgentsybrand_b wrote:
Hi,
Welcome to the forums.
First of all I must remind you this is not a free support forum. Also everyone here is volunteer.
This means using words like 'urgent' and 'asap' is usually considered inappropriate as there is paid support.
In your transcript I notice you have no
grant read, write directory on XTERN_DATA_DIRTEST
I also notice in your external table definition your location directive appears to be incomplete
It should be
location(XTERN_DATA_DIRTEST:'Country.txt')
Hth
Sybrand Bakker
Senior Oracle DBASybrand
He doesn't need to write "location(XTERN_DATA_DIRTEST:'Country.txt')" because he sets the default directory:
( default directory XTERN_DATA_DIRtest
access parameters
user 854436,
Please check MOS [ID 150737.1]: ORA-29913 ORA-29400 KUP-04040 While Selecting from External Table
Regards
Gokhan -
ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 151001371 wrote:
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 15
the most frequent cause for TIMEOUT is a FireWall on or between client & server.
when was last time this worked without error?
what changed since then? -
ORA-06540,following statement failed with ORACLE error 6540:
I was working during the last days on doing a full export/import for the database 9i I used the following script for the export .
exp system/**** full=y file=/export/export.dmp log=/export/export.log consistent=y statistics=estimate buffer=200000
And everything went fine, after that I dropped all the objects owners belonging to the tablepaces as i am doing that to solve fragmentation problems
The issue is during the import and after 50% of the tables were exported successfully I started to receive the following error
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020E'; SREC.MAXVA"
"L := 'C26338'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(113,9855); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC :="
" 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"GL_ACCOUNT_ID"', NULL"
" ,NULL,NULL,1432,.000698324022346369,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020B'; SREC.MAXVA"
"L := 'C2031F'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(110,230); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := "
"2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"COMMON_COA_ID"', NULL "
",NULL,NULL,14,.0714285714285714,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C202'; SREC.MAXVAL "
":= 'C20233'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS"
".NUMARRAY(100,150); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2;"
" DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"CONSOLIDATION_CD"', NULL"
" ,NULL,NULL,2,.5,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
the used script for import is
imp system/****** full=y rows=y file=/export/export.dmp log=/export/ofsaimport2.log buffer=20000000
Please note that all the tables and indexes are imported successfully even after the error started to show.
Is it something serious, should I do the import again with statistics=none or I am just fine now and it something that is just related for the statistics.Is really "fragmentation" an issue to justify this table movement? Why do you want to "defragment" your schema? Is it because of performance issues? If this is the case you are wasting your time, if you tried to rebuild the indexes by this procedure, it is also a waste of time. If you are concerned about fragmentation because of "holes" and "islands" of unused space within segments and unused space below the HWM, that is something different, in my personal jargon, I'd rather use the term space reorganization.
If the data import was successful, then take a look at the dba_objects and verify if the program unit is still there and check its status.
You may also want to take a look at this note from AskTom that explains what this error means --> http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:571023051648
~ Madrid
http://hrivera99.blogspot.com -
ORA-29913: error in executing callout
Hello, everybody
I have some strange problem when I try to select data from an external table. The table has about 500'000 rows and select from it fetches about 200'000 rows normally and then throws the subj. message. ORA-299913 usually has name of the specific callout and is accompanied by the second message explaining the root cause, but in this case it does not have either - callout name is empty and there is no secondary error.
It feels like it hits a bad record mid-file and crashes, but the table organization is datapump and it's exported by using identical table definition from another Oracle instance of the same version ( 10.2.0.2.0 ).
I would really appreciate any ideas why it could happen. I tried to Google it but apparently no one encountered such situation yet.
Thank you
RitaIt feels like it hits a bad record mid-file and crashes, but the table organization is datapump and it's exported by using identical table >definition from another Oracle instance of the same version ( 10.2.0.2.0 ).
29913, 00000, "error in executing %s callout"
// *Cause: The execution of the specified callout caused an error.
// *Action: Examine the error messages take appropriate action.I understand you stated callout was blank, so file Service Request with Oracle.
Maybe you are looking for
-
Downloading extension SDK fails
Howdy, I'm trying to install the extension SDK from within JDeveloper 11.1.1.1.0, but I'm failing miserably. It seems that the download manager cannot connect with the download server. The update manager displays the SDK as a download option, but whe
-
In this episode of The Complete Picture, Julieanne demonstrates two methods for one of the most common trouble shooting techniques: resetting the Photoshop Preferences. http://adobe.ly/QPZVvn
-
URGENT : Pls help on Personnel Calculation Rules
Hello Gurus, I am creating new rule to change the attendance type depending on the holiday. What is the operation/function should I use. Senaio: There is a 'Holiday Hrs Worked' attendance type and this has to be used ONLY when an emp is working on a
-
Aperture Web Gallery & .Mac
I wasn't sure if I should post this here or on the .Mac site. I'm not sure where the problem lies. I have four web galleries from Aperture uploaded to my .Mac account. They range from 6 to 15 "screen" pages of content. One of the web galleries has st
-
How can I import avchd or .mts format
When connecting my camera to my mac. Final Cut Pro X recognizes my camera but the video clips are no where to be seen. And it when I tried to import them directly from the sd card the .mts file was greyed out. What should I do? I have the Sony DSC-HX