the clause WITH XMLNAMESPACES xmltable: do you go on the internet for xsd?

Hello

I have a request of xmltable passing an xmltype variable.

Something like this:
select id, name, data
From XMLTable(XMLNamespaces ('https://www3.somesite.es/bla/bla/bla/thexsd.xsd' as "n1" , 
                                    'https://www3.somesite.es/bla/bla/bla/otherxsd.xsd' as "co") , 
                     '/n1:some/tag' passing l_my_xmltype_var 
COLUMNS id        NUMBER(20)      PATH '//n1:id' ,
                             name        VARCHAR2(9)     PATH '//n1:name' ,
                             data     VARCHAR2(125)   PATH '//co:datatxt') X
This query is executed in a loop, and we try to improve its performance.
S/n told me that whenever the query is run, we need to get the two xsd via internet.

1. is this true?
2. If it is... Can I keep the local XSD or even inside the database? (I heard something on the registration of the scheme)

Thank you

Julius says:
The actual query has more than 75 columns. Its consumption is spent on java, so I have to assume that this is because of the money the xmltable process analysis.

You OR do something (horribly) wrong OR should move to a longer version of database great or equal to 10.2.0.3.x

PLEASE post your version of the database (all figures!)

Do you mean that, even working with a local xmltable passing a variable xmltype (not a structured xml real chart), save the scheme will do good performance?

Yep, for example by avoiding calls JAVA... through the registered XML schema validation is optimized if not only because of its kernel code, it's C - code

I guess I have to:
1 save the xsd
2 reference him when I create the xmltype variable (by adding the second parameter to the function of xmltype).

Fix.

Then, during the treatment of xmltable, the engine will be smart enough to use the xsd saved info to improve the query performance? Okay, I'm a little skeptical, but will give it a try.

I will also try to facilitate the processing by specifying the path of the full tree instead of using "/ / tag.

It will make a difference (providing you're at least on 10.2.0.3.x regarding the use of XMLTABLE, the XQuery engine...)

As a curiosity, all this quest for optimization of query came when - after a change - the performance of the query went from 5 seconds to 90 seconds. Things went south when I added a * in select it the list instead of referring columns with their names. So it doesn't seem a good idea to use * with a high column number xmltable

Perhaps, but cannot say. These questions depend on many parameters and environment settings. It could be a connection problem or... or...

It's one of the reasons why we need the version of database for you give a better answer...

Published by: Marco Gralike June 8, 2011 11:17

Tags: Database

Similar Questions

  • My computer is not connected to the internet for more than 2 minutes both

    my computer is not connected to the internet more than 2 minutes at a time

    Hi Ronda,

    Thanks for choosing the Microsoft Community forums.

    I see that the computer is not connected to the internet for more than 2 minutes on Windows 7.

    To help you better, please answer this question.

    Did you do changes on the computer before the show?

    I suggest you follow the provided methods to solve the problem.

    Method 1:


    Please see the knowledge base article:
    How to troubleshoot network connectivity problems in Internet Explorer

    http://support.Microsoft.com/kb/936211/

    Method 2:

    You can make sure to uncheck the following option in the network adapter properties in Device Manager.


    "Allow the computer to turn off this device to save power".
    You can see the steps
    a. Click Start, the Device Manager in the area start search, type and then click on Device Manager in the list programs.
    b. If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    c. in the Device Manager dialog box, expand network adapter, click the network adapter and then click Properties.
    d. in the network adapter properties dialog box, click the power management tab. The allow the computer to turn off this device to save uncheck box appears

    Method 3: Problems of Wi - Fi network and

    http://Windows.Microsoft.com/en-us/Windows/network-connection-problem-help#network-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    If you need help with the Windows operating system, just tell me and we will be happy to help you.

  • WIFI problem, Toshiba Satellite A665 internet connection. Lately when I try to connect to the internet, for the first minute or so it says "no internet connection".

    Hi all

    I had problems with my Toshiba Satellite A665 to internet connection. Lately when I try to connect to the internet, for the first minute or so it says 'No internet connection' (or something similar). Basically, he has the yellow warning triangle. Sometimes I can open the browser and search normally, but other times - and this happens more often it won't let me use my browser. When I have not fix the problem, he said that the DNS server is not responding. The problem is this same error happens all. unique. time. and the other computers in the House connect to the internet just fine. I called TWC and what I get on their part, it is "there no reported outages in your area. Useful, right? Tends to be gnawed by the use of Netflix and Hulu Plus, but this has never kept internet bandwidth to work in the past. What is going on? I'm so tired of having to go all the way down the stairs to reset the router every hour (on a good day) to get the computer to connect to the internet.
    I contacted Toshiba and they say that all the drivers on your computer are up to date and nothing is broken. I have also not downloaded or installed anything on my computer.

    If the reset of the router fixes the problem you should probably watch that as the culprit. Check the software/firmware for the router and see if you can borrow to someone router to test.

    I hope this helps.

  • must my computer be connected to the internet for the development of work?

    must my computer be connected to the internet for the development of work?

    Hello

    Yes, because it updates your machine:

    Updates that help protect against performance problems future system by updating the PC with the Windows then in force, the BIOS firmware and software updates for security

    Source: http://www.hp.com/sbso/services/pc-tune-up-pro-datasheet.pdf

    Kind regards.

  • I ' v read everywhere on the internet for the export parameters decent for mpg but can't find. Help, please.

    Hai!

    I searched for parameters of export good to use as I export my mpg files in adobe cs4 Prime Minister

    But all my results are so crapy!

    I can see that they are good at first, but after export, they are as bad as if I would use windows movie maker.

    I found that uncompressed AVI gives only the sound, no images.

    Compressed AVI gives this look bad.

    Animation of QT gives as bad.

    MP4 got a resolution max 340 x 240, so we do not even gona dislikes this one...

    My movies are in native MOD files. I convert 'em by simply changing the extension to mpg

    720 x 576 resolution

    25 fps

    Audio compressed 48 k Hz

    More info needed?

    Thank you very much for helping me, I really looked at much discussion and other things

    on the internet for a solution, but I couldn't.

    It's really urgent, the film MUST be done in 2 days. Otherwise I have a F

    What settings do you have now? Screenshots of the MPEG dialog screens will give the full info.

    Good luck

    Hunt

  • Cannot connect printer to the internet for instant ink service

    Installed Flash cartridges for the first time to my printer Officejet Pro 8610. The printer prints very well, but it is not connected to the internet by message on the printer screen. I checked the connection to the wireless router and it is connected correctly. I can also print from my remote legacy, iPhone, iPad, etc. "When I try to connect to the internet the printer, I get the following message appears on the printer screen.

    "Update conflict

    Web services and the HP printing software are updated on the computer or the built-in webserver (EWS). Wait for the update to finish and then try again. »

    When I go on the 'connected' site, it shows the registered pronter but it shows that the printer is "offline". When I try to update, nothing happens.

    Thank you very much. Worked the first time.

    Steve Raimondi

    happytohelp01 wrote:

    Hi @sraimondi,

    Welcome to the Forums of HP's Support.  I see that you get an error message of connection on your printer Officejet 8610.

    Please define Manual of the printer an IP address manually and DNS servers.  I've included a link to another post which has the steps with screenshots on how to do it.

    Please let me know the results.

  • How long should a computer be connected to the internet for activity at work?

    I have the laptop of my son with a nonadministrator account set up in family safety.  My son rarely connected to internet (no wireless).  When it connects, it's usually to print her homework.  I know it's a network activity, but very little.  Family safety always reports that there is no activity (web, application, etc.).  I tested his account and I know that it works correctly.  My hunch is that it is not stay connected long enough for that follow-up activity to work right.  Please notify.  I have a similar situation with my daughter, but she spends a little more time on the internet.  His reports seem to be more accurate than my son.

    Hi JTB_GP,

    Security for the family needs a consistent internet connection to make it work properly. The parental control client relies heavily on this so that the settings of the site and the activity on the computer are sent to both ends. Since your son is rarely connected to internet, settings and information from both ends cannot be synchronized properly. We are unable to determine how long you must be connected to internet for the parental controls work properly.

    Thank you!

  • Unable to download bejewelled2 on the internet for Windows 7

    I did it all wrong, so I have to do more. I have windows 7 and I am trying to download bejewelled2 of the internet, not from a cd-rom, it begins as it will work, but then it stops. There is a message that says if the download does not start in a short time, click "here".  Clicking on fact NOTHING of GOOD.   I tried 4 times since 10:00 CST, and everything that I have whenever was the installation of bejewelled2.   I'm a terrible dilemma.

    * original title - mary ward betturwythayge Email removed for privacy

    Hibetturwythayge,

    1. from which site you download the game?

    2. what browser you use to download the game?

    3. did you of recent changes on the computer?

    4. you receive an error message?

    It seems that there is a problem on the Web site that you are unable to download the game.

    You can try with another Web site if available to download the game.

    If you use Internet Explore to download the game, then I suggest that you reset the settings of the browser and try to download the game.

    For more information please visit the link below.

    How to reset Internet Explorer settings

    http://support.Microsoft.com/kb/923737

    Important: Reset Internet explore its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What are the drivers, I need to connect to the internet for a GT5432 of operating Windows XP and not Vista?

    I asked before, but try to reformulate my question. In my opinion, it miss a driver I need or have bad installed. (of the re - install after a storm)

    Charter, my I, said that there is a problem with my drivers or the Ethernet connection. I installed a new Ethernet connection-SMC1244TX. Still no connection.  I called SMC customer support number - they me Charter connected - which gave me the number to the catwalk, who want to $99-149 to ask a question because it is not under warranty, because someone changed the Vista to Windows XP, I thought I found the download for the correct drivers, but when I put my flash drive on GT5432 - I was not able to get the files-now I can't locate the download again.

    So what are the real drivers that I need on the GT 5432 operating Windows XP so you can connect to the internet?

    I just skimmed the old thread. It's too long. I think you should have stayed there.
    This has probably already been given to you in the old net but that's...
    Go to http://www.smc.com/index.cfm?event=downloads.doSearchCriteria&localeCode=EN_USA&productCategory=9&modelNumber=1537&partNumber=0&downloadType=1&knowsPartNumber=false and download the driver. You will need your card, part number. He also says it's a SMC1244TX-1. Don't know if it's the same thing as what you have.

    I can offer help any more than that. If you need additional help, go to the old thread.

  • Unable to browse the internet for the VPN (ASA5505 running 8.3)

    We have improved our ASA 5505 to 8.3 firmware image (2) and we have a working VPN configuration (customer VPN in Windows can connect and browse the network of the company as well as their local networks [split tunnel seems to work in this regard]).  However, some time connected they are unable to also browse the internet.  In our configuration of 8.2 (1) we have done 'something' to allow remote users to browse the internet at the same time, but apparently this is not transferred in the upgrade.

    I'm sure it's a simple nat our order routing, but it can't know.  I've gotta hit the road now but will post our config this afternoon if no one knows the "secret" to do.  Ideally, internet traffic to remote users out of their internet connection and not be achieved through the office.  We understand the risks associated with it.

    Hi Scott,.

    To the best of my knowledge, I don't think that l2tp over IPSec supports split tunneling. If you use the Cisco VPN client, you should be able to get this working.

    What we can do in this case is to set up turn on the SAA for these vpn clients. Please add the commands to run below:

    permit same-security-traffic intra-interface

    network of the NETWORK_OBJ_10.0.0.0_27 object

    dynamic NAT interface (outdoors, outdoor)

    Let me know if it helps!

    See you soon,.

    Assia

  • Bought LR6 DVD but the installer does not connect to the internet for I can register it.  I downloaded the trial version to work around this problem, but I can't get the program to start.  I get the same message that I should connect to the internet and c

    Purchase DVD LR6 Adorama, but Setup does not connect to the internet so that I can record.  Internet works fine.   I have Adobe account.

    I went to Safari to Chrome and downloaded the trial version in the hope to bypass the DVD version, but I can't get the program to start.    I get the same message that I should connect to the internet and connect.  It seems impossible after 3 hours.  Spent an hour chatting with the support of the India.

    Also remove the cookie file and reg Lightroom then enter the serial number and check.

    Windows:

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    programdata %

    It will open the ProgramData folder. inside locate Adobe folder.

    Go to Adobe > Lightroom.

    Open Lightroom and delete all the files inside,

    Then run LR 6 and enter the serial number,

    Mac:

    (1) right-click on the icon in the Finder, then select the 'Go - To Folder' option.
    (2) you will get a text box, type in the following command and then press the 'return '. (" Do not miss ~ symbol" "')

    ~/Library

    It will open the folder of the user's library.

    (3) then navigate to Application Support > Adobe > Lightroom.

    Open Lightroom and delete all the files inside,

    Then run LR 6 and enter the serial number,

  • Insoluble internal e-mail to the internet for the resolution

    Hey everybody,

    In the middle of a complex disorder and hoping that experts can chime. Here's the scenario;

    You have a company that has split into two separate companies; ABC.com and ABC.com (Yes, they stay that way for a few months)

    We need to split the exchange into two servers. Half of the company, the other server exch will have the other half.

    Both exch servers can be connected to each other. Nor can know that the other exists.

    E-mail address is removed from the privacy * lives on one side, * address email is removed from the privacy * lives on the other side.

    An external mail spam filter receives @abc.com mx traffic and manages the routing between the two internall

    John must send Mary, but cannot because the server exch that John lives in don't see Mary because she lives on another exch abc.com server who knows not of John.

    So here's the question;

    Exch of John send email Mary on the Internet after realizing he cannot solve Mary internally?

    Exchange 2010 SP2

    Hello

    Your Question is beyond the scope of this community.

    Kindly forward your Question in the TechNet Forums of Exchange Server.

    https://social.technet.Microsoft.com/forums/Exchange/en-us/home?category=ExchangeServer

    See you soon

  • How to start the WCZ to return control of the internet for windows

    When you try to connect to the internet, I get a message saying that Windows cannot configure this wireless... and he told me to start the Wirless Zerio Configuration (WZC)

    I need to know how to do this?

    mdember,

    Try to read...

    How can I disable wireless configuration and enable Windows XP Wireless Auto Configuration services

    Rick

  • priority of the Internet for each application

    priority of the Internet/network for each application as between ie8, firefox and a download manager like utorrent, igetter, orbit downloader

    Hi, Thibaut,.

    There are some non-Microsoft programs, you can download from the Internet and use them to set the priority for each application.

    Note: Using non-Microsoft program is at your own risk.

    For more information on the definition of priority network, see the following article:
    See How to change the binding order of the network in Windows XP cards

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't get rid of Babylon on Firefox, I did all the steps I found on the internet, for example by deleting them as "add on" deleting files on hard drive, I found google as home page, but when the search always rises with Babylon.

    Babylon is not displayed as a plugin and all files are removed on the hard drive but need a place to "reappear". I'll have to use the browser in the meantime. I would go back to firefox. Thank you.

    See:

Maybe you are looking for

  • IPhone 5 no service when

    Hi, my iphone 5 loser signal everytime I lock TI-display switch turned off. After the minute signal will seeded bar to bar no service... There's like it until I unlock TI-turn on the screen. Now, I upgraded ios9 to ios 10, no change. I also re-pop an

  • From updateing to 8.1 WIndows printer problems

    Until I updated to Windows 8.1 other months everything was going well on my new laptop, then I went to something of my HP Photosmart B109n scan and it did not work because the pilot was now missing and the application that replace the HP printer driv

  • Question about importing videos in the media library.

    Hi, I managed to record some videos (coming from a VCR) with media Center. I would like to handle videos with software and then burn it to a DVD. My problem is that I need to be able to view the video with Windows Media Player - is it possible to imp

  • How to turn off predictive text

    How can I stop predictive text on my iMac.  It is very annoying to have to change what the computer thinks I mean.

  • have a phone pantech Impact model, how can I download photos from the thing on my computer... what software will do?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem