I need to restart the database

Hi Guys,
I have migrated my database from oracle 9i to 10gR2 and from 32bit windows to 64bit RHEL4 using full database export and import. Everything works fine. We have got some performance enhancements also.
But one report generation module which was supposed to complete in 25 minutes takes 1-2 hrs. to complete. Most of the time we need to restart the database to complete the operation. After restarting the database it completes within 15 mintutes.
What may be cause of such behaviour, any idea? How should I proceed to resolve the issue? The cursor_sharing paramater is 'FORCE' which was same in our 9i setup also.
Regards,
Santosh

Hi,
>>After restarting the database it completes within 15 mintutes.
It seems this doesn't make sense. Did you gather statistics for the tables? In addition, take a look at AWR from OEM that contains performance statistics and workload information on the database that is captured every hour and preserved for seven days by default. In this case, historical information is important to diagnose a performance problem that has already happened
Cheers
Legatti

Similar Messages

  • I can't install Firefox 5. It downloads & starts the wizard. I follow the prompts till it says it needs to restart the computer 'to complete a previous upgrade of firefox' . I say yes and it restarts and there is no sign of firefox and no error message.

    The very first time I tried this there was a red message that flashed on the screen too fast to read it. I have Windows 7 and AVG. My son's computer also has Windows 7 and AVG and his upgrade went without a hitch. It deleted my old version of firefox (3.6.12) so now I'm using IE. Windows installed a lot of updates just before I tried upgrading firefox. I have tried turning my firewall down. I have gone to the file in downloads and double clicked it and it does the same thing. It always says it needs to restart the computer even though I have closed all other applications. Should I just give up and try reinstalling an older version of Firefox? Thanks

    It is probably because you are not properly closing Firefox. Restarting your system would make sure that Firefox had terminated, but you do not have to do that.
    To properly close Firefox on Windows systems, use
    :File > Exit or "Firefox:" button > Exit
    When you get the message "Firefox is already running" it is too late, and you must force termination of Firefox through the Windows Task Manager before restarting Firefox. Windows 7 has a keyboard shortcut to save you a step "Ctrl+Shift+Esc" then on "Processes" tab, select "firefox.exe" and use the "End Process" button. More thorough would be to right-click on the "firefox.exec" and choose "End Process Tree".
    You would find firefox.exe in a Mozilla folder in your program files, but y0u would not want to delete it there, you would need to use the Control Panel which you have already identified and do it from there -- but generally you would not need to do that, and there is nothing in what you have posted to indicate that you should. But if you did do that, then don't let the install start Firefox for you as you would want to use you existing desktop icon or method of starting Firefox, and should decline having Firefox install start Firefox for you. When the install starts then invoke Firefox in your normal manner. This should eliminate problems of creating a new profile rather than using your old profile.

  • Air play in Apple Tv disconnects with no reason, and I need to restart the router to connect again. Meanwhile apple tv is connected to wi if. Can somebody help?

    Air Play in my Apple TV disconnects from iPhone or Mac book after some time of playing. I need to restart the router in order to connect again. Apple tv is connected to wifi succesfully? Any suggestion?

    I tried something new yesterday after reading all these messages.  My ATV3 was situated on top of my satellite box and I noticed that it was quite warm.  The instruction manual suggests that the box not go over a certain temperature, so I moved the box to a location without the heat under it.  It now works without any problem at all...at least, so far.   

  • The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -  When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for abo

    The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -
    When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for about 6 months ...

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325
    Are you trying to use a 32bit version (I did not even know there is one for Photoshop CC 2014)?
    If so – why?

  • Tried to open my old MacBook.  Couldn't remember password.  Followed suggestion to reinstall hardware.  Now startup disk is stuck in computer and it won't turn on.  I keep getting a message saying I need to restart the computer.  Any ideas?

    Tried to open my old MacBook.  Couldn't remember password.  Followed suggestion to reinstall hardware.  Now startup disk is stuck in computer and it won't turn on.  I keep getting a message saying I need to restart the computer.  When I hold down power button, I get the same message over and over.  Any ideas?

    Hello m.goo, and a warm welcome to the forums!
    To eject the Disc, hold the Mouse button down, (or what passes for it on a Laptop), while powering up, if you also hold the Option key down at the same time it should eject & give you a chance to insert your install disc & wait for it to shw as a Boot option.
    "Try Disk Utility
    1. Insert the Tiger Mac OS X Install disc , then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, *you must select your language first.)*
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    Then Safe Boot , (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    If it appears to be time for An Archive & Install, which gives you a new OS, but can preserve all your files, APPs, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120
    Be sure to use Preserve Users & Settings.
    To check if AppleCare applies, AppleCare Products Overview...
    http://www.apple.com/support/applecare/overview/

  • Do we need to restart the Tomcat server each time when we modify servlets?

    Hi Friends,
    Do we need to restart the Tomcat server each time when we modify servlets. Or is there any otherway to achieve the functionalitly?
    Thanks and Regards,
    JG

    JamesGeorge wrote:
    Hi kajbj,
    Java guys are mostly using TOMCAT,so for me it seems to be the best place.That's not correct. Most people who are writing stuff for the web might be using Tomcat, but there are lots and lots of Java applications that aren't for the web.
    Is there any other reason behind your question.Yes, this forum is named "New to Java" and Tomcat questions shouldn't be asked here, even if people knows the answer to you question. You will probably get better and more detailed answers in a Tomcat forum. All othe guys there are actually using Tomcat, and they know the small differences between the different versions, and how they behave on different operating systems. They do also know if you need to make configurations changes, and where you should make them.
    So in future, please ask questions in a forum that is specific to the product that you are using.

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    Still it could not find the data network.it searches for voice network instantly and works too. but even full voice network available, there is no data network.when i restart the phone it could find data network.
    Already i reset network settings for two times.

  • PCI-GPIB does not like returning from computer power-save mode. I need to restart the application. Uggh! Customer not happy.

    It seems volatile memory is lost on the PCI GPIB Card. When the system returns from power-save, I cannot get to my GPIB instruments. I have to close the application and restart it. I've tried unregistering and reregistering the gpib globals and resetting the device interfaces (reissuing the ibdev command) without luck. I am using Visual Basic 6, but I also get the Measurement and Automation Explorer to fail in the same way, so I don't think it is my development environment.

    On Sat, 15 May 2004 20:23:58 -0500 (CDT), SQP Products wrote:
    >PCI-GPIB does not like returning from computer power-save mode. I
    >need to restart the application. Uggh! Customer not happy.
    >
    >It seems volatile memory is lost on the PCI GPIB Card. When the
    >system returns from power-save, I cannot get to my GPIB instruments.
    >I have to close the application and restart it. I've tried
    >unregistering and reregistering the gpib globals and resetting the
    >device interfaces (reissuing the ibdev command) without luck. I am
    >using Visual Basic 6, but I also get the Measurement and Automation
    >Explorer to fail in the same way, so I don't think it is my
    >development environment.
    Can you change your power save settings? What operating system
    are you running?
    Also, some BIOS's have options for power save. For example, recent
    IBM's can be set to maintain power to all peripherals, or only to main
    memory. Of course, you would want it to maintain power.
    I suspect the GPIB board and its driver are completely unable to
    handle power save operation. It probably was never considered while
    it was being designed.
    Aidan Grey

  • I get black screen on my new macbook air but I can see the mouse pointer. usually need to restart the computer so everything works as it should

    I get black screen on my new macbook air but I can see the mouse pointer. usually need to restart the computer so everything works as it should

    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    If that does not help, reinstall OS X

  • Exchange 2003 - When I create a send connector do I need to restart the SMTP service?

    When I create or update a send connector on Exchange 2003 do I need to restart the SMTP service and/or MS Exchange Routing Engine?

    Hi Chad,
    Collect some information for your reference:
    You must restart the Microsoft Exchange Routing Engine service and the SMTP service for these changes to take effect.
    More details in the following KB:
    How to configure the SMTP connector in Exchange 200x
    http://support.microsoft.com/kb/265293
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Unable to restart the database

    Hi,
    I just shutdown the database and it seems to take a while, don't know if it's stuck or just takes awhile. I try to restart it in another session and get this error:
    'ORA-01012: not logged on'
    Should I wait awhile or is there a solution? Thank you.
    1) Shutdown
    SQL> connect sys/Welcome1 as sysdba
    Connected.
    SQL> shutdown normal
    2)
    So I try to restart it as sysdba on another session and get this error
    Connected to an idle instance.
    SQL> startup
    ORA-01012: not logged on

    Osama-mustafa wrote:
    First which Os you are using
    Try the following :
    sqlplus / as sysdba
    shutdown abort ;
    startup ;
    if the above not working Kill oracle process or Shut down database server (shutdown service before do that)We've seen no need for a shutdown abort. The oP was doing a normal shutdown, which was already pointed out, and will wait until connections voluntarily disconnect. Which will probably never happen. The previously suggested SHUTDOWN IMMEDIATE is the better solution until a problem with that is demonstrated.

  • How-To: Restart the Database Server (SQL Server) in SharePoint Farm safely ?

    Hello,
    My farm has 4 SharePoint servers: 2 Application-Servers, and 2 WFE-Servers.
    Each WFE-Server is running Distributed Cache service which means, I have 2 Distributed Cache service.
    I must restart my SQL Server, But, How can I do that without losing the Cached data?
    I can use Stop-SPDistributedCacheServiceInstance -Graceful   which will move the cache from one server to another, But, what to do with the other one then?
    I am really concerned because TechNet says: "Stopping the cache results in partial data loss. The Feed Cache depends on the Distributed Cache service.
    Tags and document activities are saved only to the Feed Cache.
    Tags and document activities are not persisted to content databases."
    https://technet.microsoft.com/EN-US/library/jj219613.aspx#startstopcache
    What can be done ?

    Hi,
    In my opinion you do not need to stop the distributed cache service.
    You are correct the graceful shutdown will work if you want to stop a cache host. it is graceful because  it should move the cache data to the other host(s).
    I believe that the SQL is not hosted on SharePoint server?
    My opinion is that no data should be lost if the SQL is not available for a limited period of time. The Distributed Cache is in memory cache.
    You will however have downtime in case you are not using any High Availability solution for your SQL.
    In case the period of maintenance on your SQL is longer you should plan it better and maybe stop the SharePoint Farm as described here
    https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396 (Move all databases section).
    Ivan Yankulov
    SharePoint Admin/Consultant
    http://spyankulov.blogspot.com/
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft

  • Need to query the database to get the last sequence number

    Hi all
    I am trying to get the last sequence number of the last row inserted into my Oracle database. Please could someone give me the SQL which would allow me to do this - using Oracle SQL Explorer I have confirmed that there is a sequence on the table which is called: XYZ_SEQ and the code for this is:
    CREATE SEQUENCE "MY_USER_NAME"."XYZ_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE ;
    My Java application is inserting a row into my table and to insert a new row I need to have the last sequence inserted +1 so the new row can be added.
    Any help would be much appreciated.

    Hi,
    Welcome to the forum!
    If you are using a sequence just do (example):
    INSERT INTO TABLE_NAME
       (COL1,
        COL2)
    VALUES
       (SEQUENCE_NAME.NEXTVAL,
        OTHER_VALUE);to obtain (and use) the next number in the sequence when you are inserting.
    If you have a sequence to use for a specific table, you should use it when your insert new data (no matter your are doing that: java application, procedure, etc). Doing this you avoid some problems when you have the sequence 'out of date' about the associated data.
    Regards,
    Edited by: Walter Fernández on Sep 19, 2009 10:08 AM
    Edited by: Walter Fernández on Sep 19, 2009 10:10 AM

  • Need to Archive the Database. . .

    Hi There,
    I need to follow the following steps -
    1> I need to create a Replica of my Database (Say for ex, if i have 5 Tables in my Original database, then i need to copy all of these 5 Tables along with the data and all the Constraints to a newer database while keeping the Table and Columns Name same)
    2> Now if user is Updating the data in the Original Database (i.e. updating some rows or Inserting some new rows to a table ) then i need to move these changes to the new Database once a Day. But here the Catch is that if the User is Deleting some rows from the Original database, then in this case i have to keep those Records as they are without deleting them from the new database.
    Now i need to find a way as to how this can be done (whether i have to create some Scripts or a Java Job or do something else???)
    Please Help :-)

    Hi,
    Does you have primary key or unique index on each 5 tables ???
    If it's the case, it's possible to catch update,insert (or even delete) by triggers
    on these 5 tables in order to stock in a trace table the primary keys/unique index
    which will be inserted/updated (with a status (I for Insert, U for Update for example))
    And make a procedure to read the "trace table" of the day and
    insert the new data on the archive database when status = I;
    update the data on the archive database when status = U;
    delete in the trace tables all the rows processed.
    And launch it by dbms_job once by night.
    You have to take care in the order of the process for the 5 tables due to constraint considerations between these tables.
    If you have not primary keys or unique index, I recommend to you to create one
    (by using sequence number for example) else I think that your procedure will be a quite complex.
    Mike

Maybe you are looking for

  • How to sync bb/outlook/gmail contacts and calendar

    i have a bb 9530 and outlook 2007 running on a 64-bit windows 7 pc.  i use outlook to view my gmail.  i also have the bb gmail app on my phone and that keeps email in sync between gmail servers and the phone as well as outlook since it is setup for a

  • Freezing of new ABAP-Debugger

    Hi, every time when I try to use the new ABAP-Debugger I can just see the screen and then it freezes. I use SAP Web AS 6.4. SAP_BASIS SP17 and SAP_ABA SP17. Please help! Regards Christian

  • How to run audio from hdtv thru sb audigy 2

    I just purchased a hdtv that has an optical cable output. I would like to run the hdtv audio thru my sb audigy 2 zs soundcard to take advantage of the surround sound. I've read that the audigy 2 zs does not have an optical input, but am unclear which

  • 2014 Video Usage Bug?

    I just updated to version 2014.0 / 8.0.0 Win 7 Pro I frequently use the Video Usage feature in the project window by clicking on the arrow next to the number of instances shown to locate all instances of a clip in a sequence(s). Since updating to the

  • Error in PPT after exporting Xcelsius dashboard

    I exported a Xcelsius dashboard into a MS Power Point. If tried to open in the same sytem it is working fine. if tried to open in some other system, I am getting the following error. "Some controls in this presentation can't be activated. They might