Extremely Slow Report Performance

I have a report that I have been using for several years with no problems until recently.  I made a change to the stored procedure that the report uses, and now the report will take several hours to run; whereas previously it took less than a minute.  The change to the proc was very minor and involved only changing some verbage on a static text field that the procedure returned.  The output of the procedure was not changed, and I can run the procedure using SQL management studio in less than 2 seconds.  However, as I said Crystal Report takes several hours to run this same stored procedure.  I even tried creating a brand new report and using this procedure as the datasource, and it did the same thing.  This makes absolutely no sense to me.  Can anyone tell me why this is happening?  I'm using Crystal Reports 2008 with sp2.

The verify database takes just as long as running the report itself, so it doesn't help.  The portion of the proc that was changed was as follows:
This:
set @bodyBlock2 =
'NOTA:  En caso de no tener la(s) devolucion(es) solicitada(s), favor de ' +
'anotar en la presente el motivo por el cual no se est entregando la ' +
'devolucion.
Para cualquier duda y/o aclaracion al respecto, quedo de usted en la linea ' +
'de Help Desk
58 64 17 07 or 01 800 509 17 84, lada sin costo.'
Was changed to this:
set @bodyBlock2 =
'NOTA:  En caso de no tener la(s) devolucion(es) solicitada(s), favor de ' +
'anotar en la presente el motivo por el cual no se est entregando la ' +
'devolucion.
Para cualquier duda, aclaración o reporte ponemos a su disposición los siguientes
teléfonos 01800 509 1784, 01800 581 2490, lada sin costo o al (55) 5864 1700
extensiones 1757, 1802, 1811, 1791, 1707, 1726, 1762, 1767, 1781, 1792, 1820 o 1838'

Similar Messages

  • Firefox 4 is extremely slow to perform any function on my lap top compared to previous versions. Why? And how do I change this!

    Firefox 4 is extremely slow to perform any function on my lap top compared to previous versions. Why? And how do I change this!

    Firefox 21 and Firefox 22 running on Windows 7 have been reported to take a long time to "wake up" from sleep. I realize hibernation is different than sleep, but... this is the closest match for your description.
    Some users have reported that this problem is resolved in Firefox 23 (currently in beta). Others have had inconsistent luck with minimizing Firefox before letting Windows sleep and other measures.
    Please check out this (very long) thread for more information: [https://support.mozilla.org/questions/961898 browser freezes after resuming from sleep]
    Or jump to the part about Firefox 23: https://support.mozilla.org/questions/961898?page=3#answer-457321
    The fact that this just started recently suggests perhaps it is related to another program or update, but I don't think anyone has confirmed the exact interaction that causes the problem.

  • EXTREMELY SLOW XQUERY PERFORMANCE AND SLOW DOCUMENT INSERTS

    EXTREMELY SLOW XQUERY PERFORMANCE AND SLOW DOCUMENT INSERTS.
    Resolution History
    12-JUN-07 15:01:17 GMT
    ### Complete Problem Description ###
    A test file is being used to do inserts into a schemaless XML DB. The file is inserted and then links are made to 4
    different collection folders under /public. The inserts are pretty slow (about
    15 per second and the file is small)but the xquery doesn't even complete when
    there are 500 documents to query against.
    The same xquery has been tested on a competitors system and it has lightening fast performance there. I know it
    should likewise be fast on Oracle, but I haven't been able to figure out what
    is going on except that I suspect somehow a cartesian product is the result of
    the query on Oracle.
    ### SQLXML, XQUERY, PL/SQL syntax used ###
    Here is the key plsql code that calls the DBMS_XDB procedures:
    CREATE OR REPLACE TYPE "XDB"."RESOURCEARRAY" AS VARRAY(500) OF VARCHAR2(256);
    PROCEDURE AddOrReplaceResource(
    resourceUri VARCHAR2,
    resourceContents SYS.XMLTYPE,
    public_collections in ResourceArray
    ) AS
    b BOOLEAN;
    privateResourceUri path_view.path%TYPE;
    resource_exists EXCEPTION;
    pragma exception_init(resource_exists,-31003);
    BEGIN
    /* Store the document in private folder */
    privateResourceUri := GetPrivateResourceUri(resourceUri);
    BEGIN
    b := dbms_xdb.createResource(privateResourceUri, resourceContents);
    EXCEPTION
    WHEN resource_exists THEN
    DELETE FROM resource_view WHERE equals_path(res, privateResourceUri)=1;
    b := dbms_xdb.createResource(privateResourceUri, resourceContents);
    END;
    /* add a link in /public/<collection-name> for each collection passed in */
    FOR i IN 1 .. public_collections.count LOOP
    BEGIN
    dbms_xdb.link(privateResourceUri,public_collections(i),resourceUri);
    EXCEPTION
    WHEN resource_exists THEN
    dbms_xdb.deleteResource(concat(concat(public_collections(i),'/'),resourceUri));
    dbms_xdb.link(privateResourceUri,public_collections(i),resourceUri);
    END;
    END LOOP;
    COMMIT;
    END;
    FUNCTION GetPrivateResourceUri(
    resourceUri VARCHAR2
    ) RETURN VARCHAR2 AS
    BEGIN
    return concat('/ems/docs/',REGEXP_SUBSTR(resourceUri,'[a-zA-z0-9.-]*$'));
    END;
    ### Info for XML Querying ###
    Here is the XQuery and a sample of the output follows:
    declare namespace c2ns="urn:xmlns:NCC-C2IEDM";
    for $cotEvent in collection("/public")/event
    return
    <cotEntity>
    {$cotEvent}
    {for $d in collection("/public")/c2ns:OpContextMembership[c2ns:Entity/c2ns:EntityIdentifier
    /c2ns:EntityId=xs:string($cotEvent/@uid)]
    return
    $d
    </cotEntity>
    Sample output:
    <cotEntity><event how="m-r" opex="o-" version="2" uid="XXX541113454" type="a-h-G-" stale="2007-03-05T15:36:26.000Z"
    start="2007-03-
    05T15:36:26.000Z" time="2007-03-05T15:36:26.000Z"><point ce="" le="" lat="5.19098483230079" lon="-5.333597827082126"
    hae="0.0"/><de
    tail><track course="26.0" speed="9.26"/></detail></event></cotEntity>

    19-JUN-07 04:34:27 GMT
    UPDATE
    =======
    Hi Arnold,
    you wrote -
    Please use Sun JDK 1.5 java to perform the test case.Right now I have -
    $ which java
    /usr/bin/java
    $ java -version
    java version "1.4.2"
    gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
    sorry as I told you before I am not very knowledgeable in Java. Can you tell me what setting
    s I need to change to make use of Sun JDK 1.5. Please note I am testing on Linux
    . Do I need to test this on a SUN box? Can it not be modify to run on Linux?
    Thanks,
    Rakesh
    STATUS
    =======
    @CUS -- Waiting for requested information

  • Slow report performance when filter by 1 date

    Post Author: poh_michelle
    CA Forum: Formula
    Record selection formula : {PartTran.TransDate} in {?FromDate} to {?ToDate}
    Report performance was okay when i select #08/10/2007# for {?FromDate} and #10/10/2007# fro ; report displayed within 5 seconds.However, the report slow down wehn i select same date (#10/10/2007#) for both {?FromDate} and {?ToDate}; report displayed after 20 minutes.
    What is the reason and what can be done to improve it.
    Thanks for any advice.

    Post Author: foghat
    CA Forum: Formula
    Not sure why selecting a single date would slow down your report.  Are you sure something else wasn't/isn't going on? You could give this a try: {PartTran.TransDate} >= {?FromDate}and {PartTran.TransDate} <= {?ToDate}

  • Macbook pro getting extremely slow in performance

    hey guys, my mid 2012 macbook pro , i5, 4gb , 500hdd is getting **** slow in performance it takes a whooping 40 seconds to boot . i use FCPX , motion 5, after effects , lightroom on an daily basis for editing media.. somtimes it takes almost 3 mins to copy a 2 Gb of Full hd videos from flash memory. is there anything i can do to imporve my overall performace?

    hey guys, my mid 2012 macbook pro , i5, 4gb , 500hdd is getting **** slow in performance it takes a whooping 40 seconds to boot . i use FCPX , motion 5, after effects , lightroom on an daily basis for editing media.. somtimes it takes almost 3 mins to copy a 2 Gb of Full hd videos from flash memory. is there anything i can do to imporve my overall performace?

  • SLOW report performance with bind variable

    Environment: 11.1.0.7.2, Apex 4.01.
    I've got a simplified report page where the report runs slowly compared to running the same query in sqldeveloper. The report region is based on a pl/sql function returning a query. If I use a bind variable in the query inside apex it takes 13 seconds to run, and if I hard code a string it takes only a few hundredths of a second. The query returns one row from a table which has 1.6 million rows. Statistics are up-to-date and the columns in the joins and where clause are indexed.
    I've run traces using p_trace=YES from Apex for both the bind variable and hard coded strings. They are below.
    The sqldeveloper explain plan is identical to the bind variable plan from the trace, yet the query runs in 0.0x seconds in sqldeveloper.
    What is it about bind variable syntax in Apex that is causing the bad execution plan? Apex Bug? 11g bug? Ideas?
    tkprof output from Apex trace with bind variable is below...
    select p.master_id link, p.first_name||' '||p.middle_name||' '||p.last_name||' '||p.suffix personname,
    p.gender||' '||p.date_of_birth g_dob, p.master_id||'*****'||substr(p.ssn,-4) ssn, p.status status
    from persons p
    where
       p.person_id in (select ps.person_id from person_systems ps where ps.source_key  like  LTRIM(RTRIM(:P71_SEARCH_SOURCE1)))
    order by 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          1         27           0
    Fetch        2     13.15      13.22      67694      72865          0           1
    total        4     13.15      13.23      67694      72866         27           1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 62  (ODPS_PRIVACYVAULT)   (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT ORDER BY (cr=72869 pr=67694 pw=0 time=0 us cost=29615 size=14255040 card=178188)
          1   FILTER  (cr=72869 pr=67694 pw=0 time=0 us)
          1    HASH JOIN RIGHT SEMI (cr=72865 pr=67694 pw=0 time=0 us cost=26308 size=14255040 card=178188)
          1     INDEX FAST FULL SCAN IDX$$_0A300001 (cr=18545 pr=13379 pw=0 time=0 us cost=4993 size=2937776 card=183611)(object id 68485)
    1696485     TABLE ACCESS FULL PERSONS (cr=54320 pr=54315 pw=0 time=21965 us cost=14958 size=108575040 card=1696485)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   SORT (ORDER BY)
          1    FILTER
          1     HASH JOIN (RIGHT SEMI)
          1      INDEX   MODE: ANALYZED (FAST FULL SCAN) OF
                     'IDX$$_0A300001' (INDEX)
    1696485      TABLE ACCESS   MODE: ANALYZED (FULL) OF 'PERSONS' (TABLE)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file scattered read                       1276        0.00          0.16
      db file sequential read                       812        0.00          0.02
      direct path read                             1552        0.00          0.61
    ********************************************************************************Here's the tkprof output with a hard coded string:
    select p.master_id link, p.first_name||' '||p.middle_name||' '||p.last_name||' '||p.suffix personname,
    p.gender||' '||p.date_of_birth g_dob, p.master_id||'*****'||substr(p.ssn,-4) ssn, p.status status
    from persons p
    where
       p.person_id in (select ps.person_id from person_systems ps where ps.source_key  like  LTRIM(RTRIM('0b')))
    order by 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.02       0.04          0          0          0           0
    Execute      1      0.00       0.00          0          0         13           0
    Fetch        2      0.00       0.00          0          8          0           1
    total        4      0.02       0.04          0          8         13           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 62  (ODPS_PRIVACYVAULT)   (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT ORDER BY (cr=10 pr=0 pw=0 time=0 us cost=9 size=80 card=1)
          1   FILTER  (cr=10 pr=0 pw=0 time=0 us)
          1    NESTED LOOPS  (cr=8 pr=0 pw=0 time=0 us)
          1     NESTED LOOPS  (cr=7 pr=0 pw=0 time=0 us cost=8 size=80 card=1)
          1      SORT UNIQUE (cr=4 pr=0 pw=0 time=0 us cost=5 size=16 card=1)
          1       TABLE ACCESS BY INDEX ROWID PERSON_SYSTEMS (cr=4 pr=0 pw=0 time=0 us cost=5 size=16 card=1)
          1        INDEX RANGE SCAN IDX_PERSON_SYSTEMS_SOURCE_KEY (cr=3 pr=0 pw=0 time=0 us cost=3 size=0 card=1)(object id 68561)
          1      INDEX UNIQUE SCAN PK_PERSONS (cr=3 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 68506)
          1     TABLE ACCESS BY INDEX ROWID PERSONS (cr=1 pr=0 pw=0 time=0 us cost=2 size=64 card=1)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   SORT (ORDER BY)
          1    FILTER
          1     NESTED LOOPS
          1      NESTED LOOPS
          1       SORT (UNIQUE)
          1        TABLE ACCESS   MODE: ANALYZED (BY INDEX ROWID) OF
                       'PERSON_SYSTEMS' (TABLE)
          1         INDEX   MODE: ANALYZED (RANGE SCAN) OF
                        'IDX_PERSON_SYSTEMS_SOURCE_KEY' (INDEX)
          1       INDEX   MODE: ANALYZED (UNIQUE SCAN) OF 'PK_PERSONS'
                      (INDEX (UNIQUE))
          1      TABLE ACCESS   MODE: ANALYZED (BY INDEX ROWID) OF
                     'PERSONS' (TABLE)

    Patrick, interesting insight. Thank you.
    The optimizer must be peeking at my bind variables with it's eyes closed. I'm the only one testing and I've never passed %anything as a bind value. :)
    Here's what I've learned since my last post:
    I don't think that sqldeveloper is actually using the explain plan it says it is. When I run explain plan in sqldeveloper (with a bind variable) it shows me the exact same plan as Apex with a bind variable. However, when I run autotrace in sqldeveloper, it takes a path that matches the hard coded values, and returns results in half a second. That autotrace run is consistent with actually running the query outside of autotrace. So, I think either sqldeveloper isn't really using bind variables, OR it is using them in some other way that Apex does not, or maybe optimizer peeking works in sqldeveloper?
    Using optimizer hints to tweak the plan helps. I've tried both /*+ FIRST_ROWS */ and /*+ index(ps pk_persons) */ and both drop the query to about a second. However, I'm loath to use hints because of the very dynamic nature of the query (and Tom Kyte doesn't like them either). The hints may end up hurting other variations on the query.
    I also tested the query by wrapping it in a select count(1) from ([long query]) and testing the performance in sqldeveloper and in Apex. The performance in that case is identical with both bind variables and hard coded variables for both Apex and SqlDeveloper. That to me was very interesting and I went so far as to set up two bind variable report regions on the same page. One region wrapped the long query with select count(1) from (...) and the other didn't. The wrapped query ran in 0.01 seconds, the unwrapped took 15ish seconds with no other optimizations. Very strange.
    To get performance up to acceptable levels I have changed my function returning query to:
    1) Set the equality operator to "=" for values without wildcards and "like" for user input with wildcards. This makes a HUGE difference IF no wildcard is used.
    2) Insert a /*+ FIRST_ROWS */ hint when users chose the column that requires the sub-query. This obviously changes the optimizer's plan and improves query speed from 15 seconds to 1.5 seconds even with wildcards.
    I will NOT be hard coding any user supplied values in the query string. As you can probably tell by the query, this is an application where sql injection would be very bad.
    Jeff, regarding your question about "like '%' || :P71_SEARCH_SOURCE1 || '%'". I've found that putting wildcards around values, particularly at the beginning will negate any indexing on the column in question and slows performance even more.
    I'm still left wondering if there isn't something in Apex that is breaking the optimizer "peeking" that Patrick describes. Perhaps something in the way it switches contexts from apex_public_user to the workspace schema?

  • VERY slow reporting performance

    We've created reports which, when run directly on Oracle through sqlplus (copying the exact SQL from the report) take around 3 minutes, when run from BO (using Web Intelligence) take hours.
    The SQL outputs around 300,000 rows, which equates to a few hundred pages in the report.  Is there a reason why the report would take so long (the session to Oracle is open the whole time)?  I can understand it not taking just the time for Oracle to execute the query, as WebI then needs to take the results and produce the report, but I wouldn't expect it to take hours.
    So far on our servers we've concentrated on making Oracle perform faster, and now we've got that working better our attention has been drawn to the performance issues of the reporting, and we don't have any experience with tuning it, so any advice would be very much appreciated.
    We're running BO Enterprise XI R2 SP3 on Linux with Web Intelligence as the only reporting interface.  The database is Oracle RAC (3 node cluster) 10.2.0.4.

    Correction: I incorrectly said jobserver in the earlier post (I read your post wrong).
    You need to start a trace on the CMS (for querytiming), the Webi Report Server and the Connection Server (which accesses the db)
    For the CMS trace, stop the CMS, in ccm.config, add a '-trace -querytiming' to the end of the cmsLaunch line. Similarly, add a -trace to the command line for the Webi Report Server (I don't remember the exact line; I don't have a XI R2 deployment on Linux available right now)
    To enable tracing on the connection server, do the following:
    (SAP 1197745 - How to enable connection server tracing on a UNIX platform)
    Open cs.cfg in a text editor. These are located by default in
    Linux: bobje/enterprise115/linux_x86/dataAccess/RDBMS/connectionServer/cs.cfg
    Locate the following entry:
    Traces ClassID="csTRACELOG" Active="No"
    Change the "No" to "Yes".
    Traces ClassID="csTRACELOG" Active="Yes"
    Save the file.
    Restart the Web Intelligence Report Server.
    ====================
    NOTE:
    Be aware that connection server traces slow down the server performance. Detailed traces get generated when this level of tracing is enabled. Disable tracing when not needed.
    ====================
    PS: The Webi Report Server contains the Connection Server libraries. The Connection Server runs in-proc within the Webi Report Server. Hence the need to restart the Webi Report Server.
    Also, I encourage you to open a ticket with BO on this. Performance issues are never easy to troubleshoot, even less so on a forum such as this.
    Finally, I don't believe there is any document that lists all command line options. Or rather, if such a document exists, I don't believe it's available for public consumption.

  • Extremely Slow Network Performance with 10.5.8

    Let me start off by saying I don't use my mac mini much at all but when I do, the network is incredibly slow and unbearable. Half of the pages don't load, ipsw files for the iPhone take 20-30 minutes (with 15mbps interwebs)
    My network setup:
    1. Modem (provided by ISP)
    2. 2 TB Time Capsule WPA2 security default settings.
    3. Airport Connection
    Now I would be for using 'openDNS' for a resolution but it didn't really improve the issue. Sure it sped up the internet on that machine, but I'm not willing to use a third party DNS when my MacbookPro connecting to the same exact network, doesn't experience this.
    I have removed the hosts file for airport, remove the network connection, reset SMC, to no avail.
    If anybody has any insight as to why my mac mini is the only device with poor performance, that would be greatly appreciated.

    I shouldn't have to use another user.
    Okay. It should also work with your current user but it's not.
    For testing purposes and to narrow down the problem, try another user and see if it works.
    If it works, it is something with the current user.
    If it doesn't work, it is something with the system.

  • Extremely Slow Wireless Performance on an Extended Network

    Hi
    My network setup consists of a Time Capsule (early 2009) wireless network that is being extended by an AirPort Extreme (early 2007) which has an Xbox 360 connected to it via ethernet.
    1) Everything seems fine on the MacBook Pro (wireless N) when connected to the Time Capsule and I can get the full speed of my broadband connection (8Mbit). However, when the MacBook Pro connects to the AirPort Extreme, in another room, my broadband speed drops to around 2Mbit, however the transfer rate usually remains unchanged (between 78 and 130).
    I know it has nothing to do with the positioning of the base stations, as when I turn off the AirPort Extreme, the MacBook Pro, in the same room, has the full internet speed.
    This is really annoying as I rely on my Xbox 360 for heavy video streaming and content downloads.
    2) When the Xbox 360 is downloading something, any internet served by the AirPort Extreme becomes totally unusable and dead.
    3) Additionally, the AirPort Extreme sometimes insists on extending the 5Ghz network from the Time Capsule which only provides a rate of around 10.
    Please help me!
    Thanks

    To insure that your AirPort Extreme is extending the 2.4 GHz band from your Time Capsule:
    Open AirPort Utility, select the Time Capsule and click Manual Setup
    Click the Wireless tab below the row of icons
    Click the Wireless Options button
    Assign a separate name for your 5 GHz network. (By default, AirPort Utility will automatically add "5 GHz" to your network name.)
    Click Update to save your changes
    Then check to make sure that your AirPort Extreme is setup to extend the 2.4 GHz band from the Time Capsule, not the "5 GHz" network.
    If you perform a Factory Default Reset on the Time Capsule, it will not affect your stored backups on the Time Capsule disk.

  • Extremely slow HDD performance on Acer 7551

    Has anyone else experienced slow performance on their laptop (I wouldn't think this is specific to the Acer but I suppose its possible) where it takes at least 2 seconds or more for the command to seem to be executed? The login prompt is an obvious first example for me (via the command prompt not a DM) where after I enter my username the Password prompt wont appear for about 2-3 seconds and then even after the password being entered the bash prompt wont appear for another 2-3 seconds.  The HDD light is active/blinking during these pauses too so its like its seeking for something on the other end of the drive.
    Its a standard laptop HDD speed (5400 RPM) but I wouldn't think this would make the hiccups occur.  I never noticed this before in other installations such as Fedora and Ubuntu.
    Is it possible that its my partition schema? It is as follows:
    sda1 --> /boot
    sda2 --> /
    sda3 --> /var
    sda5 --> /swap (logical)
    sda6 --> /home (logical)
    sda7 --> /tmp (logical)
    I have also tried the standard recommended:
    sda1 --> /root
    sda2 --> /var
    sda3 --> /swap
    sda5 --> /home (logical)
    and still the issue remains.  Is it really just my HDD?

    t3kka wrote:Reading around on some other threads I found regarding a slow login to tty I noticed some folks state that a large root partition could be the problem.  My HDD is 500GB with the root, var, swap, and home partitions being ~80GB, ~20GB, ~6GB, and then the remainder as in home (respectively).  Maybe having a large root partition along with the location of the home partition makes the HDD head travel a much further distance which is physically equated to a delay in login and other actions.  With such a large HDD, what would you recommend for partition schemes?
    I have a 640 gb 5400rpm drive, and I've installed arch with only a huge root partition on it in the past, and had no speed issues (currently I have a 40gb root and a ~595gb home and a 5 gig swap).
    Last edited by bwat47 (2012-06-24 20:56:03)

  • Macbook Air Extremely Slow Wireless

    Hello All,
    Got my brand new MB-Air and from the get-go noticed extremely slow wireless performance. I did a bit of digging and here is what I found.
    The MB-Air works OK with cheap (consumer) wireless APs, however when used in conjunction with the commercial APs most of which use the Atheros chipset the performance is horrible. I found that when connecting to APs that use Atheros' commercial chipset, the MB-Air connects with 802.11 G specs instead of N even when the signal metrics are excellent such as -39 RSSI.
    Moreover, even With the 802.11 G connection at 54Mbps the performance is both sluggish and latent. Small file transfers have a 50/50 shot at working and large file transfers seem to die reliably. Albeit this could be an issue with Apple's implementation of SMB / Samba which is rather poor.
    I have tried to turn off Bluetooth to see if my experience is different. We'll see.
    I would be interested in feedback from people who are also experiencing the same poor wireless performance to learn the chipset of the AP they are having issues with.
    By-the-way -- I will take a fix, if someone has come up with one. However my guess is that this is an engineering issue that Apple has to fix.
    BP

    Sitting side-by-side, my MBA was averaging less than 1 Mb/s on downloads, and my MBP more than 9 Mb/s. The MBP was fully ten times faster. As you can imagine, viewing videos was a ragged, unpleasant experience on the MBA.
    I'm using an early wireless-N Belkin router, so it didn't show up on airport utility, thus i couldn't change channels there as proposed on this thread. But to isolate the problem, at my brother's suggestion i took both computers to a Starbucks, and observed the two computers downloading there at equal speeds. So clearly the problem wasn't with my MBA, but my router.
    I went to Belkin's website to figure out how to change channels on the router, and checked for firmware updates. There was one, so i figured I'd do that before attacking the "changing channels" task. I upgraded the firmware, and with that simple fix my MBA is happily zipping along now with >9 Mb/s downloads, same as the MBP. More than TEN times faster than before. My iPhone download speeds increased more than tenfold, too.
    My advice, if you're having wireless problems with your MBA: First make sure your router's running the latest firmware.

  • Slow report viewer/rdlc performance in local mode with Single Sign On

    Hi Team,
    We have recently enabled Single Sign On to our application and after that our rdlc reports loading got extremely slow.
    Please find the below configuration that we are using.
    1. Report Viewer 11.0.0.0
    2. running rdlc file in local mode (not using Report Server)
    3. System.IdentityModel.Services 4.0.0.0
    The query behind the reports is returning result in 5-10 sec but report is taking 1-4 min to load (sometimes getting timeout) (as per the complexity of the report).
    We have tried a lot of workaound but nothing worked.
    i saw performance improvement in reports by addding <trust legacyCasModel = "True"   level="Full" /> in config file, But using this we are getting "Dynamic operations can only be performed in homogenous AppDomain" error
    in many pages of our application.
    Without SSO reports are running completely fine.
    We are stucked here and not able to proceed. Is there any issue with the SSO and rdlc in local mode ? Is there any hot fix available for the same ?
    Please help !!!
    Regards,
    Pranav Sharma

    This problem is probably related to :
    [http://blogs.oracle.com/stevenChan/2010/03/ebs_jre_issues_16018.html]
    Oracle problem ID : 1054293.1
    Loginpage / Error in Browser for Export and Attachments after upgrading to Sun JRE 1.6.0_18 [ID 1054293.1]
    Sun bug : 6927268
    ShowDocument calls results in new iexplorer process

  • 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...

  • 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

  • Extremely slow macbook pro performance

    I have a 4GB Macbook Pro 13 inch, less than 1/2 the memory is in use.  Computer startup can take up to 10 minutes, and opening any app can take 1-2 minutes.  Apps are constantly stalling, and Safari is constantly showing the spinning wheel of doom.  It's running OS X 10.9.5.  It's at the point where my iPhone is a much better option that using my Mac.  Any suggestions on speeding it up?  I used to have MacKeeper on it, but the Genius Bar at the Apple store told me the uninstall it, as it often can cause a slow performance. 

    Problem description:
    Extremely slow macbook pro performance.  Slow, stalled applications, extremely slow start up, constantly stalling and slow apps.
    EtreCheck version: 2.1.8 (121)
    Report generated February 6, 2015 at 8:15:22 PM CST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro7,1
        1 2.4 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Check Battery - Cycle count 753
    Video Information: ℹ️
        NVIDIA GeForce 320M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.9.5 (13F34) - Time since boot: 3 days 0:2:48
    Disk Information: ℹ️
        WDC WD3200BPVT-00HXZT1 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (145.89 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Internal Memory Card Reader
        Fitbit Inc. Fitbit Base Station
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /Library/Extensions
        [not loaded]    com.logmein.hamachi (1.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.nike.sportwatch (1.0.0) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.logmein.hamachimb.plist [Click for support]
        [running]    com.nike.nikeplusconnect.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.fitbit.galileod.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [failed]    com.logmein.hamachi.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [running]    com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
        [not loaded]    com.jdibackup.JustCloud.autostart.plist [Click for support]
        [loaded]    com.jdibackup.JustCloud.notify.plist [Click for support]
        [not loaded]    com.spotify.webhelper.plist [Click for support]
        [failed]    com.yahoo.YahooContactSyncAgent.plist [Click for support]
        [running]    com.zeobit.MacKeeper.Helper.plist [Click for support]
    User Login Items: ℹ️
        Fitbit Connect Menubar Helper    Application  (/Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app)
        Google Drive    Application  (/Applications/Google Drive.app)
    Internet Plug-ins: ℹ️
        DirectorShockwave: Version: 12.0.3r133 - SDK 10.6 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        Default Browser: Version: 537 - SDK 10.9
        Unity Web Player: Version: UnityPlayer version 4.1.5f1 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        OnLiveGameClientDetector: Version: OnLiveGameClientDetector 1.0.0 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    User internet Plug-ins: ℹ️
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
        Picasa: Version: 1.0 - SDK 10.6 [Click for support]
        NPRoblox: Version: 1.0.2.12 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.2 [Click for support]
    Safari Extensions: ℹ️
        Pin It Button
    3rd Party Preference Panes: ℹ️
        AirServer  [Click for support]
        Flash Player  [Click for support]
        Perian  [Click for support]
    Time Machine: ℹ️
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 319.21 GB Disk used: 173.32 GB
        Destinations:
            FreeAgent Drive [Local]
            Total size: 499.76 GB
            Total number of backups: 3
            Oldest backup: 2014-11-03 17:43:59 +0000
            Last backup: 2015-01-29 01:15:07 +0000
            Size of backup disk: Too small
                Backup size 499.76 GB < (Disk used 173.32 GB X 3)
    Top Processes by CPU: ℹ️
            58%    MacKeeper
             8%    WindowServer
             1%    hidd
             1%    Fitbit Connect Menubar Helper
             1%    Notes
    Top Processes by Memory: ℹ️
        275 MB    MacKeeper
        120 MB    Mail
        82 MB    Safari
        64 MB    Messages
        64 MB    WindowServer
    Virtual Memory Information: ℹ️
        440 MB    Free RAM
        1.19 GB    Active RAM
        810 MB    Inactive RAM
        635 MB    Wired RAM
        6.82 GB    Page-ins
        1.83 GB    Page-outs

Maybe you are looking for

  • Error in cross reference creation urgent

    Hi, I am trying to create cross reference in SOA11g. I created xref tables(DEMO_CONTACT) first. when i try to populate data into that table using xref:populateXRefRow1M() function, it is showing following error: XPath expression failed to execute. An

  • Unterschiedliche Texte bei Bildern

    Wie kann ich unter Diashows unterschiedliche Texte zu denn einzelnen Bildern schreiben? Bei mir haben immer alle Bilder denn gleichen Text.

  • Generic component in a List

    I would like to know how I can insert a generic component (like a Canvas whit image and label) in a List visual component. Is it possible or there's another way for to do a list of component ?

  • Configuration flash player pour windows8.1 en vue d'un bon fonctionnement,Merci

    j'ai modifié windows8 en windows8.1.J'ai toujours flash player sous son ancienne version,veuillez m'aider svp à configuré flash player pour windows 8.1.Merci beaucoup.

  • Email Client Account Authentication Remotely

    Ok I have my Mail server up and running and everything works perfect locally. However, I am at a remote location trying to check my email but it's failing. I have the mail setup for Kerberos authentication / SSL for SMTP, POP & IMAP. Now everything d