Execution time of reports takes time
Problem is:-
1. Report executes within five minutes.
2. now it takes more than ten minutes.
Please tell me how can i get back to five minutes
I do not know the sql statement running against the report.From the limited description that you have posted so far, it appears that the queries run by the report are taking longer time than usual.
You have to know the queries to see what could have caused the time increase and make appropriate changes to fix the problem.
How is the report created? as a stored procedure? as a .SQL SQL*Plus script? something else?
How is the report executed? from which client? what kind of output does it generate? .TXT file? .CSV file? something else?
Similar Messages
-
Report takes long time for few records
hi frends,
I m facing one problem with my Web based erp application which is developed in .net , in my application when i open the report from my applicaiton , in my temp folder there one file gets created name is "rpt conmgr cache"
bcoz of this for few records also my report takes too much time and opens very slow and it takes long time, and it happens in some of the reports only , other reports are working cool and its not creating any file in temp folder,,, so can u guide me whats this file and what can be the solution for it,
Thanks
Mithunhi sabhajit,
i have already checked the sql query it is taking less then seconds.
any other steps u want me to check then pls let me know?
thanks mithun -
How to get the execution time of a Discoverer Report from qpp_stats table
Hello
by reading some threads on this forum I became aware of the information stored in eul5_qpp_stats table. I would like to know if I can use this table to determine the execution time of a worksheet. In particular it looks like the field qs_act_elap_time stores the actual elapsed time of each execution of specific worksheet: am I correct? If so, how is this value computed? What's the unit of measure? I assume it's seconds, but then I've seen that sometimes I get numbers with decimals.
For example I ran a worksheet and it took more than an hour to run, and the value I get in the qs_act_elap_time column is 2218.313.
Assuming the unit of measure was seconds than it would mean approx 37 mins. Is that the actual execution time of the query on the database? I guess the actual execution time on my Discoverer client was longer since some calculations were performed at the client level and not on the database.
I would really appreciate if you could shed some light on this topic.
Thanks and regards
GiovanniThanks a lot Rod for your prompt reply.
I agree with you about the accuracy of the data. Are you aware of any other way to track the execution times of Discoverer reports?
Thanks
Giovanni -
Execution time of a report as a column
Hi Gurus,
Normally if you want to know the report execution time we will go to the Administrator-->manage sessions there we will find the time of execution of the respective reports.
Is it possible to add column(Execution Time) in the report and it as to show the time of that respective report what exactly showing in the manage sessions. Can we achieve this in OBIEE...?
Thanks,
RafiHi Rafi,
If you have enabled usage tracking, make use if Total_time_sec column,
http://gerardnico.com/wiki/dat/obiee/usage_tracking_time_column
Regards,
Dpka -
Execution time for the report.
Dear All,
How do i determine the execution time of the report?
If i need to run some program then please do tell me how can i run the program too?
Thanks..Hi,
The thread below is telling you how to see query statistics in ST03N.
Re: BEx Query is executed how many times???
Regards. -
Execution time for web reports
Hello every one,
How to calculate execution time for web reports, for query execution we will go through RSRT, by giving query name and press execute + Debug button then select statistical data & Do not Cache buttons then press enter, after getting output press on back button, we will get duration of the query.....
But my question is , can we calculate execution time for webreport, if so can you please guide me.
and can you also tell me , if there is any RRI for one report, how to calculate execution time for these queries.
Ex : Query ABC have XYZ as its drilldown report , i need to calculate execution time for XYZ report via ABC report.
Thanks in advance,
Best Regards.
NP.Hi,
For reports executed in java web you can add the parameter &PROFILING=X
to the URL in order to record the execution time. Please have a look at SAP note 1048691 for further information.
Best regards,
Janine -
Payables Account Analysis report takes long time to produce xml output
Hi,
I am trying to get xml data for the Payables Account Analysis report. I have changed the output format of the concurrent program to XML.
The report takes long time to produce the xml data irrespective of the number of rows fetched. But the same report with Text output runs very fast.
Any reason why the xml output takes long time?
thanks in advance
Malathi.Hi,
Thanks for the reply.
As mentioned above, i deleted the Q_FLEXDATA and ran the report. it takes less time.
But Will the report data not affected when we delete Q_FLEXDATA Group? and Why this flexdata group affects the running time?
Thanks,
Malathi. -
Concurrent report takes long time to complete
Dear all,
Concurrent report "Inactive items report" takes long time to complete.
How to solve this performance issue ?
Kindly offer me solution to this.
Regards,
ArunPlease post the details of the application release, database version and OS.
Was the performance acceptable before? If yes, any changes been done recently?
Do you have the statistics collected up to date?
Please enable trace and generate the TKPROF to determine why the request takes that long to complete.
https://forums.oracle.com/forums/search.jspa?threadID=&q=Slow+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Slow+AND+Concurrent+AND+TKPROF&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Report takes long time to refresh
Hi Experts ,
I have an issue ,when I have only used one workshet to upload as the original workbook has about 25 worksheet tabs and is too large to upload.The report takes 20 minutes to refresh I was rebuilding the report when I noticed that when I added the formulas to the bottom to the original report the report started to take longer to run.When the bottom section of the report is not included the report refreshed in about 2 minutes.
In the file that completes faster,there are no formulas after line 353
In the file that takes long time o refresh,the start on line 357.When the bottom section of the report is not included the report refreshed in about 2 minutes.Any sugession.Thanku.
Regards
R@vihi,
If you discover significant high frontend time, check whether the formatting is the reason. If so, either switch it off or reduce the result lines.
As formatting information is not transferred, the time consumed in the frontend can be reduced.
But the workbook you are executing may obviously take much time.
Message was edited by: AVR - Intelli -
Report execution time should displayed in Local Time
Hi,
I have a query related to the Report execution time.
Our SAP Servers are available in US. The Servers are configured in US Time.
We have developed a Z report and used SY-UZEIT to display the Report Run Time.
we also have a plant in India.
When we execute this report for India Plant we are getting the execution run time for US.
But we need to get the run time in India Time.
Please help ASAP.
Regards,
ShankarHi Shankaran,
In your Z report, give a condition to check if the Plant is in India. If it is in india, then get SY-UZEIT and add the time difference to get IST.
Display this time on your report.
For implementing this, you will have to convert the Date and Time into Timestamp (use FM "LXHME_TIMESTAMP_CONVERT_INTO"), add the Time to this Time stamp (use FM "TIMESTAMP_DURATION_ADD" and convert it back to Date and Time (use FM "LXHME_TIMESTAMP_CONVERT_FROM").
Reward points if useful.
regards,
Raj
Message was edited by: Rajagopal G -
Report Execution time in NQQuery.log should be display in Milliseconds
Report Execution time in NQQuery.log should be display in Milliseconds.
For Example :
--- Logical Query Summary Stats: Elapsed time 0, Response time 0, Compilation time 0 (seconds)
Can we see the logical Query Summary Stats in milliseconds?
If so Where should i cofigure to populate this.No. If you query comes in less that 1 second then you got nothing to worry about. I haven't seen a single DWH where users would worry about queries returning in milliseconds.
-
TO REDUCE THE EXECUTION TIME OF REPORT
HI,
CAN ANYONE TELL ME THAT, HOW CAN I REDUCE THE EXECUTION TIME OF THE REPORT. IS THERE ANY IDEA TO IMPROVE THE PERFORMANCE OF THE REPORT.Hi Santosh,
Good check out the following documentation
<b>Performance tuning</b>
For all entries
Nested selects
Select using JOINS
Use the selection criteria
Use the aggregated functions
Select with view
Select with index support
Select Into table
Select with selection list
Key access to multiple lines
Copying internal tables
Modifying a set of lines
Deleting a sequence of lines
Linear search vs. binary
Comparison of internal tables
Modify selected components
Appending two internal tables
Deleting a set of lines
Tools available in SAP to pin-point a performance problem
<b>Optimizing the load of the database</b>
For all entries
The for all entries creates a where clause, where all the entries in the driver table are combined with OR. If the number of entries in the driver table is larger than rsdb/max_blocking_factor, several similar SQL statements are executed to limit the length of the WHERE clause.
The plus
Large amount of data
Mixing processing and reading of data
Fast internal reprocessing of data
Fast
The Minus
Difficult to program/understand
Memory could be critical (use FREE or PACKAGE size)
Some steps that might make FOR ALL ENTRIES more efficient:
Removing duplicates from the the driver table
Sorting the driver table
If possible, convert the data in the driver table to ranges so a BETWEEN statement is used instead of and OR statement:
FOR ALL ENTRIES IN i_tab
WHERE mykey >= i_tab-low and
mykey <= i_tab-high.
Nested selects
The plus:
Small amount of data
Mixing processing and reading of data
Easy to code - and understand
The minus:
Large amount of data
when mixed processing isnt needed
Performance killer no. 1
Select using JOINS
The plus
Very large amount of data
Similar to Nested selects - when the accesses are planned by the programmer
In some cases the fastest
Not so memory critical
The minus
Very difficult to program/understand
Mixing processing and reading of data not possible
Use the selection criteria
SELECT * FROM SBOOK.
CHECK: SBOOK-CARRID = 'LH' AND
SBOOK-CONNID = '0400'.
ENDSELECT.
SELECT * FROM SBOOK
WHERE CARRID = 'LH' AND
CONNID = '0400'.
ENDSELECT.
Use the aggregated functions
C4A = '000'.
SELECT * FROM T100
WHERE SPRSL = 'D' AND
ARBGB = '00'.
CHECK: T100-MSGNR > C4A.
C4A = T100-MSGNR.
ENDSELECT.
SELECT MAX( MSGNR ) FROM T100 INTO C4A
WHERE SPRSL = 'D' AND
ARBGB = '00'.
Select with view
SELECT * FROM DD01L
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
SELECT SINGLE * FROM DD01T
WHERE DOMNAME = DD01L-DOMNAME
AND AS4LOCAL = 'A'
AND AS4VERS = DD01L-AS4VERS
AND DDLANGUAGE = SY-LANGU.
ENDSELECT.
SELECT * FROM DD01V
WHERE DOMNAME LIKE 'CHAR%'
AND DDLANGUAGE = SY-LANGU.
ENDSELECT.
Select with index support
SELECT * FROM T100
WHERE ARBGB = '00'
AND MSGNR = '999'.
ENDSELECT.
SELECT * FROM T002.
SELECT * FROM T100
WHERE SPRSL = T002-SPRAS
AND ARBGB = '00'
AND MSGNR = '999'.
ENDSELECT.
ENDSELECT.
Select Into table
REFRESH X006.
SELECT * FROM T006 INTO X006.
APPEND X006.
ENDSELECT
SELECT * FROM T006 INTO TABLE X006.
Select with selection list
SELECT * FROM DD01L
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
ENDSELECT
SELECT DOMNAME FROM DD01L
INTO DD01L-DOMNAME
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
ENDSELECT
Key access to multiple lines
LOOP AT TAB.
CHECK TAB-K = KVAL.
ENDLOOP.
LOOP AT TAB WHERE K = KVAL.
ENDLOOP.
Copying internal tables
REFRESH TAB_DEST.
LOOP AT TAB_SRC INTO TAB_DEST.
APPEND TAB_DEST.
ENDLOOP.
TAB_DEST[] = TAB_SRC[].
Modifying a set of lines
LOOP AT TAB.
IF TAB-FLAG IS INITIAL.
TAB-FLAG = 'X'.
ENDIF.
MODIFY TAB.
ENDLOOP.
TAB-FLAG = 'X'.
MODIFY TAB TRANSPORTING FLAG
WHERE FLAG IS INITIAL.
Deleting a sequence of lines
DO 101 TIMES.
DELETE TAB_DEST INDEX 450.
ENDDO.
DELETE TAB_DEST FROM 450 TO 550.
Linear search vs. binary
READ TABLE TAB WITH KEY K = 'X'.
READ TABLE TAB WITH KEY K = 'X' BINARY SEARCH.
Comparison of internal tables
DESCRIBE TABLE: TAB1 LINES L1,
TAB2 LINES L2.
IF L1 <> L2.
TAB_DIFFERENT = 'X'.
ELSE.
TAB_DIFFERENT = SPACE.
LOOP AT TAB1.
READ TABLE TAB2 INDEX SY-TABIX.
IF TAB1 <> TAB2.
TAB_DIFFERENT = 'X'. EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF TAB_DIFFERENT = SPACE.
ENDIF.
IF TAB1[] = TAB2[].
ENDIF.
Modify selected components
LOOP AT TAB.
TAB-DATE = SY-DATUM.
MODIFY TAB.
ENDLOOP.
WA-DATE = SY-DATUM.
LOOP AT TAB.
MODIFY TAB FROM WA TRANSPORTING DATE.
ENDLOOP.
Appending two internal tables
LOOP AT TAB_SRC.
APPEND TAB_SRC TO TAB_DEST.
ENDLOOP
APPEND LINES OF TAB_SRC TO TAB_DEST.
Deleting a set of lines
LOOP AT TAB_DEST WHERE K = KVAL.
DELETE TAB_DEST.
ENDLOOP
DELETE TAB_DEST WHERE K = KVAL.
Tools available in SAP to pin-point a performance problem
The runtime analysis (SE30)
SQL Trace (ST05)
Tips and Tricks tool
The performance database
Optimizing the load of the database
Using table buffering
Using buffered tables improves the performance considerably. Note that in some cases a stament can not be used with a buffered table, so when using these staments the buffer will be bypassed. These staments are:
Select DISTINCT
ORDER BY / GROUP BY / HAVING clause
Any WHERE clasuse that contains a subquery or IS NULL expression
JOIN s
A SELECT... FOR UPDATE
If you wnat to explicitly bypass the bufer, use the BYPASS BUFFER addition to the SELECR clause.
Use the ABAP SORT Clause Instead of ORDER BY
The ORDER BY clause is executed on the database server while the ABAP SORT statement is executed on the application server. The datbase server will usually be the bottleneck, so sometimes it is better to move thje sort from the datsbase server to the application server.
If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key statement) but are sorting by another key, it could be better to use the ABAP SORT stament to sort the data in an internal table. Note however that for very large result sets it might not be a feasible solution and you would want to let the datbase server sort it.
Avoid ther SELECT DISTINCT Statement
As with the ORDER BY clause it could be better to avoid using SELECT DISTINCT, if some of the fields are not part of an index. Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, to delete duplciate rows.
Good Luck and thanks
AK -
I'm looking for a way to include the amount of time that a report took to create. I've looked at an option given in an existing thread:
Re: How to calculate total time taken by a report
but this method is extremely slow. I already have complaints about execution time and don't need another excuse added that it's taking longer to tell how long it runs. It seems there would a very simple, and quick, way of getting this information. I just want to put the execution time, or maybe just start and end time, on the trailer where I already list all of the parameters that were passed.
Any help on this would be much appreciated.Can someone from Oracle at least tell me if this can be done or not???
-
Report execution time is in milliseconds
My report execution time is in milliseconds.Where should i examine this time?
If u have permisssions to see the log..(logging level >2) then you can see your execution time in the following path
setting--->Administration------>Manage Sessions------>View Log
In that you can find different sections which can give your the execution time
-------------------- Physical query response time
-------------------- Physical Query Summary Stats
-------------------- Logical Query Summary Stats -
Report Execution Time in BOE XI R2
<p>Hi,</p><p> I have a crystal report file which i want to export as a PDF.</p><p>I want to publish/execute the same in BOE XI R2 and see the statistics(basically performance information) regarding execution of the report and how much time it has taken to generate the PDF.</p><p> Is there any UI in BOE XI R2 which will enable me to see the statistics rather than writing JSP code which makes use of relevant SDK's to achieve the same.</p><p>Cheers </p><p> </p>
<p>You don't mention here whether you are viewing your reports, OnDemand or scheduled.</p><p>Either way you should be able to change the command line of the service that you are concerned with and add the switch '-trace' this may give you the information you are looking for.</p><p>Depending on how you are running your reports you may want to add this switch to the Job Server, Page Server, or RAS Server service. </p><p>For more info on how to add switches to your service command lines see your Administrator's Guide. </p><p>Rob Horne<br /><a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/blog/10</a></p>
-
How to find overall execution time for a report
Hi,
I want to know the total time duration which is taken by my Report. (To fetch(read) the data from database and to print them after filtering.
Can you please tell me a way to do so.
Thakns
Deepak SisodiaHi Deepak,
Open the report and refresh the report after successful retrival of data go in Report--Performance Information.
You will get all information related to report and execution time.
Thanks,
Sastry
Maybe you are looking for
-
Trailing space issue in Unix File
Hi All, I am facing an issue with the trailing space in Unix file content. When the file is being created in Unix server the trailing space is getting trimmed automatically. As per the requirement,this space should be retained in the Unix file as it
-
SAP Best Practice for Self Service Procuement
Hello All, I am trying to find Best Practice for Self Service Procuement in the help.sap.com. But I couldn't find them. Please help me to locate.
-
How do I burn my videos onto dvd
I tried burning a video playlist onto DVD afterwards I tried playing it but the files could not be read. Please Help!
-
Problems Overriding DBTransactionImpl2/DatabaseTransactionFactory
I have been following the tutorial in the JDeveloper Developer's Guide 25.8.4 How to Implement a Custom Constraint Error Handling Routine to catch and handle database constraint messages in our JHeadstart-based applications. Implementing and testing
-
Dear All, Can anyone tell me how to use BSP with workflows. regards, shiva