Virtual Index
Hi,
Can someone give me an explanation for Virtual Indexes? Can I find the info in Oracle documentation? It'll be really grateful if i can get the path/link refers this information. Also what's the difference between Virutal index and invisible indexes?
Thanks in Advance,
Titus Thomas
A virtual index is an index that doesn't really exist (i.e. it occupies 0 space) that can be used to determine whether actually creating an index would cause the optimizer to change a query plan. Tim Hall has an article on [virtual indexes|http://www.oracle-base.com/articles/misc/VirtualIndexes.php] that provides a quick introduction.
Justin
Similar Messages
-
What is the difference between "Invisible" (11g) and "virtual" index?
Hi
What is the difference between the "Invisible" index and "virtual" index?
Thanks
BalajiIndexes can be visible or invisible. An invisible index is maintained by DML operations and cannot be used by the optimizer. Actually takes space, but is not to be used as part of a potential access path.
AFAIK, a virtual index is created by the tools used in SQL statement access path tuning to provide an alternative for the optimizer to test. It does not take any real space as it is a pure in memory definition. -
"Virtual Index" in a statement.
I thought I read some information about this but cannot locate that info now. Is there such a thing as, for lack of a better phrase, a "virtual index" that can be used in an Oracle SQL select statement?
It would be a hint that defines the column(s) to be used as the index for that specific statement only. The index does not actually exist but Oracle optimizes the query as if it does.
If this exists, could you supply a simple example of the hint-syntax?
ThanksRe: virtual index
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:21934291902040#21939286863826 -
Hi Alll,
I have one query...can we have Index on: example:
SELECT col1, col2
FROM (SELECT Col1 as A, Col2 as B
FROM tb) t1,
(SELECT *
FROM ts) t2
WHERE t1.col1 = t2.col2Question can we have a virtual on Index on t1's column i.e. t1.A and t1.BHi,
you can have index on COL1 and COL2 on table tb. I think Virtual index are undocumented feature used by Oracle.
thanks
This likk will give you more info.
http://www.dba-oracle.com/oracle_news/2005_6_29_inside_virtual_indexes.htm
Edited by: Himanshu Kandpal on Jul 29, 2009 7:23 AM added the link -
Does anyone know of a good tool which can scan a repository of sql statements and determine if a newly proposed index would be used (particularly using RULE based optimization)? I know that Oracle tuning pack does this with Virtual Index Wizard (in cost based mode only), but it only does it on one statement at a time.
Thank youRandi:
Just add a new blank page to your existing iWeb site, put it at the top in iWeb and add the photo and text you want to it along with a text based hyperlink to the new WP site.
If you have other pages in the existing site you want to have available you could embed the new WP site in an iWeb page like this demo page: Embed One Site Within an iWeb Page. That way you can keep the non blog pages of your existing site (if there are any) and have the new blog included.
If there is nothing in the old site that you want visitor to have access to just put the following code in an HTML snippet on the first page of your current site:
<script type="text/javascript">
parent.window.location = "URL TO NEW WP SITE"; </script>
Thanks to Cyclosaurus for this code
This will immediately redirect visitors to your old site directly to your new one.
OT
Message was edited by: Old Toad -
Consuming a webservice from a portal service...
Hello all,
I am playing around with the example code for imlimenting a federated search (found in the km section) and was trying to use a webservice call to google as an example of a the federated search.
I generated a client side portal service (from the goodle wsdl) and I am now trying to access it form the search virtual index service I wrote...
I someone can point me in the correct direction that would be great... I was looking at the following blog Accessing an External Web Services in Portal which helped setup the webservice but I find the code used to access it does not help. For one thing I can not find the IServiceName class anywhere in the portal or j2ee javadoc or jat files.
Cheers,
D.Hi ,
I am getting the problems while consuming the web services in portal component.
I am not able to call the methods of web services.
look at my code.
IListServiceName client=
(IListServiceName) PortalRuntime.getRuntimeResources ().getService (IListServiceName.KEY);
GetListResponse glr= client.getList();
frist line is working fine.
In my web service i have a method called GetList().
Any way i have to call that method and get the result.
But there are other classes which are automatically generated when i consumed the web service, like GetListResponse().
When i try to call client.GetList(); it gives the error at run time, No error in the code but the errors are coming at run time.
Where is the problem? other things like proxy settings, etc i have done.
What could be the problem? Can any one suggest.
Regards
Bala -
We have an update query recently brought to my attention that is running extremely slow on Oracle 11.2.0.1 against a secure file binary XML table using
update /*+ NO_XML_DML_REWRITE */croutreach.action set object_value = :1 where actn_id = :2 .
I am told the majority/near majority of the ~ 16 fields are updated. Also this table has numerous predefined virtual columns with fn based indexes on them.
My first inclination was to recast this using the Oracle updatexml function. I was told, the /*+ NO_XML_DML_REWRITE */ hint would also be necessary here.
update /*+ NO_XML_DML_REWRITE */
<tble_name> a
set a.object_value = updatexml(a.object_value ...).
Last year our dba's were instructed by Oracle Support to use this hint, as the update wasn't updating any records w.o any error msgs.
+1. Hoping to find out if anyone has run across using this hint in some capacity and what was their experience?+
In trying to optimizie this update statement, I'll start from scratch not using the /*+ NO_XML_DML_REWRITE */ hint and will commence with using the updatexml function with setting up an xmlindex.
+2. Hoping to receive some suggestions on creating the proper xmlindex - figuring an unstructured index. If get some good performance with the xmlindex; hoping to retire some of the virtual column usage.+
+3. Any suggestions on living with virtual columns in conjunction with xmlindexes? See the action table definition and associated ivirtual columns and indexes. This table seems over indexed...+
REATE
TABLE "CROUTREACH"."ACTION" OF XMLTYPE
CONSTRAINT "ACTN_ID_PK" PRIMARY KEY ("ACTN_ID") USING INDEX PCTFREE 10
INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT
1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE
DEFAULT) TABLESPACE "ACME_DATA" ENABLE
XMLTYPE STORE AS SECUREFILE BINARY XML
TABLESPACE "ACME_DATA" ENABLE STORAGE IN ROW CHUNK 8192 CACHE READS LOGGING
NOCOMPRESS KEEP_DUPLICATES STORAGE(INITIAL 106496 NEXT 1048576 MINEXTENTS 1
MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT)
ALLOW NONSCHEMA ALLOW ANYSCHEMA VIRTUAL COLUMNS
*"ACTION_DEF_URN"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/srvContextPointer/outreachActionDefInfo/@actionDefUrn
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"STAT_DT"* AS (SYS_EXTRACT_UTC(CAST(TO_TIMESTAMP_TZ(SYS_XQ_UPKXML2SQL(
SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/@status_dt'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2),'SYYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM') AS TIMESTAMP
WITH
TIME ZONE))),
*"ACT_DEF_ID"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/srvContextPointer/outreachActionDefInfo/@actionDefId'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(20))),
*"CORRL_ID"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/correlationId'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"STAT_RSN"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/statusReason'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(30))),
*"ACT_APPNT_DT"* AS (SYS_EXTRACT_UTC(CAST(TO_TIMESTAMP_TZ(SYS_XQ_UPKXML2SQL(
SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/actionAppointment/appointment_dt'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2),'SYYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM') AS TIMESTAMP
WITH
TIME ZONE))),
*"UPDT_DT"* AS (SYS_EXTRACT_UTC(CAST(TO_TIMESTAMP_TZ(SYS_XQ_UPKXML2SQL(
SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/@update_dt'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2),'SYYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM') AS TIMESTAMP
WITH
TIME ZONE))),
*"CRET_DT"* AS (SYS_EXTRACT_UTC(CAST(TO_TIMESTAMP_TZ(SYS_XQ_UPKXML2SQL(
SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/@create_dt'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2),'SYYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM') AS TIMESTAMP
WITH
TIME ZONE))),
*"ACT_SEQ"* AS (CAST(TO_NUMBER(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/srvContextPointer/outreachActionDefInfo/@sequence'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2)) AS NUMBER(10))),
*"SERVICE_DEF_URN"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03";
/action/srvContextPointer/serviceDefUrn'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(100))),
*"ASSIGN_TEAM_CD"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/assignment/@teamCategoryCode'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"ASSIGN_STAFF_ID"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
/action/assignment/staffProfileId'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"ACTION_TYPE"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03"; (::)
declare namespace xsi="http://www.w3.org/2001/XMLSchema-instance"; (::)
local-name-from-QName(QName("http://www.cigna.com/acme/domains/actions/2010/03",/action/@xsi:type))
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"ACTN_ID"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03";/action/@id'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50))),
*"STATUS"*AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03";/action/@status'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(20))),
*"ACME_MBR_ID"* AS (CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(XMLQUERY(
'declare default element namespace "http://www.cigna.com/acme/domains/actions/2010/03";/action/acmeMemberId'
PASSING BY VALUE SYS_MAKEXML(128,"XMLDATA") RETURNING CONTENT ),0,0,
16777216,0),50,1,2) AS VARCHAR2(50)))
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE UNIQUE INDEX *"CROUTREACH"."SYS_C0014547"* ON "CROUTREACH"."ACTION"
"SYS_NC_OID$"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE UNIQUE INDEX *"CROUTREACH"."SYS_IL0000082156C00003$$"* ON "CROUTREACH".
"ACTION"
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576
MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "ACME_DATA" PARALLEL (DEGREE 0 INSTANCES 0) ;
CREATE UNIQUE INDEX *"CROUTREACH"."ACTN_ID_PK"* ON "CROUTREACH"."ACTION" (
"ACTN_ID") PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT) TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_STAT_RSN_IDX"* ON "CROUTREACH"."ACTION"
"STAT_RSN"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_UPDT_DT_IDX"* ON "CROUTREACH"."ACTION"
"UPDT_DT"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_CRET_DT_IDX"* ON "CROUTREACH"."ACTION"
"CRET_DT"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_STAT_DT_IDX"* ON "CROUTREACH"."ACTION"
"STAT_DT"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_MBRID_TYP_STAT_IDX"* ON "CROUTREACH"."ACTION"
"ACME_MBR_ID",
"ACTION_TYPE",
"STATUS"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACT_ACTDEF_URN_IDX"* ON "CROUTREACH"."ACTION"
"ACTION_DEF_URN"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;
CREATE
INDEX *"CROUTREACH"."ACTION_ACT_DEF_ID_STATUS_IDX"* ON "CROUTREACH"."ACTION"
"ACT_DEF_ID",
"STATUS"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE
0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
TABLESPACE "ACME_DATA" ;Any suggestions much appreciated.
Regards,
Richard Blanchardodie 63
update /*+ NO_XML_DML_REWRITE */croutreach.action set object_value = :1 where actn_id = :2 .
This update pattern is used in the production environment and is slowing the environment down as more xml content is increased. In a new release build, this update pattern against the action table described earlier, is particularly problematic.
Have some more information on the /*+ NO_XML_DML_REWRITE */ hint. It turns out, last year, updates statements would intermittently fail to correctly update silently failing. An Oracle Service Request was created. Over the span of about 5 mnths, Oracle determined a very low level Oracle kernel bug was the culprit. Oracle As a result of this SR, Oracle SUpport created BUG 11939507 <ORA-08102: index key not found during update on xmltable with a virtual column>. This bug is viewable on metalink. Oracle claims this bug has only been oberved on In the interim to 11.2.0.3, Oracle Support mentioned to use /*+ NO_XML_DML_REWRITE */; thus disabling piecewise update.
Here's preface information on this bug:
Bug 11939507: ORA-08102: INDEX KEY NOT FOUND DURING UPDATE ON XMLTABLE WITH VIRTUAL COLUMN
Bug Attributes
Type B - Defect Fixed in Product Version 12.1
Severity 2 - Severe Loss of Service Product Version 11.2.0.1
Status 80 - Development to Q/A Platform 23 - Oracle Solaris on SPARC (64-bit)
Created 30-Mar-2011 Platform Version 10
Updated 13-Feb-2012 Base Bug -
Database Version 11.2.0.1
Affects Platforms Generic
Product Source Oracle
Hdr: 11939507 11.2.0.1 XDB 11.2.0.1 BINARY PRODID-5 PORTID-23
Abstract: ORA-8102: INDEX KEY NOT FOUND DURING UPDATE ON XMLTABLE WITH VIRTUAL COLUMN*** 03/30/11 12:22 pm ***
BUG TYPE CHOSEN =============== code
Component: XML Database =======================
DETAILED PROBLEM DESCRIPTION ============================
The issue happens intermittently when running a batch program with 50 concurrent sessions that involves high concurrent updates.
DIAGNOSTIC ANALYSIS =================== reproducible testcase on customer dummy data reproduced by Thomas.
WORKAROUND? =========== No
TECHNICAL IMPACT ================ Customer is experiencing this error which is critical to the application because it causes a home health care provider to possibly lose a couple hours worth of work and have to start from scratch. The condition has only accessed concurrently from about 40 threads
RELATED ISSUES (bugs, forums, RFAs) =================================== Bug 8514561 - ORA-8102 WHEN UPDATING TABLE
HOW OFTEN DOES THE ISSUE REPRODUCE AT CUSTOMER SITE? ==================================================== Intermittent
DOES THE ISSUE REPRODUCE INTERNALLY? ==================================== Intermittent
IS A TESTCASE AVAILABLE? ======================== Yes The good news is, this bug is corrupting a virtual index column.
I'll try test cases using the update pattern; 'update /*+ NO_XML_DML_REWRITE */croutreach.action set object_value = :1 where actn_id = :2 ' - substituting actual values for the bind variables and removing interfering virtual columns. Wil lcompare with and w/o the hint.
This wil address your; "Where does the new values come from? Individual variables?" - and provide sample data.
Presently, this update pattern is used 'blindly' in that when no xml relevent changes are identified, only a couple of the roughly 16 fields are updated - yet the whole document gets updated with this update pattern. When changes occur, the whole document is updated. Will work with updating 1 or 2 fields using updatexml and try the xmlexists function for the predicate.
04/25/12 Update:
odie 63,
Here's a sample xml record from the action securefile binary xml table:
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?><action xsi:type="AssessmentActionType" status_dt="2012-01-18T19:38:21.077Z" status="not applicable" create_dt="2012-01-17T23:10:16.173Z" id="dfdfdfdfdfddfdfdfdfdfdf" xmlns:ns5="http://www.xxxxx.ddd/exception/definition/schema/2010/01" xmlns="http://www.xxxxxx.ddd/mmm/domains/actions/2010/03" xmlns:ns6="http://www.xxxxx.ddd/mmm/domains/utility/outcome/2010/03" xmlns:ns7="http://www.xxxxxx.ddd/mmm/domains/common/2010/03" xmlns:ns2="http://www.xxxxx.ddd/mmm/messages/actions/2010/03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns3="http://www.xxxxx.ddd/mmm/domains/workforce/2010/03" xmlns:ns4="http://www.xxxxxx.ddd/mmm/domains/entitlement/2011/11">
<acmeMemberId>abcdefghijklmnop</acmeMemberId>
<advocacyPlanId>qrstuvwxyz</advocacyPlanId>
<srvContextPointer>
<serviceDefUrn>urn:coderunner:Medical:Definition:ServiceService:11111:7</serviceDefUrn>
<outreachActionDefInfo sequence="1" actionDefUrn="urn:xxxxxxxxxx:Medical:Definition:Action:50813:2" actionDefId="xxxxxx">
<srvContextPath>Access Profile~Why did you access the profile?~Reason for access?</srvContextPath>
</outreachActionDefInfo>
</srvContextPointer>
</action>Started out using this update statement against the virtual column a.actn_id. This column is also indexed as a fbi.
UPDATE /*+ NO_XML_DML_REWRITE */ action A
SET A.object_value = updatexml(A.object_value,'/action/@status','triggered','xmlns="http://www.xxxx.vvv/yyy/domains/actions/2010/03"')
where a.actn_id='888a80be-d69f-464d-b3f7-85b6209f918e';
This statment updates fine with and w/o the hint. This hint takes away the piecewise update of the xml document and relies upon the a.actn_id virtual column.
Then removed the reliance on the virtual column using the xmlexists fn.
First did an alter index 'actn_id_pk invisible' to take the virtual column out of consideration by the optimizer.
UPDATE /*+ NO_XML_DML_REWRITE */ action A
SET A.object_value = updatexml(A.object_value,'/action/@status','triggered','xmlns="http://www.xxxx.vvv/yyy/domains/actions/2010/03"')
where xmlexists('$p/action[@id="'888a80be-d69f-464d-b3f7-85b6209f918e'"]' PASSING object_value as "p");
This update runs but doesn't update any columns - with or without the hint.
Also created a basic unstructured xmlindex to remove the full table scan - which worked fine execution plan-wise.
create index action_xmlindex_ix on action (object_value) indextype is xdb.xmlindex;Per the SR on this, the /*+ NO_XML_DML_REWRITE */ disables piecewise update and is a workaround for the bug surrounding virtual column index usage when having many concurrent sessions and updates against a table with millions of xml documents. Getting rid of the virtual column in the predicate removes the need for the workaround hint.
My problem is This update runs but doesn't update any columns. Maybe am missing something or doing a syntax/semantic error ?
Any assistance much appreciated...
Regards,
Rick Blanchard
Edited by: RickBlanchardSRSCigna on Apr 25, 2012 12:52 PM -
Help on integrating 3rd party search engine
Hi
we are on EP6 SP2.
I have downloaded com.customer.search by Thilo Brandt, and uploaded it into our system, restart the portal, created a web repository. created a virtual index based on this customer search global service, and used that web repository as data source. Then I did a search, it gave me the following error message:
Search Failure
Error during search occurred -com.sapportals.wcm.WcmException
An unexpected severe error occurred during the search call. If the situation persists, inform your system administrator.
I also checked the log file, here is the info from log:
#1.5#C000A76908A80011000000055563AAFF0003F0CDE63EA4D8#1109192051958#com.sapportals.wcm.control.util.search.SearchSessionBuilder#irj#com.sapportals.wcm.control.util.search.SearchSessionBuilder#System#0#####Client_Thread_86##0#0#Error##Plain###Error during search occurred - com.sapportals.wcm.WcmException - com.sapportals.wcm.WcmException
at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch$ParallelSearcher.run(FederatedSearch.java:284)
#1.5#C000A76908A80011000000065563AAFF0003F0CDE63EB090#1109192051962#com.sapportals.wcm.WcmException#irj#com.sapportals.wcm.WcmException.WcmException(43)#System#0#####Client_Thread_86##0#0#Error##Plain###com.sapportals.wcm.control.base.CommonSearchException
at com.sapportals.wcm.control.util.search.SearchSessionBuilder.doSearchWithSession(SearchSessionBuilder.java:861)
at com.sapportals.wcm.control.util.search.SearchSessionBuilder.buildSearchSession(SearchSessionBuilder.java:353)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:813)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:605)
at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:161)
at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)
at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1497)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:281)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:680)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:32)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:871)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:30)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:95)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:313)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Any useful input is apprecaited! And I will reward the correct answers thanks!
T.J.Hi Thilo,
Thanks for the response again, I downloaded the new sample code, and tried it, now the virtual index' status I created is red, I checked the log, get the following message:
#1.5#C000A76908A800150000000027CEE2920003F0EFF307DA00#1109338295358#com.sapportals.wcm.service.xmlforms.ConfigCleaner#irj#com.sapportals.wcm.service.xmlforms.ConfigCleaner#System#0#####Thread-678##0#0#Error##Plain###path "." does not exist.#
#1.5#C000A76908A800150000000127CEE2920003F0EFF307DDE8#1109338295360#com.sapportals.wcm.service.xmlforms.ConfigCleaner#irj#com.sapportals.wcm.service.xmlforms.ConfigCleaner#System#0#####Thread-678##0#0#Warning##Plain###Error while cleaning path ".".#
#1.5#C000A76908A800170000000027CEE2920003F0F00959D740#1109338669831#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#irj#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#System#0#####Client_Thread_96##0#0#Error##Plain###<null>#
#1.5#C000A76908A800180000000027CEE2920003F0F0100B8660#1109338782139#com.sapportals.wcm.control.indexadmin.IndexListControl#irj#com.sapportals.wcm.control.indexadmin.IndexListControl#System#0#####Client_Thread_66##0#0#Error##Plain###Method clear() not supported on CustomerSearchIndex implementation. - com.sapportals.wcm.WcmException: Method clear() not supported on CustomerSearchIndex implementation.
at com.customer.search.CustomerSearchIndex.clear(CustomerSearchIndex.java:105)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.reindex(AbstractIndex.java:666)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.reindex(AbstractIndex.java:646)
at com.sapportals.wcm.control.indexadmin.IndexListControl.onReindexIndexesOk(IndexListControl.java:791)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:389)
at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:175)
at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:549)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:101)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:95)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:313)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
#1.5#C000A76908A800190000000027CEE2920003F0F0152952F8#1109338867978#com.sapportals.wcm.service.indexmanagement.XDeltaIndexCrawlerReceiver#irj#com.sapportals.wcm.service.indexmanagement.XDeltaIndexCrawlerReceiver#System#0#####Thread-680##0#0#Error##Plain###Delta indexing failed: Method internalIndexDocuments() not supported on CustomerSearchIndex implementation. - com.sapportals.wcm.WcmException: Method internalIndexDocuments() not supported on CustomerSearchIndex implementation.
at com.customer.search.CustomerSearchIndex.internalIndexDocuments(CustomerSearchIndex.java:75)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocuments(AbstractIndex.java:482)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocuments(AbstractIndex.java:497)
at com.sapportals.wcm.service.indexmanagement.XDeltaIndexCrawlerReceiver.crawlFinished(XDeltaIndexCrawlerReceiver.java:231)
at com.sapportals.wcm.service.indexmanagement.XDeltaIndexCrawlerReceiver.crawlFinished(XDeltaIndexCrawlerReceiver.java:208)
at com.sapportals.wcm.service.xcrawler.task.CrawlerTask.callCrawlFinished(CrawlerTask.java:1553)
at com.sapportals.wcm.service.xcrawler.task.CrawlerTask.run(CrawlerTask.java:432)
at com.sapportals.wcm.service.xcrawler.RunCrawlerJob.start(RunCrawlerJob.java:115)
at com.sapportals.wcm.service.xcrawler.job.CrawlerJobControl$JobRunnerThread.run(CrawlerJobControl.java:1441)
#1.5#C000A76908A8001B0000000027CEE2920003F0F0174B44B0#1109338903757#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#irj#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#System#0#####Client_Thread_73##0#0#Error##Plain###<null>#
#1.5#C000A76908A8001C0000000027CEE2920003F0F01A3B9A58#1109338953062#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#irj#com.sapportals.trex.app.control.htmlb.wdf.ServerAvailabilityControl#System#0#####Client_Thread_38##0#0#Error##Plain###<null>#
#1.5#C000A76908A8001D0000000027CEE2920003F0F01B36F9E8#1109338969535#com.sapportals.wcm.WcmException#irj#com.sapportals.wcm.WcmException.WcmException(118)#System#0#####Thread-682##0#0#Error##Plain###com/sapportals/wcm/service/indexmanagement/retrieval/search/IRawSearchSession java.lang.NoClassDefFoundError: com/sapportals/wcm/service/indexmanagement/retrieval/search/IRawSearchSession
at com.customer.search.CustomerSearchIndexCollection.executeQueryWithSession(CustomerSearchIndexCollection.java:171)
at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch$ParallelSearcher.run(FederatedSearch.java:276)
#1.5#C000A76908A8001E0000000027CEE2920003F0F01B3701B8#1109338969538#com.sapportals.wcm.control.util.search.SearchSessionBuilder#irj#com.sapportals.wcm.control.util.search.SearchSessionBuilder#System#0#####Client_Thread_56##0#0#Error##Plain###Error during search occurred - com.sapportals.wcm.WcmException: com/sapportals/wcm/service/indexmanagement/retrieval/search/IRawSearchSession - com.sapportals.wcm.WcmException: com/sapportals/wcm/service/indexmanagement/retrieval/search/IRawSearchSession
at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch$ParallelSearcher.run(FederatedSearch.java:284)
#1.5#C000A76908A8001E0000000127CEE2920003F0F01B370D70#1109338969542#com.sapportals.wcm.WcmException#irj#com.sapportals.wcm.WcmException.WcmException(43)#System#0#####Client_Thread_56##0#0#Error##Plain###com.sapportals.wcm.control.base.CommonSearchException
at com.sapportals.wcm.control.util.search.SearchSessionBuilder.doSearchWithSession(SearchSessionBuilder.java:861)
at com.sapportals.wcm.control.util.search.SearchSessionBuilder.buildSearchSession(SearchSessionBuilder.java:353)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:813)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:605)
at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:161)
at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)
at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1497)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:281)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:680)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:32)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.Container.preRender(Container.java:118)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:871)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:30)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:95)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:313)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148) -
hii all
i am new to oracle apps
i want to modify my custom.pll
i am not aware of it
can any one tell me how to go abt it ?
or can any one give me some text where there is info regarding carrying out details steps to modify the custom.pll
any material on custom.pll will be helpful to me
plzzzz help me
mandarThe Application Developer's Guide under the Oracle Applications Documentation (http://download.oracle.com/docs/virtual/index.html) will give all the details you need regarding custom.pll.
Sam
http://appstech-sam.blogspot.com -
MOSS Search Plugin shows no results
Hi Experts,
We're using the MOSS Search plugin as described in the "How-to-Guide" in https://cw.sdn.sap.com/cw/docs/DOC-99433
to use Enterprise search of MOSS.
We have deployed using have deployed the MOSS search plugin into the portal server and proceed with the configurations.
1. Deployed the .par and .ear files
2. Enabled Index service for MOSS Search
3. Created HTTP system
4. Created Website
5. Created Web repository
6. Created KM Windows System connector (alias same as HTTP system) for user mapping for my own ID
7. Created config file with same name as system alias as system connector and save in KM
8. Created virtual index and attach Web repository as its datasource
9. Enabled "Basic authentication" at IIS of MOSS.
However, searching using KM displayed no search results. Only indication of error is indicated in
the application log - "Method internalIndexDocuments() not supported on CustomerSearchIndex implementation".
Default trace logs (after increasing severity to debug for several related logs) also show:
XIndexing documents failed. Continue crawling... - com.sapportals.wcm.WcmException: Method internalIndexDocuments() not supported on CustomerSearchIndex implementation.
at com.sap.netweaver.km.moss.search.MossSearchIndex.internalIndexDocuments(MossSearchIndex.java:115)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocuments(AbstractIndex.java:811)
at com.sapportals.wcm.service.indexmanagement.AbstractIndex.indexDocuments(AbstractIndex.java:827)
at com.sapportals.wcm.service.indexmanagement.XIndexCrawlerReceiver.addIndexResource(XIndexCrawlerReceiver.java:311)
at com.sapportals.wcm.service.indexmanagement.XIndexCrawlerReceiver.receive(XIndexCrawlerReceiver.java:180)
at com.sapportals.wcm.service.xcrawler.thread.CrawlerProviderThread.callReceive(CrawlerProviderThread.java:315)
at com.sapportals.wcm.service.xcrawler.thread.CrawlerProviderThread.provideStd(CrawlerProviderThread.java:213)
at com.sapportals.wcm.service.xcrawler.thread.CrawlerProviderThread.provide(CrawlerProviderThread.java:202)
at com.sapportals.wcm.service.xcrawler.thread.CrawlerProviderThread.run(CrawlerProviderThread.java:128)
XIndexing documents failed. Continue crawling... Resource: /NOL_MS_WebRep2/NOL_MS_WebSite2/News/Pages/default.aspx Error message: Method internalIndexDocuments() not supported on CustomerSearchIndex implementation.
Anyone who is able to provide some help here? help required! Thanks!Maybe the PDF page content is an image of the source text?
If so, try OCR to provide content.
Or, if all is renderable text, play with the TouchUp Text tool (Acrobat Pro).
Select some text, right click to open the context menu, select Properties.
In the Text tab, change to a font that is available on the local machine.
Other than having the source content changed so that standard fonts are used and then making a new output PDF there may not be much else possible.
Be well... -
Extremely frustrating that 11i documentation is not available
http://download.oracle.com/docs/virtual/index.html
Does this link every work.
DasuIt also does not help that a customer and I are trying to find some information and it is not available for last 24 hours.
Dasu -
I upgraded my CPU from an Athlon XP1600+ to a XP2700+ 333FSB, and set the FSB setting manually at 166. I am using Corsair PC2700 2.5 CAS memory. Now when I make a setting under "Fast Command" for in the DRAM Timing screen, the computer won't load Windows at anything other than the "normal" setting. Before the CPU switchout, I had this setting at Ultra with no stability problems.
Any ideas?Forgot something that might be helpful. Configure the Schema map to only include the limited set of attributes needed for identification and correlation/confirmation. This speeds up reconcile and also consumes less memory.
E.g maybe you only need sn,givenName, mail to correlate and build up the initial virtual index. After that is done, expand the schema with all attributes needed.
Well... my 2 cents worth of input.
/L -
Rollover effect doesnt work in Browser!?
Hi everyone,
I just made two files. One normal state and one "over state"
file with 20 or so frames. I used ImageReady for this. When I
preview from Image ready, the "over" gif works just fine.
I faved both files in my root folder.
The problem comes up when I use it from DW. I choose Insert
-> Image Objects->Rollover Image
Then I assign the two files, relative to root folder and
preloading.
When I preview from the HTML file (That is partof the website
Im working on is in HTML, the other part is ASP files), the
rollover works, albeit the transition of the rollover is only
smooth on the first mouse hover. After that it kind of speeds up.
Here comes the problem tho:
However, when I preview the rollover from my asp file
(my HTML is included in the asp like this <!--#include
virtual="/index.html" --)
It doesnt work, and all I have is the normal state, no matter
whether I hover over or not!
The code is here:
<a href="/GG2007/gg-dialogue-2007.asp"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image9','','/links/3GGPD_over2_bttn.gif',1)"><img
src="/links/3GGPD_norm_bttn.gif" alt="Click to read about the
upcoming event" name="Image9" width="269" height="166" border="0"
id="Image9" />
Text
What am I doing wrong???
Please help me!
Cheers!!
SimonI am not experienced in Windows servers but are your foo.asp
file,
index.html file
and the links folder with your images all located in the same
root folder?
Are you testing on the server ?
"Horst1881" <[email protected]> wrote in
message
news:erbkss$at8$[email protected]..
> Hi everyone,
>
> I just made two files. One normal state and one "over
state" file with 20
> or
> so frames. I used ImageReady for this. When I preview
from Image ready,
> the
> "over" gif works just fine.
>
> I faved both files in my root folder.
>
> The problem comes up when I use it from DW. I choose
Insert -> Image
> Objects->Rollover Image
>
> Then I assign the two files, relative to root folder and
preloading.
>
> When I preview from the HTML file (That is partof the
website Im working
> on is
> in HTML, the other part is ASP files), the rollover
works, albeit the
> transition of the rollover is only smooth on the first
mouse hover. After
> that
> it kind of speeds up.
>
> Here comes the problem tho:
>
> However, when I preview the rollover from my asp file
> (my HTML is included in the asp like this
<!--#include
> virtual="/index.html"
> --)
> It doesnt work, and all I have is the normal state, no
matter whether I
> hover
> over or not!
>
> The code is here:
> <a href="/GG2007/gg-dialogue-2007.asp"
onmouseout="MM_swapImgRestore()"
>
onmouseover="MM_swapImage('Image9','','/links/3GGPD_over2_bttn.gif',1)"><img
> src="/links/3GGPD_norm_bttn.gif" alt="Click to read
about the upcoming
> event"
> name="Image9" width="269" height="166" border="0"
id="Image9"
> />
Text
>
> What am I doing wrong???
>
> Please help me!
>
> Cheers!!
> Simon
> -
Memory Settings for Reconciliation
Hello,
What is the recommended memory settings for the application server when reconciling ~400,000 users from LDAP and a Database Table.
I have noticed that IDM 5.5 uses more memory than IDM 5.0. Using various JVM memory settings with IDM5.5, I always seem to get an OutOfMemory error up to 1GB of memory. With IDM5.0 I could set the memory to 512MB and the recon for LDAP and the Database Table would run to completion w/o an OutOfMemory error.
Thanks,
ManungForgot something that might be helpful. Configure the Schema map to only include the limited set of attributes needed for identification and correlation/confirmation. This speeds up reconcile and also consumes less memory.
E.g maybe you only need sn,givenName, mail to correlate and build up the initial virtual index. After that is done, expand the schema with all attributes needed.
Well... my 2 cents worth of input.
/L -
Query on virtual column that is defined in XMLIndex does not use the index
Hello,
I am facing an issue in executing queries on a virtual column that is defined in an XMLIndex: it appears as if the index is not used.
Database details:
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 64-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
For this use case the XML documents adhere to the following XSD and are stored in an XMLType column in a table:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://a_name_space/v1"
targetNamespace="http://a_name_space/v1"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xsd:element name="fields">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field" maxOccurs="unbounded">
<xsd:complexType>
<xsd:choice>
<xsd:element name="value" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="notEmptyString4000Type"/>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="values" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="notEmptyString4000Type">
<xsd:attribute name="startDate" type="xsd:date" use="required"/>
<xsd:attribute name="endDate" type="xsd:date" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:attribute name="name" type="string30Type" use="required"/>
<xsd:attribute name="type" type="dataType" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="dataType">
<xsd:annotation>
<xsd:documentation>Char, Date, Number</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="C"/>
<xsd:enumeration value="D"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="string30Type">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="30"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="notEmptyString4000Type">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4000"/>
<xsd:pattern value=".+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>A field can have a single value as well as multiple values.
The XMLIndex is defined as follows:
CREATE INDEX test_xmltype_idx ON test_xmltype (additional_fields) INDEXTYPE IS XDB.XMLIndex
PARAMETERS
XMLTable dt_fld_tab (TABLESPACE "TAB_SPACE" COMPRESS FOR OLTP) ''fields/field''
COLUMNS
name varchar2(30 char) PATH ''@name''
,dataType varchar2(1 char) PATH ''@type''
,val varchar2(4000 char) PATH ''value/text()''
,vals XMLType PATH ''values/value'' VIRTUAL
XMLTable dt_fld_multi_value_tab (TABLESPACE "TAB_SPACE" COMPRESS FOR OLTP) ''value'' passing vals
COLUMNS
val varchar2(4000) PATH ''text()''
,startDate varchar2(30 char) PATH ''@startDate''
,endDate varchar2(30 char) PATH ''@endDate''
');The following b-tree indexes are defined:
create index dt_field_name_idx on dt_fld_tab (name);
create index dt_field_value_idx on dt_fld_tab (val);
create index dt_field_values_idx on dt_fld_multi_value_tab (val);And stats are properly computed before the queries are executed:
call dbms_stats.gather_table_stats(user, 'test_xmltype', estimate_percent => null);Queries for single values are cost efficient and fast. With 600K rows in the table these return with 0.002 seconds.
Queries for multi-valued fields / elements are not though, these result in a full table scan.
Sample XML snippet:
<fields>
<field name="multiVal" type="C">
<values>
<value startDate="2013-01-01" endDate="2013-01-01">100</value>
<value startDate="2014-01-01">120</value>
</values>
</field>
</fields>Examples of costly and slow queries:
select id from test_xmltype
where xmlexists('/fields/field/@name="multiVal"' passing additional_fields)
and xmlexists('/fields/field/values/value[@startDate="2013-01-01"]' passing additional_fields)
and xmlexists('/fields/field/values/value[text()="100"]' passing additional_fields)
select id from test_xmltype
where xmlexists('/fields/field/@name="multiVal"' passing additional_fields)
and xmlexists('/fields/field/values/value[@startDate="2013-01-01" and .="100"]' passing additional_fields);Whereas the following query on the multi valued field is fast:
select id from test_xmltype
where xmlexists('/fields/field/@name="multiVal"' passing additional_fields)
and xmlexists('/fields/field/values/value[@startDate="2013-01-01"]' passing additional_fields);For the XPath /fields/field/values/value[@startDate="2013-01-01"] the index is used.
Suspected cause: XPath issue for the value of a multi valued field, e.g. /fields/field/values/value[text()="aValue"].
Any hints are appreciated: what am I overlooking here?
Thanks in advance,
-Sjoerd
Edited by: user615230 on May 27, 2013 7:46 AMHello,
This is using binary XML. The table creation script is:
create table test_xmltype
(id number(14,0) not null primary key
,member_code varchar2(30 char) not null
,period_code varchar2(30 char) not null
,amount number(12,2) not null
,additional_fields xmltype
);The schema is not registered in the database. Is that required? It is primarily used to generate Java classes that will be used in order to construct the XML documents.
And you are right: for our initial investigation the sample XML documents are generated with a PLSQL routine and do not contain namespaces. But for the single valued fields there are also no namespaces and the queries on these are executed with very satisfactory plans.
Thanks for the swift reply.
-Sjoerd
Maybe you are looking for
-
Erro no processamento do lote: Código 226.
Prezados, boa tarde. Estou em ambiente de produção e está dando o seguinte erro no processamento do lote: "Rejeição: Código da UF do Emitente diverge da UF autorizadora" - Código 226. Aparentemente está tudo correto, verifiquei na SPRO do GRC e do EC
-
[Solved] Dolphin taking too much time to respond
Dolphin, while used by an ordinary user, takes too much time to respond, especially when firefox is running. The time it takes to initialize is also very lengthy. At times, it does not even open up and even if active, it hangs for quite sometime befo
-
ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari
-
Add a clip to a movie in quicktime player
how do I add a clip to a movie in qicktime player 10.1?
-
Stolen Ipad still visible via Game Center though IP not visible...
Dear Consumers and Apple Team! Recently my Ipad was stolen. Find my Ipad gave nothing and I bought the new one. But after some time I found that applications on old Ipad give me clues that my Ipad is still used as it is with no reset done. What I've