Difference concerning the registration and does not not a XSD with xml files

SQL > select * from v version $;

BANNER

--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE Production 11.1.0.7.0
AMT for 64-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production

--------------------------------------------------------------------------------

With assistance from members of this forum, I was able to save a XSD successfully, save xml files in tables with xmltype columns and select data in xml files. For this, I am very grateful.

Forgive me for not knowing this, but I can currently do these two things.

1 save a XSD and create a table with an xmltype column based on the XSD. Insert the xml code in this table that corresponds to the xsd format.
2. Insert an xml document in a table with an xmltype column without registering it of corresponding XSD and then select the data in this table too.

Is there a performance advantage to save the XSD, the xml file is based on, when it comes to the insertion in the table or selection of data in the tables after insertion?

The xml files, we insert could be anywhere from 1 MB to 500 MB + size beyond, since it depends on the amount of generated audit data. Is there a sweet spot as to how big or small, you would keep in mind the size of the xml files to avoid performance problems. If we do an audit in the future we would be inserting all of the xml files that are generated in a table and perform selects on this table. These data could last a day from the time wherever the system became operational at all.

We want to avoid all over the head associated with XSD if only they affect performance.

Thank you for your help in advance.

Wally

The xml files, we insert could be anywhere from 1 MB to 500 MB + size beyond, since it depends on the amount of generated audit data.

Based on a schema XMLType (aka object-relational storage or a structure) is exactly what you need in this case.

-When you save a diagram in the database, Oracle automatically creates a set of types of objects, collections, and tables that map XML to SQL data model structure.
-When you insert an XML instance document in the table based on a schema, the XML content is then stored in the underlying relational structure.
-When you run queries on the XMLType, for example using XQuery and XMLTable table, Oracle automatically rewrites the query in order to access the relational objects where the data resides. This process results in queries very effective whose performance compares queries on regular tables. The structure of the object-relational also supports the indexing.

The documentation includes whole chapters on this topic:
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb05sto.htm#g1070409
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb_rewrite.htm#BABHJECG
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb06stt.htm#BABGFCFG

Tags: Oracle Development

Similar Questions

  • Trash hangs on "Preparing to empty the trash" and does not empty

    When I try to empty my trash, it hangs on "Preparing to empty the trash" and does not empty.

    Look here for possible solutions:

    https://support.Apple.com/en-us/HT201583

    http://www.thexlab.com/FAQs/trash.html

    Ciao.

  • update date and time for 3.6 numbers does not show the time and does not automatically update the date

    The 'update date and time"for numbers of 3.6 does not show the time and does not automatically update the date.  What should I do?  Thank you.

    Hi david,

    where do you find ' update of the date and time.

    Quinn

  • buy an iphone 5s by amazon and I came with iCloud blocked an account... {I called the seller and does not that I do that I'm from Venezuela please need your help}

    buy an iphone 5s by amazon and I came with iCloud blocked an account... I called the seller and does not that I do that I'm from Venezuela please need your help

    No one here can help you. The device is locked activation. Since you have made the purchase by Amazon, you can check with them to see if they will stand behind it. No one on the forum, or Apple can help you remove the lock. Only the previous owner can do this. I suggest that you demand a refund, so let's start a claim with Amazon about this dealer.

  • I've installed Illustrator dnuee and uninstalled and reinstalled, it bounces just off the dock and does not open (should I uninstall CS5) thank you

    I've installed Illustrator dnuee and uninstalled and reinstalled, it bounces just off the dock and does not open (should I uninstall CS5) thank you

    Hello Leana,

    Can you please try to open Illustrator after creating a new user account on your computer?

    It could be a permissions problem, I just want to check that first.

    Thank you best regards &,.

    Rambour

  • Adobe Reader does not automatically associate with PDF files in Xp Sp3

    I reinstalled drive (twice) and it does not automatically associate with PDF files.

    How can I solve this problem?

    Cheers, JH

    Problems with file associations? If so, right-click on

    a PDF icon, choose Properties, one

    d change the reader in the open with box.

    Additional line breeze kindly provided by the software of this site.

  • I need to remove the photos and when I right click on the photo and does not remove on my imac

    I have a new iMac that I'm trying to learn to use.  I would like to delete a lot of pictures. When I right click on the image of the Word remove does not come to the top.  nothing happens.  There is also no trash can symbol.  How to delete pictures?

    On Photos for Mac application you can delete photos by selecting the photos and entering the key combination command + DELETE ⌘⌫.

    It will work in the moments as well as in the albums.

  • LabVIEW 2014 app installer doesn't create files % 2Ffiles in the documents and does not create the registry entries at least as administrator

    the LabVIEW 2014 32 bit app installer doesn't create folders/files in personal documents folder and does not create the registry entries in hkey_current_user\software except as an administrator.

    It's a true statement.

    You must change the windows policies, user restrictions (not recommended), normally the register (write) access is limited to normal users.

  • (Redirected) Power adapter green light turns off when the laptop battery is plugged into the laptop and does not load.

    Power adapter green light turns off when the laptop battery is plugged into the laptop and will not charge; If the laptop battery is not plugged into the laptop adapter it's still green and will charge the laptop.

    As you have a laptop, better make this laptop in the computer Forum post here:

    http://en.community.Dell.com/support-forums/laptop/default.aspx

    Tip: when you post a message, preferable to always include the computer model.

    Bev.

  • Menu remains visible after you make the selection, and does not show Popupscreen

    Hey. Unable to get a (a gaugefield) on a Popupscreen progress bar to show. It is called from a menu. The user clicks a menu item, and a method is called. The method among other pushes a Popupscreen containing a Gaugefield on display battery-code below. Then, he starts a thread which downloads an image and using join() to wait for it complete (long story). Then, in the thread of events, it appears the Popupscreen.

    The menu does not disappear when you click on it in the Simulator (JDE 4.7, the Bold 9700 sim), but the download happens. Once the download is complete, the menu disappears, the Popupscreen is shown and he tried to pop() Popupscreen, causing an IllegalArgumentException.

    I tried to split the method into two methods, the download happened in the 2nd method, because I read the forum search that the UIEngine don't update the display until the method finishes (it runs in the event thread). But it made no difference...

    How can I get this menu to disappear immediately and the push (popup) to work?

    See you soon!

    Justin.

                            progressbar = new GaugeField("", 0, 100, 50, GaugeField.NO_TEXT);
                            progress = new PopupScreen(new FlowFieldManager()) { protected void OnDisplay() { super.onDisplay(); /*cancelButton.setFocus();*/  }  };
                            globalTiles.pushScreen(progress);
    
                            progress.add(new LabelField("Downloading (rest of) picture ..."));
                            progress.add(progressbar);
                            progress.setFocus();
    
                            if (!threadbg.isAlive()) {
                                       threadbg = new ThreadForBgDownload();
                                       threadbg.start();
                            }
                            else {
                                       // Show the progress bar, mostly complete (it is running and was in the bg). Game will start after last bit done
                            }
    
                            threadbg.join(); // Wait for download thread to complete and 'die'
    
                            globalTiles.popScreen(progress);
    

    Rule #1: all display updates should occur on the thread event or synchronized on the lock of the event.

    Rule #2: the thread of events (or now the lock of the event) should never be blocked by lengthy operations.

    The scenario you sketched out is usually handled like this: menu item run() method don't whatever immediate user interface updates are necessary and starts a worker thread. It does not wait until the thread ends before returning. (If so, updates the user interface include pushing a "Please wait" or progress pop up). The worker, at the same time, begins to do its stuff. When it's time to update the user interface (either because the task is completed or to view progress) the worker thread usually called invokeLater (Runnable) (a method in the Application class) where the executable run() method updates the user interface. If the worker thread must receive user input in his work, he can use invokeAndWait (Runnable), where the executable not all interactions of the user and stores the user entry somewhere so that the worker thread can grab after invokeAndWait() returns.

    Although the synchronization on event lock works perfectly well, it is more common for some reason any to invoke a Runnable, perhaps because the latter clearly encapsulates in a separate object the work to be done on the event thread.

    The above policy is the basis of the excellent Peter Strange example I linked to before.

  • Newbie: Esc closed the window and does not return to the screen

    Hi all

    does anyone know a solution for this:

    This is my first application. I tried a view-Details-app. I started to change the uiExample available on blackberry.com. In the start.htm is now an onload Script that calls a Web service to get data and present them in a list (the view). When you click an item in the list a new site called detail.htm is open. I had trouble getting data from the Web service to this new site. So I created this new site via JavaScript/DOM, everything works fine, but when you are in the site detail and press the Esc key to close the current window you see not the previous window of the application as I'd expect, but you get the blackberry homescreen. And I suppose that my application is still running but not visible.

    Thank you for any suspicion.

    Concerning

    Andreas

    PS: Here are a few snippets:

    Start.htm


     
        
        
        
        
        
        
      Vorkommnisse
      
     
     

     
        


            

    VORKOMMNISSE


        

        

               

               

               

                

                

               

               

               

           



     

    Common.js

    addEventListener ('load', doLoad, false);

    function doLoad() {}
    document. Body.style.Height = screen.height + 'px ';
    }

    var xmlHttp = new XMLHttpRequest();

    function callWebService() {}
    var url = "http://10.1.1.107/webservice/ws.nsf/webservicevkn_small2?OpenWebService";

    XMLHTTP.open("get",URL,true) ('POST', url, true);
    xmlHttp.onreadystatechange = callbackFunction;
    xmlHttp.setRequestHeader ("Content-Type', ' text/xml");
     
    var xmlDaten =""
    "xmlDaten = xmlDaten +"\ http://www.w3.org/2001/XMLSchema-instance"container = \ 'http://www.w3.org/2001/XMLSchema \" xmlns:soapenv = \'http://schemas.xmlsoap.org/soap/envelope/ \"xmlns:tns = \" "urnefaultNamespace\" ">" "
    xmlDaten = xmlDaten + "".
    xmlDaten = xmlDaten + ""<>ANOM >ANOM > ""
    xmlDaten = xmlDaten + "
    "
    xmlDaten = xmlDaten + «»
     
    xmlHttp.send (xmlDaten);
    }

    function callbackFunction() {}
    If (xmlHttp.readyState! = 4)
    return;

    var xmlHttpRequest = xmlHttp;

    var result = xmlHttp.responseXML.documentElement;

    var vorkommnisse = result.getElementsByTagName ("RECORD");

    for (var i = 0; i)
    {
    createListItem (vorkommnisse [i], i);
    createListItem (vorkommnisse [i] Sublst.ChildNodes(1).ChildNodes(0) [10] .textContent, i);
    }

    }

    function createListItem (vorkommnis, ListItemIndex)
    {
    var obj = document.getElementById ("itemList");

    var newDiv = document.createElement ("div");
    newDiv.setAttribute ("class", "arrowList");
    newDiv.setAttribute ('x-blackberry-Focus "," true");
    newDiv.setAttribute ("onClick", "createDetailPage (" "+ ListItemIndex +" ");");
    newDiv.setAttribute ("onclick", "location.href =" detail.htm";");)
    var newSpan = document.createElement ('span');
    newSpan.setAttribute ("class", "arrowListText");

    var newImg = document.createElement ("img");
    newImg.setAttribute ("class", "arrow");
    newImg.setAttribute ("src", "images/arrow.png");

    var newText = document.createTextNode(vorkommnis.childNodes[10].textContent);

    newSpan.appendChild (newText);
    newDiv.appendChild (newSpan);
    newDiv.appendChild (newImg);

    obj.appendChild (newDiv);

    }

    function writeStatic (text)
    {
    document. Write (')
       
       
         
            
            
            
          
            
         

         
            


                

    VORKOMMNISSE - details


            

             

                

                       

                       

                       

                        

                        

                       

                       

                       

                   

               

         
       
    ');

    }

    function createDetailPage (index)
    {
    var result = xmlHttp.responseXML.documentElement;
    var vorkommnisse = result.getElementsByTagName ("RECORD");
    var vorkommnis = vorkommnisse [index];
     
    Labels var = new Array ("Meldungseingang:", "", "vom Vorkommnis:", "", "Linie/Kurs:", "Ort:", "Vorkommnis:", "direction:", "course of events:", "Bemerkung:", "Info:", "", "Bearbeiter :"))
     
    var generator = window.open (", 'detailPage');

    writeStatic (generator.document);
     
    Generator.document.Body.style.Height = screen.height + 'px ';
     
    var detailItemList = generator.document.getElementById ("detailItemList");
     
    First line... Anzeige
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode(vorkommnis.childNodes[6].textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
     
    }

    First line... Bearbeiter
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [12] [12] .textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
     
    }

    First line... Meldungseingang
    {
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [0] [0] .textContent + "" + vorkommnis.childNodes [1] .textContent + "Uhr").

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
    }
     
    First line... Vom Vorkommnis
    {
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [2] [2] .textContent + "" + vorkommnis.childNodes [3] .textContent + "Uhr").

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
    }

    First line... Linie/Kurs
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [4] [4] .textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
     
    }

    First line... Direction
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [7] [7] .textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
     
    }

    First line... ORT
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (vorkommnis.childNodes + labels [5] [5] .textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
     
    }

    First line... Course of events
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (Labels [8]);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
     
    }

    {
      
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
      
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "details");

    var theRowLabelText = generator.document.createTextNode(vorkommnis.childNodes[8].textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
      
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
      
    }

    First line... Bemerkung
    {
     
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
     
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "label");

    var theRowLabelText = generator.document.createTextNode (Labels [9]);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
     
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
     
    }

    {
      
    var theRow = generator.document.createElement ("div");
    theRow.setAttribute ("class", "line");
      
    var theRowLabel = generator.document.createElement ("div");
    theRowLabel.setAttribute ("class", "details");

    var theRowLabelText = generator.document.createTextNode(vorkommnis.childNodes[9].textContent);

    theRowLabel.appendChild (theRowLabelText);
    theRow.appendChild (theRowLabel);
      
    var theSeparator = generator.document.createElement ("div");
    theSeparator.setAttribute ('class', "listSeparator");

    detailItemList.appendChild (theRow);
    detailItemList.appendChild (theSeparator);
      
    }

    Generator.document.Close ();

    }

    Oh. Found.

    History.back() () does not work but history.go("local:///index.htm") works very well for me.

    Thank you all for listening to my monologue...

    Concerning

    Andreas

  • my Mozilla Firefox is reduced to a small rectangle (top left of the screen) and does NOT RESPOND to my attempts to use the Firefox browser. That's happened? Firefox would RESTORE it please the Firefox browser to my laptop.

    I was Mozilla Firefox under Internet Explore months ago. Very happy with the maintenance functions, etc. A few weeks ago, I received a message from update while doing some work but have not installed the update at that time. Another update message came with a note of support, confused indicating some dangerous consequences if I have not installed the update.
    A few keystrokes later and my screen seem to go haywire, and my laptop does not respond to my cursor. I stopped. When I restarted and went to the shortcut of Firefox a tiny icon (1 "x 1/4") replica of a part of the normal screen of Yahoo! Firefox appeared and continues to do so whenever I try to use Firefox. I am now to Internet Explore. HELP me to go back to the use of Mozilla.

    Right-click on the image of Firefox in this small window of Firefox and see if there are in this menu popup enlarge . If so, click on enlarge.

    To be clear, Yahoo! Firefox is a modified version of the official Firefox program and may have defects that are not in the official version.

  • Custom flash drives still work in XP slows down the computer and does not turn off. No drive letter & tried all solutions online.occassionally ok

    When computer for a while and plug in flash drive usb does not recognize the drive, the computer slows down, does not turn off. Even with all the flash drives I have, ok when computer on just. I tried all the solutions online, nothing helps.

    Looks like you might have some performance issues with the computer rather that readers flash... but first of all, I would like to try to take the flash drives to a friends and ensure that they are working very well... If they are I would look at the performance of the computer and health controls. Heres a guide to improving the performance and general peacekeeping home

  • Outlook express has suddenly started asking for the password and does not accept it.

    I use Outlook express, rather than signing in via Hotmail.com. I see all of my emails upward to 3 April, but not since. and I can't send it today. It keeps asking me for a password for pop3 and smtp direct password which I know that I have not changed, but it does not accept the (he rememberes them anyway). What has changed in the last 2 days?

    Hi Teresa,.

    Try to login from the Web site and see if your password is work www.mail.live.com

    If you are able to check emails from the Web site, and then type the same password in outlook when you are prompted.

    I hope this helps.

  • Phone constantly optimize the applications and does not start in safe mode.

    Hello, I restarted my phone yesterday morning and it has been "Optimizing apps" since then, I have no access to a pc that I work away from home, I reset hard it loads of times and tried to start in safe mode by using low volume and power (it does not restart the phone the sony screen over and over) is here something I can do to get the z3 works again? Any help is appreciated!

    @Mav0095

    You will need a computer to use the CCP or bridge

    PC Companion (CCP)

    Bridge (for Mac)

    Xperia Companion (XC)

    Software repair Guide

    Alternatives on how to backup Xperias

    http://talk.sonymobile.com/thread/36355

Maybe you are looking for

  • Drivers for Dynabook E7/518PME. ? equivalent to 1130/1135

    Does anyone know an English equivalent to the Dynabook E7/518PME, so I can download the drivers who work with her. Rgrds Chris

  • Family sharing prevents Sync music?

    I just started the sharing of family and I can are no longer synchronized songs (not downloaded via iTunes) to my iMac to my iPhone.  The best recommendation I found on Apple's site has been to use home sharing. HomeShare provide a real sync on my ph

  • Connect to win8

    Hi all I recently bought a new laptop, win8 running (my previous one ran win7). in the past I used to connect to Skype by using my Skype name, win8, the login screen requires email address. I tried to use the email associated with my account (as it a

  • Cannot connect wireless C4780 using mac/airport

    I searched through the previous posts but can't seem to solve this problem. I will try to give all the relevant information... I have a new MacBook Pro - Snow Leopard OS x 10.6.4.  I have a wireless connection to the internet with an airport that is

  • Why my images are opening in camera raw 8 bit/channel when they are in as 16 bits/channel Bridge?

    When I open an image downloaded from my camera and showing that 16-bit/channel bridge in Camera Raw, does open 8 bit/channel? If I change to 16-bit/channel to work on in camera raw and then save from there as PSD or jpeg in 16 bits/channel fact that