Dynamic Configuration for two file adapters communication channels
Hello Experts!!!!!!
In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
However the receiver service for both the communication channel are same.
In message mapping I am using multi mapping to create two files out a single message.
Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.
Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
Thanks & Regards,
Amol
Thanks for your prompt responses!!!!!
Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
I mean if iam using say comm. channel A and B.
Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
and then do samething for comm. channel B in its dynamic conf.
Regards,
Amol
Similar Messages
-
Dynamic configuration for multiple files
Hi All,
I am new to PI. I have a proxy to file scenario, wherein 3 files are to be generated depending upon the value in a field (site ID) on the same receiver. Site ID can only have 3 different vales. All these 3 files are to have a dynamically defined name.
How can I configure this scenario? Is there any way in which all 3 files can have dynamically defined names? Please help.
Regards
Vipulif you have only one recored (one site id) in proxy at a time, thn u can write a UDF for dynamic file name..
// UDF: public String SetFileNameDyn(String siteID, Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String myFileName = "";
if(siteID.equals("firstValue")){
myFileName = "FirstFile1";
}else if(siteID.equals("secondValue")){
myFileName = "SecondFile2";
}else if(siteID.equals("thirdValue")){
myFileName = "ThirdFile3";
conf.put(key, myFileName);
return myFileName; -
ALERT MAIL FOR FILE ADAPTER COMMUNICATION CHANNEL ERRORS
Hi,
I need to send an alert by mail to a list of configured receivers if any error( Application as wel as System Errors ) occurs in the FILE ADAPTER Communication Channel .
Please suggest how to do it......
Regards,
SriparnaCan anything be configured in the communication channel to run a mail unix script if the communication channel is throwing
error.Other than alert rule can we configure this.
Why do you intend to use script? Define Alert....create Rule....set parameters using SCOT.....you will get the alert as email (if you need it)
Can you please help with how do I create this rule specific to File Adapters only ?
Other than selecting FILE as Adapter Type in RWB --> Alert Rule definition we dont do anything special....this setting should help.
Regards,
Abhishek. -
Help need for "ORA-03113: end-of-file on communication channel" on startup
Hi everyone,
After install the oracle 8.1.7 on Solaris 2.7, I can not start the oracle server, below is the problem I got,
$ ./svrmgrl
: Oracle Server Manager Release 3.1.7.0.0 - Production
: Copyright (c) 1997, 1999, Oracle Corporation. All Rights
: Reserved.
: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
: With the Partitioning option
: JServer Release 8.1.7.0.0 - Production
: SVRMGR> connect internal
: Password: oracle
: Connected.
: SVRMGR> startup
: ORA-03113: end-of-file on communication channel
Can someone tell me what is wrong with my
oracle server? Thanks a lot.
nullHi,
the answer is simple. check first if TWO_TASK parameter is set to value from Ur tnsnames.ora. usually this environment variable must not be set for servers, only for client side. that means try 'unset TWO_TASK' and then should work.
best regards,
nicky -
Dynamic Filename for Reciever File Adapter
Hi All,
Can anyone answer to some of my quesries which are as follows
a) . Currently Iu2019m working on an IDOC-to-File scenario in which I need to create zip file on file server by using a payload value. I
search sdn and found a bean that can be used to create zip file which is PayLoadZipBean. Iu2019m referring the below weblog for creating file name dynamically.
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
My question is can anyone explain or provide me the step by step procedure in detail for the prerequisite which are mention in the weblog, i.e.
u201CAssuming that the following have been done and configured.
1.A value table has been created in the ABAP stack of the WAS in which XI is running and the entries as the file types, which will be written into the files are maintained.
2.Create a number range object in SNRO transaction in the same ABAP stack which will be having the sub objects as the file types maintained in the value table with their number ranges maintained. u201C
b) .Can we use all mapping techniques (ABAP, Java, XSLT and Graphical) in a single scenario if yes then how to trigger them and which one executes much faster?
c) .Can we trigger an RFC asynchronously and how?
Your help is highly appreciated and
Regards
Faisal
Edited by: Abdul Faisal on Nov 19, 2009 8:53 AMa) . Currently Iu2019m working on an IDOC-to-File scenario in which I need to create zip file on file server by using a payload value. I
search sdn and found a bean that can be used to create zip file which is PayLoadZipBean. Iu2019m referring the below weblog for creating file name dynamically.
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
My question is can anyone explain or provide me the step by step procedure in detail for the prerequisite which are mention in the weblog, i.e.
Hi Use dynamic configuration UDF to create file name dynamically.its very easy search in sdn you will find the code,even you can create file directory name dynamically.
In receiver file communication channel if you use PayLoadZipBean it will do Zipping of your message,for this you need to add this bean name additional parameters section in Receiver Channel.
If you want to create zip file based on pay load value check the condition at mapping level based on that call the service,if you not required zip file in other case for that you need to create one more file receiver communication channel.
u201CAssuming that the following have been done and configured.
1.A value table has been created in the ABAP stack of the WAS in which XI is running and the entries as the file types, which will be written into the files are maintained.
not claer,can you explain bit more
2.Create a number range object in SNRO transaction in the same ABAP stack which will be having the sub objects as the file types maintained in the value table with their number ranges maintained. u201C
b) .Can we use all mapping techniques (ABAP, Java, XSLT and Graphical) in a single scenario if yes then how to trigger them and which one executes much faster?
We can use all mappings single scenario,how mean just add the mapping names in Operation/Interface mapping.
As per my understanding Message Mapping works faster then JAVA then XSLT then ABAP,but it depends on how many lined of code you written.
c) .Can we trigger an RFC asynchronously and how?
Yes we can use RFC Asynchronous,search in sdn you will find it,if unable to find let me know.
Regards,
Raj -
File receiver communication channel
Hi All,
I am working on a IDOC to FILE scenario. In my target structure I have 10 fields. I need to transfer only 9 fields to my file.
I am using the 10th field to hold the file name, which is used in the variable substitution in the receiver file communication channel.
Kindly advice how to not to send 10th field.
I am using the following parameters in content conversion: (1) fieldSeparator, fieldFixedLengths
This is a multi mapping scenario, where a IDOC will generate 10 files (So I cant use dynamic configuration for file names).
Thanks & Regards,
Navneeth K.Hi Navneeth,
Please refer the below blog:
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
You have to use fixedLengthTooShortHandling parameter.
-Supriya. -
Dynamic Configuration for determining filename
Hi ,
I am using dynamic configuration for determining the filename sent by the sender
I am using the following code::
int i = 0;
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
if (ourSourceFileName.equals("data.txt"))
for (i = 0 ; i < 1 ; i++)
result.addValue(ourSourceFileName);
i have also 'checked' filename in set Adapter specific message propertiesas in sender communication channel.
But Still it is not working.
Please provide some help on it.
Thanks & Regards
NilimaHi,
Michal
In SXMB-MONIthe response part contains DYNAMIC CONFIGURATION node
and it displays::
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Response
-->
<SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName"><b>try1.txt</b></SAP:Record>
</SAP:DynamicConfiguration>
please sir provide some help on it.
Thanks once again. -
File sender Communication Channel is not working
Hi friends
we Created File sender Communication Channel and Activated but It is not picking up file
1. 0 messages in Message Monitoring
2. My Communication Channel not appearing in Communication Channel Monitoring also
3. We have refreshed the cache and activated the channel.
we chack with File name, Directory name and path ....
Friends have any idea
Regards
Viswanadh VaddePerosnally, I would recommend setting a trace and letting the system telling you exactly why.
Traces are used to analyze runtime errors. By setting a specific trace level for specific locations, you can analyze the behavior of individual code segments at class and method level. This is done with the help of the log configurator service:
Log onto the Java Admin Console
 Services
 Log Configurator
 Locations
 Choose the location (Java package) and the tracing level (severity)
(for example, com.sap.aii.adapter.file)
 Root Location > com > sap > aii > File
 Set the severity and choose Copy Severity to Subtree -
Java Stored Proc - ORA-03113: end-of-file on communication channel
Help with error please.
Running java stored procedure and getting
end-of-file error. This error occurs after successful connection established.
Simple function returns a java.util.String that is a coded version of the DATE parameter. Procedure does not use a connection object.
Error message and description list below.
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two task, software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
I am currently looking into the trace file as suggested.
ThanksCheck parameters in intisid.ora:
java_pool_size > 50 Mbytes
java_soft_sessionspace_limit = 4 MBytes
max_java_sessionspace_size = 2 Gbytes
See note 103855.1, 105472.1 in Metalink.
null -
ORA Error : end-of-file on communication channel
Hello everyone !
Every time i excuted a simple select query of type
select X from Y where (z=1 or z=2 or z=3) i got a oracle error "ORA-03113: end-of-file on communication channel ".
Can anybody tell me why this error occurs, also sometime i got the result also again some time i end up with this error.
Is there anything wrong with my pro*c application or i need to do some configuration for the same.
thanx in advance.Hiii ....
We don't have any firwall between the clients and the server it is directly connected through the gateway.
onece i received the error : "end-of-file on communication channel ", its not restoring back the connection and all queryies made after that is giving the same error untill i stop and rerun the pro*c application.
oracle ver: 9.2.0.4 os: linux 8.0 -
Simple Spatial Query caused ORA-03113: end-of-file on communication channel
I try to run a simple spatial query to find the ID's which inside the specified circle
select n.ID,n.FEATURE_ID
from NC_MANGROVE n
where sdo_relate(n.shape,
mdsys.sdo_geometry(2003,null,null,
mdsys.sdo_elem_info_array(1,1003,4),
mdsys.sdo_ordinate_array(848948,834940,848908,834980,848908,834900)),
'mask=ANYINTERACT querytype=WINDOW')='TRUE';
but it end up of ORA-03113: end-of-file on communication channel
Then I try another query, which I think do the similar thing
select n.ID,n.FEATURE_ID
from NC_MANGROVE n
where sdo_within_distance(n.shape,
mdsys.sdo_geometry(2001,null,mdsys.sdo_point_type(848908,834900,null),null,null),
'distance=40')='TRUE';
but same error occurs.
Is it the SQL*net configure problem. I am using Oracle 8.1.7 for both client and server.
Please help
TommyDoes SDO_FILETER Queries work fine? If so there is already reported bug and patch for that on Metalink site. Get all the patches for 8.17 spatial and install those.
-
RFC Look Up APIs for a IDOC Receiver Communication Channel
Hi,
Can we use RFC Look Up APIs in UDF for a IDOC Receiver Communication Channel. (File to IDOC Scenario). Requirement is to send a notificaiton when IDOC got posted with IDOC number.
Best Regards,
Madan AgrawalAs the name suggests, RFC lookup uses RFC receiver channel only. In mapping of your File to Idoc scenario, you may perform this lookup.
Requirement is to send a notificaiton when IDOC got posted with IDOC number.
Configure ALEAudit for this requirement. How were you planning to use RFC lookup for such a requirement?
Regards,
Prateek -
ERROR at line 1: ORA-03113: end-of-file on communication channel
I have a DRDA gateway set up between my Oracle 10.2.0.4 instance (linux 64 bit), and a DB2 UDB instance (v 8.2 32 Bit). Within a SQLPlus session, I'm able to successfully interact with tables (select, update, delete) that do not have CLOB columns defined. However, whenever I try to access a table with a CLOB column (even doing a select on a single row), I get an end-of-file communication error and it kicks me out of my session. I can interact with the table as long as I don't include the CLOB/BLOB columns. Is there some additional configuration or memory settings I'm missing?
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from mytablewithaclob@db2 where l_column= 1;
select * from dbo.mytablewithaclob@db2 where l_column= 1
ERROR at line 1:
ORA-03113: end-of-file on communication channelI add the following codepage.map (as per another post) - packages are bound properly, and tables without clobs I can interact with just fine.:
S 367 > US7ASCII
D 13488 > AL16UTF16
D 1200 = AL16UTF16
M 1208 = UTF8
MBC 1208 = 1208 1200
column in question is defined as follows in DB2:
mycol CLOB(1G) DEFAULT '' NOT NULL NOT LOGGEDAny thoughts? Much appreciated.
Edited by: kpw on Sep 3, 2009 4:21 PMUnfortunately TG4DRDA 10.2.0 does not support DB2 (C)LOB datatype. A crash is a rather unpleasant way to report this inability... but that could depend on the version of TG4DRDA you use (10.2.0.1.0). I guess when you upgrade TG4DRDA to 10.2.0.4.0 you will get a proper error message (ORA-28527 - datatype conversion error).
As workaround you could:
- create a view on the DB2 table and exclude the (C)LOB columns
- move/copy the (C)LOB data into a TG4DRDA supported datatype ((long) varchar for bit data)
Regards,
Ed -
Convrtd to Invterval Part- ORA-03113: end-of-file on communication channel
Hi all,
I had a table as Interval Partitioned. In order to create XML- Xpath indexes on it, I converted it to Range Partitioned table.
I am able to create the XPATH indexes but I get the error: ORA-03113: end-of-file on communication channel
- When I revert the code to Interval Partitioned without the XMLIndex, it works fine(although takes time as no XML Index)
- When I convert table to non partitioned table, create the XML Index, it works fine.
But I need the partitons, so when I create the partitioned table I get the error.
CREATE TABLE INT_PART_TABLE
DB_ID VARCHAR2(10 BYTE),
xML_mESSAGE SYS.XMLTYPE,
LOAD_TIMESTAMP TIMESTAMP(6)
XMLTYPE xML_mESSAGE STORE AS BINARY XML
PARTITION BY RANGE (LOAD_TIMESTAMP)
PARTITION MAX VALUES LESS THAN (TIMESTAMP' 2013-06-01 00:00:00')
TABLESPACE CSTR_STG_DATA
NOCOMPRESS
NOCACHE
ENABLE ROW MOVEMENT;
BEGIN
DBMS_XMLINDEX.dropparameter('Indx_Par');
END;
BEGIN
DBMS_XMLINDEX.REGISTERPARAMETER(
'Indx_Par',
'PATH TABLE Table1
PATHS (INCLUDE ( /abc:field1/xyz:field2
/abc:field1/def:field2
NAMESPACE MAPPING ( xmlns:abc="ABCD"
xmlns:def="DEFG"
xmlns:xyz="XYZA"
end;
create index INDX_XPATHS on "INT_PART_TABLE" (XML_MESSAGE) indextype is xdb.xmlindex
parameters ('PARAM Indx_Par') local;
Now if I execute the following statement in
SELECT T.xML_mESSAGE
FROM INT_PART_TABLE1 T
WHERE XMLEXISTS (
declare namespace abc="ABCD";
declare namespacedef="DEFG";
declare namespace xyz="XYZA";
let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
return if ($tt) then true()
else ()'
PASSING T.xML_mESSAGE AS "p");
- Is there any other way of writing this Select statement, which may work?
- Any other thing I need to take care of when defining the table and partitions script so that I don't get this error?Hi,
I think it's time you give a clear (and working) test case so that we can safely try to reproduce the issue.
What you've given so far has syntax error and name mismatch.
So please :
- database version (SELECT * FROM v$version)
- complete sequence of DLLs
- some sample XML documents (it doesn't have to be the real ones, but at least something realistic)
Thanks in advance.
declare namespace abc="ABCD";
declare namespacedef="DEFG";
declare namespace xyz="XYZA";
let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
return if ($tt) then true()
else ()'Why all that stuff? You don't have to return a boolean.
The following works for me on 11.2.0.3 :
SQL> CREATE TABLE int_part_table (
2 db_id VARCHAR2(10)
3 , xml_message XMLTYPE
4 , load_timestamp TIMESTAMP
5 )
6 XMLTYPE xml_message STORE AS BINARY XML
7 PARTITION BY RANGE (load_timestamp) (
8 PARTITION MAX VALUES LESS THAN (timestamp '2013-06-01 00:00:00')
9 )
10 NOCOMPRESS
11 NOCACHE
12 ENABLE ROW MOVEMENT;
Table created
SQL> insert into int_part_table values (1, xmltype('<main><id>144283</id></main>'), sysdate);
1 row inserted
SQL> insert into int_part_table values (1, xmltype('<main><id>9085802</id></main>'), sysdate);
1 row inserted
SQL> insert into int_part_table values (1, xmltype('<main><id>1</id></main>'), sysdate);
1 row inserted
SQL> commit;
Commit complete
SQL> create index int_part_table_uix on int_part_table (xml_message)
2 indextype is xdb.xmlindex
3 parameters (
4 'PATH TABLE INT_PART_TABLE_PT
5 PATHS ( INCLUDE ( /main/id ) )')
6 local;
Index created
SQL> SELECT xml_message
2 FROM int_part_table
3 WHERE XMLExists(
4 '/main[id=("144283","9085802")]'
5 PASSING xml_message
6 )
7 ;
XML_MESSAGE
<main>
<id>144283</id>
</main>
<main>
<id>9085802</id>
</main>
Execution Plan
Plan hash value: 3517234298
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 155 | 34 (6)| 00:00:01 | | |
| 1 | NESTED LOOPS | | 1 | 155 | 34 (6)| 00:00:01 | | |
| 2 | VIEW | VW_SQ_1 | 1 | 25 | 32 (4)| 00:00:01 | | |
| 3 | HASH UNIQUE | | 1 | 47 | | | | |
|* 4 | HASH JOIN SEMI | | 1 | 47 | 32 (4)| 00:00:01 | | |
| 5 | PARTITION SYSTEM SINGLE | | 2 | 90 | 2 (0)| 00:00:01 | 1 | 1 |
|* 6 | TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT | 2 | 90 | 2 (0)| 00:00:01 | 1 | 1 |
|* 7 | INDEX SKIP SCAN | SYS117585_INT_PART__PIKEY_IX | 3 | | 1 (0)| 00:00:01 | 1 | 1 |
| 8 | COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE | 8168 | 16336 | 29 (0)| 00:00:01 | | |
|* 9 | TABLE ACCESS BY USER ROWID | INT_PART_TABLE | 1 | 130 | 1 (0)| 00:00:01 | ROWID | ROWID |
Predicate Information (identified by operation id):
4 - access("SYS_P3"."VALUE"=SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0) AND
SUBSTRB("VALUE",1,1599)=SUBSTRB(SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0),1,1599))
6 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
7 - access("SYS_P3"."PATHID"=HEXTORAW('704E') )
filter("SYS_P3"."PATHID"=HEXTORAW('704E') )
9 - filter("ITEM_6"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))
Note
- Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
SQL> SELECT xml_message
2 FROM int_part_table
3 WHERE XMLExists(
4 '/main[id="144283" or id="9085802"]'
5 PASSING xml_message
6 )
7 ;
XML_MESSAGE
<main>
<id>144283</id>
</main>
<main>
<id>9085802</id>
</main>
Execution Plan
Plan hash value: 3748936130
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 155 | 11 (10)| 00:00:01 | | |
| 1 | NESTED LOOPS | | 1 | 155 | 11 (10)| 00:00:01 | | |
| 2 | VIEW | VW_SQ_1 | 2 | 50 | 8 (0)| 00:00:01 | | |
| 3 | HASH UNIQUE | | 2 | 180 | | | | |
| 4 | CONCATENATION | | | | | | | |
| 5 | NESTED LOOPS | | | | | | | |
| 6 | NESTED LOOPS | | 1 | 90 | 4 (0)| 00:00:01 | | |
| 7 | PARTITION SYSTEM SINGLE | | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
|* 8 | TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
|* 9 | INDEX SKIP SCAN | SYS117585_INT_PART__PIKEY_IX | 3 | | 1 (0)| 00:00:01 | 1 | 1 |
| 10 | PARTITION SYSTEM SINGLE | | 1 | | 1 (0)| 00:00:01 | 1 | 1 |
|* 11 | INDEX RANGE SCAN | SYS117585_INT_PART__PIKEY_IX | 1 | | 1 (0)| 00:00:01 | 1 | 1 |
|* 12 | TABLE ACCESS BY LOCAL INDEX ROWID | INT_PART_TABLE_PT | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
| 13 | NESTED LOOPS | | | | | | | |
| 14 | NESTED LOOPS | | 1 | 90 | 4 (0)| 00:00:01 | | |
| 15 | PARTITION SYSTEM SINGLE | | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
|* 16 | TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
|* 17 | INDEX SKIP SCAN | SYS117585_INT_PART__PIKEY_IX | 3 | | 1 (0)| 00:00:01 | 1 | 1 |
| 18 | PARTITION SYSTEM SINGLE | | 1 | | 1 (0)| 00:00:01 | 1 | 1 |
|* 19 | INDEX RANGE SCAN | SYS117585_INT_PART__PIKEY_IX | 1 | | 1 (0)| 00:00:01 | 1 | 1 |
|* 20 | TABLE ACCESS BY LOCAL INDEX ROWID | INT_PART_TABLE_PT | 1 | 45 | 2 (0)| 00:00:01 | 1 | 1 |
|* 21 | TABLE ACCESS BY USER ROWID | INT_PART_TABLE | 1 | 130 | 1 (0)| 00:00:01 | ROWID | ROWID |
Predicate Information (identified by operation id):
8 - filter("SYS_P5"."VALUE"='9085802' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='9085802')
9 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
11 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD') AND
"SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
12 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
16 - filter("SYS_P5"."VALUE"='144283' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='144283' AND
(LNNVL("SYS_P5"."VALUE"='9085802') OR LNNVL("SYS_P5"."PATHID"=HEXTORAW('704E') ) OR
LNNVL(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1) OR LNNVL(SUBSTRB("VALUE",1,1599)='9085802')))
17 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
19 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD') AND
"SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
20 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
21 - filter("ITEM_2"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))I asked in one of your other threads if /main/id was unique per XML document.
If so, you can use a simple function-based index instead of the XMLIndex :
SQL> drop index int_part_table_uix;
Index dropped.
SQL> create index int_part_table_ix1 on int_part_table (
2 xmlcast(
3 xmlquery('/main/id' passing XML_MESSAGE returning content)
4 as varchar2(10)
5 )
6 );
Index created.
SQL> SELECT xml_message
2 FROM int_part_table
3 WHERE XMLCast(
4 XMLQuery('/main/id' PASSING xml_message RETURNING CONTENT)
5 AS VARCHAR2(10)
6 )
7 IN ('144283', '9085802');
XML_MESSAGE
<main>
<id>144283</id>
</main>
<main>
<id>9085802</id>
</main>
Execution Plan
Plan hash value: 2864653096
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 2 | 236 | 2 (0)| 00:00:01 | | |
| 1 | INLIST ITERATOR | | | | | | | |
| 2 | TABLE ACCESS BY GLOBAL INDEX ROWID| INT_PART_TABLE | 2 | 236 | 2 (0)| 00:00:01 | 1 | 1 |
|* 3 | INDEX RANGE SCAN | INT_PART_TABLE_IX1 | 2 | | 1 (0)| 00:00:01 | | |
Predicate Information (identified by operation id):
3 - access(CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944) AS
varchar2(10) )='144283' OR CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944
) AS varchar2(10) )='9085802') -
Error ORA-03113: end-of-file on communication channel in droppping a table
Good evening,
I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
ORA-03113: end-of-file on communication channel
and then close the connection of the user.
What I should have to do?
It is very important.
Thanks a lot
best regards
Anna ZanettiGood morning, I still have the same problem, I can't drop a table from my database.
The message is again:
Re: Error ORA-03113: end-of-file on communication channel
The alert log file says:
Fri Nov 17 12:27:31 2006
Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
and in file oracledb_ora_4369.trc there is:
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
Registers:
%eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
%edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
%esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
%efl: 0x00210282
(0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
(0x955c626) jle 0x955c63e
(0x955c628) xor %edx,%edx
(0x955c62a) push %edx
*** 2006-11-17 12:27:31.658
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
Current SQL statement for this session:
drop table fiumiforjoin
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
1 ? 5830F01C ?
08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
58EAB2B0 ? C ?
09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
BFFFC0C0 ? 4 ? B6AB0300 ?
B6ABC2E0 ?
094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
1 ? 0 ? A4 ?
08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
BFFFD6E8 ? BFFFD6E4 ?
0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
F1 ? 0 ?
08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
BFFFEB08 ? B6CC017C ?
B6C1A17C ?
__libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
+218 B6C1C898 ? B7600020 ?
Any idea of what I have to do?
Thanks for your help..
Best Regards
Anna Zanetti
Maybe you are looking for
-
Desktop is Gone, Mail and Safari were reset and a host of other problems
So, I opened my iMac G5 today and the first thing I noticed was that some of my widgets were gone, particularly all the ones that didn't come with the OS X installation (meaning the other ones I downloaded from different sites). And then I noticed th
-
Ive had my itunes for different computers. how do i get all my purchased on one itunes
how do i get my purchased products from one computer to another with the same itune account? i selected the purchased section in itunes. everything came up the first time but not i cant find it! ive been at it for a while now and nothing seems to be
-
i need help on registering my ipod touch into my new apple ID. i dont want to use the other ID. so how can i register it into my new Apple ID?
-
Regarding the installation of portal
hi there, i have installed sap netweaver ce trail version with nwds , but was not able to find the portal component in the download from where can i download the portal component and for nw as ce 1.0 and is it necessary to install the portal for ins
-
Business partner - BUPA_INBOUND_MAIN_SAVE - test data
Hello, does anyone have a set of test data with which I can create a business partner, using the function module BUPA_INBOUND_MAIN_SAVE? I always get the error message "specify at least 1 number for business partner" and I don't know which parameter