XML DB when you have a lot of XSDs....

My client has a data situation where we have a lot of XSD schemas (and multiple versions of each XSD) which describe data that needs to be loaded.
If I wanted to use schema-based / structured-storage....Can the same xmltype column be mapped to multiple XSDs? Or would I have to create a different Oracle xmltype column for every unique XSD that I have?
We have approximately 100 different XSD schemas and up to 7 versions of each schema. If I have to map each xmltype column to a unique schema, then that would require up to 700 different xmltype columns.
Is there a better way?

From reading the documentation "XML DB Developer Guide" (chap 6), it depends on the storage type you assign your schema when you register it. By defaults, it's Object-Relational which must use the same schema for all rows of a XMLType table or column, but if you use Binary XML storage, and specify ANYSCHEMA, then in theory you can have rows using different schemas, as long as the schemas as registered with XML DB. But apparently, you then can't restrict which set of schemas to use, any document confirming to any registered schema can be inserted. Maybe a restriction on which subset of schemas are "valid" can be implemented via triggers, but I don't know.
Note that I "just" read this in the doc. I have no practical experience with this yet. --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • What is the best format for DVD studio Pro when you have a lot of content?

    I have to make a SD DVD and I have a lot of content trying to fit as much as possible on one DVD yet still maintain the quality. I made a beautiful h.264 to find out that it isn't compatible. Suggestions..
    Message was edited by: jennafwd

    How long is your program? How many menus do you plan to have?
    Have you used one of the DVD presets in Compressor to create the needed .m2v video file and AC3 audio file for use in DVD-SP? If so, which preset? If you customized a preset, what bit rate settings did you use?
    -DH

  • When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

  • How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    Hi j,
    I don't know if this will work, but I'd try logging in to an admin account, going to your main library (not user library), opening it, opening Application Support, selecting iPhoto, hold down the command key and press i, click on the lock in the lower left, entering the password and making sure you have Read & Write privileges for System and Admin.

  • I did all the steps to restore my password when you have never synched to a computer before.  I got to step 4 where my ipod told me to connect to itunes but itunes did not respond. what do I do now?

    I am trying to restore my password.  I followed the steps for doing so when you have never synched the ipod to your computer. I got so far as the 4th step when my ipod told me to connect to itunes.  The last step is itunes is suppose alert me that it senses a device going through recovery mode.  It never did that.  I also just downloaded the latest itunes so what do I do now?  Im only 10 and find this really confusing.  But Im trying

    Place the iPod in recovery mode and restore via iTunes on your computer. For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • HT201359 When you have been charged twice for same item, how do you get your money back?

    When you have been charged twice for same item, how do you get your money back?

    Morning Domangere,
    Thanks for using Apple Support Communities.
    Following this article refund will be an option.
    For more information on this, take a look at this article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Best of luck,
    Mario

  • What index types do you suggest when you have...

    If you have tables A, B, C and they are all partitioned range by created_date where that is a timestamp
    If nearly all queries can only specify created_date on C only because the B's that belong to A and the C's that belong to B can all be in different partitions relative to their children. So if you have weekly partitions for A, B, C the C's the belong to B and the B's the belong to A can be in different weeks partitions. Now A, B and C all use surrogate keys and there's an index on all of them. You have one to many b/w A->B and one to many b/w B->C where any C has a 1 B parent and that B parent can have one and only one A parent.
    When doing the join you end up doing something like
    select * from A, B, C
    where A.a_id = B.a_id
    and B.b_id = C.b_id
    and C.created_date >sysdate - 1
    The problem is that the indexes on A and B are all global non partitioned as are the indexes on C
    Right now we get partition elimination on C on a good day but when the optimizer decides go to A first we get none. Whenever the optimizer goes to A it often does partition range all scans because there is no partition key on A or B
    used in the query.
    How can we get the query plan to reliably use C first so that partition elimination is always guaranteed.
    Currently our thinking is to use /*+ ORDERED */ where the from is C, B, A
    Unfortunately the programs cannot introduce bind variables so where we can use Baselines to manage the plan for a given sql_id the only way we can do this is to use CURSOR_SHARING=force via login trigger on their session. This forces the
    introduction of bind variables in to the query but Their queries are formed dynamically from a GUI screen that optionally can provide different parameters. So not only do you have N's items in an IN clause to worry about you also have other optional parameters that can show up in the query depending on whether they are used or not.
    Q. Has anybody solved this problem by wrapping the query in a procedure so that you can pin the plan to the procedure where all that differs in the procedure is how the arguments are specified? This seems tedius to me because the procedure would have to take comma separate lists of values whenever you want to pass the values to be used in an IN clause.
    Only if you wrap a query that can have optional parameters and N values for any parameter can you manage the plan for that procedure thru a baseline otherwise you simply end up with too many plans to manage because of the different combinations of the size of the IN clauses and the optional parameters that can be specified.
    When joining b/w A, B, C etc what indexes should be partitioned?
    The typical query uses column values on A to limit the C's associated with the B's that are associated with the A's that match those columns. Those fields on A have global indexes so often when the plan is one where it starts at A first and works it's way down it has to consider far too many rows from A that are unrelated to the eventual partition narrowed to from the C.created_date predicate.
    Edited by: steffi on Mar 8, 2011 8:56 PM
    Edited by: steffi on Mar 8, 2011 8:57 PM
    Edited by: steffi on Mar 8, 2011 8:58 PM

    Dear Steffi,
    The problem is that the indexes on A and B are all global non partitioned as are the indexes on CWhy are you saying that this is a problem?
    What are the definition of your primary index on A, B, and C?
    You can eventually add the partition key (created_date) to those primary keys and hence locally partition their corresponding PK indexes
    As far as you wrote that there is no relation ship between A.created_date, B.created_date a and C.created_date, then I beleive you can't benefit from the partition wise join because in such case you need to join A,B and C on the same partition key which is created_date
    Currently our thinking is to use /*+ ORDERED */ where the from is C, B, AUsing /*+ ORDERED */ is not a guarantee that the Oracle Optimiser will obey this hint.
    Use the hint /*+ Leading(C) */ instaedYou know that when you wrap your query into a static PL/SQL procedure you don't have to care then about the use bind variable. It will be used;
    that is how static PL/SQL wroks. But when you are using dynamic sql into this PL/SQL procedure you need in this case to take care about using bind variable.
    The auto-binding trick which is represented by the cursor_sharing=force (or similar) is not highly recommended as far as there exist side effects like the one that cames to my mind now which is when you have function based indexes based on litteral (for example a function based index like substr(a,2,4)) will be rewritten, when cursor_sharing is set to force, to be substr(a, :SYS_B0, :SYS_B1) which will not mach your original query and will not use the function based index anymore
    Best Regards
    Mohamed Houri

  • For me, a time capsule is even safe when you have whatter damage op fire in your house. Am I wrong or is it just an additional HD like there are so maney with the only advantage that it goes automatically via your wifi for apple devices?

    For me, a time capsule is even safe when you have whatter damage op fire in your house. Am I wrong or is it just an additional HD like there are so maney with the only advantage that it goes automatically via your wifi for apple devices?

    Jloe,
    As I have posted before, You, and others having issues with Verizon would be much better off if you complained to the FCC and FTC as well as your Senators and Congressmen.  We, as individuals, have such small voices - use them where they might do the most good.
    Also, don't assume that Verizon doesn't monitor these postings, they actively do & sometimes contact those that post complaints.
    Sorry for your problems.  GC

  • This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."

    This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."
    What did I do wrong?  I have been downloading all my photos into this same library since Janurary with no problems.

    What version of Mac OS X?
    Click the black Apple icon on the top left of the screen and select About This Mac. The next screen will show the information.

  • Bug: when you have two or more reminder pop-ups on BB10, you can't edit 2 or more of them because the second and beyond are lost...

    I notice that when you have two or more reminder pop-ups on BB10 (tasks, calendar, etc.), you can't edit 2 or more of these because the second and beyond get lost and will never pop-up again.  

    Hey JVanB,
    Thank you for your feedback.
    To better understand your issue, for example If you have two reminders and select 'View Event Details' on the 1st reminder,  does the 2st reminder popup before the Details of the1st reminder displays? 
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • My computer keeps freezing on me every 15 min do i have a virus I was told when you have mozilla firefox you don't need virus protection is that true and how can I scan if I have a virus and now do i get rid of it?

    # Question
    My computer keeps freezing on me every 15 min do i have a virus I was told when you have mozilla firefox you don't need virus protection is that true and how can I scan if I have a virus and now do i get rid of it? edit

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r32
    # Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • TS2755 how do I see which apps are downloaded from a certain device when you have multiple devices

    how do I see which apps are downloaded from a certain device when you have multiple devices

    you can't.

  • What is the main benefit of  buying an ipad ? what can you actually do in 16, 32 0r 64 gb when you have 510 gb laptop with you ?

    What is the main benefit of  buying an ipad ? what can you actually do in 16, 32 0r 64 gb when you have 510 gb laptop with you ?

    For me? the advantage of an ipad over a laptop....instant on, instant off, thin and portable. Check your e-mail and put it down, not wait 5 minutes to boot, check your mail, shut it down.
    Is it as fully functional as a laptop? no. Not meant to be. What it lacks in functionality it makes up for in portability.
    Is a necessity? no. But quite handy.

  • HT1296 How do you sync iphone and PC when you have two different iphones/users?

    How do you sync iphone and PC when you have two different iphones/users in house? I just tried to sync my iphone and cancelled sync becauase I saw it was updating my phone with my husband's apps! How do I make it so that sync can distinguish between my and my husband's phone?

    I sync two iPhones and an iPad with one iTunes library on the same computer and each device has different content. Each device has its own sync preferences with iTunes. You can transfer the same music and apps to each device or different music and apps.
    Are you sharing the same Apple ID or iTunes account?

  • When trying to use find my Iphone  says off line , suggestion is to switch on and off airplane mode , so are you saying when you have your phone nicked you should leave a note for the thief to do this so we can trace him?

    when trying to use find my Iphone  says off line , suggestion is to switch on and off airplane mode , so are you saying when you have your phone nicked you should leave a note for the thief to do this so we can trace him?

    Ivorbiggin wrote:
    so are you saying when you have your phone nicked you should leave a note for the thief to do this so we can trace him?
    Yes.

Maybe you are looking for

  • How do I fix the "iTunes stopped working" error?

    Everytime I restore my iphone i get this .... The title says it all.

  • Configuration of internal PI 7.0 communications to use https

    I am looking for some clear documentation on how to do this.  I have read through the documentation discussing this but it does not specifically tell you the steps.  This is the type of verbiage I have found: "The components of a process integration

  • Cooling fan

    have a hp windows 7 laptop and when i turn it on, it states the fan is not working correctly, then shuts down after 15 seconds or continues to windows if you press enter. I cleaned all the air vent with compressed air and still get same mesage when i

  • Wifi dosen't work.

    Wifi dosen't work. The icon is gray and we can't switch it on. We have deleted all netword settings, but still it dosen't work

  • Data Guard replication queston.

    I'm just curious about how things work when creating a physical standby database with grid control. I would like to know if during the creation process during the transfer of database files what happens with the current changes to the database. After