XML index in bfile
I tried to create intermedia text index on XML saved in a bfile, the creation had no problem, but if I use WITHIN clause to query the data, always return 0 rows. When I saved XML in CLOB, everything was ok. Could somebbody tell me why? How can I do that?
Thanks
null
Thanks. I tried as following, but it didn't work
create table bfilexml (id number primary key,info bfile);
insert into bfilexml values (1, bfilename('XML',test.xml));
insert into bfilexml values (2, bfilename('XML',test2.xml));
commit;
exec ctx_ddl.drop_section_group('xmlgroup');
exec ctx_ddl.create_section_group('xmlgroup','xml_section_group');
exec ctx_ddl.add_zone_section ('xmlgroup','name','<ename>');
exec ctx_ddl.add_zone_section ('xmlgroup','address','<addr>');
create index idx_bfilexml on bfilexml(info) indextype is ctxsys.context
parameters(filter ctxsys.null_filter section group xmlgroup');
the test.xml is
<ename>martin jones</ename>
<addr> 138th street</addr>
the test2.xml is
<ename> Mark Scott </ename>
<addr> 65 broadway </addr>
But when I do
SQL> select id from bfilexml where contains(info,'martin')>0;
ID
1
SQL> select id from bfilexml where contains(info,'martin within name')>0;
no rows selected
the WITHIN clause didn't work
Thanks
null
Similar Messages
-
Lost iCloud Pages Document because of xml index missing- finally resolved!
This morning I opened a Pages document in the cloud and started making changes to it the same as I have a hundred times in the past. The dreaded spinning ball appeared and I force quit Pages. Upon trying to open the same document I got the dreaded "xml index is missing". I callled tech support and was told by the first person that there is no way to recover the document. I also asked if Time Machine would have backed it up and he said NO, there is no way of recovering it if I didn't make a copy of it. I called Apple Support again and this time talked to a lady who at least tried to help me, but we weren't making any progress. I then found an article online (after searching earlier for the xml issue) that said Time Machine DOES backup Mobile Documents under the ~Library/Mobile Documents unless you specifically tell it not to. Luckily this person insisted that it backs up mobile documents because I was able to recover the document from a Time Machine backup. Thank you to the person who posted about the Time Machine backup! Now Apple needs to let their Tech Support people know about this!
Hank,
You were wise to search for answers here. There's no doubt that there is more collective wisdom in these discussions than you would expect to encounter in one first-echelon phone support person. You are also wise to be using TimeMachine so you have that recovery option available to you.
Jerry -
Team , Thanks for looking into this ..
As a last resort on optimizing my stored procedure ( Below ) i wanted to create a Selective XML index ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
Index feature is not supported for the current database version.. How ever
EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
Is there ANY alternative way i can optimize below stored proc ?
Thanks in advance for your response(s) !
/****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- EXEC [dbo].[MN_Process_DDLSchema_Changes]
ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
AS
BEGIN
SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
select getdate() as getdate_0
DECLARE @XML XML , @Prev_Insertion_time DATETIME
-- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
-- PRINT '1'
CREATE TABLE #Temp
EventName VARCHAR(100),
Time_Stamp_EE DATETIME,
ObjectName VARCHAR(100),
ObjectType VARCHAR(100),
DbName VARCHAR(100),
ddl_Phase VARCHAR(50),
ClientAppName VARCHAR(2000),
ClientHostName VARCHAR(100),
server_instance_name VARCHAR(100),
ServerPrincipalName VARCHAR(100),
nt_username varchar(100),
SqlText NVARCHAR(MAX)
CREATE TABLE #XML_Hold
ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
BufferXml XML
select getdate() as getdate_01
INSERT INTO #XML_Hold (BufferXml)
SELECT
CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
FROM sys.dm_xe_session_targets xet
INNER JOIN sys.dm_xe_sessions xes
ON xes.address = xet.event_session_address
WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
--RETURN
--SELECT * FROM #XML_Hold
select getdate() as getdate_1
-- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
FOR
PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
--RETURN
--CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
--SELECT GETDATE() AS GETDATE_2
-- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
--CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
--USING XML INDEX [IX_XML_Hold]
---- FOR VALUE
-- --FOR PROPERTY
-- FOR PATH
--SELECT GETDATE() AS GETDATE_3
--PRINT '2'
-- RETURN
SELECT GETDATE() GETDATE_3
INSERT INTO #Temp
EventName ,
Time_Stamp_EE ,
ObjectName ,
ObjectType,
DbName ,
ddl_Phase ,
ClientAppName ,
ClientHostName,
server_instance_name,
nt_username,
ServerPrincipalName ,
SqlText
SELECT
p.q.value('@name[1]','varchar(100)') AS eventname,
p.q.value('@timestamp[1]','datetime') AS timestampvalue,
p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
FROM #XML_Hold
CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
SELECT GETDATE() GETDATE_4
-- SELECT * FROM #TEMP
-- SELECT COUNT(*) FROM #TEMP
-- SELECT GETDATE()
-- RETURN
-- PRINT '3'
--RETURN
INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
[UserName]
,[DbName]
,[ObjectName]
,[client_app_name]
,[ClientHostName]
,[ServerName]
,[SQL_TEXT]
,[EE_Time_Stamp]
,[Event_Name]
SELECT
CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
ELSE T.nt_username
END
,T.DbName
,T.objectname
,T.clientappname
,t.ClientHostName
,T.server_instance_name
,T.sqltext
,T.Time_Stamp_EE
,T.eventname
FROM
#TEMP T
/** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
-- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
WHERE ddl_Phase ='Commit'
AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
AND MN.[DbName] = T.DbName
AND MN.[Event_Name] = T.EventName
AND MN.[ObjectName]= T.ObjectName
AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
-- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
--SELECT GETDATE()
--PRINT '4'
--RETURN
SELECT
top 100
[EE_Time_Stamp]
,[ServerName]
,[DbName]
,[Event_Name]
,[ObjectName]
,[UserName]
,[SQL_TEXT]
,[client_app_name]
,[Created_Date]
,[ClientHostName]
FROM
[dbo].[MN_DDLSchema_Changes_log]
ORDER BY [EE_Time_Stamp] desc
-- select getdate()
-- ** DELETE EVENTS after logging into Physical table
-- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
-- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
-- SELECT @XML
SELECT GETDATE() GETDATE_5
END
GO
Rajkumar Yelugu@@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
May 14 2014 18:34:29
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
(1 row(s) affected)
Compatibility level is set to 110 .
One of the limitation states - XML columns with a depth of more than 128 nested nodes
How do i verify this ? Thanks .
Rajkumar Yelugu -
ORA-00942 error on truncating a table with a XML Index
Oracle Version: 11.2.0.1.0
When truncate command fails with error "ORA-00942: table or view does not exist" when run against a table with an XML Index defined
SQL> CREATE TABLE XML_TEST
2 (
3 ID INTEGER,
4 TESTXML SYS.XMLTYPE
5 );
Table created.
SQL> truncate table XML_TEST;
Table truncated.
SQL> CREATE INDEX xmlindex ON XML_TEST(TESTXML)
2 indextype IS xdb.xmlindex
3 parameters ('PATH TABLE MY_PATH_TABLE');
Index created.
SQL> truncate table XML_TEST;
truncate table XML_TEST
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> Drop Index xmlindex;
Index dropped.
SQL> truncate table XML_TEST;
Table truncated.No, I don't think that explanation is correct. I don't think it has to do with user privs. besides, we don't
adjust rowids on an import -- we recreate the index, just like a b-tree index import would.
This should be working. It's most likely a bug in our (i.e. Text) import code -- SYS.XMLTYPE is a little
strange because under the covers it's actually a function-based index.
I will test it out and file a bug if I can reproduce the behavior on solaris. -
Error while trying to index a bfile
hi,
I have encountered the following error will trying to index a bfile . Following are the error messages, the listener.ora and creation script. I'm using a AIX Ver 4.3.3 J50 machine and my oracle version is 8.1.7 Thanks
Creation Script
SQL> create or replace directory DOC_DIR as '/u01/oradata/vs/documents/';
Directory created.
SQL> grant read on directory DOC_DIR to ctxsys;
Grant succeeded.
SQL> create table per_doc
2 (per_id number primary key,
3 doc1 bfile);
SQL> insert into per_doc
2 values
3 (1,
4 bfilename('DOC_DIR','816.doc'));
ERROR ENCOUNTER
create index doc_index on per_doc(doc1) indextype is ctxsys.context;
exec(): 0509-036 Cannot load program /u05/app/oracle/product/8.1.7/ctx/bin/ctxhx because of the following errors:
0509-150 Dependent module libsc_da.a(sc_da.o) could not be loaded.
0509-022 Cannot load module libsc_da.a(sc_da.o).
0509-026 System error: A file or directory in the path name does not exist.
Index created.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u05/app/oracle/product/8.1.7)
(ENVS =LD_LIBRARY_PATH=/u05/app/oracle/product/8.1.7/lib:/u05/app/oracle/product/8.1.7/ctx/lib)
(PROGRAM = extproc)
nullBelow is the .profile setting for Oracle
ORACLE_BASE=/u05/app/oracle
export ORACLE_BASE
ORACLE_HOME=/u05/app/oracle/product/8.1.7
export ORACLE_HOME
LIBPATH=$ORACLE_HOME/lib:ORACLE_HOME/ctx/lib:/usr/lib:/lib
export LIBPATH
ORACLE_SID=vs
export ORACLE_SID
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib
export CLASSPATH
I have also granted the read access right to ctxsys as reflected below. Is there any other directories that I need to grant ctxsys access to?
Thanks
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by aw choon hock ([email protected]):
hi,
I have encountered the following error will trying to index a bfile . Following are the error messages, the listener.ora and creation script. I'm using a AIX Ver 4.3.3 J50 machine and my oracle version is 8.1.7 Thanks
Creation Script
SQL> create or replace directory DOC_DIR as '/u01/oradata/vs/documents/';
Directory created.
SQL> grant read on directory DOC_DIR to ctxsys;
Grant succeeded.
SQL> create table per_doc
2 (per_id number primary key,
3 doc1 bfile);
SQL> insert into per_doc
2 values
3 (1,
4 bfilename('DOC_DIR','816.doc'));
ERROR ENCOUNTER
create index doc_index on per_doc(doc1) indextype is ctxsys.context;
exec(): 0509-036 Cannot load program /u05/app/oracle/product/8.1.7/ctx/bin/ctxhx because of the following errors:
0509-150 Dependent module libsc_da.a(sc_da.o) could not be loaded.
0509-022 Cannot load module libsc_da.a(sc_da.o).
0509-026 System error: A file or directory in the path name does not exist.
Index created.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u05/app/oracle/product/8.1.7)
(ENVS =LD_LIBRARY_PATH=/u05/app/oracle/product/8.1.7/lib:/u05/app/oracle/product/8.1.7/ctx/lib)
(PROGRAM = extproc)
)<HR></BLOCKQUOTE>
null -
ORA-30966: error detected in the XML Index layer
Dear all,
after upgrading from 9.2.0.8 to 11.2.0.1, Autoconfig ended with error:
Alert log file shows :
Mon Jul 04 21:33:50 2011
Errors in file /ebiz/oracle/diag/rdbms/vision/VISION/trace/VISION_ora_31642.trc (incident=16196):
+ORA-00600: internal error code, arguments: [kzxcInitLoadLocal-7], [64131], [ORA-64131: XMLIndex Metadata: failure during the looking up of the dictionary+
+ORA-30966: error detected in the XML Index layer+
+ORA-31011: XML parsing failed+
+ORA-01403: no data found+
+], [], [], [], [], [], [], [], [], []+
ORA-01403: no data found
Incident details in: /ebiz/oracle/diag/rdbms/vision/VISION/incident/incdir_16196/VISION_ora_31642_i16196.trc
Mon Jul 04 21:48:25 2011
Incremental checkpoint up to RBA [0x3b2.a445.0], current log tail at RBA [0x3b2.a447.0]
Mon Jul 04 21:49:25 2011
Errors in file /ebiz/oracle/diag/rdbms/vision/VISION/trace/VISION_ora_330.trc (incident=16206):
+ORA-00600: internal error code, arguments: [kzxcInitLoadLocal-7], [64131], [ORA-64131: XMLIndex Metadata: failure during the looking up of the dictionary+
+ORA-30966: error detected in the XML Index layer+
+ORA-31011: XML parsing failed+
for ORA-30966 i found one metalink document
Bug 9496480: XDB VIEWS INVALIDATED AFTER RUNNING CATUPGRD.SQL UPGRADING 9.2.0.8.0 TO 11.2.0.1I am not able to understand this bug detail, can some one help me to understand this BUG 9496480. Is it possible to run autoconfig ?RegardsHAMEEDThis the result shows that ORACLE REAL APPLICATION CLUSTERS status is "INVALID" but we dont have any RAC configuration.!!!
SQL> select COMP_NAME,VERSION,STATUS from dba_registry;
COMP_NAME VERSION STATUS
Oracle Database Catalog Views 11.2.0.1.0 VALID
Oracle Database Packages and Types 11.2.0.1.0 VALID
Oracle Real Application Clusters 11.2.0.1.0 INVALID
JServer JAVA Virtual Machine 11.2.0.1.0 VALID
Oracle XDK 11.2.0.1.0 VALID
Oracle Database Java Packages 11.2.0.1.0 VALID
Oracle Multimedia 11.2.0.1.0 VALID
Spatial 11.2.0.1.0 VALID
Oracle Text 11.2.0.1.0 VALID
OLAP Analytic Workspace 11.2.0.1.0 VALID
Oracle OLAP API 11.2.0.1.0 VALID
OLAP Catalog 11.2.0.1.0 VALID
Oracle Data Mining 11.2.0.1.0 VALID
Oracle XML Database 11.2.0.1.0 VALID
14 rows selected.Kindly let me know what is the otherway !
Regards
HAMEED -
Problem to create Explain Plan and use XML Indexes. Plz follow scenario..
Hi,
Oracle Version - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
I have been able to reproduce the error as below:
Please run the following code in Schema1:
CREATE TABLE TNAME1
DB_ID VARCHAR2 (10 BYTE),
DATA_ID VARCHAR2 (10 BYTE),
DATA_ID2 VARCHAR2 (10 BYTE),
IDENTIFIER1 NUMBER (19) NOT NULL,
ID1 NUMBER (10) NOT NULL,
STATUS1 NUMBER (10) NOT NULL,
TIME_STAMP NUMBER (19) NOT NULL,
OBJECT_ID VARCHAR2 (40 BYTE) NOT NULL,
OBJECT_NAME VARCHAR2 (80 BYTE) NOT NULL,
UNIQUE_ID VARCHAR2 (255 BYTE),
DATA_LIVE CHAR (1 BYTE) NOT NULL,
XML_MESSAGE SYS.XMLTYPE,
ID2 VARCHAR2 (255 BYTE) NOT NULL,
FLAG1 CHAR (1 BYTE) NOT NULL,
KEY1 VARCHAR2 (255 BYTE),
HEADER1 VARCHAR2 (2000 BYTE) NOT NULL,
VERSION2 VARCHAR2 (255 BYTE) NOT NULL,
TYPE1 VARCHAR2 (15 BYTE),
TIMESTAMP1 TIMESTAMP (6),
SOURCE_NUMBER NUMBER
XMLTYPE XML_MESSAGE STORE AS BINARY XML
PARTITION BY RANGE (TIMESTAMP1)
(PARTITION MAX
VALUES LESS THAN (MAXVALUE)
NOCOMPRESS
NOCACHE
ENABLE ROW MOVEMENT
begin
app_utils.drop_parameter('TNAME1_PAR');
end;
BEGIN
DBMS_XMLINDEX.REGISTERPARAMETER(
'TNAME1_PAR',
'PATH TABLE TNAME1_RP_PT
PATHS (INCLUDE ( /abc:Msg/product/productType
/abc:Msg/Products/Owner
NAMESPACE MAPPING ( xmlns:abc="Abc:Set"
END;
CREATE INDEX Indx_XPATH_TNAME1
ON "TNAME1" (XML_MESSAGE)
INDEXTYPE IS XDB.XMLINDEX PARAMETERS ( 'PARAM TNAME1_PAR' )
local;Then in Schema2, create
create synonym TNAME1 FOR SCHEMA1.TNAME1
SCHEMA1:
GRant All on TNAME1 to SCHEMA2Now in SCHEMA2, if we try:
Explain Plan for
SELECT xmltype.getclobval (XML_MESSAGE)
FROM TNAME1 t
WHERE XMLEXISTS (
'declare namespace abc="Abc:Set"; /abc:Msg/product/productType= ("1", "2") '
PASSING XML_MESSAGE);WE GET -> ORA-00942: table or view does not exist
whereas this works:
Explain Plan for
SELECT xmltype.getclobval (XML_MESSAGE)
FROM TNAME1 t- Please tell me, what is the reason behind it and how can I overcome it. It's causing all my views based on this condition to fail in another schema i.e. not picking up the XMLIndexes.
Also
SELECT * from DBA_XML_TAB_COLS WHERE TABLE_NAME like 'TNAME1';Output is like:
OWNER, || TABLE_NAME, || COLUMN_NAME, || XMLSCHEMA || SCHEMA_OWNER, || ELEMENT_NAME, || STORAGE_TYPE, || ANYSCHEMA, || NONSCHEMA
SCHEMA1 || TNAME1 || XML_MESSAGE || || || BINARY || NO || YES ||
SCHEMA1 || TNAME1 || SYS_NC00025$ || || || CLOB || ||
- Can I change AnySchema to YES from NO for -column_name = XML_MESSAGE ? May be that will solve my problem.
- SYS_NC00025$ is the XML Index, Why don't I get any values for ANYSCHEMA, NONSCHEMA on it. Is this what is causing the problem.
Kindly suggest.. Thanks..The problem sounds familiar. Please create a SR on http://support.oracle.com for this one.
-
Finding out subsetted paths in an XML index
Hi,
CREATE INDEX IDX_1 ON t1(c1) INDEXTYPE IS XDB.XMLINDEX PARAMETERS
( 'PATHS (INCLUDE (/A/B))' );
ALTER INDEX IDX_1 REBUILD PARAMETERS ('PATHS (INCLUDE ADD( /C/D ))' );
If I issue CREATE INDEX followed by ALTER INDEX, SELECT PARAMETERS FROM DBA_INDEXES shows only the parameters string specified in the last ALTER INDEX, but the effective set for the case above should be /A/B and /C/D.
Is there a way to find out the entire set of the subsetted paths for a given XML index?
Thanks.
Peterwhat about...
SQL> select owner, index_name, index_type, parameters
2 from DBA_INDEXES
3 where PARAMETERS is not NULL;
OWNER INDEX_NAME INDEX_TYPE
PARAMETERS
XDB XDB$ACL_XIDX FUNCTION-BASED DOMAIN
PATH TABLE XDBACL_PATH_TAB VALUE INDEX XDBACL_PATH_TAB_VALUE_IDX
WK_TEST WK$DOC_PATH_IDX DOMAIN
filter wksys.wk_filter lexer wksys.wk_lexer language column lang stoplist wksys.wk_stoplist storage wksys.wk_storage wordlist wksys
.wk_wordlist section group wksys.wk_section_group datastore wksys.wk_datastore
2 rows selected.
SQL> select INDEX_OWNER, INDEX_NAME, PARAMETERS
2 from DBA_XML_INDEXES;
INDEX_OWNER INDEX_NAME
PARAMETERS
XDB XDB$ACL_XIDX
1 row selected.
SQL> desc DBA_XML_INDEXES;
Name Null? Type
INDEX_OWNER NOT NULL VARCHAR2(30)
INDEX_NAME NOT NULL VARCHAR2(30)
TABLE_OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
PATH_TABLE_NAME NOT NULL VARCHAR2(30)
PARAMETERS SYS.XMLTYPE
ASYNC VARCHAR2(9)
STALE VARCHAR2(5)
PEND_TABLE_NAME VARCHAR2(30)
TYPE VARCHAR2(10)
EX_OR_INCLUDE VARCHAR2(8)
SQL> set long 100000000
SQL> select dbms_metadata.get_ddl('INDEX','XDB$ACL_XIDX','XDB') from dual
2 ;
DBMS_METADATA.GET_DDL('INDEX','XDB$ACL_XIDX','XDB')
CREATE INDEX "XDB"."XDB$ACL_XIDX" ON "XDB"."XDB$ACL" (SYS
_MAKEXML('600B617F01DE4718A70B2AE0B2E4CE
7E',2036,256,"XMLDATA"))
INDEXTYPE IS "XDB"."XMLINDEX" PARAMETERS ('PATH TAB
LE XDBACL_PATH_TAB VALUE INDEX XDBACL_PA
TH_TAB_VALUE_IDX')
1 row selected.Message was edited by:
Marco Gralike -
Does SQL Azure support XML index?
Hi
I read the doc link below that Azure supports selective XML index? Is that true? I couldn't find any other documentation. I know it previously didn't support full XML index or has this changed?
http://msdn.microsoft.com/en-us/library/azure/dn387405.aspx
Does anyone know? Thanks,Hi Jilim,
As Olaf said, the feature is not supported in current version of Azure SQL Database.
If you have any concern about this behavior, you can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
in the following release after official confirmation.
Thank you for your understanding.
Regards,
Charlie Liao
TechNet Community Support -
Error: Error: XML Indexer: Fatal Parse error in document
Hi,
I was trying to add a document into using the following code:
txn = myManager.createTransaction();
XmlDocumentConfig docConfig = new XmlDocumentConfig();
docConfig.setGenerateName(true);
myContainer.putDocument(txn, docName, content, docConfig);
//commit the Transaction
txn.commit();
the content is juz a string formatted to the UTF-8 format. When I run the program, an error occurs:
com.sleepycat.dbxml.XmlException: Error: Error: XML Indexer: Fatal Parse error in document at line 2, char 74. Parser message: An exception occurred! Type:NetAccessorException, Message:The host/address 'www.posc.org' could not be resolved (Document: docName_287), errcode = INDEXER_PARSER_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlContainer_putDocument__SWIG_3(Native Method)
at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.java:736)
at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.java:232)
at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.java:218)
at ag.SaveMessageinDB.addXMLDocument(SaveMessageinDB.java:157)
at ag.SaveMessageinDB.saveMessage(SaveMessageinDB.java:58)
at connector.TextListener.onMessage(TextListener.java:92)
at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)Reading message: <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE BLMNOS SYSTEM "http://www.posc.org/ebiz/blmSamples/blmnos.dtd"> at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
at com.tibco.tibjms.TibjmsSession$Dispatcher.run(TibjmsSession.java:2491)
The XML Message that causes this problem is this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE BLM31603 SYSTEM "http://www.posc.org/ebiz/blmSamples/blm3160-3.dtd">
<BLM31603>
<DocumentInformation>
<documentName namingSystem="POSC pilot">Sample 2</documentName>
<Version>
<dtdVersion>1.0 beta</dtdVersion>
<formVersion>BLM 3160-3 August 1999</formVersion>
</Version>
<reportClass>Application for Permit to Drill</reportClass>
<filingDate>
<year>1997</year><month>07</month><day>14</day>
</filingDate>
<Security>
<securityClass>confidential</securityClass></Security>
<BusinessAssociate>
<Contact>
<name>Joseph Josephson</name>
<Address>
<street>5847 Rushmore Dr.</street>
<cityName>Rapid City</cityName>
<stateName namingSystem="USCode">SD</stateName>
<postalCode namingSystem="USZipCode">57709</postalCode>
</Address>
<phoneNumber>266-181-9229</phoneNumber>
<associatedWith>Black Hills Exploration</associatedWith>
</Contact>
<AuthorizedPerson>
<name>Joseph Josephson</name>
<title>Vice President of Drilling Operations</title>
</AuthorizedPerson>
</BusinessAssociate>
</DocumentInformation>
<FieldInformation>
<regulatoryFieldName>wildcat</regulatoryFieldName>
<SpacingOrder>
<spacingUnitSize unit="acre">40</spacingUnitSize>
</SpacingOrder>
<ContractDesignation>
<leaseName>Dog Draw</leaseName>
<leaseNumber>156-5799-80-89</leaseNumber>
<unitAgreementName>WY72817</unitAgreementName>
<leaseSize unit="acre">629.97</leaseSize>
<indianName type="allottee">James Hickson</indianName>
</ContractDesignation>
</FieldInformation>
<WellInformation>
<apiWellNumber>510162561100</apiWellNumber>
<wellID>Dog Draw #1</wellID>
<wellProduct type="oil"/>
<wellActivity type="drill"/>
<wellCompletionType type="single"/>
<Operator>
<operatorName>Black Hills Exploration</operatorName>
<Address>
<street>5847 Rushmore Dr.</street>
<cityName>Rapid City</cityName>
<stateName namingSystem="USCode">SD</stateName>
<postalCode namingSystem="USZipCode">57709</postalCode>
</Address>
<phoneNumber>266-181-9229</phoneNumber>
<bondCollateralNumber>BF39002976</bondCollateralNumber>
</Operator>
<WellLocation>
<LegalDescription>
<townshipNumber direction="N">52</townshipNumber>
<rangeNumber direction="W">68</rangeNumber>
<sectionNumber>18</sectionNumber>
<quarterSectionIdentifier>SE 1/4, SW 1/4</quarterSectionIdentifier>
<locationDistance from="FSL" unit="ft">843</locationDistance>
<locationDistance from="FWL" unit="ft">1664</locationDistance>
</LegalDescription>
<Geopolitical>
<stateName>WY</stateName>
<countyName>Crook</countyName>
</Geopolitical>
<RelativeFrom from="Town">
Approximately 15 mi NW of Moorcroft, WY </RelativeFrom>
</WellLocation>
<wellElevationHeight referenceCode="GL">4306</wellElevationHeight>
<WellboreInformation>
<proposedTotalMeasuredDepth unit="ft">8500</proposedTotalMeasuredDepth>
<proposedTotalTrueVerticalDepth unit="ft">8450</proposedTotalTrueVerticalDepth>
<BottomholeLocation>
<LegalDescription>
<townshipNumber direction="N">52</townshipNumber>
<rangeNumber direction="W">68</rangeNumber>
<sectionNumber>18</sectionNumber>
<quarterSectionIdentifier>SE 1/4, SW 1/4</quarterSectionIdentifier>
<locationDistance from="FSL" unit="ft">843</locationDistance>
<locationDistance from="FWL" unit="ft">1664</locationDistance>
</LegalDescription>
<Geopolitical>
<stateName>WY</stateName>
<countyName>Crook</countyName>
</Geopolitical>
<RelativeFrom from="LeaseLine">
843 ft from nearest property or lease line</RelativeFrom>
</BottomholeLocation>
<operationStartDate>
<year>1997</year><month>8</month><day>8</day></operationStartDate>
<estimatedDuration unit="days">37</estimatedDuration>
<drillingTool type="rotary"/>
</WellboreInformation>
</WellInformation>
<ProposedCasingProgram>
<CasingInformation type="conductor">
<drillBitDiameter>12 5/8</drillBitDiameter>
<tubularOutsideDiameter>9.5</tubularOutsideDiameter>
<tubularWeight unit="lb/ft">52</tubularWeight>
<tubularGradeCode>C-22</tubularGradeCode>
<baseMeasuredDepth unit="ft">3477</baseMeasuredDepth>
<Cement>
<cementQuantity unit="sacks" type="Eugene">97</cementQuantity>
<cementSlurryVolume unit="ft3">1287</cementSlurryVolume>
<cementSlurryYield unit="ft3/sack">13.1</cementSlurryYield>
<additive>Rock Salt</additive>
<additive>carcinogenic biophages</additive>
<topMeasuredDepth unit="ft">87</topMeasuredDepth>
</Cement>
</CasingInformation>
<CasingInformation type="intermediate">
<drillBitDiameter>8 7/8</drillBitDiameter>
<tubularOutsideDiameter>8.125</tubularOutsideDiameter>
<tubularWeight unit="lb/ft">43</tubularWeight>
<tubularGradeCode>D-220</tubularGradeCode>
<baseMeasuredDepth unit="ft">9112</baseMeasuredDepth>
<Cement>
<cementQuantity unit="sacks" type="Portland">82</cementQuantity>
<cementSlurryVolume unit="ft3">1003</cementSlurryVolume>
<cementSlurryYield unit="ft3/sack">13.1</cementSlurryYield>
<stageCementerMeasuredDepth unit="ft">6633</stageCementerMeasuredDepth>
</Cement>
<Cement>
<cementQuantity unit="sacks" type="Seattle">116</cementQuantity>
<cementSlurryVolume unit="ft3">1504</cementSlurryVolume>
<cementSlurryYield unit="ft3/sack">13.1</cementSlurryYield>
<additive>mucilaginous algal-based slime</additive>
<stageCementerMeasuredDepth unit="ft">3483</stageCementerMeasuredDepth>
</Cement>
</CasingInformation>
</ProposedCasingProgram>
<reportRemark>Black Hills Exploration has a Statewide Bond. Bond # BF39002976</reportRemark>
<reportRemark>Drilling Program and Surface Use Plan attached.</reportRemark>
</BLM31603>
Many Thanks in advance for your help!
:)hi, I also have same problem. I wanna to putDocument dblp.xml in the created container by using dbxml shell commands
I faced this error:
"stdin:18: putDocument failed, Error: Error: XML indexer: Fatal parse error in document at line 1, char 1. Parser message: invalid document structure <Document: dbp.xml>"
the content of theat xml file is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE dblp SYSTEM "file: dblp.dtd">
<dblp>
<mastersthesis mdate="2006-04-06" key="ms/Vollmer2006">
<author>Stephan Vollmer</author>
<title>Portierung des DBLP-Systems auf ein relationales Datenbanksystem und Evaluation der Performance.</title>
<year>2006</year>
<school>Diplomarbeit, Universität Trier, FB IV, Informatik</school>
<url>http://dbis.uni-trier.de/Diplomanden/Vollmer/vollmer.shtml</url>
</mastersthesis>
<mastersthesis mdate="2002-01-03" key="ms/Brown92">
<author>Kurt P. Brown</author>
<title>PRPL: A Database Workload Specification Language, v1.3.</title>
<year>1992</year>
<school>Univ. of Wisconsin-Madison</school>
</mastersthesis>
</article>
<article mdate="2003-11-19" key="journals/ai/Todd93">
<author>Peter M. Todd</author>
<title>Stephanie Forrest, ed., Emergent Computation: Self-Organizing, Collective, and Cooperative Phenomena in Natural and Artificial Computing Networks.</title>
<pages>171-183</pages>
<year>1993</year>
<volume>60</volume>
<journal>Artif. Intell.</journal>
<number>1</number>
<url>db/journals/ai/ai60.html#Todd93</url>
</article>
<article mdate="2003-11-19" key="journals/ai/KautzKS95">
<author>Henry A. Kautz</author>
<author>Michael J. Kearns</author>
<author>Bart Selman</author>
<title>Horn Approximations of Empirical Data.</title>
<pages>129-145</pages>
<year>1995</year>
<volume>74</volume>
<journal>Artif. Intell.</journal>
<number>1</number>
<url>db/journals/ai/ai60.html#Todd93</url>
</article>
</dblp>
could you please help me.
here or send me to this address please:
[email protected]
Thanks,
Mohsen -
Can you import xml index markers into InDesign?
My tech writer is putting index markers in the xml as he writes. Is there a way to import the xml and InDesign recognize the xml index markers?
We are having the same issue and haven't been able to find a solution. Ideally we would like to import the XML into an InDesign layout with XML markup that would be interpreted by InDesign as an index item and would then create the appropriate index term. Does anyone know if this type of XML feature is supported?
Thanks, -
Hi I have to index around 40 differnet property because my application is seraching on it.If create separate 40 column and index it then my indexing cost will be huge and maintaining 40 index will be i guess problematic.So Can anybody tell me if I want to store this different 40 propety in one XML doc and index XML doc then will oracle has in built feature to index XML.Any document or link or any suggestion will be highly appriciated.
I have to index around 40 differnet propertyBecause of this business need any way you will be facing indexing cost on dml operations, especially updates - http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/data_acc.htm#i2678
will oracle has in built feature to index XMLOracle XML DB supports the creation of three kinds of index on XML content:
* Text-based indexes – These can be created on any XMLType table or column.
* Function-based indexes – These can be created on any XMLType table or column.
* B-Tree indexes – When the XMLType table or column is based on structured storage techniques, conventional B-Tree indexes can be created on underlying SQL types.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb03usg.htm#BABFJBHD
Ex. : create index XMLTable_ind on XMLTable
(extractValue(xml_data, '...
Also there may be some other ideas using XML and Oracle together - http://www.oracle.com/technology/tech/xml/index.html
Best regards. -
Order index ,value index xml indexes
on 11g xml indexes are present.
i got one examplfe for this
CREATE INDEX XMLINDEX_IX4 ON TABLE_WITH_XML_COLUMN
(xml_document)
INDEXTYPE IS XDB.XMLIndex
PARAMETERS ('PATHS (INCLUDE (/REQUESTID/ID
NAMESPACE MAPPING
(xmlns="http://localhost/xmlschema_bin.xsd")
PATH TABLE root_path_table
PATH ID INDEX root_pathid_ix
ORDER KEY INDEX root_orderkey_ix
ASYNC (SYNC ALWAYS) STALE (FALSE)
PARALLEL;
i need some examples on order index ,value index xml indexes.{forum:id=34} forum
[Marco's Blog|http://www.liberidu.com/blog/] (An Ace of the above forum)
Any future questions would best be addressed in the above forum as well. -
Hi:
If I use AUTO_SECTION_GROUP indexing, is there a way to know what are all the section groups that oracle created?
SudhakarHi Santosh,
According to your description, my understanding is that your Crawl Component (Server B) has some issues with indexing XML metadata.
What metadata do you want to make use of
in the Crawl Component Server B? By default, SharePoint crawls XML data but not XML tags and attributes. For your issue, you can map XML properties to your managed properties via a BCS Connector.
For more information, you can refer to the blog:
http://sharepoint.stackexchange.com/questions/2079/what-is-the-best-practice-to-implement-search-to-index-xml-files
http://blogs.technet.com/b/dangl/archive/2013/03/14/sharepoint-2013-what-happens-when-you-index-an-xml-file.aspx
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
Hello,
We are using Oracle database version is 11.1.0.7 – 64 bit and using Binary XMLTYPE data type. We do not use schema validation. We insert the xml into Binary XMLTYPE data type. We are working on creating Index on Binary XMLTYPE data type , is it possible to create index on "<Store>" Node as shown in below sample.
<sdi_header>
<order_number>101</order_number>
<warehouse>
<warehouse_name>Walmart</warehouse_name>
<warehouse_location>San diego</warehouse_name>
<Person>
<Customer_First_Name>XYZ</Customer_First_Name>
<Customer_Last_Name>MNO</Customer_Last_Name>
</Person>
</warehouse>
<Store>
<store_name>best buy</warehouse_name>
<store_location>dallas</warehouse_name>
<Person>
<Customer_First_Name>IJK</Customer_First_Name>
<Customer_Last_Name>LMN</Customer_Last_Name>
</Person>
</Store>
</sdi_header>Thanks,
SKMYou should file a bug... got the following on 11.2.0.1.0 EE OEL Linux
SQL> conn otn/otn
Connected.
SQL> drop index po_xmlindex_ix force;
Index dropped.
SQL> CREATE INDEX po_xmlindex_ix ON FACE_MASKS(CSXML_DOC) INDEXTYPE IS XDB.XMLIndex
2 ;
Index created.
SQL> SELECT vt.FaceTypeId_col
2 FROM FACE_MASKS fm
, XMLTABLE('*'
3 4 PASSING fm.csxml_doc
columns
5 6 xmlresult XMLTYPE PATH 'facetype'
7 ) xt
, XMLTABLE('*'
8 9 PASSING xt.xmlresult
10 columns
11 FaceTypeId_col number PATH 'facetypeid'
) VT 12
13 ;
FACETYPEID_COL
1
2
3
5
6
2
6 rows selected.
SQL> set autotrace on
SQL> r
1 SELECT vt.FaceTypeId_col
2 FROM FACE_MASKS fm
3 , XMLTABLE('*'
4 PASSING fm.csxml_doc
5 columns
6 xmlresult XMLTYPE PATH 'facetype'
7 ) xt
8 , XMLTABLE('*'
9 PASSING xt.xmlresult
10 columns
11 FaceTypeId_col number PATH 'facetypeid'
12 ) VT
13*
FACETYPEID_COL
1
2
3
5
6
2
6 rows selected.
Execution Plan
Plan hash value: 3866797276
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 3068 | 7 (0)| 00:00:01 |
|* 1 | FILTER | | | | | |
| 2 | NESTED LOOPS | | | | | |
| 3 | NESTED LOOPS | | 1 | 3536 | 3 (0)| 00:00:01 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SYS81411_PO_XMLINDE_PATH_TABLE | 1 | 3524 | 2 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | SYS81411_PO_XMLINDE_PIKEY_IX | 1 | | 1 (0)| 00:00:01 |
|* 6 | INDEX UNIQUE SCAN | X$PI3H2FJSM96N7ACV0G741BEDT7OL | 1 | | 0 (0)| 00:00:01 |
|* 7 | TABLE ACCESS BY INDEX ROWID | X$PT3H2FJSM96N7ACV0G741BEDT7OL | 1 | 12 | 1 (0)| 00:00:01 |
| 8 | NESTED LOOPS | | | | | |
| 9 | NESTED LOOPS | | 1 | 3068 | 7 (0)| 00:00:01 |
| 10 | NESTED LOOPS | | 1 | 3056 | 6 (0)| 00:00:01 |
| 11 | NESTED LOOPS | | 1 | 1534 | 4 (0)| 00:00:01 |
|* 12 | TABLE ACCESS FULL | SYS81411_PO_XMLINDE_PATH_TABLE | 1 | 1522 | 3 (0)| 00:00:01 |
| 13 | TABLE ACCESS BY USER ROWID| FACE_MASKS | 1 | 12 | 1 (0)| 00:00:01 |
|* 14 | TABLE ACCESS BY INDEX ROWID| SYS81411_PO_XMLINDE_PATH_TABLE | 1 | 1522 | 2 (0)| 00:00:01 |
|* 15 | INDEX RANGE SCAN | SYS81411_PO_XMLINDE_PIKEY_IX | 1 | | 1 (0)| 00:00:01 |
|* 16 | INDEX UNIQUE SCAN | X$PI3H2FJSM96N7ACV0G741BEDT7OL | 1 | | 0 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID | X$PT3H2FJSM96N7ACV0G741BEDT7OL | 1 | 12 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter(:B1<SYS_ORDERKEY_MAXCHILD(:B2))
4 - filter(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1)
5 - access("SYS_P5"."RID"=:B1 AND "SYS_P5"."ORDER_KEY">:B2 AND
"SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD(:B3))
filter("SYS_P5"."ORDER_KEY">:B1 AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD(:B2) AND
SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY")=SYS_ORDERKEY_DEPTH(:B3)+1)
6 - access("SYS_P5"."PATHID"="ID")
7 - filter(SYS_PATH_REVERSE("PATH")>=HEXTORAW('02140E') AND
SYS_PATH_REVERSE("PATH")<HEXTORAW('02140EFF') )
12 - filter(SYS_ORDERKEY_DEPTH("SYS_ALIAS_4"."ORDER_KEY")=1 AND
SYS_PATHID_IS_ATTR("SYS_ALIAS_4"."PATHID")=0 AND SYS_XMLI_LOC_ISNODE("SYS_ALIAS_4"."LOCATOR")=1)
14 - filter(SYS_XMLI_LOC_ISNODE("SYS_ALIAS_2"."LOCATOR")=1)
15 - access("SYS_ALIAS_2"."RID"="SYS_ALIAS_4"."RID" AND
"SYS_ALIAS_4"."ORDER_KEY"<"SYS_ALIAS_2"."ORDER_KEY" AND
"SYS_ALIAS_2"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_ALIAS_4"."ORDER_KEY"))
filter("SYS_ALIAS_4"."ORDER_KEY"<"SYS_ALIAS_2"."ORDER_KEY" AND
"SYS_ALIAS_2"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_ALIAS_4"."ORDER_KEY") AND
SYS_ORDERKEY_DEPTH("SYS_ALIAS_4"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_ALIAS_2"."ORDER_KEY"))
16 - access("SYS_ALIAS_2"."PATHID"="SYS_PT_SUFFIX_10"."ID")
17 - filter(SYS_PATH_REVERSE("PATH")>=HEXTORAW('024E7E') AND
SYS_PATH_REVERSE("PATH")<HEXTORAW('024E7EFF') )
Note
- dynamic sampling used for this statement (level=2)
Statistics
56 recursive calls
0 db block gets
595 consistent gets
0 physical reads
0 redo size
498 bytes sent via SQL*Net to client
419 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
8 sorts (memory)
0 sorts (disk)
6 rows processed...but...
SQL> drop index po_xmlindex_ix force;
Index dropped.
SQL> CREATE INDEX po_xmlindex_ix ON FACE_MASKS(CSXML_DOC) INDEXTYPE IS XDB.XMLIndex
PARAMETERS
('PATH TABLE po_path_table
(PCTFREE 5 PCTUSED 90 INITRANS 5
STORAGE (INITIAL 1k NEXT 2k MINEXTENTS 3 BUFFER_POOL KEEP)
2 NOLOGGING ENABLE ROW MOVEMENT PARALLEL 3)
PATH ID INDEX po_path_id_ix (LOGGING PCTFREE 1 INITRANS 3)
ORDER KEY INDEX po_order_key_ix (LOGGING PCTFREE 1 INITRANS 3)
3 4 5 6 ASYNC (SYNC on commit)
7 8 9 10 11
SQL> /
Index created.
SQL> SELECT vt.FaceTypeId_col
FROM FACE_MASKS fm
, XMLTABLE('*'
PASSING fm.csxml_doc
columns
xmlresult XMLTYPE PATH 'facetype'
) xt
, XMLTABLE('*'
PASSING xt.xmlresult
columns
FaceTypeId_col number PATH 'facetypeid'
) VT
13 ;
SELECT vt.FaceTypeId_col
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 3559
Session ID: 24 Serial number: 120
Maybe you are looking for
-
Discoverer Views not Working in Accounts Receivable Business Area
Discoverer Instance: OracleBI Discoverer Version 10.1.2.54.25 Database: Oracle 10G Apps Version: R12 Problem: Related to our EUL for Apps Description: A lot of views in the AR Business Area depend on views that are created with synonyms that have VPD
-
Error Occured While Creating message class 8II In SapNote 1486147
Dear All I applied SapNote 1486147 but at the time of creating message class 8II It shows error like this Object MSAG 8II is in reserved name range for sap partner Any body help on this. Edited by: chandrap on Feb 24, 2011 2:08 PM
-
Import External Bank Statement in SAP B1 Patch level 34
Hi all, How do we do External reconciliation in SAP B1 2005. How to Import External Bank statement in to SAP B1 2005. Regards Shashi
-
Why do my calendar events gets deleted?
I was wondering why my calendar events have been deleted??
-
How to get group when the data source from system instead of UME database
Hig guys, How to get group when the data source comes from backend system instead of UME database? I tried to use IUMPrincipal RefGroup = WPUMFactory.getGroupFactory().getGroup(groupName); But I was not able to get the group. But in "UserAdministrato