Same Oracle Server, 2 schemas, one fast, one slow

We are in the process of updating a database at our company to co-exist with a more recent release of third-party software. Only a few tables are changing.
We decided to create two schemas: PLVT and PLV2T respectively
PLVT contains the original version of the database
PLV2T is the next version of the database
Both schemas are complete databases, each schema is unaware of the other.
We also have the same user defined in each schema: PLVT
Both schemas use the same tablespaces so we wouldn't have to create two set of create scripts.
Both schemas have all the proper indexes created.
Unfortunately, performance is good on PLVT, but not good at all on PLV2T
I run the following test script for each schema (I realize this script isn't optimized the best, but bear with me):
select count(*) from time_reported tr, user_period up where
to_char(up.period_finish-1,'YYYY') = '2001'
and tr.period_number = up.period_number
and tr.integrate_status in ('I', 'R', 'P')
and tr.reported > 0;
On the PLVT schema, the script takes 4 minutes to run
On the PLV2T schema, the script takes 7 minutes to run
Had I run the real script, which is much larger, the PLVT schema would have completed the script in 8 minutes while the PLV2T schema would run overnight and still not finish by morning. The EXPLAIN PLAN for the full-size script under both schemas is nearly identical.
Both schemas are on the same development server, so one would think that they would run the same. They don't.
What could have possibly gone wrong when the PLV2T schema was created?

Well it was a shot in the dark (you got me confused, at least) ;)
To clear things up a bit:
You have two separate databases (collection of "physical" datafiles, log files, etc.).
In both of them you have a schema (collection of "logical" objects) called: PLVT (hence you have a user called PLVT, the owner of these objects).
SIDs are instance identifiers. You have two separate instances for these two databases. One instance is PLVT and the other one PLV2T. (An instance is processes and shared memory structure which manages the databases and are created when you startup the database. On Windows Oracle uses threads and the one instance process is oracle.exe) Another way of putting it, you have two NT services- OracleService<SID>, where SID is PLVT and PLV2T.
Are these two databases using the same hardware, and at the same time? Do you have anything running against both databases at the same time?
Is the second db a clone of the first db? How did you clone it? Did you make any changes afterward to the second db?
Why do you suspect that something might have gone wrong in creation of the plv2t db?
Both SIDs also use the same tablespaces too.I assume that you mean that both databases have the same tablespace names.
Are instance parameters (init<SID>.ora) the same for both?
What does sql> show sga tell? Any differences in v$parameter views?
Hth,
Fredrik

Similar Messages

  • Sharing the same outgoing server for more than one email in mail program

    A local computer company has web servers and he has assigned me a website with my own domain and I have two emails under that domain. I can't seem to setup these two emails to work correctly in apple mail. It's telling me that I can't have the same outgoing server setup for both email accounts. This is how the server is run. Both my emails which are assigned under my domain web url both use the same outgoing server. Is there anyway around this error or am I stuck?
    thanks

    This is important.

  • Using two computers to make one fast one?

    Is it possible to use two imacs linked together to make one fast computer? Like a master/slave computer set up? If so how?

    Although I do not use it, XGrid looks to do what you want.
    It is a free download and you can get it here.

  • Http server in the same oracle home or not ?

    Hi, finally i could install oracle 10g 10.2.0.3 on windows vista. Now i want to install http server but i wonder if i have to install in the same oracle home or in another one. Some documents says yes another one not.

    oracle_sv wrote:
    I would like to keep 10g version. I have the cd companion. The fist time that i tried to install give some errors and after that i couldn´r start OracleDB console and EMOuch! I suspect that was due to installing HTTP Server binaries in your Oracle home?
    I have only installed HTTP Server on Linux, and I had a separate home for the Oracle database binaries and HTTP Server.
    The installation (at least on Linux) was straight forward, provided you have done your prep work by installing the correct RPM's, environment, etc.
    Once you have HTTP Server installed, you have to fulfil the rest of the APEX requirements (if not already done), such as:
    - Patch HTTP Server (for Linux, this is Application Server Patch 5983622)
    - Install XML DB
    - Install Oracle Text
    - Upgrade PL/SQL Web toolkit
    - Install APEX (I had 3.12 originally installed, but recently upgraded to 4.0 which was painless).
    - Configure your Apache/modplsql/conf/dads.conf in your HTTP Server home
    You will need to read the installation guides on how to do each of the above. You might have more luck doing this on Linux than Windows.
    If I was in your position and starting from scratch on this, I would be installing 11g, as it might not be so much work since APEX comes as part of 11g.

  • Jobs in Oracle Server 8.0.5

    Hi!
    I have an Oracle server 8.0.5 installed in WIndows NT 4 (SP 6).
    And I submitted a Job, but when the right time comes, this job is not executed.
    who installed oracle server wasn't me, so i don't know much confguration details.
    in other test i have done, I installed the same oracle server in other computer and submitted the job. and the job is executed.
    i think there's some setting i hve to config, but i don't know what.
    any help ?
    Thanks
    Jose Carlos
    Brazil

    hi John,
    The Oracle Migration Workbench lets you do this. Just specify the
    correct connect information and all should work fine.
    The workbench does not mind whether the repository is 8.1 or 8.0.
    Regards
    John
    John (guest) wrote:
    : Hi,
    : I want to migration schema in SQL Server 7.0 to Oracle Server
    : 8.0.5 rather than Oracle 8i. Does Oracle Migration Bench
    1.2.4.3
    : Beta support it? If yes what should I do to let bench know that
    : I want to create Oracle Model in Oracle 8.0.5?
    : Thanks in advance
    : John
    : Nov 25
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Oracle dblink to sql server, accessing multiple database on same sql server under one dblink

    Hi, we have successfully managed to set up an Oracle dblink over to sql server and retrieve data.
    The sql server user were using via the dblink has access to more than one database on the same sql server
    But the question is how in oracle (if at all possible) do you prefix the sql statement to access this ?
    Eg:
    Sqlserver_prod has user sqlserver_user which appears to be set up as default database on sqlserver_db1
    But we have select access to sqlserver_db2
    all work fine as sqlserver_user
    select * from  table_fromdb1
    select * from  dbo.table_fromdb1
    select * from  sqlserver_db1.dbo.table_fromdb1
    as does
    select * from  sqlserver_db2.dbo.table_fromdb2
    over in Oracle
    Oracle_db has dblink sqlserver_prod.world connecting as sqlserver_user
    all working fine
    select * from "table_fromdb1"@sqlserver_prod
    select * from "dbo"."table_fromdb1"@sqlserver_prod
    but how (if at all possible) do I access from oracle
    sqlserver_db2.dbo.table_fromdb2
    without having to create a new sqlserver_db2_user referenced in a new dblink
    if oracle to oracle would be
    select * from remote_oracle_schema.table@remote_oracle_db

    Hi, ok cheers, I see, original gateway was connecting purely at host_name level
    HS_FDS_CONNECT_INFO=sqlserver_host
    Planning to amend this to be
    HS_FDS_CONNECT_INFO=sqlserver_host//sqlserver_db1
    With exisiting dblink
    And to create new gateway
    HS_FDS_CONNECT_INFO=sqlserver_host//sqlserver_db2
    With new exisitng dblink,will see how we get on
    Cheers again

  • One safari is fast but the other one is extremely slow while open the same website!

    When i open nrich.maths.org on my two macbook pro, one is fast but the other one is extremely slow. I traced this website on both but seemed nothing difference.
    My safaris are both version 5.1.2 (7534.52.7), os are 10.7.2, settings of safaris are same.
    I also tried some other sites but all's fast.
    Anybody have any ideas?
    Appreciate!
    Tony

    On the one that's slow...
    Go to Safari > Preferences - Extensions. If you have any installed, turn that off, quit then relaunch Safari to test.
    If it's not an extension issue, try troubleshooting the Safari .plist file.
    Go to ~/Library/Preferences. Move the com.apple.Safari.plist file from the Preferences folder to the Desktop. Qui then relaunch Safari to test. If Safari speeds up, move that .plist file to the Trash. If not, move it back to the Preferences folder.
    Empty the Safari cache more often. From the Safari menu bar click Safari > Empty Cache
    If that doesn't help, back to the menu bar, click Safari > Reset Safari. Select the top 5 buttons, click Reset.
    ~ (Tilde) character represents the Home folder.
    For Lion:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library

  • I have multiple accounts using the same smtp server, I can only reply with one as the settings wont allow me 2 servers

    I have tried to set my email to reply from my iphone 5 both of which use the same SMTP server. I can't change the settings on the others as it will only allow one mail account. Can I add multiple  with the same smtp?

    I Am not using gmail I use seperate company for my mails both use the same smtp server. The problem is when I set my first account it them uses these details and passwords when I create the second account saying that the smtp server is already in use by the primary account. I therefor can't set the password.

  • Migrate netscape 4.12 schema to Sun One Directory server 5.2

    I have a production environment with Netscape 4.12 Directory Server running. I need to migrate the production DS schema to a development server which hosts an Sun One 5.2 Directory Server.
    How to perform this task. Thnaks in Adv.

    Its going to be a manual process.
    You need to identify what schema is missing, look up what that schema is on 4 then add it manually on 5.
    There is no automated way to do it.
    The easiest way to identify schema problems is to create a DS5 server instance and try to load an LDIF dump from DS4 into it. Just tackle the errors that you see, one by one ...

  • Can we install Oracle 8i and 10g on the same windows server?

    I would like to install the Oracle server 8i and 10g on the same windows server? Is this possible.
    Forgive me if this question is already asked.
    Thanks in advance!
    Jay.

    WHICH Windows version? (There's more than one). It would be useful to be a little bit more precise (NT,2000,XP,2003, 32/64 bit) .
    For NT and 2000 it is possible to have both 8i and 10g, for XP and 2003 there's no support for 8i at all.

  • J2ee server status stopped in one of application server

    Short Text
    J2ee server status stopped in one of application server
    Long Text
    Dear supprot,
    We have 3 application servers to our production server.
    App1 and App3 are working fine. when i am trying to start App2
    J2ee server0 for the same server is getting stopped.
    at that time "r3trans -d" is also taking lots of time on all the servers but giving RC 000.
    when i will stop the app2 application server again "r3trans -d" status is
    coming fast with 0000 for remaining servers and at that time everything is working fine.
    please kindly help me to resolve this problem.
    Regards
    Nirgun

    Hello,
    Refer to the log files in the instance work directory for a clue why the server node does not start. Usually the files you are interested in are:
    dev_serverX
    std_serverX.out
    dev_disp
    If you share these files I could help you identify and fix the problem.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • Two database with the same sid but different ORACLE_HOME on one host

    two database with the same sid but different
    ORACLE_HOME on one host,and if configure them with
    two differnt lisnter staticaclly,this abosultely work
    because in the lisnter.ora we must provice
    ORACLE_HOME variable,with this ORACLE_HOME the client
    can differentiate which database to connect,but if
    use dynamically register feature,how can the client
    tell which database to connect?

    Also note that this type of configurtion may not be supported.
    Just because a given configuration works in certain given conditions does not mean that it would be supported.
    If this setup is for a configuration that has any value, please also Contact Oracle Support to get their inputs on what you are trying to accomplish.

  • One-to-One Email Integration and slow Outlook performance

    Hey All -
    I am working on configuring the one-to-one email integration for CRM 2007 and having issues when CRM accesses the Exchange mail store from my outlook client.  All necessary components have been installed and configured on the client as I am able to view the inbox and transfer these messages into CRM and save as activities, but the performance is VERY poor.  It seems each time CRM has to access the mail store through the MAPI client, the CPU utilization on the client shows 25 - 40% utilization (on a dual-core CPU).  This slow performance results in response times of at least 10 seconds for each mail store access that CRM has to perform.  I have tested this with both Outlook 2003 and Outlook 2007. Also, all systems and client are local, and network performance is not an issue.
    I would like to demo this functionality to the business users, but am afraid that these response times are not accetable even for a prototype/demo session.
    Has anyone else experienced these slow access times using the one-to-one email integration?
    thanks,
    John

    Hello John,
    We seem to have the same problem as you do.
    When we open a mail in CRM via the button "transfer to CRM" everything is still fine.
    However if we would do any interaction  on the page with the opened mail (like using the back or cancel button, selecting a reference form the dropdown list, using a link on the navigation on the left, etc.) the page will look like it stopped responding  and after some time (5-40 seconds depending on the pc) will continue with it's (CRM) proccessing.
    When we used the taskmanager to see what's happening we can clearly see OUTLOOK.EXE is starting a process when we used a button. And when that process is done, the page seems to respond again and the CRM processing continues.
    So it looks like we have to find either what is triggering this outlook process and why it happens on every CRM action on the webgui in that page. Or why this outlook process takes so long to complete.
    Using the buttons on the mail component itself does not seem to have this problem (find, save as local file, etc.)
    Have you found any further clues to your (and probably our as well) problem?
    Regards,
    Joram

  • HT4910 Have two phones with same apple id as I got one for my hubbie .he tried to back up his numbers in I cloud . Our contacts have now merged and neither can delete from our phone without it coming off the other . Any ideas how we can stop this

    Have two iPhones with the same id as I got hubbie one in week and when I got it they asked for email address so I gave the one we use, so when my husband started phone up he just put my password in. When he tried to back his numbers on iCloud they all appeared on my phone and now I can't delete his numbers without them deleting on his phone as well . Any help would be appreciated.

    You'll have to migrate one of the phones to a different account, then delete the other person's data from each account (you can continue to share the same Apple ID for purchasing from the iTunes and app stores). 
    Decide which iPhone will be keeping the current iCloud account.  On the one that will be changing accounts, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. 
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't from each account.

  • How do I set upmy Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.

    how do I set up my Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.  From systems Preferences I must select one or the other.  I want both to work all the time.

    Hi,
    I would recommend you to use 0FI_AP_4 rather using both, particularly for many reasons -
    1. DS: 0FI_AP_4  replaces DataSource 0FI_AP_3 and still uses the same extraction structure. For more details refer to the OSS note 410797.
    2. You can run the 0FI_AP_4 independent of any other FI datasources like 0FI_AR_4 and 0FI_GL_4 or even 0FI_GL_14. For more details refer to the OSS note: 551044.
    3. Map the 0FI_AP_4 to DSO: 0FIAP_O03 (or create a Z one as per your requirement).
    4. Load the same to a InfoCube (0FIAP_C03).
    Hope this helps.
    Thanks.
    Nazeer

Maybe you are looking for

  • Logon methods in user mapping

    Hi friends,    In user mapping we use any of the three logon methods which are nothing but authentication methods.can anybody please explain what are these methods? with regards sireesha

  • Firefox 33.1.1 crashes after closing program

    Everytime this new release closes, it hangs and crashes. Happens on all my computers, thus something in Firefox 33.1.1. There are dozens and dozens of crashes since this new release. My last crash was in 2013 and prior to that, 2012. Mozilla Crash Re

  • New render kit for JSF 1.2

    I have red and tried a customization of what is explained in this article about writing a new render kit: http://java.sun.com/javaee/javaserverfaces/reference/docs/customRenderKit.html My code is under JSF 1.2. I tried a new xml render kit, but my cu

  • Re: Download Toshiba Bulletin Board for Windows 8

    My wife has a Satellite L870-18V running Windows 8. She has noticed me using my Bulletin Board on my rather older Toshiba Satellite L650-12Q (with Windows 7) and wants one! Is it possible to download Bulletin Board to her computer, as it is not pre-l

  • HT1420 itunes install error in Vista

    I (sadly) have Windows Vista Home Premium 64 and no matter what I try, I cannot install iTunes (9, 10, OR 11) successfully. I get an error that is very non-descript, stating my installation could not be completed. Period. No error number, nothing. Sc