Application team runs a job which never completes.

Hi,
Application team runs a job which never completes in pkterp database (which is beta database). This program runs 24 hours but it never completes. The same job runs fine in INT, QA, PRE-PROD,prod database and completes in 90 minutes. Please let me know what are the parameters to check. I compared some parameters open_cursors, parallel_ they are same with pre-prod. The process has subprocesses which are parallel processes and i saw the wait events in TOAD they are
PX Deq: Execution Msg, PX Deq Credit: send blkd. These 2 wait events are there repeated multiple times for the subprocesses. These wait events are there for most of the time in waiting status. Please let me know what else to check & implement to solve the issue.
Thanks
Edited by: user01 on Apr 20, 2012 10:21 PM

Please let me know what are the parameters to check. RUN_JOB_SPEED=(FAST,GLOBAL,FOREVER)
:) joke
I compared some parameters open_cursors, parallel_ they are same with pre-prod. Please let me know what else to check.1. Check if stats in pkterp are fresh. Or re-gather.
2. You better start statspack couple of times when job runs (or AWR if you have a license on it) and get reports from where you can figure out SQLs that are slow, and other things that may slow them down. Then tune those SQLs or environment to meke them run fast.
4. You also may set trace on the job session, then tkprof it.
3. You or developer may execute job's code in manual mode, peace by peace and look what slows down. Then tune slow parts.

Similar Messages

  • I continually get the Update message and when I click it runs and never completes update. This has happened everytime I log in.

    Whenever I log in on my computer, I get a Firefox Update message and when I click on it it continually runs for hours and never completes the update.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Alert monitor for long running background jobs

    Hello,
    I have to configure an alert moniter for long running background jobs which are running more than 20000 secs using rule based. I have created a rule based MTE and assigend MTE class CCMS_GET_MTE_BY_CLASS to virtual node but i dont find a node to specify the time.
    could any one guide me how can i do this.
    Thanks,
    Kasi

    Hi *,
    I think the missing bit is where to set the maximum runtime. The runtime is set in the collection method and not the MTE class.
    process:  rz20 --> SAP CCMS Technical Expert Monitors --> All Contexts on local application server --> background --> long-running jobs. Click on 'Jobs over Runtime Limits' then properties, click the methods tab then double click 'CCMS_LONGRUNNING_JOB_COLLECT', in the parameters tab you can then set the maximum runtime.
    If you need to monitor specific jobs, follow the process (http://help.sap.com/saphelp_nw70/helpdata/en/1d/ab3207b610e3408fff44d6b1de15e6/content.htm) to create the rule based monitor, then follow this process to set the runtime.
    Hope this helps.
    Regards,
    Riyaan.
    Edited by: Riyaan Mahri on Oct 22, 2009 5:07 PM
    Edited by: Riyaan Mahri on Oct 22, 2009 5:08 PM

  • Job does not  complete

    I created a job using Oracle stored procedure. When I run the procedure manually it completes well. But when I run it using the configured job, it never completes after 18 hours. I need to restart database instance and kill it.
    Is there any way to find out what the job was doing all the time? Are there any log files. Please let me know, I'm new to Oracle jobs.

    Hi,
    It does not show it directly, but you can use it with the v$sqlarea view to find the SQL text. See here for more info
    http://www.dbasupport.com/oracle/ora10g/watching0101.shtml
    http://www.dbasupport.com/oracle/ora10g/watching0102.shtml
    The query should look like
    select sesion.sid,
           sesion.username,
           optimizer_mode,
           hash_value,
           address,
           cpu_time,
           elapsed_time,
           sql_text
      from v$sqlarea sqlarea, v$session sesion
    where sesion.sql_hash_value = sqlarea.hash_value
       and sesion.sql_address    = sqlarea.address
       and sesion.username is not nullHope this helps,
    Ravi.

  • Urgent run the job --SBIE0001 takes  long time more than two hours

    hi expert,
    we run the job which cocntian the program SBIE0001 it takes so along time,
    we use the job to eatra the date from our system to another satellite system, by checking the
    job this is one step takes the mainly time as below.
    88 LUWs confirmed and 88 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
    any update will be appreciated. thanks in advance.

    If you have transaction ME30 active in yous system, run the program into in.
    It will give more information about how the time is lost.

  • Application Is Running On A Version of Adobe AIR Which Is No Longer Supported?

    "This application is running on a version of Adobe AIR which is no longer supported. Please install the latest version of Adobe AIR from..."
    This is the message I get when I try opening an F4V. file. I never had this issue in the past. I tried going to the website to update my version of Adobe AIR, and it says I cannot, since it's already up-to-date. Any thoughts would be greatly appreciated.
    Thanks.

    Do you have access to the problematic machine? If so, maybe you could try to install Sysinternal's Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645
    Run the tool, create filter to see just events containing your app name and try to find in the result any issue... you could also compare the log with same log from not problematic machine or with app made with older SDK which was working.
    That's all what I can do... it's a shame that nobody from Adobe is interested yet... maybe you could also submit a bug.

  • Error while running job which is in DBA_JOBS

    All,
    My environment is Oracle - 10.2.0.4.0
    Linux - 2.6
    2 Node RAC environment
    I have a job which is listed in DBA_JOBS. It is not auto executing. When I run manually, I am getting error.
    Please see the error details below.
    SQL> exec dbms_job.run(1);
    BEGIN dbms_job.run(1); END;
    ERROR at line 1:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 413
    ORA-06512: at "SYS.DBMS_JOB", line 275
    ORA-06512: at line 1
    When I check the alert log files, I am getting following message. Looks like some privilege issue. Can somebody help me. Job is owned by System and ran by System.
    Mon Aug 10 11:09:27 2009
    Errors in file ****************.trc:
    ORA-12012: error on auto execute of job 1
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2251
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2457
    ORA-06512: at "SYS.DBMS_IREFRESH", line 685
    ORA-06512: at "SYS.DBMS_REFRESH", line 195

    Lose the double quote and use 2 single quotes instead.
    And bear in mind:
    - next_date = DATE
    - interval = VARCHAR2
    PROCEDURE SUBMIT
    Argumentnaam                   Type                    In/Out Standaard?
    JOB                            BINARY_INTEGER          OUT
    WHAT                           VARCHAR2                IN
    NEXT_DATE                      DATE                    IN     DEFAULT
    INTERVAL                       VARCHAR2                IN     DEFAULT
    NO_PARSE                       BOOLEAN                 IN     DEFAULT
    INSTANCE                       BINARY_INTEGER          IN     DEFAULT
    FORCE                          BOOLEAN                 IN     DEFAULT
    So, try:
    begin
    dbms_job.submit( job => :jobno
                   , what => 'begin dbms_refresh.refresh(''ADDR''); end;'
                   , next_date => sysdate
                   , interval => 'sysdate + 1/1440'
    commit;
    end;

  • How to schedule a job which needs to run evry day 1(AM) o clk?

    begin
    DBMS_SCHEDULER.create_job (
    job_name=> 'BJAZPROPMAINTAIN',
    job_type=> 'PLSQL_BLOCK',
    job_action=> schemaname.schedule_procedure;',
    start_date=> '02-aug-08 01:00:00 PM',
    repeat_interval=> 'FREQ=DAILY; BYHOUR=01',
    enabled =>TRUE,
    auto_drop=>FALSE);
    end;
    Hi all,
    i want to schedule a job which needs to be run every day one o clock early morning i haven't set the job_scheduler before this. by searching thru net and prev scheduler coding i have written the above code here for running evry day early morning 1 o clock i m little bit of confused in the time
    repeat_interval=>'FREQ=DAILY;BYHOUR=01'; whether is is correct one or wrong?
    and also there are some other job is scheduled in the same time . will it create any problem of executing at the sametime or we need to change the timing of 1:15 like that?
    please advise me..

    Thanks a lot so it will be executing every night 1 o clock am i right?
    It should.But I shall say that schedule it and than only we can be sure about it.About the timing part, its correct syntatically.
    i saw that job_priority column in dba_scheduler_jobs table but dont know what it does?
    and also how can fetch this job scheduler sid,serial# i checked v$session but how to correlate this ..
    please explain me
    In schedulerjobs,there is a column ,client_id.You can map it to the sid from the V$session.I don't have a box running Oracle at the moment so I wont be test it for you.Do it and post feedback.
    what will happen if more than one job is scheduled in the sametime
    i think for this only we set the priority on the two which one needs to be first exec(depends on the high priority)
    let me know about this.
    Jobs are prioritized by two parts,within the class they are a part of and individualy.If you have two jobs in the same class than they can be make run with a different priority with the priority clause set within them.This has a number which start from 1 meaning highest priority.So if there are two jobs scheduled for the same time,you need to check which job class they fall into. If they are in the same class than you have to change the priority of them.
    I suggest you read the books,they cover all these topics in much more detail.
    Also there is a dedicated forum about Scheduler.In future for Scheduler regarded questions, you can visit there.
    Scheduler
    Aman....

  • I have Process chains as well as some jobs which run.Most  of the data is l

    Hi Experts,
    I have Process chains as well as some jobs which run.Most  of the data is loaded through custom ABAP extracts.Now where to check for these jobs and how to understand them.I know that  we can check for jobs in sm37.But how do u load data using these jobs.Please tell me in detail how  and where u execute these jobs.Please give me an answer

    For creating a job use..transaction sm36.Define start condition ,periodicity. etc..
    To monitor it you can use--sm37 job monitoring
    Various options in sm37 which you can use after check(tick) on any particulur job..and then click on joblog.
    To view variants of any job click step>goto(top menu bar)>variant.
    ,rsmo ( process monitor) -- to view data load--you can view there data load daywise..here to view any particulur data load..click on infopackage /dtp/datasource in rsa1 and click on the monitor icon at the top..system will show you the concerned dataloads in process monitor
    For monitoring process chains--go in RSPC and double click on the chain and click on log button(yellow color) select data range..and you can view the status of a chain....red if failed and green if success..and yellow if still running.
    Also in sm37 you can find the status of a process chain by searching with job name---bi_process_trigger.
    To execute chaingo to RSPC>double click on the chain-->schedule(F8)
    If you know the data target of loading ,go in rsa1 and right click on the data target and select manage and you can view the request being loaded.

  • How to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also

    how to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also

    032ee1bf-8007-4d76-930e-f77ec0dc7e54 wrote:
    how to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also
    Please don't overwhelm us with so many details!  
    Just off the top of my head ... as a general approach ... something like
    nohup proca
    nohup procb
    nohup procc
    while (some condition checking that all three procs are still running ... maybe a ps -ef |grep  )
    do
    sleep 2
    done
    procd
    But, we'd really need to know what it is you are really trying to accomplish, instead of your pre-conceived solution.

  • Using Pop3. See 4 messages on webmail server. Run Th, says downloading 1 of 5 messages, never completes. One message is stuck in the pipe. How to clear?

    I'm using Pop3. I can see 4 messages on webmail.frontier.com server. I run Thunderbird, it says "Downloading 1 of 5 messages", but the green bar just sits there and never completes any of the downloads. One message is stuck in the pipeline somewhere. This has gone on for many days now. I have my wife use web mail until I can clear her local Thunderbird. How can I clear the stuck message in the download?

    Try with Thunderbird new profile
    *http://www-archive.mozilla.org/support/thunderbird/profile#new
    If its works fine, transfer your data's from old profile to new profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Thunderbird

  • CF application to run SQL 2k JOB?

    Hello All,
    I would like to build an application to run a MS SQL Job.
    The Job is located in \\ server \ Management \ SQL Server Agent \ Jobs .
    II need to connect from an users desktop, have them click a button and run the SQL JOB.
    Has any one done this?  Any information would help.
    Thank you
    TJones

    Assuming that your datasource's default database is not 'msdb' you will need to use the qualified name of the stored procedure: database_name.schema_name.object_name.  Since 'dbo' is the default schema it can be left blank.
    See T-SQL and ColdFusion examples below.  Be aware that I have not tested either of these.
    T-SQL:
    EXEC msdb.dbo.sp_start_job @job_name = 'LTC'
    OR
    EXEC msdb..sp_start_job @job_name = 'LTC'
    In ColdFusion (You will need to add values or specify null="yes" for each cfprocparam )
    <cfstoredproc procedure="msdb.dbo.sp_start_job" datasource="#mydsn#" returncode="yes" result="storedProc">
        <cfprocparam value="" cfsqltype="cf_sql_varchar" type="in" maxlength="128" />  <!--- @job_name  nvarchar(128) IN --->
        <cfprocparam value="" cfsqltype="cf_sql_char" type="in" />  <!--- @job_id  uniqueidentifier IN --->
        <cfprocparam value="" cfsqltype="cf_sql_integer" type="in" />  <!--- @error_flag  int IN --->
        <cfprocparam value="" cfsqltype="cf_sql_varchar" type="in" maxlength="128" />  <!--- @server_name  nvarchar(128) IN --->
        <cfprocparam value="" cfsqltype="cf_sql_varchar" type="in" maxlength="128" />  <!--- @step_name  nvarchar(128) IN --->
        <cfprocparam value="" cfsqltype="cf_sql_integer" type="in" />  <!--- @output_flag  int IN --->
    </cfstoredproc>
    You should review the SQL documentation and your datasource settings to verify that the user account associated with your datasource login has sufficient rights to start a job and to invoke procedures in the msdb database.
    Info on object names in SQL Server:
    http://msdn.microsoft.com/en-us/library/ms187879%28SQL.90%29.aspx

  • My IPAD2, which I bought in late March, has two patches of yellowish light on the lower frame of the screen, near the home button. These  spots can be seen especially when dark backgorund application is running. It's a hardware problem?

    My IPAD2, which I bought in late March, is affected by two patches of yellowish light on the lower frame of the screen, near the home button. These  spots can be seen especially when dark backgorund application is running.
    It's a hardware problem?

    Have you looked here:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    You can use the Accessibility Assistive Touch feature for almost all of the Home button functions.

  • Adadmin Compile APPS schema never complete & it running for infinite time

    Hi,
    When I am trying to compile apps schema from adadmin --> compile apps schema, It never complete & it is not compiling invalid objects, I tried to manually run the adutlrcmp.sql through SQL, also the same problem the scripts is stuck (hang) in the UTL_RECOMP.RECOMP_PARALLEL proceure.
    Please note the following:
    1- That I am able to compile invalid objects manually through Toad Or through alter package.
    2- The compile apps schema was running successfully & very fast in the past.
    What should I do? how can I resolve this issue ?
    Your quick feed back is very much appreciated.
    Marwan

    Hi Hussein,
    The following is the adadmin log for the compile apps schema:
    AD code level : [B.1]
    Connecting to SYSTEM......Connected successfully.
    Connecting to APPS......Connected successfully.
    sqlplus -s APPS/***** @/u03/applprod/prod/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***
    ** ***** 0 0 NONE FALSE
    Arguments are:
    AOL_schema = APPLSYS, AOL_password = *****,
    Schema_to_compile = APPS, Schema_to_compile_pw = *****,
    SYSTEM_password = *****, Total_workers = 0, Logical_worker_num = 0
    Object_type_to_not_compile = NONE
    Use_stored_dependencies = FALSE
    Connected.
    Running utl_recomp.recomp_parallel(0), if it exists
    no rows selected
    Elapsed: 00:00:00.17
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    STATUS_MESSAGE
    Running UTL_RECOMP.RECOMP_PARALLEL...
    declare
    ERROR at line 1:
    ORA-01013: user requested cancel of current operation
    An error occurred while running a SQL*Plus script.
    As you can see the :
    STATUS_MESSAGE
    Running UTL_RECOMP.RECOMP_PARALLEL...
    Is stucking & you wait for a long long time & it never ends So I canceled it manually.
    And when checking the database locks the following appears:
    OWNER OBJECT_NAME
    APPLSYS FND_CONCURRENT_QUEUES
    APPLSYS FND_CONCURRENT_REQUESTS
    Regards,
    Marwan

  • HT4972 My ipad 1 has never been updated and can't run many apps which makes it of not much use, how do I update it ? A simple step by step idiot proof guide would be best ! Can anyone help please ?

    My ipad 1 has never been updated and can't run many apps which makes it of not much use, how do I update it ? A simple step by step idiot proof guide would be best ! Can anyone help please ?

    You can only update the iPad to iOS 5.1.1and you cannot go any higher. If you never updated that high, you can do so by using iTunes on your computer. You will have to connect the iPad to your computer with the cable and launch iTunes
    You can read more here. Make sure that you read the section about using iTunes. The article starts off with using the Settings on the iPad for WiFi updates. That only works with the iPad 2 and higher that is already running iOS 5.
    Update your iPhone, iPad, or iPod touch - Support - Apple

Maybe you are looking for

  • Is there a way to automatically open the Activity Viewer & make it float?

    I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail e

  • How to use fnd_webattch.add_attachment API to attach document to an invoice?

    I am trying to use fnd_webattch.add_attachment API to attach document to an invoice. But the program seems successfully loaded  the attachment to Invoice. But when I try to open the attachment from UI, I got ORA-01403 no data found screen. Don’t know

  • 2.2 PODCAST BUG : Wont play when standby

    I have downloaded 2.2 and then grabbed a podcast from the store. I downloaded the enhanced Chris Moyles one. However I then hit the off button to turn the screen off and it stops playing!!!! You have to leave the screen on for it to play Anyone else

  • "Clam anti-virus" listed as user

    Apologies if this has been discussed before. Since upgrading to Tiger, I have a new user on my machine which I never specified: it's called 'Clam Anti-Virus'. I can log into it and it acts like any other user account. It doesn't show up in the admini

  • Won't accept my serial number

    I have just bought Fireworks CS3 upgrade – and downloaded it. But when I try to install it, it won't accept my Fireworks 8 serial number. Why can that be?