DTP step taking longer time
Hello Experts
As Iam new to SDN I tried to find an answer to this issue. Please find below is the Issue
There is a process chain. In this PC, After deleting the Index step, there is a DTP step, which updates the Cube with one DSO; the first DTP step is much delayed for update to cube. But where as the immediate DTP step to the same cube with another DSO is finishing so faster.
The prob is with the first DTP step which updates the cube frm DSO In this there is one Job with the namingconvention shown as BIDTPR_545787_1 was running more than 10000sec to update the Cube. Dont know why this job is running beyond so much time, where as it usually prior to some days back completes within 3000 secs.
Now the prob. is that the Data loading performance of the Prod system effected, where this DTP step is ruuning beyond time. Please can someone suggest how to find and resolve this issue as not sure why the below kind of JOBS are running for more time causing the PC much delayed for completion
BIDTPR_545787_1
BIDTPR_545689_1 etc of the First DTP are running longer. Pls help!
Regards
MD
Hi
There could have been many reasons like
during that particular DTP is scheduled,there will not be neough work processors,this is due to the some other long running loads/jobs are running and which would have been occupied.hence during this DTP runs,parallely crosscheck in SM12,SM50&SM51.
And also check that particular job in SM37 and understand where does its taking more time.
There could have been expensive select statement,if any routines used in the transformations.
Try to find out this.
Regards
Jagadish
Similar Messages
-
Wait step taking longer time than the defined wait time
Hi,
We have very simple BPM with 3 steps: Receive, Wait and Send.
Wait step has following parameters:
Type: Wait Specified Time Period
Duration: 1
Unit: Minutes
From the above parameters idelly it should wait only for 60 sec and start the next step which is send step. But Wait step is taking following times: 1m 09s,1m 40s, 3m 40s, 1m 41s, 2m 10s, 2m 16s, 2m 46s, 1m 09s, 1m 40s, 3m 39s
Does anyone know what could be the reason for above longer wait time??
Thx
N@v!nHi Naveen,
How did you measure these times? Tha additional time might be because of the message processing time included or size of the message is bigger to process.. or may be because of the network traffic..!!
Check the each time stamp from message monitoring tool in RWB and verify for accuracy.
VJ -
0WBS_ELEMT DTP is taking long time to finish
Hi ,
Data load from PSA to data target(0WBS_ELEMT) is taking very long time for around 1.2 lakhs data .while uploading data from source to PSA it is taking only 5 to 10 mins but from PSA to target it is taking around 2 hours where as earlier it used to take only 15 mins to finish.
There are no changes done for this object ,no increase of data volume and no corresponding transports moved to production also.
we have changed the data packet size also but it is also not resolving the issue.
can any one please tell me if you have any other options to check to resolve this issue.
Thanks in advance
BinHi ,
Check whether any routines is written which is taking time to be executed.
Hope it helps.
Regards,
Uday shankar. -
Create Index Step taking long time
I have a create index step in process chain for a infocube. The Create Index step is takes more time. The requests in this cube are rolled up and compressed. The batch process are also avaliable. But still the create index step takes more time. Any suggestions to reduce the time of create index step?
Hi,
If you have more Data in Cube then it will take some time..check any Dumps in ST22 and SM21. Ask Basis Team any Error messages in DB02 and check.
Else goto to RSRV
Tests in Transaction RSRV --> Database --> Database Indices of an InfoCube and Its Aggregates
Give Cube name and execute it and see the errors then if any RED color, ckick on Repaire Icon and see.
Thanks
Reddy -
We are running a report ? it is taking long time for execution. what step
we are running a report ? it is taking long time for execution. what steps will we do to reduce the execution time?
Hi ,
the performance can be improved thru many ways..
First try to select based on the key fields if it is a very large table.
if not then create a Secondary index for selection.
dont perform selects inside a loop , instead do FOR ALL ENTRIES IN
try to perform may operations in one loop rather than calling different loops on the same internal table..
All these above and many more steps can be implemented to improve the performance.
Need to look into your code, how it can be improved in your case...
Regards,
Vivek Shah -
Process Chain taking long time in loading data in infocube
Dear Expert,
We are loading data thru PC in AR cube it takes data frm
PSA-> DSO->Activation->Index Deletion->DTP(load infocube)->IndexCreation->Create Aggregates.
In Index creation everyday its taking long time around 9 to 10 hrs to create it
when we go in RSRV and repair the infocube thr loading of data happens fast. We are doing it(RSRV) everyday. In DB02 we have seen dat 96% tablespace is used.
Please tell permanent solution.
Please suggest its BI Issue or Basis.
Regards,
AnkitHi ,
We are loading data thru PC in AR cube it takes data frm
PSA-> DSO->Activation->Index Deletion->DTP(load infocube)->IndexCreation->Create Aggregates.
In the above steps insted of Create Aggregates it should be Roll up Process of aggregates.
You can ask the basis team to check the Table space in the transaction db02old/db02.
Check if there is long running job in SM66/SM50 kill that job.
check there should be enough Batch process to perform the steps.
Hope this helps.
"Assigning points is the ways to say thanks on SDN".
Br
Alok -
Hi Experts,
I am having problems to load data from the PSA to Infocube, this process takes long time. The amount of registries is 15.000.000, and the transformation rule does not have start routine or end routine. It only has three ruless with routines where assigns 0FISCYEAR and 0FISCPER3 from 0FISCPER. Also there is a routine that has ABAP code (a simple IF). There is some way to optimize it?
Greetings,
LeonelHi,
From your description it doesn't seem like it is due to ABAP code. It may be due to the number range buffer. Two steps to tackle this,
1) Go to DTP monitor you will find on which step this is taking long time like is it Start routine,trasnformation,rule or End routine etc.
2) If package size in the DTP is 50,000 reduce it to aroung 20,000.This will help to improve the speed definetly.
3) Refer to below blog for more information regarding number range,
/people/vikash.agrawal/blog/2006/04/05/load-lots-of-data-147faster148-with-buffering-number-range
Let me know if you need more inforation,
Regards,
Viren -
SSRS Reports taking long time to load
Hello,
Problem : SSRS Reports taking long time to load
My System environment : Visual Studio 2008 SP1 and SQL Server 2008 R2
Production Environment : Visual Studio 2008 SP1 and SQL Server 2008 R2
I have created a Parameterized report (6 parameters), it will fetch data from 1 table. table has 1 year and 6 months data, I am selecting parameters for only 1 month (about 2500 records). It is taking almost 2 minutes and 30 seconds
to load the report.
This report running efficiently in my system (report load takes only 5 to 6 seconds) but in
production it is taking 2 minutes 30 seconds.
I have checked the Execution log from production so I found the timing for
Data retrieval (approx~) Processing (approx~) Rendering (approx~)
10 second 15 sec
2 mins and 5 sec.
But Confusing point is that , if I run the same report at different time overall output time is same (approx) 2 min 30 sec but
Data retrieval (approx~) Processing (approx~) Rendering (approx~)
more than 1 min 15 sec
more than 1 min
so 1 question why timings are different ?
My doubts are
1) If query(procedure to retrieve the data) is the problem then it should take more time always,
2) If Report structure is problem then rendering will also take same time (long time)
for this (2nd point) I checked on blog that Rendering depends on environment structure e.g. Network bandwidth, RAM, CPU Usage , Number of users accessing same report at a time.
So I did testing of report when no other user working on any report But failed (same result output is 2 min 30 sec)
From network team I got the result is that there is no issue or overload in CPU usage or RAM also No issue in Network bandwidth.
Production Database Server and Report server are different (but in same network).
I checked that database server the SQL Server is using almost Full RAM (23 GB out of 24 GB)
I tried to allocate the memory to less amount up to 2GB (Trial solution I got from Blogs) but this on also failed.
one hint I got from colleague that , change the allocated memory setting from static memory to dynamic to SQL Server
(I guess above point is the same) I could not find that option Static and Dynamic memory setting.
I did below steps
Connected to SQL Server Instance
Right click on Instance go to properties, Go to Memory Tab
I found three options 1) Server Memory 2) Other memory 3) Section for "Configured values and Running values"
Then I tried to reduce Maximum Server memory up to 2 GB (As mentioned above)
All trials failed, this issue I could not find the roots for this issue.
Can anyone please help (it's bit urgent).Hi UdayKGR,
According to your description, your report takes too long to load on your production environment. Right?
In this scenario, since the report runs quickly in developing environment, we initially think it supposed to be the issue on data retrieval. However, based on the information in execution log, it takes longest time on rendering part. So we suggest you optimize
the report itself to reduce the time for rendering. Please refer to the link below:
My report takes too long to render
Here is another article about overall performance optimization for Reporting Services:
Reporting Services Performance and Optimization
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Interactive Report general Search is taking long time
Hi All,
I have two IR reports in my Application, Both are using same tables , same where clause, displaying column is different.
Both query returning 60000 records, In my first report , after my report gets loaded , i am using the general search button for getting some data,
when i try to find 100 in my reports , my first report displaying the search result in 5 seconds, But my second report i am doing the same steps , but its taking long time to respond.
Could some one tell me what is the cause for this problem also in what basis this search will work means how this will work?
Cheers,
SanHi Mike,
You are right test is the View
After i enabled the debug i found the below query
Report 1 Query
SELECT "Checkbox",
"RS_TRX_NUMBER",
"EXT_TRX_NUMBER",
"ARRANGEMENT_NUMBER",
"TRX_DATE",
"TRX_STATUS",
"SOLD_TO_CUSTOMER_NAME",
"TRX_TYPE",
"CURRENCY",
"COMMITTED_AMOUNT",
"BUDGET_AMOUNT",
"TRANSACTION_BUDGET",
"TRX_DESCRIPTION",
"FILES",
"Lines",
"Events",
"TRX_Revenue",
"ARGMT_Revenue",
"Holds",
"RS_TRX_ID",
COUNT(DISTINCT "ARRANGEMENT_NUMBER") over (),
COUNT(*) over () AS apxws_row_cnt
FROM
(SELECT *
FROM
(SELECT a.* ,
'Events' "Events" ,
'Billing' "Billing" ,
'Transaction Revenue' "TRX_Revenue" ,
'Arrangement Revenue' "ARGMT_Revenue" ,
'Lines' "Lines" ,
'Invoice' "Invoice" ,
'Holds' "Holds" ,
apex_item.hidden ( 2, a.rs_trx_number)
|| apex_item.checkbox ( 1, a.rs_trx_id, 'onchange="spCheckChange(this, ''x01'', ''P13_TRX_AJAX_NAME'', ''P13_TRX_COLLECTION_NAME'',''SELECTED_TRX'');"', c.n001, ':' ) "Checkbox"
FROM test a,
apex_collections c
WHERE a.rs_trx_id = c.n001(+)
AND c.collection_name(+) = :P13_TRX_COLLECTION_NAME
AND a.org_id IN
(SELECT DISTINCT org_id
FROM test1
WHERE (role_name = :APPUSER_CURRENT_ROLE)
) r
) r
where rownum <= TO_NUMBER(:APXWS_MAX_ROW_CNT)
Second Report
SELECT "Checkbox",
"EXT_TRX_NUMBER",
"RS_TRX_NUMBER",
"ARRANGEMENT_NUMBER",
"TRX_RM_STATUS",
"SOLD_TO_CUSTOMER_NAME",
"TRX_TYPE",
"TRX_DESCRIPTION",
"CURRENCY",
"COMMITTED_AMOUNT",
"UNEARNED",
"EARNED",
"REV_TRANSFERRED",
"REV_LINES",
"SCHEDULES",
"EVENTS",
"EXT_TRX_ID",
"PRIMARY_SALESREP_NUMBER",
"RS_TRX_ID",
COUNT(*) over () AS apxws_row_cnt
FROM
(SELECT *
FROM
(SELECT a.* ,
'Rev Lines' REV_LINES ,
'Schedules' Schedules ,
'Events' Events ,
apex_item.hidden ( 2, a.rs_trx_number)
|| apex_item.checkbox ( 1, a.rs_trx_id, 'onchange="spCheckChange(this, ''x01'', ''P5_REV_TRX_AJAX_NAME'', ''P5_RTCN'',''SELECTED_REV_TRX'');"', c.n001, ':' ) "Checkbox"
FROM Test a,
apex_collections c
WHERE a.rs_trx_id = c.n001(+)
AND C.COLLECTION_NAME(+) = :P5_RTCN
AND a.org_id IN
(SELECT DISTINCT org_id
FROM Test1
WHERE (role_name = :APPUSER_CURRENT_ROLE)
) r
) r
WHERE rownum <= to_number(:APXWS_MAX_ROW_CNT)
ORDER BY "ARRANGEMENT_NUMBER" DESC,
"EXT_TRX_NUMBER"
In Source i am using the same query in both report , But how come order by clause has been adding in my Second query.
Also in Report 1 :
COUNT(DISTINCT "ARRANGEMENT_NUMBER") over (),
COUNT(*) over () AS apxws_row_cnt
The same is not there in Second report query .
How can i remove that order by clause from my id also how can i resolve the above change (
COUNT(DISTINCT "ARRANGEMENT_NUMBER") over (),
COUNT(*) over () AS apxws_row_cnt)
Help me out to resolve.
Cheers,
San -
Hi,
I have performed test upgrade from 11.5.10.2 to 12.1.1.It was successful.
The American English Upgrade patch driver had taken 20 hours time to complete.
Now i am doing a second test run by following the same steps, but now the same patch is taking long time. It is running from past 24 hours.
And still 54000 jobs to complete.
The main difference between my two test runs is
1.For first instance both database and apps are in one server. (single node)
2.For this new test instance, we have database running one server and 12.1.1 file system on another server.
Will it make any difference? How can i diagnose the issue?
The patch log is not showing any errors, but taking long time to complete.
Thanks,Hi,
From m note 12.1.1 UPGRADE FROM 11.5.10.2 VERY SLOW XDOLOADER TASK HANGS [ID 1065393.1],
after changing mv /dev/random /dev/random_bak
ln -s /dev/urandom /dev/random
do i need to reboot the server?
After this can i continue the previous session of the patch? or start new session?
Thanks, -
Installation of ECC6 on AIX/ DB2 taking long time
Hi,
I am installing SAP ECC 6 on a heavy power server with AIX 5.3 with DB2 9 and amd all the other setting is perfect with correct JDK version. The first 24 step on installation went fine in 20 min and its been more than 16 hrs where installation is on ABAP import step. The installation is running fine with out any error but its takeing long time
does it take long time on AIX with DB2?
Cheers
ArunHi,
The space fine here. installation directory is 94% free. and Log also same. Let me know wht is the minimum to maximum time for the installation
Cheers
Arun -
I am extracting the data from ECC To bw .but Data Loading taking long tim
Hi All,
i am extracting the data from ECC To BI Syatem..but Data Loading Taking Long time. from last 6 hoursinfopackage is running.still it is showing yellow.Manually i made the red.and delete again i applied repeat of the last delta.but same proble is coming .in the status job is showing bckground job is not finished at source system.we requested to basis.basis people killed that job.again we schedule the chain also again same problem is coming.how can i solve this issue.
Thanks ,
chanduHi,
There are different places to track your job. Once your job is triggered in BW, you can track your load job where exactly it is taking more time and why. Follow below steps:
1) After InfoPackage is triggered, then take the request number and go to source system to check your extraction job status.
You can get the job status by taking the request number from BW and go to transaction SM37 in ECC. Then give the request number with begining '' and ending ''. Also give '*' to user name.
Job name: REQ_XXXXXX
User Name: *
Check the job status whether job is completed or cancelled or short dump. If the job is still running check in SM66 whether you can see any process. If not accordingly you got to check in ST22 or SM21 in ECC. If the job is complete, then the same in BW side now.
2) Check the data arrived in PSA, if not check whether Transfer routines or start routines are having bad SQL or code. Similarly in update rules.
3) Once it is through in Source system (ECC), Transfer rules , Update Rules, then the next task is updating the data might some time take more time which might be based on some parameters ( Number of parallel process to update database ). Check whether updating the database is taking more time and may be you got to check with the DBA guy also.
At all the times you should see minimum of atleast once process running all the time in SM66 till the time your job gets complete. If not you will see a log in ST22.
Let me know if you still have questions.
Assigning points is the only way of saying thanks in SDN.
Thanks,
Kumar. -
You are running a report. It is taking long time for
You are running a report. It is taking long time for
execution. What steps will you do to reduce the
execution time.
plx explain clearlyAvoid loops inside loops.
Avoid select inside loops.
Select only the data that is required instead of using select *
Select the field in the sequence as they are present in the database, and also specify the fields in the where clause in the same sequence.
When ur using for all entries in the select statement, check whether the internal table to which ur refering is not initial.
Remove select... endselect instead use into table
Avoid Select Single inside the loop, instead select all the data before the loop and read that internal table inside the loop using binary search.
Sort the Internal tables where ever necessary. -
Connecting to the database taking long time to connect database server
Hi
When I execute procedure i am getting the below message at bottom of the Oracle SQL Developer
"Connecting to the database"
it is taking more than 10 min plz guideHi
have you installed a normal Oracle Client also on your Host? normal Oracle Client
Did you connect with host:port:sid or with a Oracle Naming Service? through TNS Service
Can you test tnsping <alias> yes, It is working fine
Did other user have the same problem? yes
Did you connect through WAN or LAN connection? LAN (Intranet)
Can you tell more about you client/database setup?
Database setup:
OS: Window 2008 server
version: 11.1.0
Client: 11.1.0
OS: Window 2008 server
Now I am not able to execute single select query which table contains 6 records and 15 columns it is taking long time I have waited 30 min still no resutls
only one table is behaving like this remaining is working fine
Edited by: user9235224 on Oct 6, 2012 7:06 PM -
The ODS activation is taking long time
Hi,
We are on SAP NetWeaver BI 701 (Support Package 5).
We create a Z ODS, it will contain a lot of data (180.000.000 month-end) and we want to generate specific reports about it.
The activation is taking long time, I assume is because we checked the flag "SIDs Generation upon Activation". I am confused about this check. I really need it? is this check the only problem.
Thanks for you help.
VictoriaHi Victoria:
If your Z DSO is used only for staging purposes (you don't have queries based on this DSO and you send the data to another DSO or to an InfoCube) then you don't need to check the "SIDs Generation Upon Activation" box.
Even more, to achieve better performance during data loads in this scenario, you might consider using a Write Optimized DSO instead of a Standard DSO, but if you decide to take this alternative don't forget to select the "Do Not check Uniqueness of Data" box if you need to write several records with the same Semantic Key.
Regards,
Francisco Milán.
Maybe you are looking for
-
Error while tansporting the Data Source & Transformation
Dear Experts, I stuck in one problem. I just tried to transport one data source & its transformation fron BWD to BWQ. After importing the request, it throws an error (mentioned below): Start of the after-import method RS_RSDS_AFTER_IMPORT for object
-
Workarounds of 32K-limitation in jdbc:kprb needed!
Hello ALL. Can you help me with solution of workarounds the limitation in jdbc:kprb(internal driver) for stored java? I try to put large string more than 32K into LONG field type using internal driver and Java Stored Procedure. And I get the error: "
-
I have just created a new playlist, at the same time I have updated the ITunes software and that of my ITouch. My problem is that today I have been trying to edit the playlist and the edit playlist is greyed out please help. I have been in preference
-
HT3302 what can i do about a cracked screen??
I acidentally dropped my ipod touch and it cracked my screen so bad that i can not use my front cam. and pieces are falling off to the point that i can see the hard drive.. what can i do to get it fixed? Pleas help its only a year old...
-
MSI Radeon R9 270X Hawk - Screen corruption
Hello, I dearly ask for your help, I have an issue with my MSI HAWK Radeon R9 270X, after using my computer for a while the screen on the primary/secondary monitor will become unreadable(see the first link), If I switch the monitor off via Catalyst C