Script takes long time to run

Hi Friends,
We have a leave record in the following manner:
name date leaves
ABC 01-oct-08 1
ABC 02-oct-08 1
ABC 03-oct-08 1
ABC 04-oct-08 1
ABC 05-oct-08 1
ABC 10-oct-08 1
ABC 18-oct-08 1
ABC 19-oct-08 1
ABC 20-oct-08 1
ABC 25-oct-08 1
ABC 26-oct-08 1
ABC 27-oct-08 1
ABC 28-oct-08 1
and we need an output in the following manner:
output
Name FromDate ToDate Leaves
ABC 01-oct-08 05-oct-08 5
ABC 10-oct-08 10-oct-08 1
ABC 18-oct-08 20-oct-08 3
ABC 25-oct-08 28-oct-08 4
The code for the above mentioned logic is as follows:
=======================================================
=======================================================
procedure KPM_AB_LWP_PROC(p_err_buf OUT VARCHAR2, p_ret_code OUT NUMBER) is
diff number;
prev_date date;
p_prev_date date;
first_date date;
last_date date;
dt date;
total_leaves number := 0;
ecode varchar2(20);
ename varchar2(240);
cursor ab_lwp_cur(process_from_date date, process_to_date date, e_code varchar2) is
select
ab.EMPCODE,
ab.RECORD_DATE,
ab.FIRST_HALF,
ab.SECOND_HALF,
(em.last_name || ', ' || em.TITLE || ' '|| em.FIRST_NAME || em.MIDDLE_NAME) EMP_NAME
from
kpm_hr_absent_record ab, kpm_hr_emp_mst em
where
ab.EMPCODE = em.EMPCODE
and (ab.FIRST_HALF in ('AB','LWP') or ab.SECOND_HALF in ('AB','LWP'))
and ab.EMPCODE like e_code
and ab.record_date between process_from_date and process_to_date;
cursor active_emp is
select empcode
from kpm_hr_emp_mst
where status='Active'
order by empcode;
begin
for emp in active_emp loop
begin
select min(ab.RECORD_DATE), max(ab.RECORD_DATE)
into prev_date, last_date
from kpm_hr_absent_record ab
where (ab.FIRST_HALF in ('AB','LWP') or ab.SECOND_HALF in ('AB','LWP'))
and ab.EMPCODE like emp.empcode;
exception
when others then
prev_date := null;
last_date := null;
end;
dt := prev_date;
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'Employee' || chr(9) || chr(9) || 'Name' || chr(9) || chr(9) || 'From Date' || chr(9) || chr(9) || 'To Date' || chr(9) || chr(9) || 'Total Leaves');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'---------' || chr(9) || chr(9) || '-----' || chr(9) || chr(9) || '----------' || chr(9) || chr(9) || '---------' || chr(9) || chr(9) || '-------------');
while dt <= last_date loop
first_date := dt;
total_leaves := 0;
for m in ab_lwp_cur(prev_date, last_date, emp.empcode) loop
ecode := m.empcode;
ename := m.emp_name;
diff := m.record_date - prev_date;
if diff = 0 then
if m.first_half in ('AB','LWP') then
total_leaves := total_leaves + 0.5;
end if;
if m.second_half in ('AB','LWP') then
total_leaves := total_leaves + 0.5;
end if;
prev_date := prev_date + 1;
else
prev_date := m.record_date;
goto print_leave;
end if;
p_prev_date := prev_date -1;
end loop;
<<print_leave>>
if total_leaves > 0 then
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,ecode || chr(9) || chr(9) || ename || chr(9) || chr(9) || first_date || chr(9) || chr(9) || p_prev_date || chr(9) || chr(9) || total_leaves);
end if;
dt := prev_date;
end loop;
end loop;
exception
when others then
FND_FILE.PUT_LINE(FND_FILE.LOG,'Error: ' || sqlerrm);
end KPM_AB_LWP_PROC;
=======================================================
=======================================================
The problem is that this code takes about 24hrs to run which is not accepted.
Kindly suggest us some other technique to implement the same logic.
For your reference, the KPM_HR_ABSENT_RECORD table has about 3,75,000 records in it.
Also we have created some indexes on certain column as recommended by explain plans.
Thanks in advance
Ankur

with t as (select 'ABC' as nm, to_date('01-oct-08','dd-mon-yy') as dt, 1 as leaves from dual union all
               select 'ABC',to_date('02-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('03-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('04-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('05-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('10-oct-08','dd-mon-yy'), 1 from dual union all
              select 'ABC',to_date('18-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('19-oct-08','dd-mon-yy'), 1 from dual union all
               select 'ABC',to_date('20-oct-08','dd-mon-yy'), 1 from dual union all
              select 'ABC',to_date('25-oct-08','dd-mon-yy'), 1 from dual union all
              select 'ABC',to_date('26-oct-08','dd-mon-yy'), 1 from dual union all
              select 'ABC',to_date('27-oct-08','dd-mon-yy'), 1 from dual union all
              select 'ABC',to_date('28-oct-08','dd-mon-yy'), 1 from dual)
   -- end of sample data
select nm, min(dt), max(dt), sum(leaves)
from
   select nm, dt, max(group_id) over(partition by nm order by dt) group_id
            , leaves
   from
      select nm, dt, case when trunc(dt) - 1 != lag(trunc(dt),1,trunc(dt))
                                                                 over(partition by nm order by dt)
                           then rownum
                           end group_id
             , leaves
      from t
group by nm, group_id
order by 1,2;Hope this helps.
@Blushadow, thanks very much for the test data.
Regards
Raj
P.S : For more information check this link
http://www.oracle.com/technology/oramag/oracle/04-mar/o24asktom.html
and search for "Analytics to the Rescue (Again)" in that page.
Edited by: R.Subramanian on Oct 22, 2008 4:52 AM
Changed count function to Sum function

Similar Messages

  • The 0co_om_opa_6 ip in the process chains takes long time to run

    Hi experts,
    The 0co_om_opa_6 ip in the process chains takes long time to run around 5 hours in production
    I have checked the note 382329,
    -> where the indexes 1 and 4 are active
    -> index 4 was not "Index does not exist in database system ORACLE"- i have assgined to " Indexes on all database systems and ran the delta load in development system, but guess there are not much data in dev it took 2-1/2 hrs to run as it was taking earlier. so didnt find much differnce in performance.
    As per the note Note 549552 - CO line item extractors: performance, i have checked in the table BWOM_SETTINGS these are the settings that are there in the ECC system.
    -> OLTPSOURCE -  is blank
       PARAM_NAME - OBJSELSIZE
       PARAM_VALUE- is blank
    -> OLTPSOURCE - is blank
       PARAM_NAME - NOTSSELECT
       PARAM_VALUE- is blank
    -> OLTPSOURCE- 0CO_OM_OPA_6
       PARAM_NAME - NOBLOCKING
       PARAM_VALUE- is blank.
    Could you please check if any other settings needs to be done .
    Also for the IP there is selction criteris for FISCALYEAR/PERIOD from 2004-2099, also an inti is done for the same period as a result it becoming difficult for me to load for a single year.
    Please suggest.

    The problem was the index 4 was not active in the database level..it was recommended by the SAP team to activate it in se14..however while doing so we face few issues se14 is a very sensitive transaction should be handled carefully ... it should be activate not created.
    The OBJSELSIZE in the table BWOM_SETTINGS has to be Marked 'X' to improve the quality as well as the indexe 4 should be activate at the abap level i.e in the table COEP -> INDEXES-> INDEX 4 -> Select the  u201Cindex on all database systemu201D in place of u201CNo database indexu201D, once it is activated in the table abap level you can activate the same indexes in the database level.
    Be very carefull while you execute it in se14 best is to use db02 to do the same , basis tend to make less mistake there.
    Thanks Hope this helps ..

  • Auto message  restart job take long time to run

    Dear all,
    I have configre the auto message restart job in sdoe_bg_job_monitor
    but it take long time to run.
    i have execute the report i have find out that it is faching records from smmw_msg_hdr .
    in the table present 67 laks records are there.
    actually it is taking a lot of time while getting data from the table
    is there any report or tcode for clearing data in the table.
    I need ur valiuble help to resolve the issue.
    Regards
    lakshman balanagu

    HI,
    If you are using oracle database you may need to run table statistics report (RSOANARA) to update the index. The system admin should be able to this.
    Regards,
    Vikas
    Edited by: Vikas Lamba on Aug 3, 2010 1:20 PM

  • NAC Agent takes long time to run

    Cisco NAC agent takes long time to popup or run on Windows 7 machine.
    The client machine is windows 7, running nac agent 4.9.0.42, against ISE 1.1.1
    Any ideas how to reduce NAC Agent timing?

    Hi Tariq,
    I'm facing the same issue with ISE 1.1.1 (268) with Agent 4.9.0.47 for Windows XP clients. I have already configured "yes" to disabled the l3 swiss delay and reduced the httpa discovery timer from 30 to 05 sec but still clients get aprox 2.30 minutes to popup and finished the posture discovery.
    Can you please advise if this is the minimum time or what is the minimum time and what are the parameters to set to a minimum time to complete agent popup and posture discovery..?
    Is there any option that we can run this on backgroup..?
    thanks in advance..

  • Oracle9i reports take longer time while running in web

    Hi,
    I have developed few reports in Oracle9i and I am trying to run the reports in web. Running a report through report builder takes lesser time compare to running the same report in web using web.show_document. This also depends on the file size. If my report file size(.jsp file) is less than 100KB then it takes 1 minute to show the parameter form and another 1 minute to show the report output. If my file size is around 190KB then the system takes atleast 15 minutes to show the parameter form. Another 10 to 15 minutes to show the report output. I don't understand why the system takes long time to show the parameter form.
    I have a similar problem while opening the file in reports builder also. If my file size is more than 150KB then it takes more than 15 minutes to open the file.
    Could anyone please help me on this.
    Thanks, Radha

    This problem exists only with .jsp reports. I saved the reports in .rdf format and they run faster on web now. Opening a .jsp report takes longer time(file with 600KB takes atleast 2 hours) but the same report in .rdf format takes few seconds to get opened in reports builder.

  • How to run ABAP Function Module in Background Wchich Takes Long Time to Run

    How to run ABAP Function Module in Background FOR LONG TIME
    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE
    RSDRT_INFOCUBE_DATA_COPY.
    I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Program was however interrupted after 10 minutes by ABAP. How can I run  it in background without interruption?
    THANKS A LOT.

    Hi,
    You can call this FM in a program and run that program in background.
    Regards,
    Raju

  • Take longer time to run sql worksheet

    Hi,
    I using sql developer for running a script in sql worksheet, it take an endless time to complete running the command, and the command is just a simple query (e.g. begin xxxx end;)
    This problem doesn't happen before in my pc. I had try to reinstall the software but still the same. Any one can help me?
    I using oracle sql developer v1.5.3
    Window 2K SP 4, 512 RAM Intel Pentium 1.8 GHz
    Java SE development: jdk 1.6.0_03
    Thanks

    Sure it's as simple as you think? How about a SELECT * FROM DUAL ?
    What kind of database is this?
    Can you see in the Enterprise Manager (or similar) if the database is very busy or something?
    Can you verify with another tool if it's related to sqldev or not?
    K.

  • When a process flow activity takes a long time to run.

    Hello,
    I have a process flow activity that sometimes takes a long time to run so that the process flow never ends. Is it possible that I can set the activity so that during a certain time that this has not been executed automatically flow process to continue?
    I'm Using Oracle Warehouse Builder 11g on Windows Server 2003 R1.
    Greetings and thanks.

    What I've done in the past is just use a small polling procedure (PL/SQL) and a conditional transition in the process flow, depending on what the proc returns (Continue or Fail) then the flow of control in the Process is changed.
    I think the key also is to not have too much paralellism going on too, that way it's easy to streamline the PF and remove slow moving processes to a more linear path (stopping bottle necks on your logical AND).
    Edited by: NSNO on Apr 29, 2010 2:31 PM

  • It takes long time to load the parameter's value when running we run report

    Hi,
    It takes long time to load the parameter's value when running we run report. What could cause this? How to troubleshoot the behavior of the report? Could I use Profile and what events should i select?
    Thanks

    Hi jori5,
    Based on my understanding, after changing the parameter, the report render very slow, right?
    In Reporting Service, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. To analyze which section take much time, we can check the table Executionlog3 in the ReportServer database. For more information, please
    refer to this article:
    More tips to improve performance of SSRS reports.
    In your scenario, since you mention the query spends less time, the delay might happens during report processing and report rendering section. So you should check Executionlog3 to check which section costs most of time, then you can refer to this article
    to optimize your report:
    Troubleshooting Reports: Report Performance.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • [SOLVED] systemd-tmpfiles-clean takes a very long time to run

    I've been having an issue for a while with systemd-tmpfiles-clean.service taking a very long time to run. I've tried to just ignore it, but it's really bothering me now.
    Measuring by running:
    # time systemd-tmpfiles --clean
    systemd-tmpfiles --clean 11.63s user 110.37s system 10% cpu 19:00.67 total
    I don't seem to have anything funky in any tmpfiles.d:
    # ls /usr/lib/tmpfiles.d/* /run/tmpfiles.d/* /etc/tmpfiles.d/* | pacman -Qo -
    ls: cannot access /etc/tmpfiles.d/*: No such file or directory
    error: No package owns /run/tmpfiles.d/kmod.conf
    /usr/lib/tmpfiles.d/gvfsd-fuse-tmpfiles.conf is owned by gvfs 1.20.1-2
    /usr/lib/tmpfiles.d/lastlog.conf is owned by shadow 4.1.5.1-9
    /usr/lib/tmpfiles.d/legacy.conf is owned by systemd 212-3
    /usr/lib/tmpfiles.d/libvirt.conf is owned by libvirt 1.2.4-1
    /usr/lib/tmpfiles.d/lighttpd.conf is owned by lighttpd 1.4.35-1
    /usr/lib/tmpfiles.d/lirc.conf is owned by lirc-utils 1:0.9.0-71
    /usr/lib/tmpfiles.d/mkinitcpio.conf is owned by mkinitcpio 17-1
    /usr/lib/tmpfiles.d/nscd.conf is owned by glibc 2.19-4
    /usr/lib/tmpfiles.d/postgresql.conf is owned by postgresql 9.3.4-1
    /usr/lib/tmpfiles.d/samba.conf is owned by samba 4.1.7-1
    /usr/lib/tmpfiles.d/slapd.conf is owned by openldap 2.4.39-1
    /usr/lib/tmpfiles.d/sudo.conf is owned by sudo 1.8.10.p2-1
    /usr/lib/tmpfiles.d/svnserve.conf is owned by subversion 1.8.8-1
    /usr/lib/tmpfiles.d/systemd.conf is owned by systemd 212-3
    /usr/lib/tmpfiles.d/systemd-nologin.conf is owned by systemd 212-3
    /usr/lib/tmpfiles.d/tmp.conf is owned by systemd 212-3
    /usr/lib/tmpfiles.d/uuidd.conf is owned by util-linux 2.24.1-6
    /usr/lib/tmpfiles.d/x11.conf is owned by systemd 212-3
    How do I debug why it is taking so long? I've looked in man 8 systemd-tmpfiles and on google, hoping to find some sort of --dubug option, but there seems to be none.
    Is it some how possible to get a list of the directories that it looks at when it runs?
    Anyone have any suggestions on how else to fix this.
    Anyone else have this issue?
    Thanks,
    Gary
    Last edited by garyvdm (2014-05-08 18:57:43)

    Thank you very much falconindy. SYSTEMD_LOG_LEVEL=debug helped my find my issue.
    The cause of the problem was thousands of directories in /var/tmp/ created by a test suite with a broken clean up method. systemd-tmpfiles-clean was recursing through these, but not deleting them.

  • Takes long time for shutdown after adding to domain

    Hi,
    Workstation OS - Window 7
    Domain Controller OS - Window server 2008 R2 standard
    Following thing i have measure with Stopwatch.
    1) When the laptop is in workgroup, it takes just 17 second for shutdown.
    2) when i added the same laptop in domain ( corp.abc.com ), now it takes 1minutes and 22 second for shutdown. ( it just show shutting down screen )
    Why the shutdown time increased so much?
    Do you have any idea?
    Note:- i have not make any changes in laptop, nor added any software. I have done the above testing because user start complaining that after putting laptop in domain it takes long time for shutdown. It's happening to all laptop where the OS is window 7
    There is no logoff scripts / gpo's as well as we don't have roaming profiles.
    Please advice.
    Thanks & Regards,
    Param
    www.paramgupta.blogspot.com

    Hi,
    To troubleshooting this issue, please install Windows Performance Tools (WPT) Kit. The Windows Performance Tools (WPT) Kit contains performance analysis tools, and is designed for analysis of a wide range of performance problems including application start
    times, boot issues, deferred procedure calls and interrupt activity (DPCs and ISRs), system responsiveness issues, application resource usage, and interrupt storms.
    To get the installer, you have to install the Windows 7 SDK.
    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1
    http://www.microsoft.com/en-us/download/details.aspx?id=3138
    For shutdown tracing:
    Run command:
    xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
    Collect logs and post them for further troubleshooting.
    For more information please refer to following MS articles:
    Long Shutdown Time on Windows 7 Ultimate x64
    http://social.technet.microsoft.com/Forums/en/w7itproperf/thread/11a42a93-efd2-4184-9ce8-bbc1438b7ea6
    Long shutdown time on Windows 7 64 bit laptop
    http://social.technet.microsoft.com/Forums/en-US/w7itproperf/thread/4440fc6e-c81e-440c-9183-9b7e176729d2
    Lawrence
    TechNet Community Support

  • Runbook takes long time to complete

    Hi,
    I created a customized flow to get the data from MS SQL. The runbook is working fine but it takes long time to complete. Is there any option to increase speed or something like that..?
    Regards,
    Soundarajan.

    If you look on the Log tab you can see which activity that took the longest. What does you runbook looks like? If you have for example a Run .NET script activity you can do some tuning on the runbook server. But I think a good start is to share a
    figure of your runbook.
    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

  • BPM Process chain takes long time to process

    We have BI7, Netweaver 2004s on Oracle and SUN Solaris
    There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails…</b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
    No other loads in CRM or BW when these process chains are running
    CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
    Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
    Attaching a zip file, please refer the “21 to 26 Analysis screen shot.doc” from the zip file
    Within the zip file, attaching “Normal timings of daily process chains.xls” – the name explains it….
    Also within the zip file refer “BPM Infoprovider and data source screen shot.doc” please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
    We have analyzed:--
    1)     The PSA data for BPM process chain for past few days
    2)     The info providers for BPM process chain for past few days
    3)     The ODS entries for BPM process chain for past few days
    4)     The point of failure of BPM process chain for past few days
    5)     The overall performance of all the process chains for past few days
    6)     The number of requests in BW for this process chain
    7)     The load on CRM system for past few days when this process chain ran on BW system
    As per our analysis, there are couple of things which can be fixed in the BW system:--
    1)     The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
    2)     In the definition of destination for the concerned RFC in BW (SM59), the “Technical Setting” tab says the “Load balancing” option = “No”. We are planning to make it “Yes”
    But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
    I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
    Best Regards,

    Hi,
    Normally  index  creation or deletion can take long time in case  your database statistics are not updated properly, so can check  stat  after your data loading is completed and index generation is done,  Do creation of database statistics.
    Then try to recheck ...
    Regards,
    Satya

  • The Application Takes long time to Start

    Hello All,
    We ar eon Unix->64 Bit-> Essbase 11.1.1.3.
    Problem Description : The application is taking long to start up. around 5 to 6 minutes. This is very first time it is happening.
    There were no specific changes done to the application in the recent releases.
    I have tried all options 1. Compacating outline, 2. Purging the application log etc. all other applications respond good on this host except this. Usually any application should not take more than 1 to 2 minutes to start up.
    There are no specific errors or XCP files recorded in the logs and folders.
    Appreciate your suggestions
    MS

    Thanks Jitendra and Prabhas,
    I know i have posted this thread sometime back and later I had to jump on a New release, so did not get time to check your inputs.
    Well I am back on this issue again. I have been working on various option to get this issues solved " start of App takes long time"
    Here are some Details. We are on SunOs 64 Bit, has 12CU with dual core,  with Essbase 11.1.1.3 running on it. This is an ASO application and has just 7 dimensions, Out of which the ORGANIZATION Dimension is pretty huge with Multiple Hierarchies enabled ( Both Stored and Dynamic ) and has more than 20,00,000 members including the alternate hierarchies ( Shared members)
    I did a smoke test by building dimension by dimension the app was startiung up in just *40* seconds. and when i reached the ORG dimension and added more than 70,000 memebrs . there i fall sick. the app now gets back to its old issue ( Takes more than 10 mainutes to start).
    CPU Usage ranges between 3.1 % to 4 %
    PID USER NLWP PRI NI VSZ RSS S STIME ELAPSED %CPU COMMAND
    4424 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep COMMAND
    4428 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep ESS
    4766 user1 88 55 20 6814168 5684200 O 17:37:48 35:45 3.1 /path/xyz/masked/ASO_APP hgfedc NOCREAT.
    But My question here is, in the last moth cube i still similar number of members in the cube and nothing really had changed.
    Essbase GURU's Please give me some Hint to think out of box now.
    Thanks
    MS

  • Takes Long time for Data Loading.

    Hi All,
    Good Morning.. I am new to SDN.
    Currently i am using the datasource 0CRM_SRV_PROCESS_H and it contains 225 fields. Currently i am using around 40 fields in my report.
    Can i hide the remaining fields in the datasource level itself (TCODE : RSA6)
    Currently data loading takes more time to load the data from PSA to ODS (ODS 1).
    And also right now i am pulling some data from another ODS(ODS 2)(LookUP). It takes long time to update the data in Active data table of the ODS.
    Can you please suggest how to improve the performance of dataloading on this Case.
    Thanks & Regards,
    Siva.

    Hi....
    Yes...u can hide..........just Check the hide box for those fields.......R u in BI 7.0 or BW...........whatever ........is the no of records is huge?
    If so u can split the records and execute............I mean use the same IP...........just execute it with different selections.........
    Check in ST04............is there are any locks or lockwaits..........if so...........Go to SM37 >> Check whether any Long running job is there or not.........then check whether that job is progressing or not............double click on the Job >> From the Job details copy the PID..............go to ST04 .....expand the node............and check whether u r able to find that PID there or not.........
    Also check System log in SM21............and shortdumps in ST04........
    Now to improve performance...........u can try to increase the virtual memory or servers.........if possiblr........it will increase the number of work process..........since if many jobs run at a time .then there will be no free Work prrocesses to proceed........
    Regards,
    Debjani......

Maybe you are looking for

  • How to install the plug-in of callHierarchy?

    Hi all, I have downloaded the plug-in but don't know how to use it. Can someone teach me? Thx a lot Regards, delol

  • Why key figures are not displaying

    Dear Experts, I am faced with a problem not encountered before. My report has multiple key figures all of which are not displayed when I run the query. However if I change the view to Tabular format (from query properties) the key figures become visi

  • Search with '%' symbol in lov window

    Hi ALL, How to get all the records from lov window by giving '%' symbol , currently i am able to do search by giving partial letter like 'A%' but i need all the records should be display by giving '%' symbol. thanks

  • Crystal 2008 Merge Module SP 2.2 - SP 3.0 Cannot Rebuild Setup Program

    I have a project that did use Crystal Reports 2008 Merge Module sp2.2. We upgraded to Merge Module CR 2008 sp3.0 hoping for speed improvements. So far we cannot even build the setup program. The Installer is referencing CR 2008 sp2.2 AND CR 2008 sp3.

  • Paragraph

    Hi, I made a script for add a continued at end of paragraph but unfunction, call you please help to fix it? var myDialog = app.dialogs.add({name:"add continueds",canCancel:true}); with(myDialog){     with(dialogColumns.add()){         with(dialogRows