Report Viewer is very slow at first time

Hi,
We are facing very slow when loading the reports.For any search it is taking more time to load the reports.We are thinking issue is due to report viewer control and we are using report viewer control version 10.0.0.0.Could you please let us know how to resolve
this issue.
Thanks,
Vijay

How big id the query?  How much memory does the server have? It is possible that an execution plan/data pages of the query was thrown from the cache and SQL Server needs to compile/read the data from disk again.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Running reports in CMC is Slow (the first time)

    when we first log into CMC - the report takes 10 minutes or more to run.
    when you run it subsequent times - it takes less than 15 seconds...
    what could be causing this unbearable delay the first time?
    I've seen some people say that you should build a blank report that users can run first - that is not a solution....
    Has anyone had a similar experience?

    Check the same query on DB, notice how much it takes to run.
    What might be happening here is, first time when it ran, that may be normal time it takes to run the report. After that, WEBI processing server (assuming you are running WEBI report) keep it in cache, so next time when it runs for the same data, it takes it from the cache, instead of querying the DB again. That is the reason, you see the results quickly.

  • InDesign problem With Https cURL Seems Very Slow at first time  to handshaking to server

    I am trying to connect the server using cURL from Indesign, but when i am trying to call to server the indesign takes so much time to open and initialize the socket it takes 25 seconds at first time only, but On all subsequent calls it is fast,
    *but when i am tryid that same programe with an c++ empty project it is very fast in 2 second we get a result back,
    *So the Problem With Indesign Socket initialization using https at first time because i have tryid same Curl On Simple c++ program and it is fast at all calls
    Specification:
    I am Currently using
         Indesign cs7 version 9.0
         visual studio 2010
    Can Anyone tell me why It happens,
    my code snippet is as follows please try to find if anyone knows better.
             curl_global_init(CURL_GLOBAL_ALL);
              curl = curl_easy_init();
             struct data config;
          config.trace_ascii = 1; /* enable ascii tracing */
          struct curl_slist *chunk = NULL;
             curl_slist_append( chunk, "Content-Type: application/json");
          curl = curl_easy_init();
          struct AppMemoryStruct chunk1;
             chunk1.memory = (char *)malloc(1);  /* will be grown as needed by the realloc above */
             chunk1.size = 0;    /* no data at this point */
           if(curl) {
                 curl_easy_setopt(curl, CURLOPT_URL, url.GetPlatformString().c_str());
                 curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM");
                 curl_easy_setopt(curl, CURLOPT_SSLCERT, "C:\\test\\omg.aps.net.pem");
                 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE);
              curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 2);
                 curl_easy_setopt(curl,CURLOPT_KEYPASSWD,"");
                 char error[1024];
                 curl_easy_setopt ( curl, CURLOPT_ERRORBUFFER, error );
           /* send all data to this function  */
                 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &AppWriteMemoryCallback);
          /* we pass our 'chunk' struct to the callback function */
                 curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk1);
          /* some servers don't like requests that are made without a user-agent
              field, so we provide one */
                 //curl_easy_setopt(curl, CURLOPT_USERAGENT, "libcurl-agent/1.0");
                 //curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
                 //curl_easy_setopt(curl, CURLOPT_HTTPGET,1);
         //heres the performance get down its around 25 seconds when i am calling The server Using Curl Object Having
         //https url 
                res = curl_easy_perform(curl);
        // till here
                 if(CURLE_OK != res)
                     errorCode = kFalse;
                     if(chunk1.memory)
                         free(chunk1.memory);
                      curl_easy_cleanup(curl);
                   return errorCode;
                 errorCode = kTrue;
                 if(chunk1.memory)
                     returndata.SetCString(chunk1.memory);
                     free(chunk1.memory);
               /* always cleanup */
             curl_easy_cleanup(curl);curl_global_init(CURL_GLOBAL_ALL);
          please try to find a key issue why the performance is very bad using https.
    Thanks,

    I was tempted to move this over to the InDesign SDK forum where there are coders, but there isn't a lot of traffic over there, so I'm going to leave this open here with the advice that you probably won't get an answer from anyone here becasue we are, for the most part, not folks who work with code beyond scripting (and very few scripters hang out here, either).
    You should cross-post over there yourself and hope someone who understnds the qusetion sees it in one place or the other.

  • New iMac is VERY SLOW on first time bootup

    I just bought a new iMac this evening and am trying to get through the initial setup but this thing is TERRIBLY slow.  I'm wondering if I purchased a bad one or something.  When im going through the set up menue (selecting country and connecting to internet), i click continue and it sits there for 30 seconds before it actually registered that I clicked continue. 
    When i first plugged in the power cord and it started up...it sat at the white boot up screen (with apple logo and loading wheel) for 15 minutes before it finally started the setup process.
    Is this normal or did I get a DOA computer?

    Not normal, I have had a few iMacs and they have never done that. I imagine even with the standard option 5400rpm drive in the new 21.5" iMacs it should still boot faster. Take it back, its new get another one.

  • Oracle query / view performing very slow.

    Hello,
    I had created a view in my application for example
    CREATE OR REPLACE VIEW EmpTransfer
    ( EMPID,EMPNAME,EMPMANAGER,EMPDOB,EMPTRANSFER)
    AS
    SELECT EMPID,EMPNAME,EMPMANAGER,EMPDOB,EMPTRANSFER
    FROM EMP ;
    After couple of months if we changed a columnname in the table EMP and added a new column.
    We changed column name EMPTRANSFER to OldEMPTRANSFER and added a new column as NEWEMPTRANSFER.
    The indexes were recreated on OldEMPTRANSFER and new index is creatd on NEWEMPTRANSFER column.
    the view is again recreated.
    CREATE OR REPLACE VIEW EmpTransfer
    ( EMPID,EMPNAME,EMPMANAGER,EMPDOB,OldEMPTRANSFER,NEWEMPTRANSFER )
    AS
    SELECT EMPID,EMPNAME,EMPMANAGER,EMPDOB,OldEMPTRANSFER ,NEWEMPTRANSFER
    FROM EMP ;
    This view is working as expected but some times this view is working very slow.
    The performance of this view is randomly slow.
    Is it possible that column name change will cause slowness...?

    What's the explain plans for both before and after the column change? It could possibly be running slow the first time because of a hard parse due to the query change, which will remain until it's in the shared_pool.
    Edited by: DaleyB on 07-Oct-2009 04:53

  • HT1338 My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds. Can you help me?

    My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds before the screen changes. This has been happening the past 24 hours. Any ideas?

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • My all reports are running very slow now, I am using Reports 6i?

    Dear Friends,
    My all reports are running very slow now, I am using Reports 6i. A few months ago there speed is better. Please suggest me the solution of this problem.
    Best regards,
    Shahzad

    Get statspack/AWR running against your database and analyze the reports. 15 minutes interval between snaps should be enough.
    That should give you a clue as to what is going wrong in your database.
    Since you are saying that the reports speed was better a few months ago, it is possible that you are suffering from "data growth".

  • Tell me what is ******* going on!!!????! The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!

    The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!
    I want to get a new iPhone to replace this defective phone. I am gonna be crazzzzzzzyyyyyyyy with anger,!!!,!,,,!  I takes2 hours to go to Regent street apple stores for three times!!!!!. It is a lot of transport fees !
    PLz tell me why! How to deal with it !

    Unless it's confirmed officially that your phone is defective, then you can ask for a replacement. Or you have to live with you. However you can trade it for a new one if you don't care the price drop.

  • Mail has 16k  messages, and performance is very slow, with loading times taking up to 5 seconds every time I open Mail. How can I increase performance?

    Mail has 16k  messages, and performance is very slow, with loading times taking up to 5 seconds every time I open Mail.
    How can I increase performance?
    I'm running a MacBook Air 4GB 1.7GHz  10.7.2.
    Graham

    One possible solution would be to organise your inbox into folders.
    Its never relly good on any system to have one folder that has everything in it.
    Try going to you web gui for that mail account and organise your folders and move mails from your inbox into corresponding folders for better organisation.
    Several folders containing the same amount of one folder will usually load a little quicker as the folder may not be accessed to download its content unless veiwed.
    So having 10 folders with organised content, and you inbox as an area thats to hold only new emails would work much much quicker with imap.
    Most imap servers will only update the contents of a folder when its veiwed.

  • Report performance is very slow

    Hi all,
    I have a table with 25 million rows. I create a report on this table in which i need to use the following expression
    ifnull(abc_accr_int_val,0)+ifnull(xyz_mar_val_lcy,0)
    and this experession is group by asset description but the report output time is very high.Further there is no index on these columns in the database.
    Please guide me that did my approach is right ??? if no what is the right approach
    Regards

    Hi,
    Thanks for such a beautiful and informative answers I really appriciated it.
    I catch the problem and now want to share with U. As u know my prompt is on Date Column but I dont want to show this coloumn in my report.I only want that a user give a date and two columns are shown in report 1) asset_desc 2) total sum (which is sum of 2 columns as i discussed in this thread).
    Now before...after creating the prompt on Date field I edit the report view and delete this coloumn (Date) because I only want above 2 colomns and not Date column in my report. But all sorting is performed on date bec it is in prompt (where clause). When I add Date column in my report (to show date col) the speed of the report is like sql and data fetching speed same like sql. Now tell me is there any way that I delete this col from my report but it exist in answer criteria table ??????
    I have 19 Asset Desc which return by sql and answers request.
    Regards

  • Crystal Report 10.5 very slow (30 minutes) to display

    crystal report 10.5 in vs 2008 display at extremely very slow speed in development server and production server. i have loaded a dataset as the datasource for the report. i also checked the code in debugging mode to know where the delay is but found out it is not from the code as the code executes to the end in less than a minute but the browser keeps loading for several minute before display.
    please kindly help to resolve this issue.

    With CR 2008:
    For OLE DB then use:
    MS SQL 2005 - OLE DB Provider
    MS SQL 2008 - SQL Native 10
    For ODBC then use:
    MS SQL 2005 - SQL Native
    MS SQL 2008 - SQL Native 10
    Once you have a report created, you can use the following code at runtime:
    Public Sub New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
            'Create an instance of the strongly-typed report object
            crReportDocument = New CrystalReport1()
            'Setup the connection information structure to be used
            'to log onto the datasource for the report.
            crConnectionInfo = New ConnectionInfo()
            With crConnectionInfo
                .ServerName = "escalade"    'physical server name
                .DatabaseName = "Pubs"
                .UserID = "sa"
                .Password = "admin"
            End With
            'Get the table information from the report
            crDatabase = crReportDocument.Database
            crTables = crDatabase.Tables
            'Loop through all tables in the report and apply the connection
            'information for each table.
            For Each crTable In crTables
                crTableLogOnInfo = crTable.LogOnInfo
                crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                crTable.ApplyLogOnInfo(crTableLogOnInfo)
            Next
            'Set the viewer to the report object to be previewed.
            CrystalReportViewer1.ReportSource = crReportDocument
    End Sub
    And be careful with subreports. If you use the same connection type as for the main report the subreport should piggy back on the main connection. If you use a different connection, you'll have to use code to connect the subreports:
    //loop through all the sections to find all the report objects
    foreach (CrystalDecisions.CrystalReports.Engine.Section crSection in crSections)
        crReportObjects = crSection.ReportObjects;
        //loop through all the report objects to find all the subreports
        foreach (CrystalDecisions.CrystalReports.Engine.ReportObject crReportObject in crReportObjects)
            if (crReportObject.Kind == ReportObjectKind.SubreportObject)
                //you will need to typecast the reportobject to a subreport
                //object once you find it
                crSubreportObject = (CrystalDecisions.CrystalReports.Engine.SubreportObject)crReportObject;
                string mysubname = crSubreportObject.SubreportName.ToString();
                //open the subreport object
                crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName);
                //set the database and tables objects to work with the subreport
                crDatabase = crSubreportDocument.Database;
                crTables = crDatabase.Tables;
                tableIndex = 0;
                bool SecureDB;
                //loop through all the tables in the subreport and
                //set up the connection info and apply it to the tables
                foreach (CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
                {   // check if integrated security is enabled
                    SecureDB = crSubreportDocument.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
                    string TableName = crTable.Name.ToString();
                    tableIndex++;
                    crConnectioninfo.ServerName = "VMW2K8CRSE2K8";
                    //if (!SecureDB)
                        crConnectioninfo.UserID = "sa";
                        crConnectioninfo.Password = "PW";
                        crConnectioninfo.DatabaseName = "QTYLTD";
                        crTableLogOnInfo = crTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo = crConnectioninfo;
                        crTable.ApplyLogOnInfo(crTableLogOnInfo);
    rpt.VerifyDatabase();
    For more info:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    http://scn.sap.com/docs/DOC-21967
    http://scn.sap.com/docs/DOC-21953
    (Not sure if I gave you the last two links already.
    - Ludek

  • Airport express very slow when extending Time Capsule

    I'm trying to help my father solve a networking problem.
    For the past several years, I had him using an airport base station and (2) Airport Express units as extenders.
    He was using a circa 2004 Powerbook G4 17" and a MacPro Dual Core tower unit.
    I finally got him to upgrade the Powerbook to a the new Macbook Pro i7. With the older computer out of the loop, I also upgraded him to Time Capsule.
    Everything is installed and running now. However, the network speed in portions of the house where the Express is supplying the signal is very slow. A test on the laptop with DSL Reports gave an average upload speed of about 200.
    When I move the laptop right next to the Time Capsule, I got a DSL Report speed of 22,000!
    This issue is not laptop specific (it shows up more on the MacPro because it's in a back room), but seems directly related to the speed passing through the Airport Express.
    What did I do wrong or do the Express units need to be upgraded (they are on firmware 6.3)?
    Thanks!

    Bob -
    Was wondering if you can elaborate on your response and perhaps help me? I apologize if I have missed this topic covered elsewhere.
    I am using a N-capable Time Capsule and an older model G-speed airport express. My biggest issue is that my wireless speeds are 1.5 download and 1.9 upload when in fact my cable modem pumps out 15! In reading your posts I see that my network is likely dropped down to G due to my old express, and in fact my computer may be running of a spliced version of that if using WDS settings?
    I think i'll end up calling apple support at some point but was curious if you can go over the facts of using N and G together, and if i can have my macbook pro speak to my N network only and my iphone 3G speak to G airport express only?
    Last piece of info is I use the airport express for my music.... not sure if this means they must be WDS or not? I'm just looking to get my N devices as fast as possible while continuing to use my G express. If you tell me i need to upgrade to a N express I can live with it.... but if i can avoid the $100 and work with what i have...all the better!
    Thanks in advance,
    Joe

  • Reports running is very slow

    Hi All,
    I have developed an application in oracle application express 3.2.My data size is very huge and reports are taking too much time in displaying contents.
    I have 30 million records in the table which has 4 years of data.
    Filters on the user interface are company,month,year,work location,employee name and category.Since this is my first application.Also first time i am working in Oracle database and APEX.So i don't have any idea in which way i can make it faster.
    I guess this can be done by some modification in tables like generating indexes or something else.
    Please guide me on this it will be highly appreciated.
    Also i am not using any images,graphical thing which is causing any delay in report generation.I am just creating a simple report and showing values sum,group by.
    Since my application is ready and already in production So it will be difficult to do changes in the report level.If by doing any changes in the tables can make it faster that would be really great.
    Regards,
    Oracle Rookie

    Hi
    Oracle SQL perfomance tuning is an entire art in it's own right! The most likely issue is that your SQL for the report needs tuning (and part of that may involve indexing, gathering table statistics etc.).
    This is probably best addressed in the PL/SQL & SQL forum here...
    PL/SQL
    However, beware that they will want a properly written question with all the relative information in. There are guidelines here...
    SQL and PL/SQL FAQ
    And specifically for tuning requests here...
    SQL and PL/SQL FAQ
    Although the amount of information required will look a little daunting, it really is worth doing properly - you will just be asked the info if you don't provide it, wasting yours and others time.
    Good Luck
    Cheers
    Ben

  • Report saving is very slow

    hi all
    its discoverer report when i want to save the report in html format it hangs and takes lot of time to save
    can anybody help
    kanchan

    Hi,
    Thanks for such a beautiful and informative answers I really appriciated it.
    I catch the problem and now want to share with U. As u know my prompt is on Date Column but I dont want to show this coloumn in my report.I only want that a user give a date and two columns are shown in report 1) asset_desc 2) total sum (which is sum of 2 columns as i discussed in this thread).
    Now before...after creating the prompt on Date field I edit the report view and delete this coloumn (Date) because I only want above 2 colomns and not Date column in my report. But all sorting is performed on date bec it is in prompt (where clause). When I add Date column in my report (to show date col) the speed of the report is like sql and data fetching speed same like sql. Now tell me is there any way that I delete this col from my report but it exist in answer criteria table ??????
    I have 19 Asset Desc which return by sql and answers request.
    Regards

  • Report region runs very slow, but its sql runs fast

    We have a page with a report region Type :SQL Query (plsq function body returning sql query) which runs very slow, pegging the tach on our db box for almost a minute before returning report rows. However, if we run the generated sql from sql plus, it returns all the rows in under 10 seconds with nary a blip on the box. Any idas how what could be causing this or how to debug?
    Thanks,
    Steve

    OK, here is the bad boy, shortly after our code that returns the data.
    declare
    rc__ number;
    simple_list__ owa_util.vc_arr;
    complex_list__ owa_util.vc_arr;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 63;
    null;
    null;
    simple_list__(1) := 'sys.%';
    simple_list__(2) := 'dbms\_%';
    simple_list__(3) := 'utl\_%';
    simple_list__(4) := 'owa\_%';
    simple_list__(5) := 'owa.%';
    simple_list__(6) := 'htp.%';
    simple_list__(7) := 'htf.%';
    simple_list__(8) := 'wpg_docload.%';
    if ((owa_match.match_pattern(p_string =>
    'f'
    /* */,p_simple_pattern =>
    simple_list__
    ,p_complex_pattern =>
    complex_list__
    ,p_use_special_chars =>
    false)))
    then
    rc__ := 2;
    else
    null;
    null;
    f(p=>:p);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    end if;
    :rc__ := rc__;
    end;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 25.53 26.59 4492 20992 60 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 1 25.53 26.59 4492 20992 60 1

Maybe you are looking for