Report in Designer fast, in Viewer extremely slow

Hi.
I have a report which connects to a SQL Server backend, calling 3 stored procs which deliver the data needed for the report. However, when I execute the report in the Designer (the web app uses CR 9, but I'm testing it with CR 2008 that came with VS 2008) it takes approx. 20 seconds to return with the data - yes, the query takes rather long...
When I run our web application and call up the same report, using the same parameters and connected to the same database, the Viewer sits there for about 10 minutes before finally showing the report. I've been trying to determine the cause of this but have come up empty so far.
The report itself is a fairly simple report: headers, a parameter overview (the report uses parameterized queries), the data, and no subtotals, no subreports, no formulas.
Why is this taken so long using the Viewer? Apparently it can be fast(er) since the Designer comes within 20 secs WITH the correct data!
I've tried a couple of things to see if I could determine the cause of the bad performance, but so far I've had no luck in improving performance whatsoever. The only thing left would be redesigning the underlying stored proc, but this is a rather complex stored proc and rewriting it would be no small task.
Anybody has any idea on what to do next? Our customers are really annoyed by this (which I can understand) since they sometimes need to run this report a couple of times a day...

Ludek Uher wrote:>
>
> Troubleshooting slow performance
>
> First thing to do with slow reports would be consulting the article u201COptimizing Reports for the Webu201D. The article can be downloaded from this location:
>
> https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/701c069c-271f-2b10-c780-dacbd90b2dd8
>
Interesting article. Unfortunately, trying several of the suggestions made, it didn't improve the report's performance. No noticeable difference in either Designer or Viewer.
>
> Next, determine where is the performance hit coming from? With Crystal Reports, there are at least four places in your code where slow downs may occur. These are:
>
> Report load
> Connection to the data source
> Setting of parameters
> Actual report output, be it to a viewer, export or printer
>
This part is not relevant. Loading the report isn't the problem (first query being executed under 0.5 seconds after starting the report); as I'll explain further at the end of this reply.
> A number of report design issues, report options and old runtimes may affect report performance. Possible report design issues include:
>
> u2022 OLE object inserted into a report is not where the report expects it to be. If this is the case, the report will attempt to locate the object, consuming potentially large amounts of time.
The only OLE object is a picture with the company logo. It is visible in design time though, so I guess that means it is saved with the report?
> u2022 The subreport option "Re-import when opening" is enabled (right click the subreport(s), choose format subreport, look at the subreport tab). This is a time consuming process and should be used judiciously.
The report contains no subreports.
> u2022 Specific printer is set for the report and the printer does not exist. Try the "No printer" option (File | Page setup). Also, see the following resources regarding printers and Crystal reports;
Tried that. It was set to the Microsoft XPS Document writer, but checking the 'No printer' option only made a slight difference (roughly 0.4 seconds in Designer).
> u2022 The number of subreports the report contains and in which section the subreports are located will impact report performance. Minimize the number of subreports used, or avoid using subreports if possible. Subreports are reports within a report, and if there is a subreport in a detail section, the subreport will run as many time as there are records, leading to long report processing times. Incorrect use of subreports is often the biggest factor why a report takes a long time to preview.
As stated before, the report has no subreports.
> u2022 Use of "Page N of M", or "TotalPageCount". When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page of the report before it displays the first page. This will cause the report to take more time to display the first page of the report
The report DOES use the TotalPageCount and 'Page N of M' fields. But, since the report only consists of 3 pages, of which only 2 contain database-related (read further below) I think this would not be a problem.
> u2022 Remove unused tables, unused formulas and unused running totals from the report. Even if these objects are not used in a report, the report engine will attempt to evaluate the objects, thus affecting performance.
> u2022 Suppress unnecessary report sections. Even if a report section is not used, the report engine will attempt to evaluate the section, thus affecting performance.
> u2022 If summaries are used in the report, use conditional formulas instead of running totals when ever possible.
> u2022 Whenever possible, limit records through Record selection Formula, not suppression.
> u2022 Use SQL expressions to convert fields to be used in record selection instead of using formula functions. For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports. SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
> u2022 Using one command table or Stored Procedure or a Table View as the datasource can be faster if you returns only the desired data set.
> u2022 Perform grouping on the database server. This applies if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
> u2022 Local client as well as server computer processor speed. Crystal Reports generates temp files in order to process the report. The temp files are used to further filter the data when necessary, as well as to group, sort, process formulas, and so on.
All of the above points become moot if you know the structure of the report:
3 pages, no subreports, 3 stored procs used, which each return a dataset.
- Page 1 is just a summary of the parameters used for the report. This page also includes the TotalPageCount  field;
- Page 2 uses 2 stored procs. The first one returns a dataset consisting of 1 row containing the headings for the columns of the data returned from stored proc 2. There will always be the same number of columns (only their heading will be different depending on the report), and the dataset is simply displayed as is.
- The data from stored proc 2 is also displayed on Page 2. The stored proc returns a matrix, always the same number of columns, which is displayed as is. All calculations, groupings, etc. are done on the SQL Server;
- Page 3 uses the third stored proc to display totals for the matrix from the previous page. This dataset too will always have the same number of columns, and all totaling is done on the database server. Just displaying the dataset as is.
That's it. All heavy processing is done on the server.
Because of the simplicity of the report I'm baffled as to why it would take so much more time when using the Viewer than from within the Designer.
> Report options that may also affect report performance:
>
> u2022 u201CVerify on First Refreshu201D option (File | Report Options). This option forces the report to verify that no structural changes were made to the database. There may be instance when this is necessary, but once again, the option should be used only if really needed. Often, disabling this option will improve report performance significantly.
> u2022 u201CVerify Stored Procedure on First Refreshu201D option (File | Report Options). Essentially the same function as above, however this option will only verify stored procedures.
Hm. Both options WERE selected, and deselecting them caused the report to run approx. 10 seconds slower (from the Designer)...
>
>
> If at all possible, use the latest runtime, be it with a custom application or the Crystal Reports Designer.
>
> u2022 The latest updates for the current versions of Crystal reports can be located on the SAP support download page:
>
> https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
>
I've not done that (yet). Mainly because CR 10.5 came with VS2008, so it was easier to test to see if I can expect an improvement regarding my problem. Up till now, I see no improvement... ;-(
> u2022 Crystal Report version incompatibility with Microsoft Visual Studio .NET. For details of which version of Crystal Reports is supported in which version of VS .NET, see the following wiki:
>
> https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsassemblyversionsandVisualStudio+.NET
>
>
According to that list I'm using a correct version with VS2008. I might consider upgrading it to CR 12, but I'm not sure what I would gain with that. Because I can't exactly determine the cause of the performance problems I can't tell whether upgrading would resolve the issue.
> Performance hit is on database connection / data retrieval
>
> Database fine tuning, which may include the installation of the latest Service Packs for your database must be considered. Other factors affecting data retrieval:
>
> u2022 Network traffic
> u2022 The number of records returned. If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set. Ensure you only return the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
The amount of network traffic is extremely minimal. Two datasets (sp 1 and 3) return only 1 row containing 13 columns. The sp 2 returns the same number of columns, and (in this clients case) a dataset of only 22 rows, mainly numeric data!
> u2022 The amount of time the database server takes to process the SQL query. Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports.
Ah. Here we get interesting details. I have been monitoring the queries fired using SQL Profiler and found that:
- ALL queries are executed twice!
- The 'data' query (sp 2) which takes the largest amount of time is even executed 3 times.
For example, this is what SQL profiler shows (not the actual trace, but edited for clarity):
Query                  Start time         Duration (ms)
sp 1 (headers)      11:39:31.283     13
sp 2 (data)            11:39:31.330     23953
sp 3 (totals)          11:39.55.313     1313
sp 1 (headers)      11:39:56.720     16
sp 2 (data)            11:39:56.890     24156
sp 3 (totals)          11:40:21.063     1266
sp 2 (data)            11:40:22.487     24013
Note that in this case I didn't trace the queries for the Viewer, but I have done just that last week. For sp2 the values run up to 9462 seconds!!!
> u2022 Where is the Record Selection evaluated? Ensure your Record Selection Formula can be translated to SQL, so that the data can be filter down to the server. If a selection formula can not be translated into the correct SQL, the data filtering will be done on the local client computer which in most cases will be much slower. One way to check if a formula function is being translated into a SQL is to look at u201CShow SQL Queryu201D in the CR designer (Database -> Show SQL Query). Many Crystal Reports formula functions cannot be translated into SQL because there may not be a standard SQL for it. For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated on the client computer. For more information on IF THEN ELSE statements see note number 1214385 in the notes database:
>
> https://www.sdn.sap.com/irj/sdn/businessobjects-notes
>
Not applicable in this case I'm afraid. All the report does is fetch the datasets from the various stored procs and display them; no additional processing is taking place. Also, no records are selected as this is done using the parameters which are passed on to the stored procs.
> u2022 Link tables on indexed fields whenever possible. While linking on non indexed fields is possible, it is not recommended.
Although the stored procs might not be optimal, that is beside the point here. The point is that performance of a report when run from the Designer is acceptable (roughly 30 seconds for this report) but when viewing the same report from the Viewer the performance drops dramatically, into the range of 'becoming unusable'.
The report has its dataconnection set at runtime, but it is set to the same values it had at design-time (hence the same DB server). I'm running this report connected to a stand-alone SQL Server which is a copy of the production server of my client, I'm the only user of that server, meaning there are no external disturbing factors I have to deal with. And still I'm experiencing the same problems my client has.
I really need this problem solved. So far, I've not found a single thing to blame for the bad performance, except maybe that queries are executed multiple times by the CrystalReports engine. If it didn't do that, the time required to show the report would drop by approx. 60%.
...Charles...

Similar Messages

  • WiFi is Fast, But Ethernet Extremely Slow

    On both my old 2008 24" iMac and my brand new 27" iMac, the Internet is extremely slow when the Ethernet cable is plugged in. When it's unplugged and I'm on WiFi, it's lightning quick.
    When I'm on Ethernet, even retrieving text-only emails from Mail is painfully slow, as if I'm on dial-up. Web pages that are light on graphics take forever to load, regardless of browser. Safari, Firefox, Chrome, doesn't make a difference.
    It's not all the time, sometimes it's very quick, but most of the time it's so slow it's unusable.
    Some things I've tried on my own:
    New Ethernet cable - no difference
    Plugging into different ports on cable modem - no difference
    Unplugging cable modem, waiting a couple minutes, plugging back in - no difference
    Had the cable company out, they checked everything and saw nothing wrong on their end
    Plugged my wife's Windows laptop into the modem - web pages load very quickly
    I added a DNS address to System Preferences > Network - no difference
    When I go to a website such as Speedtest.net, it routinely shows 60-70 Mb/s download (I'm paying for 60). Even if I'm on Ethernet, it may take forever to actually load the Speedtest page, but once I do and hit "Test", it comes back with at least 60 Mb/s.
    System specs are as follows: Late 2013 27" iMac, 3.5 GHz Intel Core i7, 8 GM RAM, NVIDIA GeForce GTX 4 MB graphics card, 1 TB fusion drive.
    Based on everything I've tried above, I don't think it's the modem or the cable company, but something in the Mac. When I got the new computer, I transferred everything from the old via Time Machine. I'm hoping I didn't transfer some obscure setting that is preventing the Ethernet from running at its full potential...
    Any suggestions would be most welcome - thank you!
    - Bob

    On both my old 2008 24" iMac and my brand new 27" iMac, the Internet is extremely slow when the Ethernet cable is plugged in. When it's unplugged and I'm on WiFi, it's lightning quick.
    When I'm on Ethernet, even retrieving text-only emails from Mail is painfully slow, as if I'm on dial-up. Web pages that are light on graphics take forever to load, regardless of browser. Safari, Firefox, Chrome, doesn't make a difference.
    It's not all the time, sometimes it's very quick, but most of the time it's so slow it's unusable.
    Some things I've tried on my own:
    New Ethernet cable - no difference
    Plugging into different ports on cable modem - no difference
    Unplugging cable modem, waiting a couple minutes, plugging back in - no difference
    Had the cable company out, they checked everything and saw nothing wrong on their end
    Plugged my wife's Windows laptop into the modem - web pages load very quickly
    I added a DNS address to System Preferences > Network - no difference
    When I go to a website such as Speedtest.net, it routinely shows 60-70 Mb/s download (I'm paying for 60). Even if I'm on Ethernet, it may take forever to actually load the Speedtest page, but once I do and hit "Test", it comes back with at least 60 Mb/s.
    System specs are as follows: Late 2013 27" iMac, 3.5 GHz Intel Core i7, 8 GM RAM, NVIDIA GeForce GTX 4 MB graphics card, 1 TB fusion drive.
    Based on everything I've tried above, I don't think it's the modem or the cable company, but something in the Mac. When I got the new computer, I transferred everything from the old via Time Machine. I'm hoping I didn't transfer some obscure setting that is preventing the Ethernet from running at its full potential...
    Any suggestions would be most welcome - thank you!
    - Bob

  • Macbook Pro 2011 extremely slow wondering if hard drive failure

    Hello, I want to start off by saying I'm not a huge computer guru, so that is why I'm coming here first. My Macbook Pro worked very well for a year, and then it has slowed down drastically. I've always been a windows user so mac is kind of foreign to me, but I'm trying to learn.
    Some problems I've encountered are 1. Extremely slow running whether internet related, or just an application. I have checked the activity monitor and nothing is hogging up my memory. 2. Spinning wait cursor (rainbow circle) when I try to do ANYTHING. It takes minutes to start computer once it makes it to home screen. The circle just spins for a few minutes. Even just web surfing it's there. 3. Battery drains from 100% to less than 20% in 30 minutes, which again is annoying. 4. When battery drains the fan turns on and seems to drain battery even faster. 5. I get a lot of random errors forcing shut down of programs. I have ignored this problem for two years by not using my laptop or using it very minimally, but I am going to be needing a laptop again for school and not just my iPad and phone so I was planning on taking my macbook to genius bar, but wanted to check here first since Apple is an hour away. Plus I want to be able to use the piece of equipment that I spent a decent chunk of change on. I used time machine to back up everything today. I know its not a space issue as I have 300+ free GB on hard drive. I have tried to read through similar posts, but its overwhelming so I came here to post my own question.
    I ran disc utility and there were some errors, which were able to be corrected after a couple tries. Computer still slow though when trying to do anything and running rainbow circle.
    In recovery mode I reinstalled OSX
    I was finally able to install updates after completing the above that were not able to be installed before.
    I ran etre check, this is the report that came up:
    Problem description:
    Extremely slow computer, possible hard drive failure
    EtreCheck version: 2.0.11 (98)
    Report generated November 3, 2014 9:25:29 PM EST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      Mac OS X 10.7.5 (11G63) - Uptime: 0:6:50
    Disk Information: ℹ️
      Hitachi HTS547550A9E384 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      disk0s1 (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (357.49 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      OPTIARC DVD RW AD-5970H 
    USB Information: ℹ️
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple, Inc. MacBook Pro
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.Logitech.Unifying.HID Driver (1.2.0 - SDK 10.0) Support
      /Users/[redacted]/Downloads/LCC Installer.app
      [not loaded] com.Logitech.Control Center.HID Driver (3.5.1 - SDK 10.0) Support
    Startup Items: ℹ️
      HP IO: Path: /Library/StartupItems/HP IO
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
      [failed] com.apple.coreservices.appleid.authentication.plist
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.CS5ServiceManager.plist Support
      [running] com.Logitech.Control Center.Daemon.plist Support
      [invalid?] com.luthresearch.savvyconnectmenu.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.adobe.SwitchBoard.plist Support
      [invalid?] com.luthresearch.scservice.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
      [loaded] com.google.keystone.agent.plist Support
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Dropbox Application (/Applications/Dropbox.app)
      SavvyConnect UNKNOWN (missing value)
      Google Chrome Application (/Applications/Google Chrome.app)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
    Internet Plug-ins: ℹ️
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.189
      QuickTime Plugin: Version: 7.7.1
      JavaAppletPlugin: Version: Java 7 Update 67 Check version
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Growl  Support
      Java  Support
      Logitech Control Center  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          11% Safari
          3% WindowServer
          0% fontd
          0% Google Chrome
          0% ps
    Top Processes by Memory: ℹ️
      245 MB WebProcess
      206 MB System Preferences
      168 MB Safari
      99 MB mds
      82 MB Google Chrome
    Virtual Memory Information: ℹ️
      1.37 GB Free RAM
      1.57 GB Active RAM
      318 MB Inactive RAM
      1.03 GB Wired RAM
      436 MB Page-ins
      0 B Page-outs
    Basically I'm wondering if anything sticks out in this report. I was thinking it could be a possible hard drive failure. I know my computer has been dropped on the floor at least a few times. Thoughts are appreciated. Thank you for your patience.

    Eab, I feel your pain! I am replying simply to share my similar ongoing experience with my early 2011 17 inch MacBook Pro, running Mavericks with seeming ample hard drive space, [applications requiring less than 100GB, about 200GB data (total drive space of 500GB)] & 4GB RAM. (Disclaimer: I am not a wise or computer-savvy mac guru - simply a fellow traveler who has had a very similar set of problems - apps taking forever to load, rapid battery depletion & super overheated MacBook.  While I am a Genius Bar groupie, getting to the Apple store is, for me, akin to an antarctic polar expedition (i.e. problematic). Having spent endless hours struggling with a similar issue, I offer you a synopsis of my struggle/experience.
    STEPS TO DATE:
    1.Installed several memory utility programs (Daisy Disk &  MacCleanse) system
    maintenance program to regularly and thoroughly empty application caches (Adobe apps & internet browsers being tremendous hogs), identify and remove language elements and other redundant space hogs, etc.   Result: Small, but real improvement when I forced myself to perform a "scan and delete" session every second major computer run (typically about 6-8 hours in length). However, this did nothing to help the problems regularly detected when I run the Disk Utility which almost invariably demonstrates disk permissions that need to be repaired and, with increasing frequency, has demonstrated actual disk errors that require restarting and walking through a disk repair protocol. I did bring it to the Genius Bar where they kindly reinstalled Mavericks which they could do in about an hour versus the several hours that doing this at home requires.  This did identify that my RAM was, on fact, a limitation on the speed at which I could run certain apps.
    2. My next move was to install an additional 4GB of RAM. I bought the new RAM on eBay for about $90 because, with 3 kids equipped with MacBooks & iPhones, I simply couldn't afford the official Apple RAM. I even installed it myself, with the help of a YouTube video. Result: Giant improvement in speed (starting up or switching apps. If I had realized how simple it turned out to be, I would have done it well over a year ago. Some minor improvement in the overheating problem, but persistent problems with disk permissions continually requiring repair and periodic disk repairs (using Disk Utility) required.
    PLANNED FINAL INTERVENTION:
    3. I am purchasing and installing a solid state drive (ssd) and simply chucking the original hard drive, after considerable discussion with my savvier mac friends. It has become clear to me that, sadly, every hard drive has a finite life affected by a variety of factors. I am, in fact, hard on my equipment - running multiple graphic apps simultaneously, transferring massive GBs of data between my laptop, time capsule and an array of hard drives. I will let you know how it goes, but can share that the decision to get a solid state drive followed many conversations with multiple Mac guru-types (in the hope of saving you similar painful tribulations). The cost varies according to the size of the drive, but $400-$500 would buy a reasonable starting size. I am waiting for Black Friday sales, myself. Amazon (where I will likely purchase the ssd) is already offering a number of pre-Black Friday deals.  While I don't really feel like putting out that amount of cash, I reassure myself that a new drive will almost certainly solve the disk errors (with a solid state one offering more durability) & will help me prolong the life of my MacBook Pro by a couple of years hopefully. It beats buying a new Apple MacBook only three and a half years after investing close to $3k for this one!
    I am certain that more experienced forum users could point you to software that could help defragment your drive or may be able to offer other solutions. I've simply had enough of struggling with burning thighs and head-banging behavior triggered by slow performance. I hope this is helpful to you in some small way.  The war is not yet over, but I'm feeling good about the battle plan!

  • 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

  • Changing database location per Table at runtime is extremely slow in viewer

    We are using the Crystal Reports 2008sp2 Viewer in windows forms .NET
    application to display various reports based on a Pervasive database.  The
    C# code dynamically changes the database table locations at run time.  The
    location needs to be set for each table since the location may be different
    for each table in the report. 
    We have tried to methods to change the location.
    1) Set  the Table.Location property in the ReportDocument.Database.Tables
    collection.
    foreach (Table table in rd.Database.Tables)
    Table.Location = "New Path";
    2) Set the TableLogOnInfo properties.
          TableLogOnInfo logonInfo = new TableLogOnInfo();
          logonInfo = table.LogOnInfo;
          logonInfo.ConnectionInfo.ServerName = dataPath;
          logonInfo.ConnectionInfo.LogonProperties[0] = new NameValuePair2("Data
    File", dataPath);
          logonInfo.ConnectionInfo.LogonProperties[0] = new NameValuePair2("Data
    File Search Path", path);
          table.ApplyLogOnInfo(logonInfo);
    Both of these methods work, but have extremely slow performance.  Both
    methods take between 2 and 3 seconds to execute per table.  Since many of
    our reports have 20 - 30 table references ( sometimes more ), this can add
    an additional 1-2 minutes to the display of a report.
    It seems that the Crystal viewer object is doing some sort of verification
    every time the database location is changed.  We have noted that as the
    location is changed, the database is being accessed by the viewer.  Please
    advise as to how to stop this behavior.  Is there a way to set the location
    without the viewer verifying the change?
    This problem is turning reports that run in the 2008 Report Designer in 3 seconds into reports that take
    many minutes to run.  We will hear nothing but screaming from our 300 customers.
    Thanks for any help.
    Bill Smith

    Hello,
    I have a very similar issue but with Crystal XI and XI R2.
    I'm using Oracle 10g, and changing a couple of properties using the following sequence for each table to change the login information and the table's current view (each view is a portion of the overall table):
    IDatabaseTablePtr table = tables->GetItem(tableN);          
    table->SetLogOnInfo(TheApp.GetDataSource(), TheApp.GetDatabase(), userID, pwd);
    char tableLocation[201];
    char tempTable[201], newTable[201];
    strcpy(tableLocation, table->GetLocation());
    // make new table name, put into newTable
    table->PutLocation(newTable);
    if (!table->TestConnectivity())
      ShowCrystalRE_Error(job);
    Stepping through in my debugger, the SetLogOnInfo seems very quick, it's the PutLocation( ) that seems to be taking alot of time.
    Any help would be greatly appreciated.
    This is extremely fast on SQL Server, only noticeably slow on Oracle.

  • Crystal Reports Running Extremly Slow

    Hi All,
    I'm new here and have been using Crystal reports XI Release 2 for a little while.
    However this has always run slow for me. The problem is not running the report to get results from the server the problem is editing the report. Amending text boxes drilling down etc.
    My computer specs are 2.8Ghz P4 and with 1gb of ram.
    Is there anyway of me speeding this up as I'm out of ideas
    Thanks a lot for your time

    Hi James
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
        ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of records returned
        ( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated?
        Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
        They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
        For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
        in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
        SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
         Minimise the number of subreports used, or avoid using subreports if possible because
         subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
         records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
         factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
        Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
        When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
        of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
        For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
    SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
        This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Regards
    Girish Bhosale

  • 2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow 'waves' motion (not smooth & fast), Right-click box ver

    2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow/jerky 'waves' motion (not smooth & fast), Right-click box very delayed/hangs in coming up, Text typing lagging/intermittent, activity extremely slow/delayed when pointing mouse over anything, changing from tab to tap extremely slow. Bascially EVERYTHING has become sooo slow, delayed, lagging etc. I have tried ALL possible checks (extensions, add-ons, plug-ins, download history, cache, cookies) & viewed nearly ALL the FF help sites. Is this a sudden/recent bug?? It doesnt only happen with Facebook, but EVERY window I open!!
    == This happened ==
    Every time Firefox opened
    == approx. 2 days ago

    I've personally not seen this behaviour since Firefox version 2. It however re-appeared for me in 3.6.6 and 3.6.7 (current) and it's bloody awful. Makes everything I do take 50% longer ..... great for efficiency in the modern world.
    This 3.6 branch is so riddle with flaws which seem never to be fixed. Each fix / update brings with it more problems ... worst of all I see version 4 is already in development but they cannot even get 3.6 right ??? WTF ????
    Mozilla must stop chasing version numbers as has become the trend in the software world. Fix an existing version to perfection then start working on a new branch of the product.

  • My new ipod is extremely slow, but i have full strength wifi. Works fast at others homes.

    My new ipod touch 4g is extremly slow in my house, but i have full strength wifi. Works fast at others homes. When i try to connect to the internet it gives me a server error. All other ipods and laptops work fine in the home. Does anybody else have this issue?

    Have you tried powering off and then back on your router?
    You can try:
    - Reseting the iPod. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    -Resetting network settings: Settings>General>Reset>Reset Network settings.

  • SQL Reporting Services 2014, Enabling Kerberos causes report manager to be extremely slow

    We are migrating our environment from SQL Reporting Services 2008 to 2014 on a new server. We are currently using kerberos on the 2008 instance, but when I enable kerberos on the 2014 Reporting Services instance the Report Manager becomes extremely slow.
    Has anyone seen this before? Any ideas of what I can check to see what is causing this problem.

    Just to clarify it is not slow when I run a report, it is slow in general. From first load to accessing a folder, settings, etc. This is all before even executing a report. 
    The error I see while using Wireshark is KRB Error: KRB5KDC_ERR_BADOPTION NT Status: STATUS_NO_MATCH. When I drill down the into the
    error I can see the kerberos string is testprjmnmtreports14.company.com, which is the URL we are using to access the site. I made sure to add that name as an SPN for the service account that is running SQL Reporting Services, however I still receive the error.
    Then I tried configuring the site to run without a hostheader, so I accessed the site with the server name ECTSTSQLRS5 and the site works perfectly fine, no errors are reported either. So it seems I have isolated the issue down to Kerberos but I am not sure
    how to resolve it. Here is some more information about my environment:
    DNS/URL used: testprjmnmtreports14.company.com
    Server Name (FQDN): ECTSTSQLRS5.company.int
    AD Domain Name: company.int
    Server Version: Windows Server 2012 R2
    AD Functional Level: 2008 R2
    I also have the following SPNs set for my SQL service account:
    http/testprjmngmtreports14.company.com
    http/testprjmngmtreports14
    http/ECTSTSQLRS5.COMPANY.INT
    http/ECTSTSQLRS5
    As you can see I am trying to use a .com address but my AD domain is .int which I think is the issue, but I do not have the same problem on my other server that is running Windows Server 2008 R2. 

  • All design programs running extremely slow and takes forever to save and sometimes shuts down randomly?

    Ok so  I'm a design student at a community college (about to graduate soon and will be continuing on getting my BFA) I have all of the creative cloud suite. I have Illustrator, Photoshop, Lightroom, InDesign, etc. Recently I started having problems with all of the programs. Whenever I work in the programs they would run extremely slow. Recently, I tried to save a .eps file that was only about 1.2 GB and it took me an hour to save, and this was when I was working off of my computer desktop. When I place the .eps file in Indesign, everything would go blank and it would freeze up. Also I had an error sign popping up from InDesign saying "out of memory". Im not sure if that is related to my computer's hard drive or indesign itself. I just started using creative suite so the creative suite is pretty new to me. Sometimes in Indesign when I do the Command+w to preview the whole project, it would be completely black and showing nothing and I would hit escape and the whole software screws up. Then I would do a force quit on the software and then Indesign would say there was a serious error and must shut down. That error message has been popping up several times now. I also talked to Apple support and they suggested me doing a Repair disk utility (which I am currently doing right now) and also recommended me contacting Adobe since they know their software. I checked software to see if there is any updates that is needed but everything is up to date. I'm not quite sure why its acting like this so I'm reaching out both to Apple and Adobe to see if both can help me solve the problem. If anybody had experienced this problem before and could help me troubleshoot this issue that would be great.

    I installed the creative suite about a year ago, and this just started happening last weekend. I didn't think it would be a problem and that it would last for a day since I was working on InDesign all day and Illustrator and it usually goes away after I finish using the programs. But this has been occurring for about a week now and has not gone away. and yes the other programs are running slow. I was trying to resize some images for a client and Photoshop was acting extremely slow  when I was trying to resize the image and also place an image into a 8x10 document in Photoshop. I'm not sure how to find my system specifications.
    All design programs running extremely slow and takes forever to save and sometimes shuts down randomly? 

  • Since I downloaded version 4 of Firefox, I'm having the following problems: Extremely slow at loading all web sites, can't view PDF files from web sites, and lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

  • One safari is fast but the other one is extremely slow while open the same website!

    When i open nrich.maths.org on my two macbook pro, one is fast but the other one is extremely slow. I traced this website on both but seemed nothing difference.
    My safaris are both version 5.1.2 (7534.52.7), os are 10.7.2, settings of safaris are same.
    I also tried some other sites but all's fast.
    Anybody have any ideas?
    Appreciate!
    Tony

    On the one that's slow...
    Go to Safari > Preferences - Extensions. If you have any installed, turn that off, quit then relaunch Safari to test.
    If it's not an extension issue, try troubleshooting the Safari .plist file.
    Go to ~/Library/Preferences. Move the com.apple.Safari.plist file from the Preferences folder to the Desktop. Qui then relaunch Safari to test. If Safari speeds up, move that .plist file to the Trash. If not, move it back to the Preferences folder.
    Empty the Safari cache more often. From the Safari menu bar click Safari > Empty Cache
    If that doesn't help, back to the menu bar, click Safari > Reset Safari. Select the top 5 buttons, click Reset.
    ~ (Tilde) character represents the Home folder.
    For Lion:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library

  • Multi page report in design view and page breaks

    Hey,
    I have designed a report that spans more then a single 8X11 page in design view. The report has one parent frame and 2 child frames. The parent data prints first and then there is a page break before each child's data. The trouble I am having is that where the report is designed over 2 pages in design view the first child's data prints on the 3rd page because of the page break, and then if there is another child it will start to print on the 5th page, etc. Another problem is with the actual page numbering and that page 1 according to the print out actually is 2 pages because of the 2 page design view. I am looking for a way to design a report on 2 pages in design view but have it to print on only 1 page per parent and child depending on how much data there is. If I could fit all of the data elements on a single page in design view it would be easy, but using 2 pages is making it difficult.
    Does this make sense? Any suggestions?
    Thanks

    Try doing the page break by setting the Page Protect property to Yes, not by Page Break before/after.

  • Videos are extremely slow when trying to view them

    Here is the situation. I have been posting course material for over a year now, and everything had been working fine. Over the last week, any video that I try to view from our iTunes U site is taking at least 5 minutes to play, when I double click on the video I get the loading bar, the videos that are less than 30 minutes long take between 5 - 8 minutes to play, the ones that are over 30 minutes take between 10 - 15 minutes to play. This had never happened before, and the weird thing is that I can go to any other iTunes U site and view videos that are two hours long and it takes less than a minute to play. So I know its not my network bandwidth or I wouldn't be able to view other sites. I use an iMac with a 2.8 GHz Intel Core 2 Duo, 4 GB of Ram, bought specifically for iTunes U administration. I don't know what else to do. Any help or advice will be truly appreciated.
    Ernesto
    Oklahoma City University

    I have also found our iTunes U site extremely slow for the past few weeks. It also took a long, long time to log into Admin. But at least for us, there has been a noticeable change (for the better) in the last few days.

  • I have a new PC/Win7 and a new CS5 Design Premium Suite. InDesign is extremely slow and crashes.

    I have a new PC/Win7 and a new CS5 Design Premium Suite. InDesign is extremely slow and crashes.
    Any assistance about what might be going on would be extremely helpful. My CS3 was a dream compared to this version. UGGGG.

    No banking software but a few other items. e.g.
    acrotray *32
    AeXAgentUIHost *32
    csrss.exe
    dagentui.exe
    dwm.exe
    dwrcst.exe *32
    explorer.exe
    FwcMgmt.exe *32
    mobsinc.exe
    PccNTMon.exe
    PDFCreator.ext *32
    pnamain.exe *32
    sidebar.exe
    ssonsvr.exe
    taskhost.exe
    taskmgr.exe
    winlogon.exe

Maybe you are looking for