SSRS report is consuming much more time to fetch data from DB even direct run SP takes less than a second

Hi,
we are using SQL SERVER 2008R2 X64 RTM version. 
One of the SSRS report designed by developer  is  consuming  much more time( 5 to 6 minutes ) to fetch data from DB. Even direct run of  Stored Procedure (Called in report )takes less than a second to display the result set.
Please help.
Regards Naveen MSSQL DBA

Hi Naveen,
Based on my understanding, you spend a little time retrieving data with a stored procedure from database in dataset designer. However, it takes long time to run the report to display the data, right?
In Reporting Services, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. In your scenario, since you mentioned retrieving data costs a little time, you should check the table
Executionlog3 in the ReportServer database to find which section costs most of time, TimeProcessing or TimeRendering. Then you can refer to this article to optimize your report:
Troubleshooting Reports: Report Performance.
Besides, if parameters exist in the report, you should declare variables inside of the stored procedure and assign the incoming parameters to the variables. For more information, please refer to the similar thread:
Fast query runs slow in SSRS.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support

Similar Messages

  • BAM reports taking more time while fetching data from EDS

    I have created an external Data Source(EDS) in the BAM, and when i create an object with that EDS, it is taking very long to fetch data from the EDS( more than 20 mins.), but as the Database is installed on my local system, when i fire a query there, it don't take much time. Please help me in this, what could be the possible reason?

    Your messaging gateway question would be better addressed in the SQL PL/SQL forum
    All Places > Database > Oracle Database + Options > SQL and PL/SQL >  Discussions

  • Oracle mgw more time while fetching data from MQ

    Dear All,
    Good morning.
    I am using oracle 11.2.0.3 version and using MGW to connect to MQ series (IBM WebSphere MQ ,Version: 7.5.0.0).
    We are experincing delay while retriving message from MQ for some times and it is not happening always.
    MQ2AQ
    Found MQ MSG
    >>2014-12-22 09:25:49  MGW  Engine  1  TRACE  Polling
    Polling thread: JOB_MQ2AQ new msgCount = 1
    2014-12-22 09:25:49
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:49  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:49
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:50  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:50
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:51  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:51
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:52  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:52
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:53  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:53
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:54  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:54
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:55  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:55
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:56  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:56
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:57  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:57
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:58  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:58
    MQ2AQ
    MQ MSG DEQ Start
    >>2014-12-22 09:25:59  MGW  Engine  1  TRACE  worker0
    entering deqMessages for job JOB_MQ2AQ
    2014-12-22 09:25:59
    MQ2AQ
    MQ MSG DEQ Retry
    >>2014-12-22 09:25:59  MGW  Engine  1  TRACE  Polling
    Polling thread: skip polling JOB_MQ2AQ msg count=1
    2014-12-22 09:25:59
    MQ2AQ
    MQ MSG DEQ Finsh
    >>2014-12-22 09:25:59  MGW  Engine  1  TRACE  worker0
    leaving deqMessages for job JOB_MQ2AQ with seqno 1544 deqMsgCount = 1
    2014-12-22 09:25:59
    MQ2AQ
    MQ MSG ENQ to AQ
    >>2014-12-22 09:25:59  MGW  Engine  1  TRACE  worker0
    entering enqMessages for job JOB_MQ2AQ with request 1544
    2014-12-22 09:25:59
    MQ2AQ
    ENQ MSG 2 AQ Finish
    >>2014-12-22 09:26:02  MGW  Engine  1  TRACE  worker0
    leaving enqMessages for job JOB_MQ2AQ with seqno 1544
    2014-12-22 09:26:02
    MQ2AQ
    MSG REC
    >>2014-12-22 09:26:02  MGW  Engine  1  TRACE  worker0
    leaving commitMessages for job JOB_MQ2AQ with seqno 1544
    2014-12-22 09:26:02
    Above log took 11 sec to retrive the message from MQ
    But the below log took 1 sec and i use the same message in both time.
    MQ2AQ
    Found MQ MSG
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  Polling
    Polling thread: JOB_MQ2AQ new msgCount = 1
    2014-12-22 09:35:01
    MQ2AQ
    MQ MSG DEQ Start
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  worker0
    entering deqMessages for job JOB_MQ2AQ
    2014-12-22 09:35:01
    MQ2AQ
    MQ MSG DEQ Finsh
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  worker0
    leaving deqMessages for job JOB_MQ2AQ with seqno 1545 deqMsgCount = 1
    2014-12-22 09:35:01
    MQ2AQ
    MQ MSG ENQ to AQ
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  worker0
    entering enqMessages for job JOB_MQ2AQ with request 1545
    2014-12-22 09:35:01
    MQ2AQ
    ENQ MSG 2 AQ Finish
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  worker0
    leaving enqMessages for job JOB_MQ2AQ with seqno 1545
    2014-12-22 09:35:01
    MQ2AQ
    MSG REC
    >>2014-12-22 09:35:01  MGW  Engine  1  TRACE  worker0
    leaving commitMessages for job JOB_MQ2AQ with seqno 1545
    2014-12-22 09:35:01
    It showing Polling thread: skip polling JOB_MQ2AQ msg count=1"  multiple times. what is it mean?
    Can anyone share any good doc which i can refer to debug oracle message gate way issue.
    Thanks,
    Shine.

    Your messaging gateway question would be better addressed in the SQL PL/SQL forum
    All Places > Database > Oracle Database + Options > SQL and PL/SQL >  Discussions

  • Taking more time for retreving data from nested table

    Hi
    we have two databases db1 and db2,in database db2 we have number of nested tables were there.
    Now the problem is we had link between two databases,whenever u firing the any query in db1 internally it's going to acces nested tables in db2.
    For feching records it's going to take much more time even records are less in table . what would be the reason.
    plz help me daliy we are facing the problem regarding the same

    Please avoid duplicate thread :
    quaries taking more time
    Nicolas.
    +< mod. action : thread locked>+

  • Select query taking too much time to fetch data from pool table a005

    Dear all,
    I am using 2 pool table a005 and a006 in my program. I am using select query to fetch data from these table. i.e. example is mentioned below.
    select * from a005 into table t_a005 for all entries in it_itab
                       where vkorg in s_vkorg
                       and     matnr in  s_matnr
                       and     aplp   in  s_aplp
                       and     kmunh = it_itab-kmunh.
    here i can't create index also as tables are pool table...If there is any solutions , than please help me for same..
    Thanks ,

    it would be helpful to know what other fields are in the internal table you are using for the FOR ALL ENTRIES.
    In general, you should code the order of your fields in the select in the same order as they appear in the database.  If you do not have the top key field, then the entire database is read. If it's large then it's going to take a lot of time.  The more key fields from the beginning of the structure that you can supply at faster the retrieval.
    Regards,
    Brent

  • SELECT is taking lot of time to fetch data from cluster table BSET

    <Modified the subject line>
    Hi experts,
    I want to fetch data of some fields from bset table but it is taking a lot of time as the table is cluster table.
    Can you please suggest me any other process to fetch data from cluster table. I am using native sql to fetch data.
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 1:51 PM

    Hi Subhas,
    As per your suggestion I am now using normal SQL statement to select data from BSET but it is still taking much time.
    My SQL statement is :
    SELECT BELNR
                  GJAHR
                  BUZEI
                  MWSKZ
                  HWBAS
                  KSCHL
                  KNUMH FROM BSET INTO CORRESPONDING FIELDS OF TABLE IT_BSET
                  FOR ALL ENTRIES IN IT_BKPF
                  WHERE BELNR = IT_BKPF-BELNR
                      AND BUKRS = IT_BKPF-BUKRS.
    <Added code tags>
    Can you suggest me anymore?
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 4:16 PM

  • Taking huge time to fetch data from CDHDR

    Hi Experts,
    To count the entries in CDHDR table it taking huge time and throught time_out dump.
    I hope in this table some more than million entries exist. Is there any alternate to findout the entries?.
    We are finding the data from CDHDR by following conditions.
    Objclass - classify.
    Udate     -  'X' date
    Utime     -  'X' (( even selecton 1 Min))
    We also tried to index the UDATE filed but it takes huge time ( more than 6 Hrs and uncomplete)
    Can you suggest us is there any alternate to find the entries.
    Regards,
    VS

    Hello,
    at se16 display initila sceen and for you selection criteria you can run it as background and create spool reqeust.
    se16 > content, selection criteria and then Proram execute on background.
    Best regards,
    Peter

  • T-code SUIM taking much more time for generating output for profie change.

    Hi All
    We want to extract report for profile addition and deletion for Users in ECC 6. While executing the the t-code SUIM it is taking much more time (taking more than 20 hrs). This problem is coming after patch application
    Please give the solution/Suggest to minimize the time taken in report generation.
    Thanks-
    Guru Prasad Dwivedi

    Hello Prasad,
    The reason for the performance trouble is a new feature regarding the user change documents. Since note 874850 and 1015043 you will get a more complete overview about the changes regarding a user.
    The disadvantage of that new feature is, that in some customer system usage scenario, the performance is very poor. That's the case, if the central change documents are intensivly used also by other applications and the tables CDPOS, CDHDR, ... contains a very big count of rows. Unfortunatly the user change documents can not be searched by the key columns of the central change docs. - so the bad response time can explained.
    What now ... ?
    There are some work arounds to get the change documents on faster way.
    1st. - You can get the former report output and performance if you
           would use the report RSUSR100 instead of the new RSUSR100N in
           separate mode.
    2nd. - If you want to use the new report RSUSR100N directly and only
           want to get the information about the traditional topics
           (content of USH* tables) you should only mark the search areas
           on the tabstrip 'user attributes') to get a better performance.
         - furthermore limit the date range, if possible
    3rd. - You should regulary (monthly) archive the user relevant documents
           for PFCG and IDENTITY from the central change documents.
           As per our note 1079207 chapter 3 you can reload that archives
           into more selective tables.
           The selection for change documents will be rather faster over
           reloaded archived documents than the documents in the
           central change documents tables.
    Best Regards,
    Guilherme de Oliveira.

  • After upgrading to lion starting up is taking much more time ??

    After upgrading to lion starting up is taking much more time is there any solution to this ?
    i do all things about cleaning disk permission or editing .

    Have you check what is being started at the same time?
    Lion will start more applications then were being started in the past.
    Allan

  • Test program running taking much more time on high end server T5440 than low end server  T5220

    Hi all,
    I have written the following program and run on both T5440  [1.4 GHz, 95 GB RAM, 32 cores(s), 256 logical (virtual) processor(s),] and  T5220 [(UltraSPARC-T2 (chipid 0, clock 1165 MH) , 8GB RAM, 1 core, 8 virtual processors )] on same OS version.  I found that T5540 server takes more time than T5220. Please find below the details.
    test1.cpp
    #include <iostream>
    #include <pthread.h>
    using namespace std;
    #define NUM_OF_THREADS 20
    struct ABCDEF {
    char A[1024];
    char B[1024];
    void *start_func(void *)
        long long i = 6000;
        while(i--)
                    ABCDEF*             sdf = new ABCDEF;
                    delete sdf;
                    sdf = NULL;
        return NULL;
    int main(int argc, char* argv[])
        pthread_t tid[50];
        for(int i=0; i<NUM_OF_THREADS; i++)
                    pthread_create(&tid[i], NULL, start_func, NULL);
                    cout<<"Creating thread " << i <<endl;
        for(int i=0; i<NUM_OF_THREADS; i++)
                    pthread_join(tid[i], NULL);
                    cout<<"Waiting for thread " << i <<endl;
    After executing the above program on T5440 takes :
    real 0.78
    user 3.94s
    sys 0.05
    After executing the above program on T5220 takes :
    real 0.23
    user 1.43s
    sys 0.03
    It seems that T5440 which is high end server takes almost 3 times more time than T5220 which is low end server.  
    However, I have one more observation. I tried the following program :
    test2.cpp
    #include <iostream>
    #include <pthread.h>
    using namespace std;
    #define NUM_OF_THREADS 20
    struct ABCDEF {
    char A[1024];
    char B[1024];
    int main(int argc, char* argv[])
        long long i = 6000000;
        while(i--)
            ABCDEF*  sdf = new ABCDEF;
            delete sdf;
            sdf = NULL;
        return 0;
    It seems that T5440 server is fast in this case as compaired to T5220 server.
    Could anyone please help me out the exact reason for this behaviour as my application is slow as well on this T5440 server. I have posted earlier as well for the same issue. 
    Thanks in advance !!!
    regards,
    Sanjay

    You already asked this question...
    48 hours earlier, and in the same Solaris forum space
    Repeating the post isn't going to get you a response any faster, and actually now have people NOT respond because you are not showing any patience.
    These are end-user community forums, not a place to expect Oracle Technical Support.   There is no obligation that there be a response.
    If you have a business-critical issue and hope to get accurate and timely response, then use your service contract credentials to open a Support request.
    This new redundant post is locked.
    Edit:
    It appears that at the same time the O.P. posted this redundant thread, they also posted the same question to at least one other forum web site:
    http://www.unix.com/solaris/229269-test-program-running-taking-much-more-time-high-end-server-t5440-than-low-end-server-t5220.html

  • HT201274 My iphone4 is taking more than 5 hours to erase all the data still it is under process , still how much more time i have to wait for my mobile to ON

    My iphone4 is taking more than 5 hours to erase all the data still it is under process , still how much more time i have to wait for my mobile to ON ?

    I'm having this EXACT same problem with my iPhone 4, and I have the same computer stats (I have a Samsung Series 7)

  • SSRS 2008 R2 is extremely slow. The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes. I have read this is a bug in SSRS 2008 R2. We installed the most recent patches and service packs.

    SSRS 2008 R2 is extremely slow.  The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes.  I have read this is a bug in SSRS 2008 R2.  We installed the most recent patches and
    service packs.  Nothing we've done so far has fixed it and I see that I'm not the only person with this problem.  However I don't see any answers either.

    Hi Kim Sharp,
    According to your description that when you view the report it is extremely slow in SSRS 2008 R2 but it is very fast when execute the query in dataset designer, right?
    I have tested on my local environment and can‘t reproduce the issue. Obviously, it is the performance issue, rendering performance can be affected by a combination of factors that include hardware, number of concurrent users accessing reports, the amount
    of data in a report, design of the report, and output format. If you have parameters in your report which contains many values in the list, the bad performance as you mentioned is an known issue on 2008 R2 and already have the hotfix:
    http://support.microsoft.com/kb/2276203
    Any issue after applying the update, I recommend you that submit a feedback at https://connect.microsoft.com/SQLServer/ 
    If you don’t have, you can do some action to improve the performance when designing the report. Because how you create and update reports affects how fast the report renders.
    Actually, the Report Server ExecutionLog2  view contains reports performance data. You could make use of below query to see where the report processing time is being spent:
    After you determine whether the delay time is in data retrieval, report processing, or report rendering:
    use ReportServer
    SELECT TOP 10 ReportPath,parameters,
    TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],
    TimeDataRetrieval, TimeProcessing, TimeRendering,
    ByteCount, [RowCount],Source, AdditionalInfo
    FROM ExecutionLog2
    ORDER BY Timestart DESC
    Use below methods to help troubleshoot issues according to the above query result :
    Troubleshooting Reports: Report Performance
    Besides this, you could also follow these articles for more information about this issue:
    Report Server Catalog Best Practices
    Performance, Snapshots, Caching (Reporting Services)
    Similar thread for your reference:
    SSRS slow
    Any problem, please feel free to ask
    Regards
    Vicky Liu

  • Multiple select queries used in Excel BI report ,fetching data from Sharepoint DB(SP2010_Prod_ProjectServer) causing blockage on DB ,when more than one workbook(same copy of Excel BI Report) refreshed using Refresh All option.

    I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
    is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
    Please let me know mitigation for this blockage issue.
    Should I use begin transaction and commit transaction statements/ shared lock statements.
    please reply

    Hi,
    run same query at the same time?

  • How to do Query optimization?It takes more time to fetch the record from db. Very urgent, I need your assistance

    Hi all
                                     I want to fetch just twenty thousands records from table. My query take more time to fetch  twenty thousands records.  I post my working query, Could you correct the query for me. thanks in advance.
    Query                    
    select
    b.Concatenated_account Account,
    b.Account_description description,
    SUM(case when(Bl.ACTUAL_FLAG='B') then
    ((NVL(Bl.PERIOD_NET_DR, 0)- NVL(Bl.PERIOD_NET_CR, 0)) + (NVL(Bl.PROJECT_TO_DATE_DR, 0)- NVL(Bl.PROJECT_TO_DATE_CR, 0)))end) "Budget_2011"
    from
    gl_balances Bl,
    gl_code_combinations GCC,
    psb_ws_line_balances_i b ,
    gl_budget_versions bv,
    gl_budgets_v gv
    where
    b.CODE_COMBINATION_ID=gcc.CODE_COMBINATION_ID and bl.CODE_COMBINATION_ID=gcc.CODE_COMBINATION_ID and
    bl.budget_version_id =bv.BUDGET_VERSION_ID and gv.budget_version_id= bv.budget_version_id
    and gv.latest_opened_year in (select latest_opened_year-3 from gl_budgets_v where latest_opened_year=:BUDGET_YEAR )
    group by b.Concatenated_account ,b.Account_description

    Hi,
    If this question is related to SQL then please post in SQL forum.
    Otherwise provide more information how this sql is being used and do you want to tune the SQL or the way it fetches the information from DB and display in OAF.
    Regards,
    Sandeep M.

  • I just downloaded the trial of Photoshop.  Every time I try to open it, it comes up with an error message and closes less than 5 seconds into being opened.

    I just downloaded the trial of Photoshop.  Every time I try to open it, it comes up with an error message and closes less than 5 seconds into being opened.  Does anyone know how I can fix this?  I tried rebooting my computer and reinstalling photoshop.  Thank you!

    i7 is quite fast. that's what i am on too. You may need to
    It would be necessary that you have to use "Adobe Creative Suite Cleaner Tool". (see Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 )
    The order varies depending on your individual needs:
    1. Maybe you have to activate/deactivate, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    2. Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    3. Did you already try "uninstalling and re-installing"? Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool. Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    4. If necessary and for further questions click through http://helpx.adobe.com/contact.html or http://helpx.adobe.com/de/contact.html or
    Det finns också ett svenskt språkiga chatt. http://helpx.adobe.com/se/contact.html and if "open" please use chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.

Maybe you are looking for

  • Expanding text fields side-by-side in a 2 column layout

    Hi, I've been trying to create a form that is a 2-column layout. This form contains expanding text fields that are side-by-side with additional form elements underneath. I managed to get the expandable fields to work, however, if the user writes too

  • Outbound IDOC for customer master

    Hi I want to configure that as soon as I create a customer master using the transaction XD01 it should generate an outbound IDOC. Can anyone tell me how to configure this and what need to be br configured. Thanx in advance regards Vinod

  • Howto define report B based on result of Report A without manual triggering

    Hello I would like to create two reports which contains the following: 1. Report A with defined and closed set of filters, after report A finishes to run and retrieve results -> 2. Report B should start running filtered by one column which is result

  • Weblogic's LDAP Compliant directory service ?

    Hi Guys, I want to use the LDAP security realm for my authentication module.Now, as per J2EE compliancy Weblogic's directory server is LDAP compliant.Can I use weblogic's directory server itself (instead of Netscape,Microsoft etc.)for my LDAP securit

  • Anyone else notice 'purchase only" titles appearing on tv?

    I have noticed a strange behavior that only has appeared on my tv "Rented Movies" page... As it normally does, tv lists eight movie covers along the bottom of the screen as, "Viewers like you also rented." The odd thing is that on my "Rented Movies