Performance problems with partial extraction of XML-structure

Hello

I want to extract partial XML Structures of an XML document, but I met some performance issues with some (larger) documents.
Select it slow is the following:
SELECT EXTRACT( xmldoc, '/adwsroot/lagerblock/lager/lagerzeile[pzn=''' || :a || ''']').getClobVal()
FROM t_apoxml
CREATE TABLE T_APOXML
 (ID         NUMBER(10,0)  NOT NULL
 ,STATUS     NUMBER(1)     DEFAULT 0
 ,XMLDOC_BEZ VARCHAR2(100) DEFAULT 'n.a.' NOT NULL
 ,XMLDOC     SYS.XMLTYPE   NOT NULL
 ,DATE_INS   DATE          NOT NULL
 ,DATE_UPD   DATE          NOT NULL
 ,DATE_EXT   DATE          NOT NULL
      ) XMLTYPE COLUMN XMLDOC store AS OBJECT RELATIONAL 
                              XMLSCHEMA "AdasDws3.xsd"  
                              ELEMENT "adwsroot"
The XSD is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.adas.de/spec/dws/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.adas.de/spec/dws/v1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
     <xs:annotation>
          <xs:documentation>ADAS-DataWarehouse-Schnittstelle Datenlieferung Ausbaustufe 3 - Version 1.0</xs:documentation>
     </xs:annotation>
     <xs:include schemaLocation="AdasDwsTypes.xsd"/>
     <xs:element name="adwsroot">
          <xs:annotation>
               <xs:documentation>Root-Element</xs:documentation>
          </xs:annotation>
          <xs:complexType>
               <xs:sequence>
                    <xs:element name="kopf" type="Kopf"/>
                    <xs:element name="verkaufsblock">
                         <xs:annotation>
                              <xs:documentation>Element für die Verkaufsdaten in Ausbaustufe 3</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:choice maxOccurs="unbounded">
                                   <xs:element name="total" type="Total"/>
                                   <xs:element name="keineDaten" type="xs:dateTime"/>
                              </xs:choice>
                         </xs:complexType>
                    </xs:element>
                    <xs:element name="wareneingangsblock">
                         <xs:annotation>
                              <xs:documentation>Element für die Wareneingangsdaten in Ausbaustufe 3</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:choice maxOccurs="unbounded">
                                   <xs:element name="wareneingang" type="Wareneingang"/>
                                   <xs:element name="keineDaten" type="xs:dateTime"/>
                              </xs:choice>
                         </xs:complexType>
                    </xs:element>
                    <xs:element name="retourenblock">
                         <xs:annotation>
                              <xs:documentation>Element für die Retourendaten in Ausbaustufe 3</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:choice maxOccurs="unbounded">
                                   <xs:element name="retoure" type="Retoure"/>
                                   <xs:element name="keineDaten" type="xs:dateTime"/>
                              </xs:choice>
                         </xs:complexType>
                    </xs:element>
                    <xs:element name="neinverkaufsblock">
                         <xs:annotation>
                              <xs:documentation>Element für die Neinverkaufsdaten in Ausbaustufe 3</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:choice maxOccurs="unbounded">
                                   <xs:element name="neinverkauf" type="Neinverkauf"/>
                                   <xs:element name="keineDaten" type="xs:dateTime"/>
                              </xs:choice>
                         </xs:complexType>
                    </xs:element>
                    <xs:element name="lagerblock">
                         <xs:annotation>
                              <xs:documentation>Element für die Lagerdaten in Ausbaustufe 3</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:choice maxOccurs="unbounded">
                                   <xs:element name="lager" type="Lager"/>
                                   <xs:element name="keineDaten" type="xs:dateTime"/>
                              </xs:choice>
                         </xs:complexType>
                    </xs:element>
               </xs:sequence>
          </xs:complexType>
     </xs:element>
     <xs:complexType name="Total">
          <xs:annotation>
               <xs:documentation>Typ für das Total in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="TotalBasis">
                    <xs:sequence>
                         <xs:element name="subtotal" type="Subtotal" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Subtotal">
          <xs:annotation>
               <xs:documentation>Typ für das Subtotal in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="SubtotalBasisMitPerson">
                    <xs:sequence>
                         <xs:element name="subtotalzeile" type="Subtotalzeile" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Subtotalzeile">
          <xs:annotation>
               <xs:documentation>Typ für die Subtotalzeile in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="SubtotalzeileBasis">
                    <xs:sequence>
                         <xs:group ref="Eigenpreisinfo"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Neinverkauf">
          <xs:annotation>
               <xs:documentation>Typ für den Neinverkauf (Nachfrage ohne Bestellung) in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="NeinverkaufBasis">
                    <xs:sequence>
                         <xs:element name="neinverkaufszeile" type="Neinverkaufszeile" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Neinverkaufszeile">
          <xs:annotation>
               <xs:documentation>Typ für die Neinverkaufszeile (Nachfrage ohne Bestellung) in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="NeinverkaufszeileBasis">
                    <xs:sequence>
                         <xs:group ref="Eigenpreisinfo"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Wareneingang">
          <xs:annotation>
               <xs:documentation>Typ für den Wareneingang in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="WareneingangBasis">
                    <xs:sequence>
                         <xs:element name="wareneingangszeile" type="Wareneingangszeile" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Wareneingangszeile">
          <xs:annotation>
               <xs:documentation>Typ für die Wareneingangszeile in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="WareneingangszeileBasis">
                    <xs:sequence>
                         <xs:group ref="Eigenpreisinfo"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Retoure">
          <xs:annotation>
               <xs:documentation>Typ für die Retoure in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="RetoureBasis">
                    <xs:sequence>
                         <xs:element name="retourenzeile" type="Retourenzeile" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Retourenzeile">
          <xs:annotation>
               <xs:documentation>Typ für die Retourenzeile in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="RetourenzeileBasis">
                    <xs:sequence>
                         <xs:group ref="Eigenpreisinfo"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Lager">
          <xs:annotation>
               <xs:documentation>Typ für das Lager in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="LagerBasis">
                    <xs:sequence>
                         <xs:element name="lagerzeile" type="Lagerzeile" maxOccurs="unbounded"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
     <xs:complexType name="Lagerzeile">
          <xs:annotation>
               <xs:documentation>Typ für die Lagerzeile in Ausbaustufe 3</xs:documentation>
          </xs:annotation>
          <xs:complexContent>
               <xs:extension base="LagerzeileBasis">
                    <xs:sequence>
                         <xs:group ref="Eigenpreisinfo"/>
                    </xs:sequence>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
</xs:schema>
and depends on another schema (its kind of long but if you need I'll post).

Before recording, I annotate the schema with:
DBMS_XMLSCHEMA_ANNOTATE.setTimeStampWithTimeZone( xXsdData );
DBMS_XMLSCHEMA_ANNOTATE.SETDEFAULTTABLE ( xXsdData, 'adwsroot', 'XML_ADWSROOT', TRUE );
Example of a document with select fast; the document contains a ~ 21000 < lagerzeile > - blocks:
<?xml version="1.0" encoding="iso-8859-1"?>
<adwsroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.adas.de/spec/dws/v1">
  <kopf>
    <version>1.0</version>
    <absender>1234567</absender>
    <erstelltAm>2012-02-18T01:08:03.342</erstelltAm>
    <instanzId>0</instanzId>
    <system>
      <anbieter>VSA ApothekenSysteme GmbH</anbieter>
      <systembezeichnung>Pharmasoft, Infopharm, Wabe, jump</systembezeichnung>
    </system>
  </kopf>
  <verkaufsblock>
    <keineDaten>2012-02-13T00:00:00</keineDaten>
  </verkaufsblock>
  <wareneingangsblock>
    <keineDaten>2012-02-14T00:00:00</keineDaten>
  </wareneingangsblock>
  <retourenblock>
    <keineDaten>2012-02-15T00:00:00</keineDaten>
  </retourenblock>
  <neinverkaufsblock>
    <keineDaten>2012-02-16T00:00:00</keineDaten>
  </neinverkaufsblock>
  <lagerblock>
    <lager>
      <StandVom>2012-02-16T00:00:00.0</StandVom>
      <lagerzeile>
          <pzn>1001094</pzn>
          <name><![CDATA[HOT THERMO dura C Creme]]></name>
          <menge>50</menge>
          <einheit>g</einheit>
          <ampreisvAmg>1</ampreisvAmg>
          <ampreisvSgb>2</ampreisvSgb>
          <btm>1</btm>
          <abdaWarengruppe>AM02AB01</abdaWarengruppe>
          <darreichungsform>CRE</darreichungsform>
          <anbieter>19422</anbieter>
          <lagertemperaturMin>0</lagertemperaturMin>
          <lagertemperaturMax>0</lagertemperaturMax>
          <notfalldepot>0</notfalldepot>
          <abgaberegelung>Apothekenpflicht</abgaberegelung>
          <artikelart>Arzneimittel</artikelart>
          <mwstsatz>19.00</mwstsatz>
          <listenEk>223</listenEk>
          <listenVk>430</listenVk>
          <notfalldepotEigen>false</notfalldepotEigen>
          <anLager>true</anLager>
          <kalkulierterVk>0</kalkulierterVk>
          <platzierung>keine</platzierung>
          <lagerort>Kein Lagerartikel</lagerort>
        <bestand>0</bestand>
        <fruehesterVerfall>9999-12-31T00:00:00.0</fruehesterVerfall>
        <bewirtschaftungssart>Besorger</bewirtschaftungssart>
        <nnek>0</nnek>
      </lagerzeile>
    </lager>
    <lager>
      <StandVom>2012-02-16T00:00:00.0</StandVom>
      <lagerzeile>
          <pzn>2487443</pzn>
          <name><![CDATA[BALKIS Nasentropfen f.Kinder 0,05%]]></name>
          <menge>10</menge>
          <einheit>ml</einheit>
          <ampreisvAmg>1</ampreisvAmg>
          <ampreisvSgb>2</ampreisvSgb>
          <btm>1</btm>
          <abdaWarengruppe>AR01AA07</abdaWarengruppe>
          <darreichungsform>NTR</darreichungsform>
          <anbieter>06170</anbieter>
          <lagertemperaturMin>0</lagertemperaturMin>
          <lagertemperaturMax>0</lagertemperaturMax>
          <notfalldepot>0</notfalldepot>
          <abgaberegelung>Apothekenpflicht</abgaberegelung>
          <artikelart>Arzneimittel</artikelart>
          <mwstsatz>19.00</mwstsatz>
          <listenEk>130</listenEk>
          <listenVk>253</listenVk>
          <notfalldepotEigen>false</notfalldepotEigen>
          <anLager>true</anLager>
          <kalkulierterVk>0</kalkulierterVk>
          <platzierung>keine</platzierung>
          <lagerort>Kein Lagerartikel</lagerort>
        <bestand>0</bestand>
        <fruehesterVerfall>9999-12-31T00:00:00.0</fruehesterVerfall>
        <bewirtschaftungssart>Besorger</bewirtschaftungssart>
        <nnek>0</nnek>
      </lagerzeile>
    </lager>
    <lager>
      <StandVom>2012-02-16T00:00:00.0</StandVom>
      <lagerzeile>
          <pzn>1218066</pzn>
          <name><![CDATA[KEPPRA 500 mg Filmtabletten]]></name>
          <menge>200</menge>
          <einheit>St</einheit>
          <ampreisvAmg>2</ampreisvAmg>
          <ampreisvSgb>1</ampreisvSgb>
          <btm>1</btm>
          <abdaWarengruppe>AN03AX14</abdaWarengruppe>
          <darreichungsform>FTA</darreichungsform>
          <anbieter>32015</anbieter>
          <lagertemperaturMin>0</lagertemperaturMin>
          <lagertemperaturMax>0</lagertemperaturMax>
          <notfalldepot>0</notfalldepot>
          <abgaberegelung>Verschreibungspflicht</abgaberegelung>
          <artikelart>Arzneimittel</artikelart>
          <mwstsatz>19.00</mwstsatz>
          <listenEk>29839</listenEk>
          <listenVk>37537</listenVk>
          <notfalldepotEigen>false</notfalldepotEigen>
          <anLager>true</anLager>
          <kalkulierterVk>0</kalkulierterVk>
          <platzierung>keine</platzierung>
          <lagerort>Kein Lagerartikel</lagerort>
        <bestand>0</bestand>
        <fruehesterVerfall>9999-12-31T00:00:00.0</fruehesterVerfall>
        <bewirtschaftungssart>Besorger</bewirtschaftungssart>
        <nnek>0</nnek>
      </lagerzeile>
    </lager>
  </lagerblock>
</adwsroot>
I've already renamed the nested tables (renamecollectiontable) and saw the BEACHES of analyses in terms of the explain command. I created a few index on the referenced tables, but the plan has not changed at all. I think I'm still too inexperienced with XMLDB.
Anyone has any advice for me?
I can give you additional information?
Object / relational is perhaps not the best choice?


--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
AMT for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

Alex,

I don't have your version, but here are my tests on 11.2.0.3:

Schema records with:

begin
 dbms_xmlschema.registerSchema(
   schemaURL => 'AdasDwsTypes.xsd'
 , schemaDoc => bfilename('TEST_DIR', 'AdasDwsTypes.xsd')
 , local => true
 , genTypes => true
 , genTables => false
 , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE
 , csid => nls_charset_id('AL32UTF8')
 );
end;
/

declare
 v_schema xmltype := xmltype(bfilename('TEST_DIR', 'AdasDws.xsd'),nls_charset_id('WE8ISO8859P1'));
begin
 dbms_xmlschema_annotate.setTimeStampWithTimeZone(v_schema);

 dbms_xmlschema.registerSchema(
   schemaURL => 'AdasDws.xsd'
 , schemaDoc => v_schema
 , local => true
 , genTypes => true
 , genTables => false
 , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE
 );
end;
/

Creating table...

CREATE TABLE T_APOXML (
  ID         NUMBER(10)    NOT NULL
, XMLDOC     XMLTYPE       NOT NULL
)
XMLTYPE COLUMN XMLDOC store AS OBJECT RELATIONAL
XMLSCHEMA "AdasDws.xsd"
ELEMENT "adwsroot"
;

... and rename the nested tables of interest:

begin
 dbms_xmlstorage_manage.renameCollectionTable(
   tab_name => 'T_APOXML'
 , col_name => 'XMLDOC'
 , xpath => '"XMLDATA"."lagerblock"."lager"'
 , collection_table_name => 'T_APOXML_LAGER'
 );
end;
/

begin
 dbms_xmlstorage_manage.renameCollectionTable(
   tab_name => 'T_APOXML_LAGER'
 , xpath => 'lagerzeile'
 , collection_table_name => 'T_APOXML_LAGERZEILE'
 );
end;
/

Index on "pzn":

create index T_APOXML_LAGERZEILE_idx on T_APOXML_LAGERZEILE ("pzn");

Queries (remember the stats):

SQL> set timing on
SQL> insert into t_apoxml (id, xmldoc)
  2  values(1, xmltype(bfilename('TEST_DIR', 'ADAS_sample.xml'),nls_charset_id('WE8ISO8859P1')))
  3  ;

1 row created.

Elapsed: 00:00:10.03
SQL> commit;

Commit complete.

Elapsed: 00:00:00.00
SQL> exec dbms_stats.gather_table_stats(user, 'T_APOXML');

PL/SQL procedure successfully completed.

Elapsed: 00:00:02.54
SQL> set autotrace traceonly explain
SQL> set lines 120
SQL> SELECT xmlquery(
  2          'declare default element namespace "http://www.adas.de/spec/dws/v1"; (::)
  3          /adwsroot/lagerblock/lager/lagerzeile[pzn=$pzn]'
  4          passing xmldoc
  5                , cast( 1001094 as number ) as "pzn"
  6          returning content
  7         )
  8  FROM t_apoxml
  9  WHERE id = 1
 10  ;
Elapsed: 00:00:00.00

Execution Plan
----------------------------------------------------------
Plan hash value: 1388369865

-------------------------------------------------------------------------------------------------------------
| Id  | Operation                     | Name                        | Rows  | Bytes | Cost (%CPU)| Time     |
-------------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT              |                             |     1 |   173 |     3   (0)| 00:00:01 |
|   1 |  SORT GROUP BY                |                             |     1 |  4603 |            |       |
|   2 |   NESTED LOOPS                |                             |     1 |  4603 |     3   (0)| 00:00:01 |
|   3 |    TABLE ACCESS BY INDEX ROWID| T_APOXML_LAGERZEILE         |     1 |  4570 |     2   (0)| 00:00:01 |
|*  4 |     INDEX RANGE SCAN          | T_APOXML_LAGERZEILE_IDX     |     1 |       |     1   (0)| 00:00:01 |
|*  5 |    TABLE ACCESS BY INDEX ROWID| T_APOXML_LAGER              |     1 |    33 |     1   (0)| 00:00:01 |
|*  6 |     INDEX UNIQUE SCAN         | T_APOXML_LAGERZEILE_MEMBERS |     1 |       |     0   (0)| 00:00:01 |
|*  7 |  TABLE ACCESS FULL            | T_APOXML                    |     1 |   173 |     3   (0)| 00:00:01 |
-------------------------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   4 - access("pzn"=1001094)
   5 - filter("NESTED_TABLE_ID"=:B1)
   6 - access("NESTED_TABLE_ID"="SYS_ALIAS_4"."SYS_NC0000700008$")
   7 - filter("ID"=1)

Note
-----
   - dynamic sampling used for this statement (level=2)

SQL> SELECT xmlquery(
  2          'declare default element namespace "http://www.adas.de/spec/dws/v1"; (::)
  3          /adwsroot/lagerblock/lager/lagerzeile[pzn=$pzn]'
  4          passing xmldoc
  5                , cast( 2487443 as number ) as "pzn"
  6          returning content
  7         )
  8  FROM t_apoxml
  9  WHERE id = 1
 10  ;
Elapsed: 00:00:00.00

Execution Plan
----------------------------------------------------------
Plan hash value: 1086728381

-----------------------------------------------------------------------------------------------------
| Id  | Operation                     | Name                | Rows  | Bytes | Cost (%CPU)| Time     |
-----------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT              |                     |     1 |   173 |     3   (0)| 00:00:01 |
|   1 |  SORT GROUP BY                |                     |     1 |  4603 |            |          |
|*  2 |   HASH JOIN                   |                     |   172 |   773K|   177   (1)| 00:00:03 |
|   3 |    TABLE ACCESS BY INDEX ROWID| T_APOXML_LAGER      |   172 |  5676 |     6   (0)| 00:00:01 |
|*  4 |     INDEX RANGE SCAN          | SYS_C0011899        |    69 |       |     2   (0)| 00:00:01 |
|*  5 |    TABLE ACCESS FULL          | T_APOXML_LAGERZEILE | 18058 |    78M|   171   (1)| 00:00:03 |
|*  6 |  TABLE ACCESS FULL            | T_APOXML            |     1 |   173 |     3   (0)| 00:00:01 |
-----------------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access("NESTED_TABLE_ID"="SYS_ALIAS_4"."SYS_NC0000700008$")
   4 - access("NESTED_TABLE_ID"=:B1)
   5 - filter("pzn"=2487443)
   6 - filter("ID"=1)

Note
-----
   - dynamic sampling used for this statement (level=2)

For the first query, the index is used and the execution time is very short.
For the second query from pzn = 2487443, the optimizer chooses a full analysis, because all pzns, but two are equal to 2487443. The execution time is a little longer (4 seconds on my system) because of the amount of lines to back aggregated in a fragment of XMLType.

A couple more:

SQL> set autotrace on explain
SQL> SELECT l1_lager.pzn AS PZN
  2       , count(*)
  3  FROM t_apoxml t
  4     , XMLTABLE(
  5         XMLNamespaces(default 'http://www.adas.de/spec/dws/v1')
  6       , '/adwsroot/lagerblock/lager/lagerzeile'
  7         PASSING t.xmldoc
  8         COLUMNS  pzn  NUMBER PATH 'pzn'
  9       ) l1_lager
 10  WHERE t.id = 1
 11  GROUP BY l1_lager.pzn
 12  ;

       PZN   COUNT(*)
---------- ----------
   1001094          1
   2487443      17745
   1218066          1

Elapsed: 00:00:00.26

Execution Plan
----------------------------------------------------------
Plan hash value: 1955193779

----------------------------------------------------------------------------------------------
| Id  | Operation              | Name                | Rows  | Bytes | Cost (%CPU)| Time     |
----------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT       |                     | 17158 |  1055K|   243   (1)| 00:00:03 |
|   1 |  HASH GROUP BY         |                     | 17158 |  1055K|   243   (1)| 00:00:03 |
|*  2 |   HASH JOIN            |                     | 17158 |  1055K|   242   (1)| 00:00:03 |
|   3 |    TABLE ACCESS FULL   | T_APOXML_LAGER      | 17157 |   335K|    68   (0)| 00:00:01 |
|   4 |    MERGE JOIN CARTESIAN|                     | 18058 |   758K|   173   (0)| 00:00:03 |
|*  5 |     TABLE ACCESS FULL  | T_APOXML            |     1 |    20 |     3   (0)| 00:00:01 |
|   6 |     BUFFER SORT        |                     | 18058 |   405K|   170   (0)| 00:00:03 |
|   7 |      TABLE ACCESS FULL | T_APOXML_LAGERZEILE | 18058 |   405K|   170   (0)| 00:00:03 |
----------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access("NESTED_TABLE_ID"="T"."SYS_NC0004100042$" AND
              "NESTED_TABLE_ID"="SYS_ALIAS_3"."SYS_NC0000700008$")
   5 - filter("T"."ID"=1)

Note
-----
   - dynamic sampling used for this statement (level=2)

Insofar as possible, always specify the full XPath (i.e. no axis down not as / /) and in the COLUMNS clause, use the data types of the real underlying columns.
In this case:

SQL> set autotrace traceonly
SQL> SELECT l1_lager.StandVom
  2       , l2_lagerzeile.*
  3  FROM t_apoxml t
  4     , XMLTable(
  5         XMLNamespaces(default 'http://www.adas.de/spec/dws/v1'),
  6         '/adwsroot/lagerblock/lager'
  7         PASSING t.xmldoc
  8         COLUMNS
  9           StandVom                TIMESTAMP      PATH 'StandVom',
 10           lagerzeile              XMLTYPE        PATH 'lagerzeile'
 11       ) l1_lager
 12     , XMLTABLE(
 13         XMLNamespaces(default 'http://www.adas.de/spec/dws/v1'),
 14         '/lagerzeile'
 15         PASSING l1_lager.lagerzeile
 16         COLUMNS
 17           pzn                     NUMBER         PATH 'pzn',
 18           gtin                    VARCHAR2(4000) PATH 'gtin',
 19           artikelbezeichnung      VARCHAR2(200)  PATH 'name',
 20           menge                   VARCHAR2(28)   PATH 'menge',
 21           einheit                 VARCHAR2(8)    PATH 'einheit',
 22           ampreisvAmg             NUMBER(3)      PATH 'ampreisvAmg',
 23           ampreisvSgb             NUMBER(3)      PATH 'ampreisvSgb',
 24           btm                     NUMBER(3)      PATH 'btm',
 25           abdaWarengruppe         VARCHAR2(32)   PATH 'abdaWarengruppe',
 26           darreichungsform        VARCHAR2(12)   PATH 'darreichungsform',
 27           anbieter                NUMBER         PATH 'anbieter',
 28           lagertemperaturMin      NUMBER(10)     PATH 'lagertemperaturMin',
 29           lagertemperaturMax      NUMBER(10)     PATH 'lagertemperaturMax',
 30           notfalldepot            NUMBER(3)      PATH 'notfalldepot',
 31           abgaberegelung          VARCHAR2(80)   PATH 'abgaberegelung',
 32           artikelart              VARCHAR2(80)   PATH 'artikelart',
 33           mwstsatz                NUMBER(7)      PATH 'mwstsatz',
 34           listenEk                NUMBER(10)     PATH 'listenEk',
 35           listenVk                NUMBER(10)     PATH 'listenVk',
 36           notfalldepotEigen       VARCHAR2(1)    PATH 'notfalldepotEigen',
 37           anLager                 VARCHAR2(1)    PATH 'anLager',
 38           kalkulierterVk          NUMBER(10)     PATH 'kalkulierterVk',
 39           lagerort                VARCHAR2(320)  PATH 'lagerort',
 40           platzierung             VARCHAR2(80)   PATH 'platzierung',
 41           bestand                 NUMBER(10)     PATH 'bestand',
 42           fruehesterVerfall       TIMESTAMP      PATH 'fruehesterVerfall',
 43           bewirtschaftungssart    VARCHAR2(80)   PATH 'bewirtschaftungssart',
 44           nnek                    NUMBER(10)     PATH 'nnek'
 45       ) l2_lagerzeile
 46  WHERE t.id = 1
 47  ;

17747 rows selected.

Elapsed: 00:00:00.82

Execution Plan
----------------------------------------------------------
Plan hash value: 488593731

---------------------------------------------------------------------------------------------
| Id  | Operation             | Name                | Rows  | Bytes | Cost (%CPU)| Time     |
---------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT      |                     | 17158 |    42M|   242   (1)| 00:00:03 |
|*  1 |  HASH JOIN            |                     | 17158 |    42M|   242   (1)| 00:00:03 |
|   2 |   TABLE ACCESS FULL   | T_APOXML_LAGER      | 17157 |   552K|    68   (0)| 00:00:01 |
|   3 |   MERGE JOIN CARTESIAN|                     | 18058 |    43M|   174   (1)| 00:00:03 |
|*  4 |    TABLE ACCESS FULL  | T_APOXML            |     1 |    20 |     3   (0)| 00:00:01 |
|   5 |    BUFFER SORT        |                     | 18058 |    43M|   171   (1)| 00:00:03 |
|   6 |     TABLE ACCESS FULL | T_APOXML_LAGERZEILE | 18058 |    43M|   171   (1)| 00:00:03 |
---------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   1 - access("NESTED_TABLE_ID"="T"."SYS_NC0004100042$" AND
              "SYS_ALIAS_5"."NESTED_TABLE_ID"="SYS_ALIAS_4"."SYS_NC0000700008$")
   4 - filter("T"."ID"=1)

Note
-----
   - dynamic sampling used for this statement (level=2)

Statistics
----------------------------------------------------------
          0  recursive calls
          2  db block gets
        897  consistent gets
        886  physical reads
          0  redo size
     295154  bytes sent via SQL*Net to client
      13433  bytes received via SQL*Net from client
       1185  SQL*Net roundtrips to/from client
          1  sorts (memory)
          0  sorts (disk)
      17747  rows processed

Tags: Database

Similar Questions

  • Problem with the loading of XML and xmlns

    I'm having a problem with loading an XML file that was created by Filemaker.  FileMaker will display an XML file by using one of two different grammars.  A poster of a standard form for the most that I can use with a glitch.  Flash CS4 AS3 seems to have a problem with the xmlns in one of the nodes.

    More precisely:

    " < FMPDSORESULT xmlns =" http://www.FileMaker.com/fmpdsoresult "> "

    ' If I remove the xmlns = " http://www.FileMaker.com/fmpdsoresult 'the file is loaded properly and I can access the different fields without problem.  However, when I go the xmlns =..., it will trace the XML properly but I can't access the fields by using the code below.  It drives me crazy!

    With part xmlns in the XML file, I get the following error when attempting to load the thumbnails files:

    TypeError: Error #1010: a term is undefined and has no properties.

    I need it so that the user can enter/change the data and simply output the XML file of Filemaker and then the Flash load the XML file not corrupted and displays the information requested by the user.  That is to say I might have the user open the XML file in a word processing application and have remove them the xmlns..., but it is rather heavy and not very user-friendly.

    I tried all the xml.ignore functions I could find, but it does not help.  I hope someone out there can help you

    Thank you

    -Brand-

    _____________________________________________________________________________________

    Partial XML:

    XML to export Filemaker:

    <? XML version = "1.0" encoding = "UTF-8"? >
    <! - this grammar has been deprecated - use the FMPXMLRESULT instead.
    " < FMPDSORESULT xmlns =" http://www.FileMaker.com/fmpdsoresult "> "
    < ERRORCODE > 0 < / ERRORCODE >
    Sport.FP7 < DATABASE > < / DATA >
    < LAYOUT > < / PAGE layout >
    < LINE MODID = '1' RECORDID = "1" >
    Brand of < FirstName > < / name >
    Fowle < name > < / LastName >
    Veil of < sport > < / Sport >
    Medal of <>no < / medal >
    Design of < CourseOfStudy > < / CourseOfStudy >
    < year > 1976-1978 < / year >
    California < HomeState > < / HomeState >
    < ImageName > 93 < / ImageName >
    < / ROW >

    ...

    < / FMPDSORESULT >

    __________________________________________________________________________________

    AS3 code:

    Import fl.containers.UILoader;
    var aPhoto: Array = new Array(ldPhoto_0,ldPhoto_1,ldPhoto_2,ldPhoto_3,ldPhoto_4,ldPhoto_5);
    var toSet:int = 10; time to time delay
    var toTime:int = place;
    var photoPerPage:int = 6;
    var fromPos:int = photoPerPage;
    var imgNum:Number;

    var subjectURL:URLRequest = new URLRequest ("testData_FM8.xml");
    var subjectURL:URLRequest = new URLRequest ("Sports.xml");
    var xmlLoader:URLLoader = new URLLoader (subjectURL);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    var subjectXML:XML = new XML();
    subjectXML.ignoreWhitespace = true;
    subjectXML.ignoreComments = true;
    subjectXML.ignoreProcessingInstructions = true;

    function xmlLoaded(evt:Event):void {}
    subjectXML = XML (xmlLoader.data);

    If {(root.loaderInfo.bytesTotal is root.loaderInfo.bytesLoaded)
    removeEventListener (Event.ENTER_FRAME, xmlLoaded);
    trace ("data XML file loaded");
    trace (subjectXML);
    } else {}
    trace ("file not found");
    }
    imgNum=2;//subjectXML.ROW.length;
    trace (subjectXML);
    loadThumb (0);
    }
    function loadThumb(startPos:int):void {}
    var count:Number = aPhoto.length;
    trace (subjectXML.Database);
    for (var i = 0; i < count; i ++) {}
    try {}
    aPhoto[i].source="images/"+subjectXML.ROW[startPos+i]. ImageName + "_main.jpg";
    } catch (error) {}
    trace (e);
    }
    aPhoto [i] .mouseChildren = false;
    aPhoto [i] .addEventListener (MouseEvent.MOUSE_DOWN, onThumbClick);
    }
    trace ("current mem:" + System.totalMemory);
    ldAttract.visible = false;

    }
    function unloadThumb (): void {}
    var count:Number = aPhoto.length;
    for (var i = 0; i < count; i ++) {}
    aPhoto [i] .unload ();
    aPhoto [i] .removeEventListener (MouseEvent.MOUSE_DOWN, onThumbClick);
    }
    trace ("current mem:" + System.totalMemory);

    }

    function onThumbClick(evt:MouseEvent) {}
    var i: Number;
    trace ("Thumbnail clicked" + evt.target.name);
    i = findPos (evt. Target.Name);
    ldLrgPhoto.source="images/"+subjectXML.ROW[i+fromPos]. LOCAL_OBJECT_ID + "_main.jpg";
    ldLrgPhoto.visible = true;
    btnPrev.visible = false;
    btnNext.visible = false;

    gotoAndStop ("showPhoto");
    }
    function findPos(thumb:String):Number {}
    var pos:Number;
    var count:Number = aPhoto.length;
    for (var i: Number = 0; i < count; i ++) {}
    If (thumb == aPhoto [i] .name) {}
    POS = i;
    }
    }
    return pos;
    }

    Mark,

    The ':' is what we call a scope resolution operator. Using namespace allows you to potentially have two or more nodes that have the same name but a namespace 'different '. "These are normally specified in xml in the form xmlns:mynamespace ="http://myuniqueURI.com/etc"

    Normally, you would use the mynamespace:node by naming your xml nodes that are specific to this namespace.

    But the best is that namespace by default, when there is no real Prefixeespacenom: in the name of node as:

    That's how it is specified in your xml file, that is to say all the nodes without a prefix belong to the filemaker namespace.

    In actionscript, you navigate by using the scope-resolution operator and the variable that represents the namespace does not necessarily resemble the part "mynamespace" above. In your case the namespace used was the one by default (no), but a value has been assigned.

    To the question of the length, you must use the length() method, otherwise the e4x filtering seeks nodes named 'length' and creating a XMLList with no entry in there (because it's not). It is a common thing with other "Properties" that are expressed in the form of methods like children() and often take me when I started with the model XML as3.

  • Troubleshooting performance problems with the mail server on the virtual computer

    I have a virtual machine with a mail server installed on a windows OS. But all of a sudden, my clients on the server response times decreased significantly.

    This could be the cause of this problem?
    It could be to do with the network, storage, or resources, but I don't know what steps I could take to determine fault

    Would someone mind helping me with the steps I could take to solve this problem?

    Thank you

    The below document page 20 and 21 accurate meters, you should look at the virtual machine level.

    http://www.VMware.com/files/PDF/Exchange_2010_on_VMware_-_Best_Practices_Guide.PDF

    These counters can be used for any virtual computer not only Exchange.  If you are familiar with ESXTOPs I believe that the best way to deep dive in the diagnosis of performance problems.  Also here is a link for these parameters.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1008205

    This link takes you to http://communities.vmware.com/docs/DOC-9279 which has the description on the stats.

  • problem with utf8 words in xml use

    Hello. Today, many components such as galleries and drop-down menus and... use dynamic data of files (xml)...

    After I have editing xml and put a few words utf8 a backup when I test my swf I don't show anything in the lines that I replace the English data with other langauge...

    on others, I see unknown characters!

    What is the problem?

    the Xml file has:

    <? XML version = "1.0" encoding = "UTF-8"? >

    in the header so why Flash cannot act as Dreamweaver or a Web page and...

    what setting I need to change in my xml or Flash to use unicode and langauges type characters in xml files?

    Thank you...

    There's no problem with your xml code.

    but you will need to embed a font in your swf file that displays correctly characters Arabs and non-Arabs.

  • Performance problems with large Photo library size

    Did anyone seen performance issues when the library becomes too great? I used to keep a few different libraries, since some of my libraries are already 1 TB. So, if I merge into one, the file will be 2-3 Tb when it's said and done. Anyone know if it is recommended to size limits or is it more important with El Capitan. Obviously, the response time will be affected by the hard drive and the speed of the laptop, but before you begin merging into one file libraries, I wanted to see if anyone had any suggestions/recommendations or other related advice. Thank you!

    It is not documented, but how many pictures a library can contain pictures, you can migrate photos iPhoto libraries and libraries Aperture, so you should be able to store at least 1 000 000 photos in a photo library.

    I haven't noticed any performance issue with a large library of Photos.  My largest library has 40000 photos.

    During the regular work with the size of the library is not serious at all, as long as you want to keep enough free storage on your system drive. Don't let the photo library fill in your system drive. Keep at least 10 GB free at all times, better more.

    However, there are rare occasions when the size will be discussed:

    • When you need repair library, it will take more time, if the library is large.
    • When you first migrate your libraries of photos, the initial treatment will take longer - scanning for faces and places, creating thumbnails.
    • If you use iCloud library synchronization can take a long time for a large library.
    • Too many smart albums can make pictures a little slower, if the library is large.  I noticed a drop in performance, after that I created 200 smart albums with a search for text across the entire library.
  • Performance problem with SQL for recovering data in FACT and Dimension Table

    Hello

    We have a query that performs very slow when extracting data in FACT and the DIMENSION Table.

    SQL and Plan are in the attachment.

    Please suggest how this can be improved.

    The version of DB is 11.2.0.4

    Kind regards

    VN

    Slow is a very relative term, for about 1 hour is slow for some 1s is slow. So please always quantify your settings.

    The first thing caught my eye is done 4 times ia_oasis_tot_prov_cur_d access. Try to isolate which and change it like this and see if it returns the same result.

    select case when a.clm_capitn_ia_bil_prov_edw_sk = b.prov_edw_sk then b.prov_id end ben_billing_prov
         , case when a.clm_capitn_attnd_prov_edw_sk  = b.prov_edw_sk then b.prov_id end ben_attending_prov
         , case when a.clm_capitn_ia_pcp_edw_sk      = b.prov_edw_sk then b.prov_id end ben_pcp_number
         , case when a.clm_capitn_ia_ipa_prov_edw_sk = b.prov_edw_sk then b.prov_id end ben_ipa_number
      from edw.clm_capitn_f partition (jan2015) a
      left join
           edw.ia_oasis_tot_prov_cur_d b
        on (
               a.clm_capitn_ia_bil_prov_edw_sk = b.prov_edw_sk
            or a.clm_capitn_attnd_prov_edw_sk  = b.prov_edw_sk
            or a.clm_capitn_ia_pcp_edw_sk      = b.prov_edw_sk
            or a.clm_capitn_ia_ipa_prov_edw_sk = b.prov_edw_sk
           )
    

    If it works this means allows you to reduce certain I/O.

  • [ORACLE 10.2.0.5] performance problem with high enq: TX - line lock contention waiting

    Hello

    I have a performance problem involving high line response to locking conflicts that I can't wait.

    The application updates the specific table about 1200 times for my AWR report representing 2 hours.

    This update represents 98% of the db_time and wait to enq: TX - line lock conflict is:

    -83 796 waiting

    -245 441 seconds

    The application updates a row both an unprecedented SELECT UPDATES. This is the query:

    Update my_table set creationtime =: 1, modificationdate =: version 2, =: creationuserid 3, =: fortesting 4, =: 5, modificationuserid =: participation_uuid 6, =: actimenucontact 7, =: allegroid 8, =: campaign_uuid 9, =: desjardinsemployeetype 10, =: effectiveparticipationtype 11, =: family_uuid 12, =: fetchpasseport 13, =: 14, healthratingfilldate =: hoursofsleeptimecommitment 15, =: igaid 16, =: initialsubscriptiontype 17, =: minutesofsleeptimecommitment 18, =: goal 19, =: partner_uuid 20, =: 21, promotionalemails =: 22, readrules =: sccsubscriptionprovenance 23, =: = subscriptionprovenance 24,: 25, supportemails =: where the 26 uuid = : 27 and = version: 28

    Clause where is filtering on uuid which is the primary key of my_table.

    The uuid is a specific user and two users would not update the same row, what could be the reason for this wait event?

    Thank you

    Why guess when you know.

    Watch ASH data for these events to the queue.

    He'll tell you sql id as well.

  • Problem with Framemaker 9 Dita XML Files in Framemaker 10

    I just upgraded to Framemaker 10. I meet a number of problems when trying to work with my help of Dita XML topics, that were last saved in Framemaker 9.

    1. using the default Dita model

    When I open one of my documents in Framemaker 10, the Dita 1.2 model ditabase.fm is automatically applied. Everything seems fine. But then when I convert the XML using Eclipse (which is essentially the html, so we go from XML to HTML format) using Dita Open Toolkit ant scripts, I see this message:

    [pipeline] [DOTJ013E] [ERROR] failed to parse the referenced file 'html\c_licensing.xml' cause from under exception. Please correct the base on the exception message reference.
    [pipeline] c_licensing.xml 25:Attribute 'xmlns:ditaarch' of the line must be declared for the element type "dita".

    Then, I opened the xml file in a text editor, and I saw this on line 25:

    < dita xmlns:ditaarch = "http://dita.oasis-open.org/architecture/2005/" > ""

    25 line seems to me. Am I missing something?

    2 go to a model of Dita 1.1

    I tried to get around the above problem. In Framemaker, I tried to put another structured as the default application. I closed all files and choose the structured Dita 1.1 application default (it defaults to the Dita 1.1. Composite app.)

    Then I tried to open my file: I got this message inside Framemaker:

    'Failed XML validation. Continue?
    Error to the [path of ACCESS], line 25, tank 72, Message: attribute ' {http://www.w3.org/2000/xmlns/} ditaarch' is not declared for the element "dita"

    Sounds familiar, isn't?

    I went from Dita 1.1 by default. Composite application structured with the Dita 1.1. Application of structured theme. Then I messed the source file and saved. The messages that I got in the FrameMaker log window included one above, plus I had a variety of messages to unknown element, things like:

    Element unknown dita.

    notion of unknown element,

    various attributes are not reported for concept,

    element unknown conbody.

    If I go to the Dita 1.1 mash all these messages diappear except this one:

    Attribute ' {http://www.w3.org/2000/xmlns/} ditaarch' is not declared for the element "dita"


    My conversion scripts of Ant in the Dita Open Toolkit are still unable to process this file. They give the same message as above in (1) and the file is not converted to HTML.


    Can someone help me with this problem? I also posted this question in the Group of users of Dita on Yahoo Groups. If I get an answer in one place, I'll post it in the other.

    Thank you

    Nina P.

    [transferred to dita-users]

    Hi Nina...

    The xmlns:ditaarch attribute must be the "topic" not dita root element. If demand for FM10 structure is the award that it is wrong. You create composite themes (multiple topics in a single file under the root of dita)? If this isn't the case, you can get rid of the total dita element and who can "solve" the problem.

    The first mistake you get (#1) says that the xmlns:ditaarch attribute must be declared (that is, defined in the DTD)... It's not (because it is not supposed to be there (as I know). This is not to say that it must be declared in the DITA file.

    Even for the #2 error... the composite 1.1 app is apparently set up correctly, so it's saying the same thing that the Old Testament said... "you have this attribute in the XML file, but it is not declared in the DTD.

    Your subsequent error on the missing items is because you spent in the "topic" DTD, who does not know the dita element or elements based on concepts.

    If you can unpack your files dita element (because you are just using a topic in each file), which can solve the problem. But you probably need to do is open these files in a text editor and remove the attribute of xmlns:ditaarch of them (he not really needs on the elements of the topic either since it is the default value). Then, I turn to the composite 1.1 as a default app. I'll take a look at the FM10 1.2 default app and see what happens. (I have not seen this problem since I was on DITA-FMx, which has its own structure of apps).

    See you soon,.

    .. .Scott

    Scott Prentice

    Leximation, Inc..

    www.leximation.com

  • Problem with partial dataset HDF5 readings

    I'm having a problem finding how by a partial read of a dataset using LVHDF5 Jason S HDF5. I can save a dataset to a file and I can read it on a whole, but I can't understand how to read a part of it. For example

    :

    I save a 235 x 235 x 1024 dataset in a file. I want to read a 5 x 5 x 1024 picture of this dataset. I'll try the following:

    -use H5Dopen.vi to open the dataset

    -use H5Dget_space.vi to get a reference to a data space I guess (guess) is associated with the dataset object data space

    -Use H5Sselect_hyperslab.vi to choose my 5 x 5 x 1024 part by using the 'block '. My place of departure is 0,0,0 and stride count are 1,1,1
    -Create a DataSpace.vi of correspondence to create a data space which is 5 x 5 x 1024 in size, with the same data type that my dataset (float).

    -read the data in the "hyperslab" in a table using H5Dread.vi, followed by the function Variant Data.

    If I don't file, H5Dread.vi space entry wiring reads the entire data set.  However, if I try to use the obtained reference w / H5Dget_space.vi, as the space of file, I get an error of alternative to data that says "the variant data type is not compatible with the data type of wired for the input type.".

    I'd appreciate any help in getting this work.

    AHA. I found my problem. I use H5Dselect_hyperslab in my memory and the space of my file.

  • Problem with emulator no config.xml file found in the root of the file .zip Blackberry 10 ripple

    I just started development for blackberry 10. I had developed application in the native language. But with blackberry 10 I get "no config.xml file were found at the root of the .zip file" when I run my Hello World application on emulator of the ripple.

    Help is appreciated thanks.

    Here what I got on emulator ripple

    Here's my Helloworld project structure

    Your config.xml file is probably invalid.

    Copy and paste it into this XML validator. http://www.w3schools.com/XML/xml_validator.asp

    If there is a training error will not be able to correctly parse.

  • Problem with partially the image to an image that is on the page

    Hi all

    I have a graphic image that partially overlaps the page, as follows:

    15-02-2016 13-12-50.png

    When I am trying to place an image by script, I get an error: 'this value would cause one or more objects to leave the editing table. However, I can place manually in InDesign with no problems. I wonder why I am unable to do this by the script.

    Main();
    
    function Main() {
        var doc = app.activeDocument;
        var imgFile = new File("~/Desktop/Test.jpg");
        // Select the rectangle to place the image
        var rec = app.selection[0];
        try {
            var img = rec.place(imgFile);
        }
        catch(err) {
            $.writeln(err.message + ", line: " + err.line);
        }
    }
    

    From the top of my head, a workaround solution - in the catch block, follow these steps:

    1. Remember original geometric boundaries of the framework
    2. adjust the problem setting in the centre of the page
    3. Place the image
    4. Move the rear frame to its original position

    Maybe someone can suggest a more elegant solution?

    Here's the indd file , I used for the test.

    Kind regards

    Kasyan

    The sample file is CC 2014, but also confirmed for CS4. So, at least, this is a long-standing bug.

    Moreover, the rotation has nothing to do with it. Any part of a target frame that comes out of the page and the Whiteboard in gray nothingness between spreads will lead to this error.

    Fact the editing table option?

  • Performance problem with the guest operating system

    Hello gurus - I have one of the most unusual questions, I ran into a few time.   Here it is:

    I have a guest w2008R2 OS - installed in a 5.1 version of VM 7 vSpherer - which has an Emulex LPe 12002-E 8 GB dual HBA port is assigned to the as 2 PCI (1 device per port) via DirectPath devices

    The guest operating system has an application that performs backup tests.   WWPN of the HBA is zoned in the fabric and declared in the interface of Compellent Storage Center and everything is good here. the application creates a replay of a volume, mount it as a drive, read all the blocks, then dismantles and moves then repeat the process with what ever additional volumes should be safeguarded.   It is so cool I have do this with a VM right and not a physical host?  (would be cool if I had work NPIV but that's another story, not with technology HBA vendor support...)

    So, what's the problem?   Well, the bed the mounted disk backup will work extremely slow as slow as 5MB\sec flow, then during any other activity takes place on the system the flow jumps up to 150MB\sec all of a sudden and will continue to run fast for a long time and finish jobs on time with each work taking a little more than an hour.  But when the slow going the same work (all jobs are the same, they are simply by reading all the blocks of a bunch of 200 GB volumes and wrote a set of NULL value, do not forget this is just test) takes up to 10 hours to complete.

    I think that what is the culprit?   POWER MANAGEMENT.

    I have just about each performance counter and the journal of events known to man and I don't see anything abnormal on the table, ESXi virtual machine, nothing.  But what I see in the newspapers is any kind of activity that could happen in a transparent manner to save energy.

    FACTS on this case:

    -Reservation of memory is defined (it must be for directpath otherwise, you can't power on the virtual machine)

    -Booking CPU - has not been defined before an hour ago, I gave her just a small reserve for this rule, so I do not know if this will help alleviate the slow flow, or have an effect on what I think is a question of power (unit linked) management

    -windows power management is set to high performance never-ever - but not until an hour there doesn't I changed advanced settings for USB Disabled------turned off.  PCI peripheral energy saving setting was already off.  Which is in contradiction with my theory.  But maybe, just maybe, something is broken somewhere, or could be a bug... blah blah blah

    -the HBA, Emulex, as it appears in Device Manager in the guest OS doesn't have a power management tab to disable the feature, I don't see that the adapter VMXNET3 had this tab, and I turn off the power save setting to be conservative, do not think that it was the culprit, but as there is no real data running through the NIC.  The data is simply to be read from the disk mounted, not copied on any wire Ethernet.  never the less, in the Emulex properties is a Details tab and a selection of power data, and performance data indicate you what power mode, the device is, as well as feeding supported systems.  D0: full power, but D3, which shows as supported by the device, is an energy saving mode.   I could not yet attend the setting at the time of slow activity, my good intention as soon as possible. He is currently shooting in D0, full power.

    This is so what I have to offer on this, I hope that its just...   If I'm missing something, or if others have experienced this massive loss of unknown flow without reason and have resolutions, please share.

    If there is a way for me to disable power on the Emulex HBA management inform you please, I don't mind if I stop to enter the firmware, if that was even possible.  But if possible I would disable it immediately before any new tests are executed.

    The root cause of this issue has never been identified by VMware support which for me is a question of ugly.  Reservation of CPU for the VM using directpath IO with HBA installed in it corrected the problem.  I'd be leary with direct path IO.

  • Problem with loading multiple external xml files

    I have a table named 'source', which consists of names of files external xml, the content of which I'm loading in another table called 'content '. I tried with the following text:

    ----------------------------------------------------------------------------------------
    for (i = 0; i < source.length; i ++) {}
    XML_URL = "' http://localhost/temp/ ' + source ;"
    myXMLURL = new URLRequest (XML_URL);
    myLoader = new URLLoader (myXMLURL);
    myLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    }

    function xmlLoaded(evt:Event):void {}
    Content.push (myLoader.Data);
    }
    ---------------------------------------------------------------------------------------

    The problem is that in this way, I get that content of the last xml file and other items ' content ' are 'undefined '. Anyone know the solution to this problem or maybe another way to do this?

    Thanks in advance

    I tested the following with two xml files in the same folder (I would try the same thing) and put their names in the table source. Create two dummy xml for the test files.
    Here is my exact code (I've changed, I have one because it's italicized here in the forums):

    var content: Array = new Array();
    var source: Array = new Array ("media1.xml", "media2.xml");
    for (var a source) {}
    var XML_URL = ' "+ source [a];
    var myXMLURL = new URLRequest (XML_URL);
    var myLoader = new URLLoader ();
    myLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    myLoader.load (myXMLURL);
    }

    function xmlLoaded(evt:Event):void {}
    Content.push (evt. Target.Data);
    if(Content.Length ==source.) Length)
    TR();
    }

    function tr() {}
    trace (content);
    }

  • Problem with reading a file xml xsl

    Hello

    When I'm reading an xml xsl file, I get unwanted output.

    Here is the XSL:

    <? XML version = "1.0" encoding = "UTF-8"? >

    <? Oracle-xsl-map

    <.-SOURCES AND TARGETS, NOT CHANGE card SPECIFICATION. ->

    < mapSources >

    < source type = "XSD" >

    "< location of schema ="... /XSD/B2BMarketProperties.xsd"/ >

    " < name rootElement = namespace"ReceipentIDType"=" http://www.example.org "/>

    < / source >

    < / mapSources >

    < mapTargets >

    < target type = "XSD" >

    "< location of schema ="... /XSD/B2BMarketProperties.xsd"/ >

    " < name rootElement = namespace"ReceipentIDType"=" http://www.example.org "/>

    < / target >

    < / mapTargets >

    <!-GENERATED BY ORACLE XSL MAPPER 11.1.1.4.0(build 110106.1932.5682) to [TUE DEC 03 16:06:00 GMT 2013]. ->

    ? >

    < xsl: stylesheet version = "1.0".

    ' xmlns:bpws = ' http://schemas.xmlsoap.org/ws/2003/03/business-process/ "

    ' xmlns:xp20 = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.PC.Services.functions.Xpath20 "" "

    ' xmlns:mhdr = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.mediator.service.common.functions.MediatorExtnFunction "" "

    ' xmlns:bpel = ' http://docs.oasis-open.org/WSBPEL/2.0/process/executable "

    ' xmlns:oraext = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.PC.Services.functions.ExtFunc "" "

    " xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    ' xmlns:ns0 = ' http://www.example.org "

    ' xmlns:dvm = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.DVM.LookupValue "" "

    ' xmlns:hwf = ' http://xmlns.Oracle.com/BPEL/workflow/XPath "" "

    " xmlns: xsl = ' http://www.w3.org/1999/XSL/transform "

    " xmlns: med = ' http://schemas.Oracle.com/mediator/XPath "" "

    ' xmlns:ids = ' http://xmlns.Oracle.com/BPEL/services/IdentityService/XPath "" "

    ' xmlns:bpm = ' http://xmlns.Oracle.com/bpmn20/extensions "" "

    ' xmlns:xdk = ' http://schemas.Oracle.com/BPEL/extension/XPath/function/XDK "" "

    ' xmlns:xref = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.xref.XPath.XRefXPathFunctions "" "

    " container = ' http://www.w3.org/2001/XMLSchema "

    ' xmlns:ora = ' http://schemas.Oracle.com/XPath/extension "" "

    ' xmlns:socket = ' http://www.Oracle.com/xsl/transform/Java/Oracle.tip.adapter.Socket.ProtocolTranslator "" "

    ' xmlns:ldap = ' http://schemas.Oracle.com/XPath/extension/LDAP "" "

    exclude-result-prefixes = "xsi xsl ns0 xsd APO xp20 mhdr bpel oraext dvm hwf med bpm xdk Xref ora socket ldap ID" >

    < xsl: output method = "xml" version = "1.0" encoding = "UTF-8" Indent = "yes" / >

    < name of xsl: variable = sΘlectionner "ReceipentID" = document('..) ' /XSD/B2BMarketProperties.XML')"/ > '.

    < xsl: template match = "/" >

    < ns0:ReceipentIDType >

    < xsl: for-each select = "$ReceipentID" >

    < ns0:ReceipentID >

    < xsl: value-of select = "$ReceipentID" / >

    < / ns0:ReceipentID >

    < / xsl: foreach >

    < / ns0:ReceipentIDType >

    < / xsl: template >

    < / xsl: stylesheet >

    Here is the XML (B2BMarketProperties.xml)

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < ReceipentIDType xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    " xsi: schemaLocation =" http://www.example.org ' B2BMarketProperties.xsd '

                     xmlns=" http://www.example.org ">

    < ReceipentID > 123 < / ReceipentID >

    < ReceipentID > 345 < / ReceipentID >

    < / ReceipentIDType >

    The result I get with this code is

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < = xmlns:ns0 ns0:ReceipentIDType ' http://www.example.org ">

    < ns0:ReceipentID > 123345 < / ns0:ReceipentID >

    < / ns0:ReceipentIDType >

    But I need output in the following format

    " < = xmlns:ns0 ns0:ReceipentIDType ' http://www.example.org ">

    < ns0:ReceipentID > 123 < / ns0:ReceipentID >

    < ns0:ReceipentID > 345 < / ns0:ReceipentID >

    < / ns0:ReceipentIDType >

    You guys could let me know what I am doing wrong. Any help would be appreciated.

    Thank you

    It worked for me:

  • problem with partial update on linux

    Hello

    When a partial update is executed every time, the siz of the process dgaph in memory increases about 200 MB. Initially when just ran the update of the base, the siz of the dgraph was about 1 GB, but after a few partial updates the memory went up to 2.5 GB dgraph. However we have not inserted/updated during the partial run, each updates were in 50 records. If the dgraph is restarted, then the siz of the process boils down to 1 GB. Also after the partial update, query response time is also get degraded.

    Please let me know someone has encountered this problem and also the solution that you can recommend.

    Thank you
    RP

    The script of global warming is essentially a script replay queries frequently used to your dgraph to warm the cache. One way to get commonly used queries is to analyze your logs of application of production dgraph. You would like to experiment the number of queries that you use in your global warming script to install in your partial window of 20 minutes.

Maybe you are looking for

  • Cannot play songs on my phone

    Given that I have an ipad that I seem to have lost most of my songs on my phone, I touch the symbol of the cloud, but they will not transfer

  • How to restore the new PIN tab older versions of firefox?

    I recently updated my version of Firefox to V.33 and I really don't like the layout of the websites suggested or "pinned". The previous version, I used had only three "pins" to a row with three columns, giving me a total of 9 "pinned" sites This new

  • TV 22 '' Toshiba to bar problem

    Hi, I have a new Toshiba 22L1334G 55 cm TV and a problem with a bar (band/line) with ads or the options at the top of the screen. I have try all the keys and the settings option to remove but it just don't hide. Here is a picture of what I mean (: [h

  • HAVE DAQmx error-200279

    I run a loop with a N-Chan AI read vi, out its values in a queue which is read by the other parallel loops.  During the operation of the program, when the other loops treat their queues and (from what I can tell) occupy time processor, read it loop r

  • Segmentation fault (SIGSEGV)

    I use DAQmx code from a DLL that I have developed. I call this DLL from C++ code. Everything works well until a certain point. I can read the DAQ, erase it and reset. The accident occurred when I close the application. The fault that happens in the f