Oracle Database VM Template - too many issues

Just wanted to offer my experience with the Oracle VM Template, specifically for 64-bit Oracle Database 11g (11.1). We decided to try out Oracle VM and the templates on a new server, we thought the promise of the templates could drastically decrease our time spent installing and setting up new boxes.
Setting up the template and getting it running was a breeze, although Oracle could have better documented things. Some passwords and important steps were left out that I had to figure out after the fact.
The real nightmare is the Oracle database installation it comes with. I guess they call this an OEM installation - but it's complete crap. Nothing really works like it should, and I found it to be a lost-cause trying to get it to work after awhile. Enterprise Manager comes disabled - what kind of database installation is this without enterprise manager? I guess they think everyone is using Grid Control - although I'm not even convinced Grid Control would have worked with all the issues going on.
I spent a day trying configure the installation to get things working, then realized packages were missing, needed for anything other than the database engine to run, due to the stripped version of oracle linux the template uses.
None of this was documented or explained at all. There's nothing on metalink..pretty much nothing. If you want a simple database that you can connect to and run sql queries through sql plus, this might just work. But it's far from a typical production setup. I would steer clear of this.

Hi there,
VPD (Virtual Private Database) is a feature of the Oracle Enterprise Edition:
http://www.oracle.com/technology/deploy/security/database-security/virtual-private-database/index.html
It's in the dbms_rls package.
HTH, Peter

Similar Messages

  • ITunes 9/iPod OS 3.1.1 combo has too many issues/bugs

    After upgrading to iTunes 9 and Touch to 3.1.1 I am having too many issues:
    iPOD TOUCH:
    1. Everytime I launch music, it displays "upgrading library" message and takes eons (5 minutes) to show the library
    2. Playlists don't work: most playlists show tracks in random order not matching iTunes, and also with total number of tracks different from iTunes. This had rendered most playlist as useless. Wondering when Apple will fix it.
    iTUNES:
    1. Much hyped arranging of applications through iTunes doesn't work. I took whole lot of time arranging the applications in iTunes virtual desktop, but after syncing I found entire arrangement lost both in iTunes and in Touch. I did it many times, but with the same unwanted result.
    Any help?

    That's what i used to tell people. but I up(down)graded to version 9 itunes, and version 3.1.1 for the ipod touch and now i can't restore the ipod because itunes can't connect to the software update server. why do i want to restore the ipod touch? mostly because every extra app added refuses to work! nothing launches. even apple's own remote app can't push through this mess the updates have created.
    I'm on a mac. 10.5.8 everything used to work just fine before these updates. What hurts even more is that i actually had to pay for the touch 3.1.1 update as well, and now i've got a non-functioning ipod. cheers apple. How about they release an update to reverse the wonderful job this latest version has performed... Or at least a single company communication as to what is wrong, and how to fix it, rather than a dozen different suggestions in forums and non-existent support documentation!
    rant now over. please just fix it apple.

  • Oracle Database upgrade to 11G (Host_Command Issues)

    Sorry I'm posting this again. Original post in Database - Upgrade. I'm not getting a lot of clicks in that category
    We recently upgraded to Oracle 11g (Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production). Our PL/SQL release: (PL/SQL Release 11.2.0.2.0 - Production). We use a lot of host commands inside our PL/SQL stored procedures. One of these included fetching data from an external server and pushing the data into Oracle Tables.
    Most of this process is running fine, except the execution never completes. There is no issue data wise. It's just that the Host_command doesn't receive the completion status and seems to be running even though there's nothing going on in the background.
    The Oracle e-business suite's concurrent program based on this stored proc also never completes, though it doesn't do anything in the background. For testing purpose, our DBA used 2 insert statements one before and one after the host_command. The insert before the host_command worked but not the one after. Please help! This is happening after we upgraded to 11g 3 weeks ago!
    Thanks, Naveen Gagadam.

    Pl do not post duplicates - Upgrade to 11g, Host Command Inside Stored Proc doesn't end.
    I have moved your duplicate post to the EBS forums
    Srini

  • [database design]  the "too many" number of users of one instance!!

    Good morning everyone!!
    I have a question about the number of users of one db
    instance, "possible problems" caused by too many users,
    and "pros and cons" of this case.
    Now, the company I work for is considering centralizing
    150 db servers of 150 sites. 150 chained-stores have
    their own db instance.
    Here is the structure of db instance after the
    centralization.
    1. Centralized instance has each user per site(150
    sites), for example, site001, site002, …site00n, …
    site150
    2. Each user has its own 250 tables, thus the db
    instance become to have 150 users and 150*250 tables.
    3. Each user has almost the same table schema, not
    exactly. There are a little bit of differences among
    the business rules of each sites.
    4. the version of centralized db instance is "oracle9i".
    Theoretically, it seems like there is no problem, but I
    have not experienced the db instance like this, which
    has "too many" users of 150 users.
    In terms of every aspect such as "performance/tuning",
    "system management", or "something else", I would like
    to hear what could be "the pros and cons" of this
    structure.
    Assuming that there are possible critical problems caused
    by too many users, what could be the alternative choice?
    I will be waiting to hear your experience. Every response
    will be appreciated, even if it is not about what I asked.
    Thanks for your interest in advance.
    Have a nice day.
    Ho from Japan

    Have a look to following AskTom threads:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:4685256847630125933::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:31263903816550
    http://asktom.oracle.com/pls/ask/f?p=4950:8:4685256847630125933::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:63447102315094

  • Oracle Database Express Edition 10g Download Issue

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!
    Thanks,
    Jason

    user13176791 wrote:
    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!There is a forum dedicated to Express Edition, in which we have discussed a lot of the variants in failure that causes this problem. At the top of the page you are reading, there should be links like "Forum Home » Database » Database - General". The middle one will get you to a list of all Oracle forums and after the first 5, the rest are alphabetical - XE is pretty far down that page.
    (You might also note that there is an Installation forum next to this one. That might be better suited to the task than the 'catch-all' general forum.)
    The most common issues are related to not preparing the operating system properly. For example, if you use a laptop you probably use DHCP to get a different address from the various sites you connect to. However, Oracle works as a server and depends on having a well known address. In fact, it tends to bind the IP address at install into it's configuration files. Therefore it is critical to use the loopback adapter in such situations.
    Other issues are dependent on the actual OS into which you install. For example, Ubuntu (Linux) has very differnet install philosophy as Red Hat / Fedora, and requires a different install technique. Then again, on Windows, it is nearly impossible to install anything Oracle on a Windows 'Home' OS, and XE generally has not even been tested against Windows 7.
    Other common reasons include anti-virus; firewall; not having appropriate operating system level permissions; in Windows - using a Domain-based userid instead of a local administrator; and just general finger issues.
    Express is considerably different in the install behaviour and runtime behaviour. For example. it uses RPM and MSI instead of Oracle Universal Installer. It does not include Java in the database, which limits a lot of functionality. And it uses the built-in PL/SQL Web Gateway instead of any external HTTP server. As a result, it can be quite a shock to mmany of the regular inhabitants in this forum.
    I strongly encourage reading the documentation for XE. In particular, reading the install doc. Start at http://tahiti.oracle.com and look for the Oracle Database 10g Release 2 Express Edition documentation. (Just below the Oracle Database 10g Release 2 documentation.)
    G'luk

  • How to Edit an Existing Oracle Database 11g Template

    I fat fingered a file specification in an Oracle 11g database creation template on Solaris 10. Is there a way to edit the template without deleting it and starting over?
    Also, is there a way to import an existing template into a different $ORACLE_HOME?

    Actually, I have both in mine, but the .dbt files I have are the ones that I saved (at the end of using the dbca when it ask you to save your template and give it a file name). I think the .dbt stands for database template.
    e.g., (this is Oracle 11.1)
    $ <none> /oracle/product/11.1/assistants/dbca/templates>ls -lastr
    total 205948
      12 -rw-r--r--    1 oracle   dba           11653 Jun 21 2007  New_Database.dbt
       8 -rw-r--r--    1 oracle   dba            5286 Sep 26 2008  Data_Warehouse.dbc
       8 -rw-r--r--    1 oracle   dba            5166 Sep 26 2008  General_Purpose.dbc
    183860 -rwxr-xr-x    1 oracle   dba       188268544 Oct 03 2008  Seed_Database.dfb*
    1128 -rwxr-xr-x    1 oracle   dba         1155072 Oct 04 2008  example.dmp*
    20728 -rwxr-xr-x    1 oracle   dba        21225472 Oct 04 2008  example01.dfb*
       0 drwxr-xr-x    6 oracle   dba             256 Jul 23 15:48 ../
      20 -rw-r-----    1 oracle   dba           17237 Aug 19 14:40 psprod.dbt
      20 -rw-r-----    1 oracle   dba           17339 Sep 24 09:52 pspay.dbt
      20 -rw-r-----    1 oracle   dba           17338 Oct 26 15:52 psben.dbt
      20 -rw-r-----    1 oracle   dba           17251 Oct 27 09:21 pscmp.dbt
      20 -rw-r-----    1 oracle   dba           17232 Oct 27 13:07 psrec.dbt
      20 -rw-r-----    1 oracle   dba           17232 Oct 27 16:12 psdev.dbt
      20 -rw-r-----    1 oracle   dba           17251 Oct 28 09:48 psdmo.dbt
      20 -rw-r-----    1 oracle   dba           17232 Oct 28 20:31 pssrc.dbt
       4 drwxr-xr-x    2 oracle   dba            4096 Oct 28 20:31 ./
      20 -rw-r-----    1 oracle   dba           17239 Apr 11 2026  pssrc_20090908.dbt
      20 -rw-r-----    1 oracle   dba           17242 Apr 11 2026  pstst_20090908.dbt

  • SL Upgrade not ready for prime time - too many issues for no real value

    I am thinking the upgrade to SL was a mistake -
    On a macbook pro that was running acceptable. Decided to jump on the SL bandwagon....and I am finding reduced battery charge, a service the battery icon, battery times that jump up and down by 20-30 min in the status bar, system shut downs, loss of range on AE that we use for airtunes and when it connects, itunes cut outs as the device is 10 ft away!. Add in that both Rapidweaver and Quickboks for Mac dont run, many keychain errors, system crashes and al this for ..... for no real benefit!
    On bright side I see is that I'm glad it was only $9.95 on the up to date program - $29 would have been a waste of that extra $20!
    Hurry up Microsoft, er, Apple and get a fix out quickly!
    next time, will wait till after the next bug fix as this seems to happen all the time!

    I have to admit some confusion - you have way too much to keep backing up such that Time Machine wouldn't work? That seems the exact reason to use Time Machine - constant, automatic updates!
    Did you try holding the option key? Like I said, the SL install/hard drive should have no effect on your ability to boot into Leopard, especially at this stage of the boot process. If you Mac Pro can't see your Leopard install at this stage, that suggest some hardware error - SL wouldn't even have booted at this point! But with Time Machine, the 200 gigs of data wouldn't be a problem - it could be pick what you needed fairly easily and you could narrow the data as needed.
    I'm not sure what your issue is with "being testers" for Apple - certainly you knew that going into this OS upgrade, as you stated with Leopard. There are going to be issues, sometimes serious ones, with new OS upgrades - the vast majority of people might have no issues, but it's not impossible that you will. Certainly in my case, none of my day to day programs have crashed - even Photoshop CS opens like normal! Maybe it's because I did an archive and install with Leopard before my SL install, but I'm certainly not experiencing your issues.
    If you don't want to Time Machine, then the easiest thing to do would be to erase the current SL install, clone the Leopard install to the other partition, and then try the upgrade holding the "C" key to boot from the DVD. But it looks like you're not really looking for help anymore. Hope all is well, nonetheless!

  • Um... Ok.... Mebbe it's just ME!...... too many issues to even breathe!

    Drat, Drat, and DOUBLE DRAT!
    Ok, so, yesterday, I went to the T-Mobile store to return the loaner phone (and be refunded the $53.01 i had to pay to leave with it) and the WebConnect stick. I also called T-Mobile to be sure of what I had to return of my OLD 8520.
    I did ask a couple of questions of the agent at the store... things like where can I get a car charger... how do I use Opera as my browser.... stuff like that.
    I was a happy camper.... but I also didn't expect it to last for forever (forever meaning some length of time beyond 3 months)
    I set down to use my computer for what I use my computer for.
    I went to a website for research, and I wanted to show someone else what I had found. Suddenly, the pages didn't move like I wanted. I went to another web site, and I was disconnected.
    I look at the phone .. the phone that I use a a modem, and have done so since I got my first BlackBerry ... the screen said SOS.
    I waited a while and it went back to EDGE.
    (I'll try to make this brief)
    I called T-Mobile who explained that there were not outages in my area, but there could be a new one that wasn't on her screen yet.
    Ok, so, while we're at it, my DTM? Well, everytime I start it, it goes to the Application Loader. How do I make it so it doesn't do that (it never used to do that)
    I was sent over to a RIM support person, who, in short, had me to uninstall the DTM from my computer and re-install it. (She annoyed me immensely. I wish the people on the phone would LISTEN, rather than sticking to some script)
    Ok... I'm ok now that my DTM is ok.
    I wake up early this morning and I'm playing with my phone. I mostly wanted to get my bookmarks in on Opera Mini. (Oh, I loaded the Opera because I went to a website with the Internet Explorer, and it said that I had an outdated Browser)
    Well.. I've got RELOAD SOFTWARE 552 AGAIN!
    I've been this route.
    I do the Application Loader thing, only this time, it seems to work... until I get this
    I do have a password on my device. There was no place to input such information on my device, or on the DTM.
    I hit the retry, and some, more than 30 minutes later, I get the same thing. The second time, I choose Cancel.
    This is what I got
    So, the Application Loader thinks it's done it (?)
    I had to leave the house for an event at 9 am. Now, I'm about an hour from home with a car with a  bad fuel pump, I won't be leaving until late, and I have no phone (prayer, prayer, prayer)
    What is it? Is it me? I am seeing a pattern.
    Ok... I'm using DTM 5.0.0.8, which I downloaded from the TMobile website on 5/7/10
    My device is a BB 8520, which arrived to me on Monday, May 17 (it's White, if that matters)
    I have added programs, but ONLY from the BB App World....
    I have been using the Trial version of XM Radio, the regular versions of Pandora, Poynt, Drive Safe.ly, Score Mobile, I had a Police Scanner trail (but I didn't use it on Friday. I used that on Thursday). I have Shazam on my phone. I was playing Word Mole. Oh, and I got Opera Mini (not from the App World, though)
    All the software I've been using was through reputable sources, and all had OTHERS to use them, with no issues.
    Why do I keep getting this 'Reload Software 552'?
    Last I heard, this is a computer with telephony on it... so why can I ONLY use it as a phone (but not even that, today)
    I'm willing to say *I* am doing something wrong. I have never in my life heard of any one else having all these problems with anything, and most certainly, no one has ever (that I've heard) complained of a BlackBerry.
    After more than 16 BB8220 Handsets, and now this is my second BB 8520 within a month......
    What do I do?
    (I have no idea when I'll be able to read replies, but please do. I can find some where to power up my notebook)
    Thanks....
    I'm so drained... I really need a good cry.
    Pax,
    GFApryl
    Detroit

    (I wrote to a friend telling them my tale of woe... so why re-invent the wheel?)
    I've had more than 16 handsets since March 20, 2009. They were mostly
    BlackBerry 8220's (the Pearl Flip)
    I tried the 8120, which is a standard Pearl.... one was stolen from
    me.... and one I broke by putting my elbow through the glass. Still,
    that is an awful lot of headseats.
    On May 5th, the phone, the one I got when I said, 'this is the LAST
    time I'm going to try this. This has to work', they decided to send me
    a BlackBerry 8220 Red.... Yes, the ONLY difference is the color. Ok..
    Fine.
    I had that phone for *maybe* two weeks, when on May 5th, I get this
    error message 'Reload Software 552'. I tried that. Problem is, the
    phone is not even registering with the computer, so I CAN'T reload the
    software.
    After a bunch of techs had me on the phone, after more than 6 hours, I
    popped, and told them to send me another phone; a DIFFERENT phone,
    since this 8220 doesn't work! I hung up on that person and called back
    to Customer Service, and I went off on them, too, and they said they
    would send me another phone. (To keep me as a customer, I guess)
    That phone arrived to me on May 10. That is an 8520. Hmm.. An Ok
    phone. More memory  than my 8220, and it will run MapQuest! I set up
    that phone, and pack up my loaner phone to return it to T-Mobile. I
    ask them at the store what to do with the 8220. I was told it was mine
    to do with as I will.
    On Friday, May 14, I get error message Reload Software 552. This time,
    the computer WILL read  it, but it will only get so far and stop. It
    says that it can't initialize the phone.
    Saturday, I go to the store again, get another loaner and because one
    of the biggest disadvantages with the loaner is no internet access, i
    get a WebStick.
    Some where in here, I start to frequent the BB Support Forums. I see
    that a lot of people are having issues with the 8520. I know that I do
    not like it nearly as much as I liked my don't-work-for-**bleep** 8220 -
    the buttons are much smaller, there is no flip, it's just not as cute
    The replacement phone arrives about the 17th of May.
    I take the loaner phone back to the store, return the WebStick, and
    pack up the old phone to ship it off to BlackBerry.
    I get up on Saturday morning and I'm still putting my phone back in
    order.
    Reload Software 552.
    Ok... now, something is very wrong. You see, in all those other
    phones, I never had the same problem more than once. Reload Software
    552 on three DIFFERENT phones... hmm... Maybe it's me. It MUST be me.
    I go with no phone all day Saturday. All day Sunday. On Monday, I go
    to the T-Mobile store to ask for the loaner. "Sorry, we just got rid
    of our last one".
    Deep sigh. Not a big deal. Maybe I'm not meant to have a phone. I
    mean, I have TWO BlackBerry phones, and neither works. I have all the
    accessories and what-not, and I can't make a call to the police if I
    had my fingers on Jimmy Hoffa.
    I noticed on the BB Support Forum that two OTHER people reported on
    Saturday that they got Reload Software 552, and were not able to
    reload the software. We were all looking for back door ways to do the
    reload. We all were using Windows Vista, too.
    One person suggested putting the BlackBerry CD into the computer and
    with it in place, then try the reload.
    I decide to go to another T-Mobile store and ask, 'does any one here
    know anything about this Reload Software 552'. Well, turns out... no
    one did
    But Jay said he'd try.
    It took him about an hour, but he got my 8520 up and running again.
    Said he had to trick-out the computer.
    Well, if he can do the 8520.... why not just ASK if he can do the
    8220. Sure... and this only took him about 10 minutes.
    Lawdy!
    I called T-Mobile. They assured me that I can have BOTH phones. I
    don't need to turn anything in to them.
    I'm a happy camper, because I really do like the 8220 more.
    .... but today, I was running around with my cousin, and I pulled
    stuff out of my pocket and the phone hit the ground. The screen is
    broken.
    Now, I'm running Drive Safe.ly, so it will read my texts and emails to
    me. I can still make and receive calls... but I need to get this
    repaired. If T-Mobile says they will replace my phone if I pay the
    deductible, I'm kewl with that, too.. but dang, I feel so stupid.
    Still, until I do get it replaced, I can use the 8520.
    So I've got  phone service. And I will be writing another letter to T-
    Mobile: I should never have gone through so many phones if the techs
    would just take the time to REPAIR the phone!
    Pax,
    GFApryl
    Detroit

  • Too many issues with upgrading to OS6 for BB9700 - Going back to OS5

    I upgraded to os6 severay days ago. Here are the pros and cons (from a non technical perspective)
    PROS:
    * New look of the calendar and text .... easier on the eyes with different colors
    CONS:
    * Don't know why but after only a few days, I have to reset the BB 4 to 5 times today. It just locked up and I had to pull the battery.
    * THE KILLER - BB developer decided to force the browser to go to my company's network BES, instead of my cellphone carrier's 3G network. Because the company puts so much restraints and limits on accessing the internet from their network, so many websites are locked and off limit.
    In the past w OS5. I had 2 icons of browsers, one for the company's browser and one regular browser. I can go to the advanced options to direct the regular browser to go my cellphone carrier 3g network. It worked so well.
    Now with OS6, the developers force users to go through their company's BES network. That is crazy. I pay for the Blackberry and the monthly cell phone and internet data plan, and now I cannot use my phone /internet the way I choose .
    If the OS6's developers do not listen to users' complaints on this serious issues, then in the near future as my company allows us to access their email and outlook contacts via droid and Iphone, I will be the first to say good bye to Blackberry.
    How many users have the same problem as I?

    You are confusing RAM with hard drive space - you appear to have the standard amount of RAM (the memory a computer uses to run apps). 4 GB is fine, but considered a minimum - more would be better.
    As for the hard drive space (that is the space you have available on your hard drive to read/write): you need 8 GB minimum to install Mountain lion and, as a general rule, you should maintain a minimum of 10 - 15 GB of empty space at all times - more is better there as well. You can find out how much space you have by highlighting your hard drive icon (Macintosh HD icon on your desktop) and control click on it. In the popup window, choose Get Info. Then post the info showing such as Capacity, Used, and Available.
    FWIW, Mountain Lion will continue to show in your Purchases because it is available for you to download again should you need it. You obviously have it installed if it shows that you are running 10.8.3 - which, but the way, is not the latest version, so run Software Update: we are up to 10.8.5.

  • Ipad2 and Ipad3, cannot see Ipad2 user - worked ok for months, now broken. Like to know how to upgrade Ipad2 to IOS 5.1.1 (too many issues with IOS 6 - consider too risky)?

    I have been using Facetime successfully for months to communicate with my elderly mother in the UK (I am located in Canada)? Today we tried Facetime and we could hear each other but I could not see her. She could see me ok however.
    As I wasn't sure whether the problem was with my iPad or hers I made a FaceTime call to my brother-in-law in the UK, this call worked perfectly. I then tried a Factime call with a friend in Canada and it also worked fine.
    My mother could see herself in the small window so we know that her camera must be working.
    Here are the IOS versions for the four IOS devices used in these tests..
    My mothers iPad 2: IOS 4.3.5
    Brother-in-law's iPad 3: IOS 5.1.1
    Friends iPhone: IOS 6
    My iPad 3: IOS 5.1.1
    My questions are as follows:
    Q1/ Has anyone heard of Facetime problems between newer and older iPads as a result of Apple rolling out IOS 6 recently?
    (maybe there have been some changes to the FaceTime servers as part of the IOS 6 rollout?)
    Q2/ Is it possible to update my Mothers iPad 2 (IOS 4) to IOS 5.1.1 and do this without using a computer? (I would prefer her to update to 5.1.1 and hold off updating to 6 because of all the issues I read of users having problems with 6, including FaceTime issues)
    My mother is in her 70's, and has no computing device other than her iPad. She can just about manage to figure out how to use the basic features of her iPad. Therefore the update process needs to be very easy and straightforward otherwise she is likely to get very confused, very quickly!
    Facetime has been brilliant for my mother and keeping in touch with her son, thousands of miles away, we would really like to get Facetime working again.
    Can anyone  help?

    You will not be able to block IOS 6.  You can try blocking it with a webfilter or firewall but if the students take these home or connect to another network or iTunes they can get it that way.   You will find that the vast majority of all apps will work with 6 or have been updated to work with it by now.

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

  • Portal creates too many database sessions. fix doesn't work!!

    Oracle Database 9i, Application Server 9iAS,
    Operating System SUSE Linux 7.2
    CPU - Athlon 1400
    Ram - 1GB
    There is a modification for the http server that aims to eliminate a problem on unix that causes the database to create too many sessions. The script can be found at
    http://portalstudio.oracle.com/servlet/page?_pageid=1787&_dad=ops&_schema=OPSTUDIO
    However the script fails to work. The http server is on port 80 with the redirect on port 7778. However going to http://myhost/pls/ results in a server error - connection refused. Is it possible that there may be an error in the script.
    Thanks in anticipation

    ok so my sound is ok now I can check that off of the list... I just looked around and found some external USB speakers that work just right. My built in computer speakers are just not the best quality.
    As for the microphone, I still haven't been able to find out what is causing it to not work. I notice that it isn't actually broken since if I make a really loud noise right next to the input it will register a little but only a little bit.
    $ arecord -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    default
    Default ALSA Output (currently PulseAudio Sound Server)
    sysdefault:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    front:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    Front speakers
    surround40:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    $
    here is some additional information about my sound. Also, when I open alsamixer, I find that when I go to "select sound card"(F6) I see default and HDA Intel. If the default is pulseaudio, then is it possible that pulseaudio is causing the problem?

  • Performance Issue: Retrieving records from Oracle Database

    While retrieving data from Oracle database we are facing performance issues.
    The query is returning 890 records and while displaying it on the jsp page, the page is taking almost 18 minutes for displaying records.
    I have observed that cpu usage is 100% while processing the request.
    Could any one advise what are the methods at DB end or Java end we can think of to avoid such issues.
    Thanks
    R.

    passion_for_java wrote:
    Will it make any difference if I select columns instead of ls.*
    possibly, especially if there's a lot or data being returned.
    Less data over the wire means a faster response,
    You may also want to look at your database, is that outer join really needed? Does it perform? Are your indexes good?
    A bad index (or a missing one) can kill query performance (we've seen performance of queries drop from seconds to hours when indexes got corrupted).
    A missing index can cause full table scans, which of course kill performance if the table is large.

  • Java.io.FileNotFoundException (Too many file open)

    Hi,
    I have an application wherein I have to open an XMl file, make amends to it and then write it back. It is possible that the same XML file be opened more than once. After processing lots of XMl files I get the following error:
    [java] java.io.FileNotFoundException: /nas/bansalp/app/databases/databases/IntActe_human_528_psimi.xml (Too many open files)
         [java]      at java.io.FileInputStream.open(Native Method)
         [java]      at java.io.FileInputStream.<init>(FileInputStream.java:106)
         [java]      at java.io.FileInputStream.<init>(FileInputStream.java:66)
         [java]      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
         [java]      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
         [java]      at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
         [java]      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
         [java]      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
         [java]      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
         [java]      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
         [java]      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
         [java]      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
         [java]      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
         [java]      at alliance.dps.Commons.makedocument(Unknown Source)Code for makedocument is as follows:
    public static Document makedocument(File file) throws Exception
      Document response = null;
      DocumentBuilder builder = null;
      try
         DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
         builder  = builderFactory.newDocumentBuilder();
         if (file==null)
          response = builder.newDocument();
         else
          response = builder.parse(file);
      catch(Exception e) { e.printStackTrace(); }
      return response;
    }Here also I am not explicitely opening any handle. parse method should close the file after creating a DOM tree.
    I would appreciate if someone could give me some directions as to what might be wrong.
    - Parit

    I'm finding that builder.parse(File) doesn't close the file. I now create a FileInputStream from the File and make sure I close it myself in a finally{} block.

  • Load XML data into an Oracle Database

    Hi
    I would like to know how to load data from XML into an Oracle Database. Thanks

    forum has many examples
    plz search for your needs
    as example
    XML DB FAQ
    Re: I want insert data from xml file
    Re: How to load a XML file into a table using PL/SQL
    Process multiple XML files in directory
    using DBMS_LOB.LOADCLOBFROMFILE

Maybe you are looking for

  • ApEx BIP report using webservice: could not convert null to bean field

    Seems like a pretty straightforward problem but I don't manage to find a solution. I have a BI Suite implementation on one server. And a database with ApEx on another server. I want to call a BIP report from within my ApEx application using the webse

  • Need software that supports video in via USB. QT Pro/iMovie= firewire only

    my friend can upload video from his cam into his pc via the USB but i can't. All I have is Final Cut Pro, iMovie HD and QT7 Pro. They All want firewire. k, i could get a cable but i'd like to save the trip. anything out there? tnx

  • Why have i 2 java consoles in my add on extensions?

    just upgrade to lastes version off java u21. since doing so i've noticed that i know have two java consoles in my extensions 6.0.20&6.0.21 do i need to disable one of these?

  • IWeb-made website posted to Google Page Creator

    I've got a website that was made in iWeb and I want to upload it to Google Page Creator as a non-homepage subpage. My problem is that when I publish the iWeb page to a folder, it creates subfolders for the graphics and extras. GPC doesn't support fol

  • Can't open, delete or reply to emails

    Hi I really need your help. I use my emails to work and am now behind with work as since last night I cannot open, delete or reply to emails. I can open the account, but it will only show the text of one email. If I want to delete it, there is absolu