Fact Dimension Attribute causing extreme slow query response

I am using SSAS OLAP in SQL Server 2012. My server has 16 GB or RAM - it has only OLAP engine that is being used - nothing related to the relational engine. My fact table has a column called Product Status - for which I've a Fact dimension. Fact table has
18M rows, but the Product Staus has only 2-3 distinct values. When my users bring that attribute in their analysis, the response time is very slow - 10 to 15 minutes. Can anyone share their experiences with how I can go about optimizing this?
I tried to use the user based optimization, but the wizard suggests no aggregations.
Thanks!
GBM

Hi GBM,
For a cube of moderate to large size, partitions can greatly improve query performance, load performance, and ease of cube maintenance. Have you define partitions in your cube? Here is a good article regaridng Analysis Services Query Performance Top 10 Best
Practices for your reference, please see:
http://technet.microsoft.com/en-us/library/cc966527.aspx
To troubheshoot MDX query performance issue, we can create a trace to capture some events for further investigation in this case. Please see the articles below how to troubleshoot SSAS MDX query performance issue:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f1f57e7b-eced-4009-b635-3ebb1d7fa5b0/how-do-i-troubleshoot-the-slow-mdx-query-performance
http://www.mssqltips.com/sqlservertip/2886/improving-sql-server-analysis-services-query-response-time-with-msmdsrv/
Hope this helps.
Regards,
Elvis Long
TechNet Community Support

Similar Messages

  • SQL tuning for extremely slow query

    Hi,
    We have a requirement to display sales data by month. The sales data should be summed based on groups. The whole query is dynamically generated so the WHERE clause as well as the GROUP BY columns will be dynamically generated. Please find below the query which has been dynamically generated. The query is extremely slow and is not returning any data even after several minutes.
    Please can anyone suggest possible ways of tuning this query? We are evaluating the option of using Materialied Views with Fast Refresh but the number of tables involved in this query runs into several hundreds and creating log in each table would be tedious.
    Regards,
    Balu
    SELECT trantype, cmp, fyr, nam, cno, loc, or#, prd, siz, dat, ter, reg, gra,
    mjr, mrk, fiscdat, GROUP_ID, class_id, group_name, class_name,
    cmp_sreg, channel, bt_dsc, SUM (CASE fpr
    WHEN 1
    THEN amt
    ELSE 0
    END) AS a1,
    SUM (CASE fpr
    WHEN 2
    THEN amt
    ELSE 0
    END) AS a2, SUM (CASE fpr
    WHEN 3
    THEN amt
    ELSE 0
    END) AS a3,
    SUM (CASE fpr
    WHEN 4
    THEN amt
    ELSE 0
    END) AS a4, SUM (CASE fpr
    WHEN 5
    THEN amt
    ELSE 0
    END) AS a5,
    SUM (CASE fpr
    WHEN 6
    THEN amt
    ELSE 0
    END) AS a6, SUM (CASE fpr
    WHEN 7
    THEN amt
    ELSE 0
    END) AS a7,
    SUM (CASE fpr
    WHEN 8
    THEN amt
    ELSE 0
    END) AS a8, SUM (CASE fpr
    WHEN 9
    THEN amt
    ELSE 0
    END) AS a9,
    SUM (CASE fpr
    WHEN 10
    THEN amt
    ELSE 0
    END) AS a10, SUM (CASE fpr
    WHEN 11
    THEN amt
    ELSE 0
    END) AS a11,
    SUM (CASE fpr
    WHEN 12
    THEN amt
    ELSE 0
    END) AS a12, SUM (CASE fpr
    WHEN 1
    THEN qty
    ELSE 0
    END) AS q1,
    SUM (CASE fpr
    WHEN 2
    THEN qty
    ELSE 0
    END) AS q2, SUM (CASE fpr
    WHEN 3
    THEN qty
    ELSE 0
    END) AS q3,
    SUM (CASE fpr
    WHEN 4
    THEN qty
    ELSE 0
    END) AS q4, SUM (CASE fpr
    WHEN 5
    THEN qty
    ELSE 0
    END) AS q5,
    SUM (CASE fpr
    WHEN 6
    THEN qty
    ELSE 0
    END) AS q6, SUM (CASE fpr
    WHEN 7
    THEN qty
    ELSE 0
    END) AS q7,
    SUM (CASE fpr
    WHEN 8
    THEN qty
    ELSE 0
    END) AS q8, SUM (CASE fpr
    WHEN 9
    THEN qty
    ELSE 0
    END) AS q9,
    SUM (CASE fpr
    WHEN 10
    THEN qty
    ELSE 0
    END) AS q10, SUM (CASE fpr
    WHEN 11
    THEN qty
    ELSE 0
    END) AS q11,
    SUM (CASE fpr
    WHEN 12
    THEN qty
    ELSE 0
    END) AS q12,
    SUM (CASE fpr
    WHEN 1
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm1,
    SUM (CASE fpr
    WHEN 2
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm2,
    SUM (CASE fpr
    WHEN 3
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm3,
    SUM (CASE fpr
    WHEN 4
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm4,
    SUM (CASE fpr
    WHEN 5
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm5,
    SUM (CASE fpr
    WHEN 6
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm6,
    SUM (CASE fpr
    WHEN 7
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm7,
    SUM (CASE fpr
    WHEN 8
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm8,
    SUM (CASE fpr
    WHEN 9
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm9,
    SUM (CASE fpr
    WHEN 10
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm10,
    SUM (CASE fpr
    WHEN 11
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm11,
    SUM (CASE fpr
    WHEN 12
    THEN (amt - (((frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cm12,
    SUM (CASE fpr
    WHEN 0
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml0,
    SUM (CASE fpr
    WHEN 1
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml1,
    SUM (CASE fpr
    WHEN 2
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml2,
    SUM (CASE fpr
    WHEN 3
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml3,
    SUM (CASE fpr
    WHEN 4
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml4,
    SUM (CASE fpr
    WHEN 5
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml5,
    SUM (CASE fpr
    WHEN 6
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml6,
    SUM (CASE fpr
    WHEN 7
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml7,
    SUM (CASE fpr
    WHEN 8
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml8,
    SUM (CASE fpr
    WHEN 9
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml9,
    SUM (CASE fpr
    WHEN 10
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml10,
    SUM (CASE fpr
    WHEN 11
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml11,
    SUM (CASE fpr
    WHEN 12
    THEN (amt - (((lrt + frt + mrt + csc)) * qty))
    ELSE 0
    END
    ) AS cml12,
    SUM (amt) AS a, SUM (qty) AS q,
    SUM ((amt - (((frt + mrt + csc)) * qty))) AS cm,
    SUM ((amt - (((lrt + frt + mrt + csc)) * qty))) AS cml
    FROM (SELECT ruec_a.seq, ruec_a.trantype, ruec_a.cmp, ruec_a.fyr,
    ruec_a.fpr, ruec_a.csc, ruec_a.lrt, ruec_a.mrt, ruec_a.frt,
    ruec_a.typ, ruec_a.nam, ruec_a.cno, ruec_a.loc, ruec_a.or#,
    ruec_a.prd, ruec_a.bulk_item_no, ruec_a.siz, ruec_a.dat,
    NVL (ruec_a.qty, 0) qty, ruec_a.amt, ruec_a.ter, ruec_a.reg,
    ruec_a.gra, ruec_a.mjr, ruec_a.mrk, ruec_a.fiscdat,
    ruec_a.group_name, ruec_a.class_name, ruec_a.GROUP_ID,
    ruec_a.cur, ruec_a.conversion_rate, ruec_a.grpnum,
    ruec_a.rgnshi, ruec_a.mktshi, ruec_a.slmshi, ruec_a.mjrshi,
    ruec_a.cmpid, ruec_a.chnshi, ruec_a.srgshi, ruec_a.sh_sreg,
    ruec_a.cmp_sreg, ruec_a.channel, ruec_a.srgcmp,
    ruec_a.biz_typ, ruec_a.bt_dsc, amt / NVL (qty, 1) qty$,
    NVL ((amt - ((qty * csc) + (qty * frt) + (qty * mrt))),
    0) cm,
    NVL ((amt - (((frt + mrt + csc)) * qty)) / NVL (qty, 1),
    0
    ) cm$,
    NVL (( (( amt
    - ( (qty * csc)
    + (qty * frt)
    + (qty * mrt * 100)
    + (qty * lrt)
    / 100
    0
    ) gp,
    ((CASE amt
    WHEN 0
    THEN 0
    ELSE NVL (( ( amt
    - ( (qty * csc)
    + (qty * frt)
    + (qty * mrt * 100)
    + (qty * lrt)
    / amt
    0
    END
    ) pm,
    ruec_a.customer_trx_id, ruec_a.customer_trx_line_id,
    ruec_a.inventory_item_id, ruec_a.item_id, line_id, header_id,
    ruec_a.customer_id, ruec_a.site_use_id, ruec_a.class_id
    FROM (SELECT xxsrg.line_number seq, xxsrg.trantype,
    xxsrg.co_code cmp, xxsrg.period_year fyr,
    xxsrg.period_num fpr, csc_invcur * conv_rate csc,
    lrt_invcur * conv_rate lrt,
    mrt_invcur * conv_rate mrt,
    xxsrg.frt_invcur * conv_rate frt,
    xxsrg.inv_class typ, xxsrg.site_name nam,
    xxsrg.customer_number cno, xxsrg.site_number loc,
    xxsrg.ct_reference "OR#", xxsrg.item_no prd,
    xxsrg.bulk_item_no, xxsrg.container_type siz,
    xxsrg.trx_date dat, qty,
    xxsrg.amt_invcur * conv_rate amt,
    xxsrg.sales_territory_name ter,
    xxsrg.sales_region_name reg,
    xxsrg.customer_group_name gra,
    xxsrg.major_market_name mjr,
    xxsrg.minor_market_name mrk, xxsrg.trx_date fiscdat,
    xxsrg.group_name group_name,
    xxsrg.class_name class_name,
    NVL (xxsrg.GROUP_ID, 0) GROUP_ID, xxsrg.inv_cur cur,
    conv_rate conversion_rate,
    xxsrg.customer_group_code grpnum,
    xxsrg.sales_region_code rgnshi,
    xxsrg.minor_market_id mktshi,
    xxsrg.salesrep_id slmshi,
    xxsrg.major_market_id mjrshi,
    xxsrg.organization_id cmpid,
    xxsrg.sales_channel_code chnshi, xxsrg.ssr_id srgshi,
    xxsrg.ssr_name sh_sreg, xxsrg.psr_name cmp_sreg,
    xxsrg.sales_channel_code channel,
    xxsrg.psr_id srgcmp, xxsrg.biz_typ,
    xxsrg.biz_typ_dsc bt_dsc, xxsrg.customer_trx_id,
    xxsrg.customer_trx_line_id, xxsrg.inventory_item_id,
    xxsrg.item_id, xxsrg.line_id, xxsrg.customer_id,
    xxsrg.site_use_id, 0 class_id, 0 header_id
    FROM (SELECT xxsrg.*,
    CASE
    WHEN 'CAD' = xxsrg.inv_cur
    THEN 1
    ELSE xxaoc_int_srg_util.get_dly_rate
    (xxsrg.inv_cur,
    'CAD',
    xxsrg.trx_date
    END conv_rate,
    CASE
    WHEN 'KG' = 'LB'
    THEN xxsrg.qty_lbs
    ELSE xxsrg.qty_kgs
    END qty
    FROM apps.xxaoc_bs_srg_details_vw xxsrg) xxsrg) ruec_a
    WHERE (fiscdat >= '01-APR-06' AND fiscdat <= '01-APR-09')
    AND (prd LIKE '%H864%')
    AND grpnum IN (274, 275)
    AND class_id IN (54)
    AND GROUP_ID IN (10)
    AND mjrshi IN ('4')
    AND mktshi IN ('21')
    AND rgnshi IN ('ER')
    AND slmshi IN (10045)
    AND cmpid IN (462)) ruec_a
    GROUP BY trantype,
    cmp,
    fyr,
    nam,
    cno,
    loc,
    or#,
    prd,
    siz,
    dat,
    ter,
    reg,
    gra,
    mjr,
    mrk,
    fiscdat,
    GROUP_ID,
    class_id,
    group_name,
    class_name,
    GROUP_ID,
    class_id,
    chnshi,
    srgshi,
    sh_sreg,
    cmp_sreg,
    channel,
    srgcmp,
    biz_typ,
    bt_dsc

    The database version is 10.2.0.3.0. Explain Plan is provided below please:
    Plan
    SELECT STATEMENT CHOOSECost: 435 Bytes: 10,402 Cardinality: 1                                                                                                                                                                                               
         182 SORT GROUP BY Cost: 435 Bytes: 10,402 Cardinality: 1                                                                                                                                                                                          
              181 VIEW SRG. Cost: 409 Bytes: 10,402 Cardinality: 1                                                                                                                                                                                     
                   180 FILTER                                                                                                                                                                                
                        166 NESTED LOOPS Cost: 399 Bytes: 10,736 Cardinality: 1                                                                                                                                                                           
                             163 NESTED LOOPS OUTER Cost: 396 Bytes: 10,693 Cardinality: 1                                                                                                                                                                      
                                  160 HASH JOIN OUTER Cost: 393 Bytes: 10,646 Cardinality: 1                                                                                                                                                                 
                                       117 HASH JOIN Cost: 299 Bytes: 10,636 Cardinality: 1                                                                                                                                                            
                                            32 HASH JOIN Cost: 240 Bytes: 299 Cardinality: 1                                                                                                                                                       
                                                 27 FILTER                                                                                                                                                  
                                                      26 NESTED LOOPS OUTER Cost: 22 Bytes: 3,060 Cardinality: 12                                                                                                                                             
                                                           23 HASH JOIN OUTER Cost: 19 Bytes: 232 Cardinality: 1                                                                                                                                        
                                                                18 NESTED LOOPS OUTER Cost: 12 Bytes: 216 Cardinality: 1                                                                                                                                   
                                                                     15 VIEW VIEW APPS.XXAOC_RA_CUST_TRX_LINES_VW Cost: 9 Bytes: 147 Cardinality: 1                                                                                                                              
                                                                          14 FILTER                                                                                                                         
                                                                               10 FILTER                                                                                                                    
                                                                                    9 NESTED LOOPS Cost: 5 Bytes: 195 Cardinality: 1                                                                                                               
                                                                                         6 NESTED LOOPS Cost: 4 Bytes: 171 Cardinality: 1                                                                                                          
                                                                                              4 NESTED LOOPS Cost: 4 Bytes: 163 Cardinality: 1                                                                                                     
                                                                                                   1 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 3 Bytes: 34 Cardinality: 1                                                                                                
                                                                                                   3 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 1 Bytes: 129 Cardinality: 1                                                                                                
                                                                                                        2 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cardinality: 1                                                                                           
                                                                                              5 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_BATCH_SOURCES_U2 Bytes: 8 Cardinality: 1                                                                                                     
                                                                                         8 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_TYPES_ALL Cost: 1 Bytes: 24 Cardinality: 1                                                                                                          
                                                                                              7 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUST_TRX_TYPES_U1 Cardinality: 1                                                                                                     
                                                                               13 COUNT STOPKEY                                                                                                                    
                                                                                    12 TABLE ACCESS BY INDEX ROWID TABLE INV.MTL_SYSTEM_ITEMS_B Cost: 4 Bytes: 22 Cardinality: 1                                                                                                               
                                                                                         11 INDEX RANGE SCAN INDEX (UNIQUE) INV.MTL_SYSTEM_ITEMS_B_U1 Cost: 3 Cardinality: 1                                                                                                          
                                                                     17 TABLE ACCESS BY INDEX ROWID TABLE APPLSYS.FND_LOOKUP_VALUES Cost: 3 Bytes: 69 Cardinality: 1                                                                                                                              
                                                                          16 INDEX RANGE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 2 Cardinality: 1                                                                                                                         
                                                                22 VIEW VIEW APPS.CM_CLDR_HDR_VL Cost: 6 Bytes: 1,632 Cardinality: 102                                                                                                                                   
                                                                     21 NESTED LOOPS Cost: 6 Bytes: 2,346 Cardinality: 102                                                                                                                              
                                                                          19 TABLE ACCESS FULL TABLE GMF.CM_CLDR_HDR_B Cost: 6 Bytes: 1,632 Cardinality: 102                                                                                                                         
                                                                          20 INDEX RANGE SCAN INDEX GMF.CM_CLDR_HDR_TL_PK Bytes: 7 Cardinality: 1                                                                                                                         
                                                           25 TABLE ACCESS BY INDEX ROWID TABLE GMF.CM_CLDR_DTL Cost: 3 Bytes: 276 Cardinality: 12                                                                                                                                        
                                                                24 INDEX RANGE SCAN INDEX (UNIQUE) GMF.CM_CLDR_DTL_PK Cost: 1 Cardinality: 12                                                                                                                                   
                                                 31 VIEW VIEW APPS.XXAOC_IC_ITEM_MST_VW Cost: 217 Bytes: 82,632 Cardinality: 1,878                                                                                                                                                  
                                                      30 NESTED LOOPS Cost: 217 Bytes: 61,974 Cardinality: 1,878                                                                                                                                             
                                                           28 TABLE ACCESS FULL TABLE GMI.IC_ITEM_MST_B Cost: 217 Bytes: 46,950 Cardinality: 1,878                                                                                                                                        
                                                           29 INDEX UNIQUE SCAN INDEX (UNIQUE) GMI.IC_ITEM_MST_TL_PK Bytes: 8 Cardinality: 1                                                                                                                                        
                                            116 VIEW VIEW APPS.XXAOC_BS_CUST_SITE_VW Cost: 58 Bytes: 10,337 Cardinality: 1                                                                                                                                                       
                                                 115 SORT ORDER BY Cost: 58 Bytes: 1,149 Cardinality: 1                                                                                                                                                  
                                                      114 FILTER                                                                                                                                             
                                                           113 NESTED LOOPS OUTER Cost: 33 Bytes: 1,149 Cardinality: 1                                                                                                                                        
                                                                110 FILTER                                                                                                                                   
                                                                     109 NESTED LOOPS OUTER Cost: 31 Bytes: 1,130 Cardinality: 1                                                                                                                              
                                                                          106 NESTED LOOPS OUTER Cost: 30 Bytes: 1,111 Cardinality: 1                                                                                                                         
                                                                               104 NESTED LOOPS OUTER Cost: 29 Bytes: 1,088 Cardinality: 1                                                                                                                    
                                                                                    101 NESTED LOOPS Cost: 29 Bytes: 1,041 Cardinality: 1                                                                                                               
                                                                                         99 NESTED LOOPS OUTER Cost: 29 Bytes: 1,037 Cardinality: 1                                                                                                          
                                                                                              97 NESTED LOOPS Cost: 28 Bytes: 1,001 Cardinality: 1                                                                                                     
                                                                                                   94 NESTED LOOPS Cost: 27 Bytes: 910 Cardinality: 1                                                                                                
                                                                                                        92 NESTED LOOPS Cost: 26 Bytes: 902 Cardinality: 1                                                                                           
                                                                                                             89 NESTED LOOPS Cost: 25 Bytes: 796 Cardinality: 1                                                                                      
                                                                                                                  86 NESTED LOOPS Cost: 24 Bytes: 773 Cardinality: 1                                                                                 
                                                                                                                       83 NESTED LOOPS OUTER Cost: 23 Bytes: 678 Cardinality: 1                                                                            
                                                                                                                            81 NESTED LOOPS Cost: 23 Bytes: 675 Cardinality: 1                                                                       
                                                                                                                                 78 NESTED LOOPS OUTER Cost: 22 Bytes: 666 Cardinality: 1                                                                  
                                                                                                                                      76 NESTED LOOPS OUTER Cost: 22 Bytes: 662 Cardinality: 1                                                             
                                                                                                                                           70 NESTED LOOPS OUTER Cost: 22 Bytes: 649 Cardinality: 1                                                        
                                                                                                                                                64 NESTED LOOPS OUTER Cost: 22 Bytes: 636 Cardinality: 1                                                   
                                                                                                                                                     54 NESTED LOOPS OUTER Cost: 21 Bytes: 609 Cardinality: 1                                              
                                                                                                                                                          52 NESTED LOOPS OUTER Cost: 20 Bytes: 573 Cardinality: 1                                         
                                                                                                                                                               50 NESTED LOOPS OUTER Cost: 18 Bytes: 515 Cardinality: 1                                    
                                                                                                                                                                    47 NESTED LOOPS OUTER Cost: 17 Bytes: 457 Cardinality: 1                               
                                                                                                                                                                         45 NESTED LOOPS OUTER Cost: 15 Bytes: 421 Cardinality: 1                          
                                                                                                                                                                              43 NESTED LOOPS Cost: 13 Bytes: 385 Cardinality: 1                     
                                                                                                                                                                                   40 NESTED LOOPS Cost: 12 Bytes: 290 Cardinality: 1                
                                                                                                                                                                                        37 NESTED LOOPS OUTER Cost: 11 Bytes: 237 Cardinality: 1           
                                                                                                                                                                                             35 HASH JOIN Cost: 10 Bytes: 143 Cardinality: 1      
                                                                                                                                                                                                  33 TABLE ACCESS FULL TABLE AR.RA_TERRITORIES Cost: 3 Bytes: 34 Cardinality: 1
                                                                                                                                                                                                  34 TABLE ACCESS FULL TABLE AR.HZ_CUST_SITE_USES_ALL Cost: 6 Bytes: 11,336 Cardinality: 104
                                                                                                                                                                                             36 INDEX RANGE SCAN INDEX (UNIQUE) JTF.JTF_RS_SALESREPS_U1 Cost: 1 Cardinality: 11      
                                                                                                                                                                                        39 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_CUST_ACCT_SITES_ALL Cost: 1 Bytes: 53 Cardinality: 1           
                                                                                                                                                                                             38 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_CUST_ACCT_SITES_U1 Cardinality: 1      
                                                                                                                                                                                   42 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_CUST_ACCOUNTS Cost: 1 Bytes: 95 Cardinality: 1                
                                                                                                                                                                                        41 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_CUST_ACCOUNTS_U1 Cardinality: 1           
                                                                                                                                                                              44 INDEX RANGE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 2 Bytes: 36 Cardinality: 1                     
                                                                                                                                                                         46 INDEX RANGE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 2 Bytes: 36 Cardinality: 1                          
                                                                                                                                                                    49 TABLE ACCESS BY INDEX ROWID TABLE APPLSYS.FND_LOOKUP_VALUES Cost: 1 Bytes: 58 Cardinality: 1                               
                                                                                                                                                                         48 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 1 Cardinality: 1                          
                                                                                                                                                               51 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 1 Cardinality: 1                                    
                                                                                                                                                          53 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 1 Bytes: 36 Cardinality: 1                                         
                                                                                                                                                     63 VIEW PUSHED PREDICATE VIEW APPS.RA_SALESREPS Cost: 1 Bytes: 27 Cardinality: 1                                              
                                                                                                                                                          62 NESTED LOOPS Cost: 4 Bytes: 59 Cardinality: 1                                         
                                                                                                                                                               59 NESTED LOOPS Cost: 3 Bytes: 22 Cardinality: 1                                    
                                                                                                                                                                    56 TABLE ACCESS BY INDEX ROWID TABLE JTF.JTF_RS_SALESREPS Cost: 2 Bytes: 11 Cardinality: 1                               
                                                                                                                                                                         55 INDEX RANGE SCAN INDEX (UNIQUE) JTF.JTF_RS_SALESREPS_U1 Cost: 1 Cardinality: 1                          
                                                                                                                                                                    58 TABLE ACCESS BY INDEX ROWID TABLE JTF.JTF_RS_RESOURCE_EXTNS Cost: 1 Bytes: 11 Cardinality: 1                               
                                                                                                                                                                         57 INDEX UNIQUE SCAN INDEX (UNIQUE) JTF.JTF_RS_RESOURCE_EXTNS_U1 Cardinality: 1                          
                                                                                                                                                               61 INLIST ITERATOR                                    
                                                                                                                                                                    60 INDEX UNIQUE SCAN INDEX (UNIQUE) JTF.JTF_RS_EXTNS_U1 Cardinality: 1                               
                                                                                                                                                69 VIEW PUSHED PREDICATE VIEW APPS.OE_PRICE_LISTS_115_VL Bytes: 13 Cardinality: 1                                                   
                                                                                                                                                     68 NESTED LOOPS Cost: 1 Bytes: 62 Cardinality: 1                                              
                                                                                                                                                          66 TABLE ACCESS BY INDEX ROWID TABLE QP.QP_LIST_HEADERS_B Cost: 1 Bytes: 45 Cardinality: 1                                         
                                                                                                                                                               65 INDEX UNIQUE SCAN INDEX (UNIQUE) QP.QP_LIST_HEADERS_B_PK Cardinality: 1                                    
                                                                                                                                                          67 INDEX UNIQUE SCAN INDEX (UNIQUE) QP.QP_LIST_HEADERS_TL_PK Bytes: 17 Cardinality: 1                                         
                                                                                                                                           75 VIEW PUSHED PREDICATE VIEW APPS.OE_ORDER_TYPES_115 Bytes: 13 Cardinality: 1                                                        
                                                                                                                                                74 NESTED LOOPS Cost: 1 Bytes: 43 Cardinality: 1                                                   
                                                                                                                                                     72 TABLE ACCESS BY INDEX ROWID TABLE ONT.OE_TRANSACTION_TYPES_ALL Cost: 1 Bytes: 26 Cardinality: 1                                              
                                                                                                                                                          71 INDEX UNIQUE SCAN INDEX (UNIQUE) ONT.OE_TRANSACTION_TYPES_ALL_U1 Cardinality: 1                                         
                                                                                                                                                     73 INDEX UNIQUE SCAN INDEX (UNIQUE) ONT.OE_TRANSACTION_TYPES_TL_U1 Bytes: 17 Cardinality: 1                                              
                                                                                                                                      77 INDEX UNIQUE SCAN INDEX (UNIQUE) HR.HR_ORGANIZATION_UNITS_PK Bytes: 4 Cardinality: 1                                                             
                                                                                                                                 80 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_CUSTOMER_PROFILES Cost: 1 Bytes: 9 Cardinality: 1                                                                  
                                                                                                                                      79 INDEX RANGE SCAN INDEX AR.HZ_CUSTOMER_PROFILES_N1 Cardinality: 1                                                             
                                                                                                                            82 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_CUST_PROFILE_CLASSES_U1 Bytes: 3 Cardinality: 1                                                                       
                                                                                                                       85 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_CUST_ACCOUNTS Cost: 1 Bytes: 95 Cardinality: 1                                                                            
                                                                                                                            84 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_CUST_ACCOUNTS_U1 Cardinality: 1                                                                       
                                                                                                                  88 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_PARTY_SITES Cost: 1 Bytes: 23 Cardinality: 1                                                                                 
                                                                                                                       87 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_PARTY_SITES_U1 Cardinality: 1                                                                            
                                                                                                             91 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_LOCATIONS Cost: 1 Bytes: 106 Cardinality: 1                                                                                      
                                                                                                                  90 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_LOCATIONS_U1 Cardinality: 1                                                                                 
                                                                                                        93 INDEX RANGE SCAN INDEX AR.HZ_LOC_ASSIGNMENTS_N1 Cost: 1 Bytes: 8 Cardinality: 1                                                                                           
                                                                                                   96 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_PARTIES Cost: 1 Bytes: 91 Cardinality: 1                                                                                                
                                                                                                        95 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_PARTIES_U1 Cardinality: 1                                                                                           
                                                                                              98 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 1 Bytes: 36 Cardinality: 1                                                                                                     
                                                                                         100 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.HZ_PARTIES_U1 Bytes: 4 Cardinality: 1                                                                                                          
                                                                                    103 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_CONTACT_PREFERENCES Bytes: 47 Cardinality: 1                                                                                                               
                                                                                         102 INDEX RANGE SCAN INDEX AR.HZ_CONTACT_PREFERENCES_N1 Cardinality: 1                                                                                                          
                                                                               105 INDEX RANGE SCAN INDEX AR.HZ_CONTACT_POINTS_N6 Cost: 1 Bytes: 23 Cardinality: 1                                                                                                                    
                                                                          108 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_ORGANIZATION_PROFILES Cost: 1 Bytes: 19 Cardinality: 1                                                                                                                         
                                                                               107 INDEX RANGE SCAN INDEX AR.HZ_ORGANIZATION_PROFILES_N1 Cardinality: 1                                                                                                                    
                                                                112 TABLE ACCESS BY INDEX ROWID TABLE AR.HZ_PERSON_PROFILES Cost: 2 Bytes: 19 Cardinality: 1                                                                                                                                   
                                                                     111 INDEX RANGE SCAN INDEX AR.HZ_PERSON_PROFILES_N1 Cost: 1 Cardinality: 1                                                                                                                              
                                       159 VIEW VIEW APPS.XXAOC_SALES_REGION_VW Cost: 94 Bytes: 40 Cardinality: 4                                                                                                                                                            
                                            158 SORT ORDER BY Cost: 94 Bytes: 2,736 Cardinality: 4                                                                                                                                                       
                                                 157 VIEW VIEW APPS.XXAOC_CT_KFF_VW Cost: 69 Bytes: 2,736 Cardinality: 4                                                                                                                                                  
                                                      156 SORT ORDER BY Cost: 69 Bytes: 800 Cardinality: 4                                                                                                                                             
                                                           155 CONCATENATION                                                                                                                                        
                                                                127 MERGE JOIN CARTESIAN Cost: 11 Bytes: 200 Cardinality: 1                                                                                                                                   
                                                                     123 NESTED LOOPS Cost: 5 Bytes: 82 Cardinality: 1                                                                                                                              
                                                                          120 NESTED LOOPS Cost: 4 Bytes: 54 Cardinality: 1                                                                                                                         
                                                                               118 TABLE ACCESS FULL TABLE APPLSYS.FND_ID_FLEX_SEGMENTS Cost: 4 Bytes: 28 Cardinality: 1                                                                                                                    
                                                                               119 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_ID_FLEX_SEGMENTS_TL_U1 Bytes: 26 Cardinality: 1                                                                                                                    
                                                                          122 TABLE ACCESS BY INDEX ROWID TABLE APPLSYS.FND_FLEX_VALUE_SETS Cost: 1 Bytes: 28 Cardinality: 1                                                                                                                         
                                                                               121 INDEX UNIQUE SCAN INDEX (UNIQUE) APPLSYS.FND_FLEX_VALUE_SETS_U1 Cardinality: 1                                                                                                                    
                                                                     126 BUFFER SORT Cost: 10 Bytes: 2,714 Cardinality: 23                                                                                                                              
                                                                          125 TABLE ACCESS BY INDEX ROWID TABLE APPLSYS.FND_LOOKUP_VALUES Cost: 6 Bytes: 2,714 Cardinality: 23                                                                                                                         
                                                                               124 INDEX RANGE SCAN INDEX (UNIQUE) APPLSYS.FND_LOOKUP_VALUES_U1 Cost: 2 Cardinality: 23                                                                                                                    
                                                                136 TABLE ACCESS BY INDEX ROWID TABLE APPLSYS.FND_LOOKUP_VALUES Cost: 6 Bytes: 2,714 Cardinality: 23                                                                                                                                   
                                                                     135 NESTED LOOPS Cost: 11 Bytes: 200 Cardinality: 1                                                                                                                              
                                                                          133 NESTED LOOPS Cost: 5 Bytes: 82 Cardinality: 1                                                                                                                         
                                                                               130 NESTED LOOPS Cost: 4 Bytes: 54 Cardinality: 1                                                                                                                    
                                                                                    128 TABLE ACCESS FULL TABLE APPLSYS.FND_ID_FLEX_SEGMENTS Cost: 4 Bytes: 28 Cardinality: 1                                                                                                               
                                      

  • Slow query response

    Hi all,
    I have an entry here from TKPROF, this is from the production environment. Is there any way that I can make this query run faster?
    I would greatly appreciate also if you could explain to me the details of the query below.
    SELECT KIB.INT_BASIS_DESC,KBR.INT_BASIS_RATE  
      FROM FM_INT_BASIS KIB,FM_BASIS_RATE KBR 
    WHERE KIB.INT_BASIS = :b1 
       AND KBR.INT_BASIS = KIB.INT_BASIS 
       AND KBR.CCY = :b2 
       AND KBR.EFFECT_DATE = (SELECT MAX(EFFECT_DATE)  
                                FROM FM_BASIS_RATE KBR 
                               WHERE KBR.EFFECT_DATE <=
                                     NVL(:b3,:b4) 
                                 AND KBR.INT_BASIS = KIB.INT_BASIS 
                                 AND KBR.CCY = :b2)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute      2      0.01       0.01          0          0          0           0
    Fetch        2     21.40      20.91          0     752251          0           2
    total        6     21.41      20.92          0     752251          0           2Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Rows     Row Source Operation
          1  FILTER 
       1450   SORT GROUP BY
    1925600    CONCATENATION 
          0     FILTER 
          0      TABLE ACCESS BY INDEX ROWID FM_BASIS_RATE
          0       NESTED LOOPS 
          0        NESTED LOOPS 
          0         TABLE ACCESS BY INDEX ROWID FM_INT_BASIS
          0          INDEX UNIQUE SCAN KIB_PK (object id 3474)
          0         INDEX RANGE SCAN KBR_PK (object id 3427)
          0        INDEX RANGE SCAN KBR_PK (object id 3427)
    1925600     FILTER 
    1925600      TABLE ACCESS BY INDEX ROWID FM_BASIS_RATE
    1926929       NESTED LOOPS 
       1328        NESTED LOOPS 
          1         TABLE ACCESS BY INDEX ROWID FM_INT_BASIS
          1          INDEX UNIQUE SCAN KIB_PK (object id 3474)
       1328         INDEX RANGE SCAN KBR_PK (object id 3427)
    1925600        INDEX RANGE SCAN KBR_PK (object id 3427)
    SELECT KIB.INT_BASIS_DESC,KBR.INT_BASIS_RATE  
      FROM FM_INT_BASIS KIB,FM_BASIS_RATE KBR 
    WHERE KIB.INT_BASIS = :b1 
       AND KBR.INT_BASIS = KIB.INT_BASIS 
       AND KBR.CCY = :b2 
       AND KBR.EFFECT_DATE = (SELECT MAX(EFFECT_DATE)  
                                FROM FM_BASIS_RATE KBR 
                               WHERE KBR.EFFECT_DATE <=
                                     NVL(:b3,:b4) 
                                 AND KBR.INT_BASIS = KIB.INT_BASIS 
                                 AND KBR.CCY = :b2)
    Rows     Execution Plan
          0  SELECT STATEMENT   GOAL: CHOOSE
          1   FILTER
       1450    SORT (GROUP BY)
    1925600     TABLE ACCESS   GOAL: ANALYZED (BY INDEX ROWID) OF
                    'FM_BASIS_RATE'
          0      NESTED LOOPS
          0       NESTED LOOPS
          0        TABLE ACCESS   GOAL: ANALYZED (BY INDEX ROWID) OF 'FM_INT_BASIS'
          0         INDEX   GOAL: ANALYZED (UNIQUE SCAN) OF 'KIB_PK' (UNIQUE)
          0        INDEX   GOAL: ANALYZED (RANGE SCAN) OF 'KBR_PK' (UNIQUE)
          0       INDEX   GOAL: ANALYZED (RANGE SCAN) OF 'KBR_PK' (UNIQUE)Thank you very much!
    Message was edited by:
    ABS

    I don't have the tables here to test with, but you might verify that this query
    select int_basis_desc
         , kbr.int_basis_rate
      from ( select kib.int_basis_desc
                  , kbr.int_basis_rate
                  , max(case when kbr.effect_date <= nvl(:b3,:b4) then kbr.effect_date end)
                    over (partition by kbr.int_basis) max_effect_date
                  , effect_date
               from fm_int_basis kib
                  , fm_basis_rate kbr
              where kib.int_basis = :b1
                and kbr.int_basis = kib.int_basis
                and kbr.ccy = :b2
    where effect_date = max_effect_date
    /gives the same results as the original query.
    If still not satisfied, could you paste an explain plan and tkprof output of the new query?
    Regards,
    Rob.

  • Time capsule causes extremely slow internet

    I have an 2011 Apple time capsule running firmware 7.6.4 (latest as far as I know). Recently its begun acting up. Once the modem (a Motorolla SB6121) is restarted and the time capsule is restarted, wifi devices receive the full 100Mbps for approximately 2 minutes. Then the network degrades to hardly 1Mbps. It becomes virtually unusable. With intermittent dropped connections all together. I can confirm its the TC (all is fine on a direct connection from the modem), and I've tried factory resetting TC. The symptoms continue. I've even gotten a new router (it was happening before with a Motorolla SB2100 as well), and the same problem exists.
    I'm not sure if its relevant, but it happened around the time Comcast informed us they were increasing our internet speed to about 105Mbps.
    Any suggestions?

    The TC is definitely having issues with the motorola modems..
    This one is a bit complicated due to Mavericks.
    You can set the WAN port speed on the TC to 100mbit which seems to help for some people.
    You can do that using an old fashioned crossover ethernet cable or a small 10/100 switch between the TC and the modem.
    In the old utility you can still set the WAN port speed to 100mbit full or half duplex
    This is easy to do if you still have a computer running windows, hence older v5 utility.
    Mavericks removed the ability to easily run the v5 utility but there is a work around.
    http://coreyjmahler.com/2013/10/24/airport-utility-5-6-1-on-os-x-10-9-mavericks/
    You must follow those instructions exactly.
    No luck then replace the TC as the main router.
    Buy a normal standard router.. eg TP-Link WDR3600 which should be around $70. (I pick this one as it can be run on 3rd party firmware like gargoyle which is far more useful than native firmware in most routers). And bridge the TC for use on the network as a WAP and Networked hard disk.

  • Slow query response time

    Morning SQL gurus,
    Running queries on APEX takes very long compared to running the script directly on the database.
    I tried setting optimizer mode to all_rows, used driving_site and index hints, any other suggestions? The scripts on Apex and DB make use of a db :-/
    Regards,
    Pirate
    Edited by: Pirate on Jun 22, 2011 11:04 AM

    This is the fourm for issues with the SQL Developer tool. You will get better answers in the Apex forum or the SQL and PL/SQL forum.

  • IMac running 10.4.11 Running extremly slow...any suggestions?

    I am running my iMac with 10.4.11 and have been experiencing extremely slow program response. I am not very familiar with trouble shooting at all and if anyone has any suggestions I would appreciate it.
    Thanks.

    Hey rt,
    I also was very slow with my mac when I wanted to run Tiger. I didnt have any space issues because I have an 80gb external hard drive that I keep everything on except the apps. which the only 3rd party app I have is Photoshop CS, and that was slow whenever I opened a large file to work on. I ran disk repair, etc... and the only solution was to purchase some additional ram being that I was running 256mb. (standard factory) I purchased 512mb (most I can load on user friendly ram slot) from OWC, got the ram the next day installed it, powered up my imac and I immediately noticed my ram was working when the little blue horizontal progress bar on the startup screen zipped across my screen. Now I have photoshop open, multiple tabs in firefox, it's great.
    Good Luck
    Doobs

  • Query running extremely slow.

    Hi All,
    I am sitting on 10.2.0.4.0 on linux box. I've got one complain from the application folks regarding the query the slow query , it's running quite long time. I extracted out the explain plan and commulative wait events for sessions and system and found db file sequenciial read caused us the most waits. the same query was running fine a day before. not sure , where to focus ??
    ++ Query ++
    SELECT A.ITEM, A.LOC, MAX(CO1.AFFBILLPR) AFFBILLPR, MAX(CO1.UNIT_COST) UNIT_COST FROM INVOPT_STG.TMP_COST_OCS CO1,
    (SELECT SS.LOC, SS.MANUF_LOC, SS.ITEM, MAX(CO.ITEM_10D) ITEM_10D, COUNTRY_CD FROM INVOPT_STG.STG_LOC SL, TMP_COST_OCS CO, STG_SKU SS WHERE
    CASE WHEN SL.COUNTRY_CD_COST = CO.COUNTRY_CD THEN SL.COUNTRY_CD_COST
    WHEN SL.COUNTRY_CD_COST != NVL((SELECT DISTINCT CO3.COUNTRY_CD FROM INVOPT_STG.TMP_COST_OCS
    CO3 WHERE CO3.ITEM_10D = CO.ITEM_10D AND CO3.FYEAR = CO.FYEAR AND CO3.COUNTRY_CD = SL.COUNTRY_CD_COST),' ')
    AND SL.COUNTRY_CD_COST= 'US' THEN 'CAN' WHEN SL.COUNTRY_CD_COST != NVL((SELECT DISTINCT CO3.COUNTRY_CD
    FROM INVOPT_STG.TMP_COST_OCS CO3 WHERE CO3.ITEM_10D = CO.
    ITEM_10D AND CO3.FYEAR = CO.FYEAR AND CO3.COUNTRY_CD = SL.COUNTRY_CD_COST),' ')
    AND SL.COUNTRY_CD_COST = 'CAN' THEN 'US' ELSE SL.COUNTRY_CD_COST END = CO.COUNTRY_CD AND CO.COST_TYPE IN ('F') AND CO.ITEM_10D !=
    SS.ITEM_10D AND CO.ITEM_10D < SS.ITEM_10D AND
    SUBSTR(CO.ITEM_10D,1,9) = SUBSTR(SS.ITEM_10D,1,9)
    AND SUBSTR(SL.LOC,1,3) = SS.MANUF_LOC GROUP BY SS.LOC, SS.MANUF_LOC, SS.ITEM,
    CO.COUNTRY_CD) A WHERE CO1.ITEM_10D = A.ITEM_10D AND CO1.FYEAR =
    (SELECT MAX(CO2.FYEAR) FROM INVOPT_STG.TMP_COST_OCS CO2 WHERE CO2.ITEM_10D
    = A.ITEM_10D AND CO2.COST_TYPE = 'F' AND CO2.COUNTRY_CD = A.COUNTRY_CD)
    AND CO1.COST_TYPE = 'F' AND CO1.COUNTRY_CD = A.COUNTRY_CD GROUP BY A.ITEM, A.LOC
    ------ Eplain plan generated from shared pool +++++++++++
    | Id  | Operation                             | Name            | E-Rows |  OMem |  1Mem | Used-Mem | Used-Tmp|
    |   1 |  HASH GROUP BY                        |                 |      1 |    11M|  2139K| 3095K (1)|    8192 |
    |*  2 |   FILTER                              |                 |        |       |       |          |         |
    |*  3 |    TABLE ACCESS BY INDEX ROWID        | TMP_COST_OCS    |      1 |       |       |          |         |
    |   4 |     NESTED LOOPS                      |                 |      1 |       |       |          |         |
    |   5 |      VIEW                             |                 |      1 |       |       |          |         |
    |   6 |       HASH GROUP BY                   |                 |      1 |    22M|  4334K| 3898K (1)|   17408 |
    |*  7 |        FILTER                         |                 |        |       |       |          |         |
    |*  8 |         TABLE ACCESS BY INDEX ROWID   | TMP_COST_OCS    |      1 |       |       |          |         |
    |   9 |          NESTED LOOPS                 |                 |      1 |       |       |          |         |
    |* 10 |           HASH JOIN                   |                 |      1 |  1179K|  1179K| 1210K (0)|         |
    |  11 |            TABLE ACCESS FULL          | STG_LOC         |    155 |       |       |          |         |
    |  12 |            TABLE ACCESS FULL          | STG_SKU         |   1738K|       |       |          |         |
    |* 13 |           INDEX RANGE SCAN            | TMP_COST_OCS_01 |      1 |       |       |          |         |
    |  14 |         SORT UNIQUE NOSORT            |                 |      1 |       |       |          |         |
    |* 15 |          TABLE ACCESS BY INDEX ROWID  | TMP_COST_OCS    |      1 |       |       |          |         |
    |* 16 |           INDEX RANGE SCAN            | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |  17 |           SORT UNIQUE NOSORT          |                 |      1 |       |       |          |         |
    |* 18 |            TABLE ACCESS BY INDEX ROWID| TMP_COST_OCS    |      1 |       |       |          |         |
    |* 19 |             INDEX RANGE SCAN          | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |* 20 |      INDEX RANGE SCAN                 | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |  21 |    SORT AGGREGATE                     |                 |      1 |       |       |          |         |
    |* 22 |     TABLE ACCESS BY INDEX ROWID       | TMP_COST_OCS    |      1 |       |       |          |         |
    |* 23 |      INDEX RANGE SCAN                 | TMP_COST_OCS_01 |      3 |       |       |          |         |
    Predicate Information (identified by operation id):
       2 - filter("CO1"."FYEAR"=)
       3 - filter(("CO1"."COST_TYPE"='F' AND "CO1"."COUNTRY_CD"="A"."COUNTRY_CD"))
       7 - filter("CO"."COUNTRY_CD"=CASE  WHEN ("SL"."COUNTRY_CD_COST"="CO"."COUNTRY_CD") THEN
                  "SL"."COUNTRY_CD_COST" WHEN (("SL"."COUNTRY_CD_COST"<>NVL(,' ')) AND ("SL"."COUNTRY_CD_COST"='US'))
                  THEN 'CAN' WHEN (("SL"."COUNTRY_CD_COST"<>NVL(,' ')) AND ("SL"."COUNTRY_CD_COST"='CAN')) THEN 'US'
                  ELSE "SL"."COUNTRY_CD_COST" END )
       8 - filter("CO"."COST_TYPE"='F')
      10 - access("SS"."MANUF_LOC"=SUBSTR("SL"."LOC",1,3))
      13 - access("CO"."ITEM_10D"<"SS"."ITEM_10D")
           filter(("CO"."ITEM_10D"<>"SS"."ITEM_10D" AND
                  SUBSTR("CO"."ITEM_10D",1,9)=SUBSTR("SS"."ITEM_10D",1,9)))
      15 - filter(("CO3"."COUNTRY_CD"=:B1 AND "CO3"."FYEAR"=:B2))
      16 - access("CO3"."ITEM_10D"=:B1)
      18 - filter(("CO3"."COUNTRY_CD"=:B1 AND "CO3"."FYEAR"=:B2))
      19 - access("CO3"."ITEM_10D"=:B1)
      20 - access("CO1"."ITEM_10D"="A"."ITEM_10D")
      22 - filter(("CO2"."COUNTRY_CD"=:B1 AND "CO2"."COST_TYPE"='F'))
      23 - access("CO2"."ITEM_10D"=:B1)
    Note
       - Warning: basic plan statistics not available. These are only collected when:
           * hint 'gather_plan_statistics' is used for the statement or
           * parameter 'statistics_level' is set to 'ALL', at session or system level
    +++++ System Waits ++++++++
    EVENT                                                            TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
    db file sequential read                                             11887758     3643542          .31
    jobq slave wait                                                         4434     1297399        292.6
    db file scattered read                                               3821415      615568          .16
    log file parallel write                                               778118      476860          .61
    db file parallel write                                                652969      456530           .7
    SQL*Net more data to client                                         93400714      364435            0
    PX Idle Wait                                                            1078      208509       193.42
    control file parallel write                                           141212       62082          .44
    log file switch (checkpoint incomplete)                                  323       22567        69.87
    log buffer space                                                         786       10051        12.79
    log file sync                                                          17816        7988          .45
    db file single write                                                   42869        5994          .14
    read by other session                                                  13713        5051          .37
    log file switch completion                                              1125        4963         4.41
    db file parallel read                                                    756        3951         5.23
    Data file init write                                                   18444        3569          .19
    cursor: pin S wait on X                                                 3280        3409         1.04
    os thread startup                                                        452        2250         4.98
    direct path read                                                     4438445        1629            0
    SQL*Net more data from client                                          73118        1613          .02
    control file sequential read                                          291106        1523          .01
    local write wait                                                        4707        1169          .25
    latch: shared pool                                                       166         954         5.75
    direct path read temp                                                4657234         921            0
    library cache load lock                                                  313         753         2.41
    enq: KO - fast object checkpoint                                        5286         734          .14
    PL/SQL lock timer                                                          7         682        97.43
    latch: library cache                                                     501         614         1.23
    +++ commulative events for session +++
    EVENT                                                            TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
    db file sequential read                                                 6224        1978          .32
    SQL*Net message from client                                               20           2          .09
    SQL*Net message to client                                                 20           0            0
    log file sync                                                              1           0          .17Edited by: user11983993 on May 18, 2012 11:12 AM

    All,
    Thanks all of you for your inputs. Well, 2 days back, i logged in as a user , who ran the application query and enabled the level 12 trace and discovered the query never going to complete and press the control-c after 10 min or so and I was left with broken trace file. however , I tkprof'd it and found the "Row Source Operation" and other stuff. now , when I ran the same query it ran in no time and I was start getting the rows in 15 sec of time. I was just unable to figure out ,what had fixed this ? I am also going to past below the comparison stats and hope you guys will able to identify the cause of this behaviour. I tried to do it by comparing the execution plan , but could not able to arrive on any thought. one thing , i would like you to bring into your notice about the fact that while , the bad query were executing (2 days before) , I tried to find out the session waits and discovered , for intiial 5 minutes , it was "SQL*Net message to client ,SQL*Net message from client" and after that it was only "cache buffer chain lru" wait event till i press control-c.
    once agian , thanks a lot !!
    ---bad query explian plan ----
    | Id  | Operation                             | Name            | E-Rows |  OMem |  1Mem | Used-Mem | Used-Tmp|
    |   1 |  HASH GROUP BY                        |                 |      1 |    11M|  2139K| 3095K (1)|    8192 |
    |*  2 |   FILTER                              |                 |        |       |       |          |         |
    |*  3 |    TABLE ACCESS BY INDEX ROWID        | TMP_COST_OCS    |      1 |       |       |          |         |
    |   4 |     NESTED LOOPS                      |                 |      1 |       |       |          |         |
    |   5 |      VIEW                             |                 |      1 |       |       |          |         |
    |   6 |       HASH GROUP BY                   |                 |      1 |    22M|  4334K| 3898K (1)|   17408 |
    |*  7 |        FILTER                         |                 |        |       |       |          |         |
    |*  8 |         TABLE ACCESS BY INDEX ROWID   | TMP_COST_OCS    |      1 |       |       |          |         |
    |   9 |          NESTED LOOPS                 |                 |      1 |       |       |          |         |
    |* 10 |           HASH JOIN                   |                 |      1 |  1179K|  1179K| 1210K (0)|         |
    |  11 |            TABLE ACCESS FULL          | STG_LOC         |    155 |       |       |          |         |
    |  12 |            TABLE ACCESS FULL          | STG_SKU         |   1738K|       |       |          |         |
    |* 13 |           INDEX RANGE SCAN            | TMP_COST_OCS_01 |      1 |       |       |          |         |
    |  14 |         SORT UNIQUE NOSORT            |                 |      1 |       |       |          |         |
    |* 15 |          TABLE ACCESS BY INDEX ROWID  | TMP_COST_OCS    |      1 |       |       |          |         |
    |* 16 |           INDEX RANGE SCAN            | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |  17 |           SORT UNIQUE NOSORT          |                 |      1 |       |       |          |         |
    |* 18 |            TABLE ACCESS BY INDEX ROWID| TMP_COST_OCS    |      1 |       |       |          |         |
    |* 19 |             INDEX RANGE SCAN          | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |* 20 |      INDEX RANGE SCAN                 | TMP_COST_OCS_01 |      3 |       |       |          |         |
    |  21 |    SORT AGGREGATE                     |                 |      1 |       |       |          |         |
    |* 22 |     TABLE ACCESS BY INDEX ROWID       | TMP_COST_OCS    |      1 |       |       |          |         |
    |* 23 |      INDEX RANGE SCAN                 | TMP_COST_OCS_01 |      3 |       |       |          |         |
    ---- good query explain plan ------
    | Id  | Operation                            | Name            | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                     |                 |  5451K|   493M|       |   632K  (6)| 02:06:27 |
    |   1 |  HASH GROUP BY                       |                 |  5451K|   493M|  1183M|   632K  (6)| 02:06:27 |
    |*  2 |   HASH JOIN                          |                 |  5451K|   493M|    26M|   512K  (7)| 01:42:36 |
    |*  3 |    TABLE ACCESS FULL                 | TMP_COST_OCS    |   649K|    18M|       |   779   (4)| 00:00:10 |
    |*  4 |    HASH JOIN                         |                 |    16M|  1037M|    24M|   449K  (8)| 01:29:55 |
    |   5 |     VIEW                             | VW_SQ_1         |   649K|    17M|       |  6865   (2)| 00:01:23 |
    |   6 |      HASH GROUP BY                   |                 |   649K|    21M|    64M|  6865   (2)| 00:01:23 |
    |*  7 |       TABLE ACCESS FULL              | TMP_COST_OCS    |   649K|    21M|       |   779   (4)| 00:00:10 |
    |   8 |     VIEW                             |                 |    27M|   974M|       |   376K  (9)| 01:15:22 |
    |   9 |      HASH GROUP BY                   |                 |    27M|  1290M|  3397M|   376K  (9)| 01:15:22 |
    |* 10 |       FILTER                         |                 |       |       |       |            |          |
    |* 11 |        HASH JOIN                     |                 |    27M|  1290M|    14M| 38992  (71)| 00:07:48 |
    |* 12 |         HASH JOIN                    |                 |   361K|     9M|       |  9151   (3)| 00:01:50 |
    |  13 |          TABLE ACCESS FULL           | STG_LOC         |   155 |  1085 |       |     3   (0)| 00:00:01 |
    |  14 |          TABLE ACCESS FULL           | STG_SKU         |  1738K|    36M|       |  9127   (3)| 00:01:50 |
    |* 15 |         TABLE ACCESS FULL            | TMP_COST_OCS    |   649K|    12M|       |   779   (4)| 00:00:10 |
    |  16 |        SORT UNIQUE NOSORT            |                 |     1 |    18 |       |     2  (50)| 00:00:01 |
    |* 17 |         TABLE ACCESS BY INDEX ROWID  | TMP_COST_OCS    |     1 |    18 |       |     1   (0)| 00:00:01 |
    |* 18 |          INDEX RANGE SCAN            | TMP_COST_OCS_01 |     3 |       |       |     1   (0)| 00:00:01 |
    |  19 |          SORT UNIQUE NOSORT          |                 |     1 |    18 |       |     2  (50)| 00:00:01 |
    |* 20 |           TABLE ACCESS BY INDEX ROWID| TMP_COST_OCS    |     1 |    18 |       |     1   (0)| 00:00:01 |
    |* 21 |            INDEX RANGE SCAN          | TMP_COST_OCS_01 |     3 |       |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("CO1"."ITEM_10D"="A"."ITEM_10D" AND "CO1"."FYEAR"="VW_COL_1" AND
                  "CO1"."COUNTRY_CD"="A"."COUNTRY_CD")
       3 - filter("CO1"."COST_TYPE"='F')
       4 - access("ITEM_10D"="A"."ITEM_10D" AND "COUNTRY_CD"="A"."COUNTRY_CD")
       7 - filter("CO2"."COST_TYPE"='F')
      10 - filter("CO"."COUNTRY_CD"=CASE  WHEN ("SL"."COUNTRY_CD_COST"="CO"."COUNTRY_CD") THEN
                  "SL"."COUNTRY_CD_COST" WHEN (("SL"."COUNTRY_CD_COST"<>NVL( (SELECT DISTINCT "CO3"."COUNTRY_CD" FROM
                  "INVOPT_STG"."TMP_COST_OCS" "CO3" WHERE "CO3"."ITEM_10D"=:B1 AND "CO3"."COUNTRY_CD"=:B2 AND
                  "CO3"."FYEAR"=:B3),' ')) AND ("SL"."COUNTRY_CD_COST"='US')) THEN 'CAN' WHEN
                  (("SL"."COUNTRY_CD_COST"<>NVL( (SELECT DISTINCT "CO3"."COUNTRY_CD" FROM "INVOPT_STG"."TMP_COST_OCS"
                  "CO3" WHERE "CO3"."ITEM_10D"=:B4 AND "CO3"."COUNTRY_CD"=:B5 AND "CO3"."FYEAR"=:B6),' ')) AND
                  ("SL"."COUNTRY_CD_COST"='CAN')) THEN 'US' ELSE "SL"."COUNTRY_CD_COST" END )
      11 - access(SUBSTR("CO"."ITEM_10D",1,9)=SUBSTR("SS"."ITEM_10D",1,9))
           filter("CO"."ITEM_10D"<>"SS"."ITEM_10D" AND "CO"."ITEM_10D"<"SS"."ITEM_10D")
      12 - access("SS"."MANUF_LOC"=SUBSTR("SL"."LOC",1,3))
      15 - filter("CO"."COST_TYPE"='F')
      17 - filter("CO3"."COUNTRY_CD"=:B1 AND "CO3"."FYEAR"=:B2)
      18 - access("CO3"."ITEM_10D"=:B1)
      20 - filter("CO3"."COUNTRY_CD"=:B1 AND "CO3"."FYEAR"=:B2)
      21 - access("CO3"."ITEM_10D"=:B1)
    -------- bad query's tkprof stuff , which was cancel in the middle of query execution ++++
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.01          0          0          0           0
    Execute      1      0.00       0.01          0          0          0           0
    Fetch        1   2996.84    2926.75          0   38309573          0           0
    total        3   2996.85    2926.78          0   38309573          0           0
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 66
    Rows     Row Source Operation
          0  HASH GROUP BY (cr=0 pr=0 pw=0 time=139 us)
          0   FILTER  (cr=0 pr=0 pw=0 time=86 us)
          0    TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=0 pr=0 pw=0 time=77 us)
          1     NESTED LOOPS  (cr=0 pr=0 pw=0 time=66 us)
          0      VIEW  (cr=0 pr=0 pw=0 time=59 us)
          0       HASH GROUP BY (cr=0 pr=0 pw=0 time=55 us)
      38000        FILTER  (cr=38309122 pr=0 pw=0 time=2955467939 us)
    329898         TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=34815004 pr=0 pw=0 time=3206861519 us)
    357855          NESTED LOOPS  (cr=34485441 pr=0 pw=0 time=2877866697 us)
      27718           HASH JOIN  (cr=2390 pr=0 pw=0 time=307908 us)
        157            TABLE ACCESS FULL STG_LOC (cr=7 pr=0 pw=0 time=361 us)
      85765            TABLE ACCESS FULL STG_SKU (cr=2383 pr=0 pw=0 time=171835 us)
    330137           INDEX RANGE SCAN TMP_COST_OCS_01 (cr=34483052 pr=0 pw=0 time=2912095494 us)(object id 306305)
      46627         SORT UNIQUE NOSORT (cr=1930740 pr=0 pw=0 time=6990387 us)
      46738          TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=1930740 pr=0 pw=0 time=5650002 us)
    1538792           INDEX RANGE SCAN TMP_COST_OCS_01 (cr=391948 pr=0 pw=0 time=3003592 us)(object id 306305)
      45806         SORT UNIQUE NOSORT (cr=1563378 pr=0 pw=0 time=4985698 us)
      45911          TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=1563378 pr=0 pw=0 time=4041604 us)
    1245053           INDEX RANGE SCAN TMP_COST_OCS_01 (cr=318325 pr=0 pw=0 time=2173830 us)(object id 306305)
          0      INDEX RANGE SCAN TMP_COST_OCS_01 (cr=0 pr=0 pw=0 time=0 us)(object id 306305)
          0    SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 us)
          0     TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=0 pr=0 pw=0 time=0 us)
          0      INDEX RANGE SCAN TMP_COST_OCS_01 (cr=0 pr=0 pw=0 time=0 us)(object id 306305)
    +++++ good query's tkprof stuuf ++++
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch     7501     15.96      15.85          0    2276084          0      112498
    total     7503     15.96      15.85          0    2276084          0      112498
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: 66
    Rows     Row Source Operation
    112498  HASH GROUP BY (cr=2276084 pr=0 pw=0 time=15772334 us)
    116586   HASH JOIN  (cr=2276084 pr=0 pw=0 time=16810414 us)
    646757    TABLE ACCESS FULL TMP_COST_OCS (cr=3847 pr=0 pw=0 time=646966 us)
    116586    HASH JOIN  (cr=2272237 pr=0 pw=0 time=15790569 us)
    346815     VIEW  VW_SQ_1 (cr=3847 pr=0 pw=0 time=1533825 us)
    346815      HASH GROUP BY (cr=3847 pr=0 pw=0 time=840189 us)
    646757       TABLE ACCESS FULL TMP_COST_OCS (cr=3847 pr=0 pw=0 time=646848 us)
    116586     VIEW  (cr=2268390 pr=0 pw=0 time=14541517 us)
    116586      HASH GROUP BY (cr=2268390 pr=0 pw=0 time=14308341 us)
    464160       FILTER  (cr=2268390 pr=0 pw=0 time=5393370 us)
    3839448        HASH JOIN  (cr=49577 pr=0 pw=0 time=8893424 us)
    484783         HASH JOIN  (cr=45730 pr=0 pw=0 time=1454928 us)
        157          TABLE ACCESS FULL STG_LOC (cr=7 pr=0 pw=0 time=217 us)
    1738212          TABLE ACCESS FULL STG_SKU (cr=45723 pr=0 pw=0 time=1738234 us)
    646757         TABLE ACCESS FULL TMP_COST_OCS (cr=3847 pr=0 pw=0 time=648498 us)
      38587        SORT UNIQUE NOSORT (cr=1312207 pr=0 pw=0 time=4759042 us)
      38924         TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=1312207 pr=0 pw=0 time=3864377 us)
    1017138          INDEX RANGE SCAN TMP_COST_OCS_01 (cr=295069 pr=0 pw=0 time=1974848 us)(object id 306305)
      36877        SORT UNIQUE NOSORT (cr=906606 pr=0 pw=0 time=3136870 us)
      37214         TABLE ACCESS BY INDEX ROWID TMP_COST_OCS (cr=906606 pr=0 pw=0 time=2506882 us)
    701899          INDEX RANGE SCAN TMP_COST_OCS_01 (cr=204707 pr=0 pw=0 time=1305913 us)(object id 306305)
    +++++++

  • Airport Extreme Slow Ping (Internet) Response

    I am having problems with my dual-band airport extreme.  When connecting to the external internet, I'm seeing high ping responses (>500ms) after about 5-10 minutes of resetting (hard reset) the Extreme and initially seeing 15-30ms response times.
    I've tried:
    1.  Moving the router physcially in the house (no improvement)
    2.  Trying different channels on both 2.5 and 5 (some, but inconsistent improvement)
    3.  Multiple hard resets and reconfiguring the Extreme
    4.  Reinstall the firmware (haven't tried going down in firmware)
    5.  There are no cordless phones in the house
    6.  Absolute speed to the internet is strong (above my provider's stated speed)
    7.  If I connect my Macbook pro directly to the cable router, everything (ping + speed) is great.
    8.  Seeing slow ping responses both on my MacBook Pro and a separate PC
    Any suggestions on how to troubleshoot?  Seems like it a problem with the wireless connection and/or interference.
    thanks!
    Dale

    had a 5th gen Extreme that I bought with 7.5 and immediately upgraded to 7.6.  Saw the exact issue you described.  exchanged it for a 6th gen Extreme, and am experiencing the same behavior again... both with 7.5.2 and 7.6 firmware.
    everything is hunky dory when plugged directly into my cable modem.
    third time's a charm, hopefully.

  • 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

  • Using dimension attributes in the Query Builder Bean

    All...
    I am developing an HTML client based tool using the JSP tags. I wish to create a report that selects the appropriate dimension value based upon an attribute.
    But...
    Using the query builder I can not select dimension values based upon dimension attributes. Is this possible? The only use I have found for the attributes is when I am sorting my selected diemsnion values.
    Thanks in advance
    Dylan.

    1. Java Client QueryBuilder has support for selecting dimension members based on an attribute.
    To use this functionality, go to Dimensional Panel -> Conditions tab. Drill on Match group of conditions. The attribute condition appears as the last available condition, but only for dimensions that have attributes.
    To test this, use BIBDEMO schema supplied with BI Beans and look at conditions for Product dimension.
    2. If you wish to display dimension attributes and their values in the HTML client UI,
    here is how you can retrieve attributes and their values for a dimension:
    (e.g. for Product dimension in BIBDEMO)
    String dimensionID = "MDM!D_BIBDEMO.PRODUCT";
    String hierarchyID = null;
    MDDimension dimension = metadataManager.getDimensionByUniqueID(dimensionID);
    MDHierarchy hierarchy = dimension.getDefaultHierarchy();
    if (hierarchy != null)
    hierarchyID = hierarchy.getUniqueID();
    // Retrieve all the attributes for this dimension
    MDAttribute[] attributes = dimension.getAttributes();
    if (attributes != null && attributes.length > 0)
    String attributeID = null;
    AttributeListStep attrStep = null;
    Selection sel = null;
    MetadataMap map = new MetadataMap(new String[] {MetadataMap.METADATA_VALUE});
    for (int i=0; i<attributes.length; i++)
    // Get the unique ID for the attribute
    attributeID = attributes.getUniqueID();
    // Create and evaluate an AttributeListStep
    attrStep = new AttributeListStep(dimensionID, hierarchyID, attributeID);
    sel = new Selection(dimensionID);
    sel.setHierarchy(hierarchyID);
    sel.addStep(attrStep);
    // Evaluate the AttributeListStep and get the DataAccess
    DataAccess da = query.createQueryAccess().getDataAccess(sel, map);
    // Walk the DataAccess and get the attribute values
    if (da != null)
    int extent = da.getEdgeExtent(DataDirector.COLUMN_EDGE);
    for (int i=0; i<extent; i++)
    // Get the attribute value
    strValue = (String)da.getMemberMetadata(DataDirector.COLUMN_EDGE, 0, i, MetadataMap.METDATA_VALUE);
    // Add the value to a drop down or another UI element...

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

  • Weblogic 12c Admin Console Extremely Slow Response in "Servers" only

    Hi,
    I have downloaded and installed weblogic 12c today on IBM p702 blade centre running AIX 7.1 & IBM Java 7. Everything is working fine; Admin Server, Node Manager, etc.
    I am facing a strange kind of problem and need your kind suggestions.
    When i login to Admin Console 12c and i click on the "servers" link under the domain -> environment; the server response is extremely slow. However, the rest is fine. There is no application deployed and no warning + exception/error is in logs (node manager, admin server out etc.)
    Please advice!
    Good Day.
    Atti
    Edited by: user1659354 on 11-Jan-2013 01:07
    Edited by: user1659354 on 11-Jan-2013 03:07

    This happens when node managers are not running (or not reachable), as it tries to obtain the status of the servers that are deployed on different machines.
    What you can check is; are the node managers running on the machines you have configured (in the admin console, click environment, machines, your_machine, monitoring)

  • Response time Extremely slow on MS Translator API

    Hi,
    I am now using Translator API to translate input data from users in real time.
    But I found that the response time from the API is sometimes extremely slow.
    --- It takes 1 to 2 minute to translate only 5 to 6 characters and it certainly slow down my application
         (it normally takes only a few seconds)
    --- I am sure that I have enough quota.
    I wonder if there is request limit in a minute and if so, how can I upgrade the limit so 
    I can keep my service work perfectly? 
    Thanks

    Hi,
    This is totally unsusual. For strings in the two to three thousands characters it should not take more than a few 100ms. Can you try again and tell us if you still see this behavior?
    Our service is up and running (just go to bing.com/translator and you'll be able to test for yourself the speed of translation for a several hundreds characters sentence) so I'm not sure how to help you out here if it is still the case and your internet
    connection is working fine.
    Olivier
    Microsoft Translator team - www.microsoft.com/Translator

  • Response time Extremely slow on Translator API

    Hi,
    I am now using Translator API to translate input data from users in real time on our web application.
    But I found that the response time from the server is sometimes extremely slow.
    --- It takes 1 to 2 minute to translate only 5 to 6 characters and it certainly slow down my application
         (it normally takes only a few seconds)
    --- I am sure that I have enough quota.
    I wonder if there is request limit in a minute and if so, how can I upgrade the limit so 
    I can keep my service work perfectly? 
    Thanks

    Hi,
    This is totally unsusual. For strings in the two to three thousands characters it should not take more than a few 100ms. Can you try again and tell us if you still see this behavior?
    Our service is up and running (just go to bing.com/translator and you'll be able to test for yourself the speed of translation for a several hundreds characters sentence) so I'm not sure how to help you out here if it is still the case and your internet
    connection is working fine.
    Olivier
    Microsoft Translator team - www.microsoft.com/Translator

  • Extremely slow response

    Since I upgrade to Firefox 3.5.1 it is extremely slow in responding to lots of web pages including my own home page Atlantic Broadband and my E-Mail for Atlantic Broadband. It just seems to go out to lunch for a minute or more at times. There is no error it eventually gets there, but it is quite annoying. I had no problems at all with the earlier version.

    v3.5.1 would be a downgrade because the current version is 4.0
    Try updating again, but do it via '''Help '''| '''Check For Updates'''
    According to your system specs you currently have v3.6.16 installed which is the previous version to the current one.

Maybe you are looking for

  • I can't get the gap tool to work right

    Hi, I just bought InDesign which I'm attempting to use to create a book with 500+ pics.  A big selling point was the new gap tool which was supposed to make the interface significantly more practical for working with lots of images.  Unfortunately I

  • Command to run update all in briefcase

    Is It Possible For A CMD Command To Run The Update All Command In Briefcase!!?? I Really Can't Figure Out A CMD Command

  • My iPhone only has "headphone" volume, no "speaker" volume.How do I fix this so I can hear phone calls?

    My iPhone only has "headphone" volume, no "speaker" volume.How do I fix this so I can hear phone calls?

  • Itunes just won't start after the upgrade

    I've upgraded my itunes, and done all the double checks I've found on this site. My itunes just will not start after the upgrade. It's frustrating to say the least because I can't even access my libary or edit my ipod. I've tried everything including

  • Firewire drive question

    I'm not sure whom to ask, so I though you all would have some reasonable input. I currently have 8 firewire drives, each in an external case. What I would ideally like to see is some kind of case, that I can toss a number of the drives into, and plug