UTLRP.SQL run very long, how to check ?

Hello all
Need your help and advice on my problem that i facing now,
I did to recompile all the object in oracle using
@UTLRP.SQL in $ORACLE_HOME\rdbms\admin
The sql was running about 4 hours but still running, but actually i dont know is it hang or still running
My question is
- is this normal, since that already run for 4 hours
- how to check whether is still running or hang, I did check on the task manager, the oracle.exe keep moving
- Can i cancell it ? any problem later on if i cancel it ?
- Is there any log to check
Sorry so many question, need all of your advice
Thanks in advance
Cheers
Surya

You can check the decreasing number of invalid objects using below query:
select count(*) from dba_objects where status = 'INVALID'You can also check session waits for that session that is running utlrp.sql
With kind regards
Krystian Zieja
http://www.projectenvision.com

Similar Messages

  • Utlrp.sql takes very long (8 hours) while upgrade database from 9i to 10g

    1) Follow the note of 369693.1 ; and 362203.1 to upgrade database from 9.2.0.6 to 10.2.0.4 for e-business suite 11i (11.5.10.2)
    2) utlrp.sql takes very long (8 hours), even the job_queue_processes > 20.
    This is not acceptable for the upgrade in production environment which will take a long down time.
    Appreciate that any one can share tips on this, our database is about 400 GB, 4 CPU on production.

    in which our database has about 40,000 packages and 28,000 Virews. With this number of invalid objects, it is ok that utlrp.sql takes this time.
    using parallel worker of 4 for 2 CPUMake this 8 (4 * No. of CPUs).

  • Select sql running very long when made to select many columns from a table

    Hi,
    I am using an Oracle DB 10g. I have a table with 250 columns and I need to select 200 columns out of them. The table holds around 0.1 million rows. But when I run the select sql it takes 15 mins to return .1 million rows. Where as if I select only 10 or 15 columns the sql runs in less than a minute returning same number of rows. My sql looks like below:
    select p.col1,p.col2,.......,p.col200
    from table Parent p;
    The table also has a Primary key Index but it does not seem to be using it even when I forced an Index hint. Could you pls help?

    961796 wrote:
    I am using an Oracle DB 10g. I have a table with 250 columns and I need to select 200 columns out of them. The table holds around 0.1 million rows. But when I run the select sql it takes 15 mins to return .1 million rows. Where as if I select only 10 or 15 columns the sql runs in less than a minute returning same number of rows. My sql looks like below:
    As Sven points out, it is likely that most of your time is network (and client) time. You are sending 20 times as much data (based on column counts, at any rate) across the network, and concerned that it's taking 15 times as long.
    If you're testing from SQL*Plus then setting the arraysize to a value larger than the default might help.
    If you have control over the SQL*Net settings then you may get some benefit by adjusting the SDU sizes at both ends of the link.
    If you have control over the tcp configuration (transmit and receive buffer sizes) then you may get some benefit by adjusting these.
    Simple test, by the way, if you're on SQL*Plus
    set autotrace traceonly statistics
    select ...This will dump your data in the bit bucket as it arrives giving you
    a) the database time plus network time
    b) some statistics including the volume of data down the network and the number of network round-trips that Oracle saw.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>

  • Query is running very long when I bring in an attribute

    I am running into an issue when i bring in an attribute from the filter.  It is taking a very long time to display.  When i run the same query against the DSO i copied form it runs fast but not on the one I copied.  what could be the issue.

    So, you copied an existing report to a new report. Both the reports are on a DSO. Old report runs fine, but the new report runs very long. Is all this correct?
    How is the new report different? You said something about an attribute. Are you just displaying this attribute or are you filtering the results using this new attribute?
    Without understanding your question clearly, here is my speculation: Your selection filters on the new query are not in any DSO index.
    If I misunderstood your question and scenario, then please clarify.

  • MSCOBJCL.sql runs for long while applying patch 6678700 for 12.1.1 upgrade

    DB:11.2.0.3.0
    OS: IBM AIX Power system 64 bits 6.1
    Hi All,
    MSCOBJCL.sql runs for long while applying patch 6678700 for 12.1.1 upgrade. We are upgrading from 11.5.10.2.0 to 12.1.1
    Could anyone please share why the script takes so much of time to run?
    Thanks for your time
    Regards,a1_win

    As per Mscobjcl.Sql Is Running Long While Applying Patch.8671960 (Doc ID 1295881.1)
    The patch is already applied in the instance
    BUG_NUMBER CREATION_DATE
    8671960 19-SEP-10
    Thanks,
    a1_win

  • Launch ASCP plan run very long time

    Hi,
    I launched constrained ASCP plan and it took very long time. I launch ASCP plan in friday and it still not finished yet till monday, Memory Based Shapshot & Snapshot Delete Worker are still running, Loader Worker With Direct Load Option is still in pending phase. MSC: Share Plan Partitions has been set to Yes.
    When I run query below :
    select table_name,
           partition_name
    from   all_tab_partitions
    where  table_name like 'MSC_NET_RES_INST%'
    OR     table_name like 'MSC_SYSTEM_ITEMS%'
    order by substr(partition_name,instr(partition_name,'_',-1,1)+1);
    The results are:
    MSC_SYSTEM_ITEMS
    SYSTEM_ITEMS_0
    MSC_NET_RES_INST_AVAIL
    NET_RES_INST_AVAIL_0
    MSC_SYSTEM_ITEMS
    SYSTEM_ITEMS_1
    MSC_SYSTEM_ITEMS
    SYSTEM_ITEMS__21
    MSC_NET_RES_INST_AVAIL
    NET_RES_INST_AVAIL__21
    MSC_NET_RES_INST_AVAIL
    NET_RES_INST_AVAIL_999999
    MSC_SYSTEM_ITEMS
    SYSTEM_ITEMS_999999
    Please help me how to increase the performance when launching the plan. Is change MSC: Share Plan Partitions to No the only way to increase the performance in running plan?
    Thanks & Regards,
    Yolanda

    Hi Yolanda,
    a) So does it means that plan was working fine earlier but you are facing this issue recently.. ? If so then what you have changed at server side or have you applied any recent patches.. ?
    b) If you have not completed plan for single time,
    I will suggest that run data collection in complete refresh mode for one organization which is having relatively small data. Further, you can modify plan options in order to reduce planning calculation load like
    - disable pegging
    - remove any demand schedule / supply schedule / global forecast etc
    - enable only single organization which having relatively small demand and supply picture
    - disable forecast spread
    Once one plan run will be completed, then expand your collection scope to other organizations and also enabling above mentioned setting.
    There are lots of points need to consider for performance issue like server configuration, hardware configuration,  num of demands etc. So you can raise SR in parallel while working on above points.
    Thanks,
    D

  • IMac running very slow; how can I fix it?

    My iMac is running so slow, I can hardly use it all.  All kinds of spinning balls, etc.  I don't even know where to look to diagnose.  If I restart, it will be faster for awhile.  Both Safari and Firefox are running very slow...or not at all.  I have repaired permissions and hard drive.  I have dumped permissions for Safari and Finder and anything else that seemed involved.  I checked my memory....this is the report I got.  Does the fact that the first one say "disabled" mean anything?  I will appreciate help you can give me.
    Memory Slots:
      ECC:          Disabled
    BANK 0/DIMM0:
      Size:          1 GB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
      Manufacturer:          0xCE00000000000000
      Part Number:          0x4D342037305432393533455A332D43453620
      Serial Number:          0x772E336D
    BANK 1/DIMM1:
      Size:          1 GB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
      Manufacturer:          0x2C00000000000000
      Part Number:          0x3848544631323836344844592D3636374531
      Serial Number:          0xE00CB01C

    Questions and Answers:
    How full is your Mac's hard drive? * Capacity: 248.92 GB.   * Available:175.18.  *Used 73.75GB on disk.
    How many applications do you run simultaneously in the background while working in another application?    *Not many.  I try to remember to quit open apps especially when the computer runs slowly.  I always have open Calendar, Mail, Safari.
    Do you run any antivirus software on your Mac? Antivirus software can slow down the normal operation of OS X.    *I have an anti virus but I do not let it run.  I turn in on to check files and email now and then.
    Do you run any "crapware" like Mackeeper or any other type of so called hard drive "cleaning" apps? *No, I have none.
    One thing I notice is that when I turn it off at night, it runs very well the next day until I've been on it for a few hours then it gets really bad.  Last night, it wouldn't work at all so I gave up and turned it off.  This afternoon I turned it back on and it has been working very well ever since. 
    Thanks for looking at this.  I have never checked my hard drive before so I didn't know how much it had on it, but it doesn't seem like it is too full.

  • Macbook Pro is running very slow   how do I resume speed?

    Lately, My macbook pro is running very slow.  Mostly when on the internet or even opening and closing programs.
    How do I "clean up" and resume speed?  It has been updated!  Not sure what is going on.
    Any help?

    When starting computer,,,, I now get a gray screen and it takes several minutes to get to the main page.....

  • Calc scripts running very Long time

    Hi All,
    Recently, i am migrated the objects from Production to Test region. We have 5 applications and each of the application has a set of calc scripts.
    In test region, they are running really long time. Where as in Production, they run for less time.
    In TEST region each Calc script is taking 10 times more time than the Production times.
    No Dimension added or no script is updated. No difference in objects between TEST and PROD.
    Please suggest me, why is this difference.
    Thanks
    Mahesh

    The obvious first question would be if the hardware is different. You would expect prod to be a more powerful server and therefore perform better.I'm seeing a lot of virtualized test servers (who knows, really, what power the box has) and real prod servers. That can make a huge difference in performance.
    It makes benchmarking tough -- yes, you can see how long something will take relative to another process, but there isn't any way to know how it will perform in production until you sneak it over there and benchmark it. It can be a real PITA for Planning.
    And yes, the theory is that dev and prod are similar so that the above isn't an issue, but that seems to be a more theoretical than actual kind of thing.
    Regards,
    Cameron Lackpour

  • My mac is running very slow ,how do i fix it

    my apple mac is running very slow and always frezzes and says kill pages, i am yousing virgin broadband, i tryed that mac keeper and it ran a scan and said it was very slow and wanted £89 to fix it ,is there ant other way to fix this problem ?

    MacKeeper IS one of your problems and should not be installed.
    Lots of things to ask but you want an answer without first providing enough details to go on.
    RAM
    Disk drives and free space
    Mac model
    Whether you are running 10.6.8 or actually later
    Safe Boot and other maintenance, like Disk Utility in Recovery Mode or from another hard drive
    Clone the system and backup data
    Move all the user data to another disk drive and free up boot drive
    What apps other than Pages which is normally not an issue (there is a forum for Pages)
    What you are trying to open or do in Pages and if the file or preferences are the issue.

  • ABAP report /VIRSA/ZVFATBAK run very long on backend

    Hello experts,
    For ABAP report /VIRSA/ZVFATBAK which runs in the backend system, normally how long would it take to finish? Because now the duration for the report is already 2k++ seconds and its still running in our test system, while the report scheduled in our development system only uses 1 or 2 secs to finish.
    Any idea why is it taking that long in a test system?
    Appreciate the replies, thank you in advance.

    Thank you for the note sabita! Its really helpful.
    One question regarding the sapnote, it mentioned STAT collector job, is this a standard job?
    If yes, below are the standard collector jobs which is scheduled in the system, which would it be?
    SAP_COLLECTOR_FOR_JOBSTATISTIC
    SAP_COLLECTOR_FOR_NONE_R3_STAT
    SAP_COLLECTOR_FOR_PERFMONITOR

  • My computer is running very slow, how can I tell if it is a internet connection problem or my computer?

    I have a mac 10.5.8 and it has been very slow lately. I often get the rainbow wheel when using it and recently I have had to restart the computer alot because it seems to freeze. The only other open program besides Safari is the finder which i cant seems to ever shut off. I'm not sure if this is an interent connection problem or if my mac needs servicing.

    Please begin using 25 Ways to Speed Up Your Mac  you will almost certainly find the cause there. The first place I'd look though is how much RAM your system has, if you never upgraded it that could be the problem. Macs ship with a minimum amount of RAM so it's possible a simple RAM upgrade would help. Use the article though and methodically go through the suggestions.
    You also may benefit by reading XLab's Spinning Beach Ball of Death article too.

  • My Mac Mini is running very slowly how can I sort this out?

    I have a Mac Mini which is constantly backed up.  I use it a lot for everything and run two email accounts - one gmail and one business.  I appear to have only used 1/4 of the memory.  I have looked at the activity monitor but it does not mean much to me I am afraid.  Can anyone help?

    Have you looked here:
    https://discussions.apple.com/thread/5295279?tstart=0

  • How to run @?/rdbms/admin/utlrp.sql from OEM?

    After I make database changes I have to run utlrp.sql to compile all the invalid objects. I know how to do it from the host. But now I'm running this release from the OEM as sql jobs.
    Is there any equivalent of @?/rdbms/sadmin/utlrp.sql running from OEM?
    error msg:
    DOC> 2. Query showing UTL_RECOMP jobs that are running
    DOC>     SELECT job_name FROM dba_scheduler_running_jobs
    DOC>          WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>#
    utl_recomp.recomp_parallel(threads);
    ERROR at line 4:
    ORA-06550: line 4, column 4:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
    ORA-06550: line 4, column 4:
    PL/SQL: Statement ignored
    Elapsed: 00:00:00.01
    SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    Elapsed: 00:00:00.00
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
    ERROR at line 1:
    ORA-00942: table or view does not exist

    Hi,
    How can you create job in OEM to use EXEC UTL_RECOMP.recomp_serial(); inorder to compile all db objects.
    I tried few things but all resulting in error.
    I am creating OEM job as SQL script and where it ask for SQL script I am giving below code:
    1.
    WHENEVER SQLERROR EXIT FAILURE;
    EXEC UTL_RECOMP.recomp_serial;Error:
    SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    2.when trying with using utlrp.sql:
    WHENEVER SQLERROR EXIT FAILURE;
    @?/rdbms/admin/utlrp.sql;Error:
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    I can run utlrp.sql without any error manually from sql prompt as sys user.
    I am login into OEM as SYSTEM user and also with user who has privilege for backup.
    thanks,

  • SQL server is Running Very Slow

    hi,
    I used this following query for finding out how many connection are connected, it is showing that 70 connections,my ram is 16GB,  but still my sql server is running very slow. how can i increase my sql server speed. or how can i analyses that.I checked 
    even when no job was running, but still same speed. I'm using store procedures, SQL jobs no inline queries.
    SELECT
    DB_NAME(dbid) as DBName,
    COUNT(dbid) as NumberOfConnections,
    loginame as LoginName
    FROM
    sys.sysprocesses
    WHERE
    dbid > 0
    GROUP BY
    dbid, loginame

    hi,
    I used this following query for finding out how many connection are connected, it is showing that 30 connections,my ram is 16GB,  but still my sql server is running very slow. how can i increase my sql server speed. or how can i analyses that.I checked 
    even when no job was running, but still same speed.
    SELECT
    DB_NAME(dbid) as DBName,
    COUNT(dbid) as NumberOfConnections,
    loginame as LoginName
    FROM
    sys.sysprocesses
    WHERE
    dbid > 0
    GROUP BY
    dbid, loginame

Maybe you are looking for

  • Blocking Locks - What Was Likely Going On?

    I had a blocking lock yesterday that showed up in OEM under Cluster Database --> Cluster Database Locks. The blocking lock was a row exclusive (RX) table lock that was blocking 175 other sessions that were listed under the blocking lock as having req

  • How do I disable iPhoto from switching to camera on launch?

    Right now, iPhoto defaults to switching to the import view when it launches if my iPhone is already connected to the computer. (I've already set the "Connecting camera opens" setting to "No application"... doesn't help... anyway, that's not the behav

  • How to get the offset value in the Bex customer exit?

    Hello Friends, I have defined an offset on a variable in the query definition. I wish to capture this offset value  in the Bex variable customer exit . Does anyone how to get this?? Thanks, Gautam

  • PSD Thumbnails and Windows

    After installing a PSD Thumbnail viewer for Win7 explorer, some Photoshop files thumbnails are viewable in Windows Explorer, while others are still showing a PSD Icon for the Photoshop image in Windows explorer, any ideas?

  • 'reset all settings' on iPhone4 breaks passcode options!

    Wow, really annoying bug! I setup my iPhone 4 from a backup of my 3GS, but I decided today to reset the setting after hearing that setting up from a backup isn't always the best idea and might affect battery life. I figured, why not? Wellll, everythi