Query Hanging out with CL_SQL_RESULT_SET=============CP

Dear Gurus,
    I am using a cube, and do reporting, let say cube contain:
             Posting Date
             Sales Organization
             Distribution Chanel
             Division
   In Query i used only Posting as variable, and in Cube we have 12 milion records, query run very fast with only Posting Date as variable in selection.
   But from the day i put Sales Org, Distribution Chanel, Divsion into selection screen of query as well. so If user enter posting date only it execute very fast, but when user specify Sales Org, then system run very long time.
   I check ABAP job, i saw that CL_SQL_RESULT_SET=============CP take a lot of time, of course under that function is ABAP query with many join....
   Would you tell me what happen, i have created index for infocube and "Refresh DB Statistic".  But seems it still low.
   IS there any missing in any setting, why just only Sales Org (4 Char) included in selection then make system hange on.
Thanks and Regards,
KIMC.

Dear Yang,
  I copied here to share in forum.
<<<<<<<<<<_Case Good Once_>>>>>>>>>>>>>
CREATE OR REPLACE VIEW "/BI0/0300000004" AS
SELECT
/*+ NO_QUERY_TRANSFORMATION */
"DU"."SID_0DOC_CURRCY" AS "S____085"
,"DU"."SID_0SALES_UNIT" AS "S____106"
,"D3"."SID_0BILL_DATE" AS "S____076"
,"D3"."SID_YMAT_TYPE" AS "S____114"
, SUM (  "F"."COST"  )  AS "Z____339"
, SUM (  "F"."INV_QTY"  )  AS "Z____137"
, SUM (  "F"."NETVAL_INV"  )  AS "Z____138"
, SUM (  "F"."TAX_AMOUNT"  )  AS "Z____139"
, COUNT( * )  AS "Z____051"
, SUM (  "F"."/BIC/YSALES_UP"  )  AS "Z____424"
FROM
"/BIC/FYSD_CO3D" "F"  JOIN  "/BIC/DYSD_CO3DU" "DU"  ON
"F" . "KEY_YSD_CO3DU"  = "DU" . "DIMID"
JOIN  "/BIC/DYSD_CO3D3" "D3"  ON
"F" . "KEY_YSD_CO3D3"   = "D3" . "DIMID"
JOIN   "/BIC/DYSD_CO3DP" "DP" ON
"F" . "KEY_YSD_CO3DP"  = "DP" . "DIMID"
JOIN    "/BIC/DYSD_CO3D2" "D2"  ON
"F" . "KEY_YSD_CO3D2" = "D2" . "DIMID"
WHERE
( ( ( ("DP"."SID_0CHNGID" = 0 ) ) AND  ( ("DP"."SID_0RECORDTP"= 0 ) ) AND 
( ("DP"."SID_0REQUID" <= 82455 ) ) AND  ( ("D2"."SID_0SALESORG"= 12 ) ) AND 
( ("D3"."SID_YIP_DATE"= 20100507 ) ) AND  ( ("D3"."SID_YMAT_TYPE" IN (2 ,  3 ,  4 ,  5 ,  6 , 7)  ) ) ) )
GROUP BY
"DU"."SID_0DOC_CURRCY"   ,"DU"."SID_0SALES_UNIT"
,"D3"."SID_0BILL_DATE"  ,"D3"."SID_YMAT_TYPE"
<<<<<<<<<<<<<<Case Hanging Out once>>>>>>>>>
SELECT
/*+ STAR_TRANSFORMATION  FACT(F) */
"DU"."SID_0DOC_CURRCY" AS "S____085"
,"DU"."SID_0SALES_UNIT" AS "S____106"
,"D3"."SID_0BILL_DATE" AS "S____076"
,"D3"."SID_YMAT_TYPE" AS "S____114"
, SUM (  "F"."COST"  )  AS "Z____339"
, SUM (  "F"."INV_QTY"  )  AS "Z____137"
, SUM (  "F"."NETVAL_INV"  )  AS "Z____138"
, SUM (  "F"."TAX_AMOUNT"  )  AS "Z____139"
, COUNT( * )  AS "Z____051"
, SUM (  "F"."/BIC/YSALES_UP"  )  AS "Z____424"
FROM
"/BIC/FYSD_CO3D" "F"   JOIN  "/BIC/DYSD_CO3DU" "DU"   ON
"F" . "KEY_YSD_CO3DU"  = "DU" . "DIMID"
JOIN   "/BIC/DYSD_CO3D3" "D3"   ON
"F" . "KEY_YSD_CO3D3"  = "D3" . "DIMID"
JOIN    "/BIC/DYSD_CO3DP" "DP"  ON
"F" . "KEY_YSD_CO3DP"  = "DP" . "DIMID"
JOIN    "/BIC/DYSD_CO3D2" "D2"   ON
"F" . "KEY_YSD_CO3D2"  = "D2" . "DIMID"
WHERE
( ( ( ( "DP"."SID_0CHNGID"  = 0  ) ) AND  ( ( "DP"."SID_0RECORDTP" = 0  ) ) AND 
( ( "DP"."SID_0REQUID" <= 82455  ) ) AND  ( ( "D2"."SID_0SALESORG" = 12  ) ) AND 
( ( "D3"."SID_YIP_DATE" = 20100507  ) ) AND  ( ( "D3"."SID_YMAT_TYPE" IN ( 2 ,  3 ,  4 ,  5 ,  6 ,  7) ) ) ) )
GROUP BY
"DU"."SID_0DOC_CURRCY"    ,"DU"."SID_0SALES_UNIT"
,"D3"."SID_0BILL_DATE"        ,"D3"."SID_YMAT_TYPE"
Is there any hint like Query Transformation >>> Can you suggest.
Thanks and Regards,
KIMC.

Similar Messages

  • Query erroring out with lack of temp space?

    I have 2 databases. One was cloned from the other on to another server.
    On one server the query takes 5 seconds to run on the other server the query errors lack with lack of disk space.
    The init files are the same. The Oracle memory is the same. The temp tablespace size is the same.
    I'm stuck!
    What should I look for to find out what is causing the error?

    On both databases the version is 9.2.0.6.
    This is the view that worked in database1 and errored in database2...
    CREATE OR REPLACE VIEW SAP_STAGE.MTC_STG_MEASURE_POINT_V
    EQUIP_NO,
    MEASUR_PNTPOS,
    CHARACT_NAME,
    UNIT,
    MEASUR_PNT_DESC,
    VALUATION_CODE,
    TEXT_FIELD
    AS
    SELECT DISTINCT xref.equnr AS equip_no, rpmp.*
    FROM sap_stage.measuring_point mp JOIN xref_sap_equi xref
    ON TRIM (mp.equip_no) = TRIM (xref.groes)
    JOIN stg_mtc_msf600 msf600
    ON TRIM (mp.equip_no) = TRIM (msf600.equip_no)
    AND TRIM (msf600.dstrct_code) in ('347','315')
    JOIN rec_prodstat_code_measur_pts rpmp ON 1 = 1
    If I qualify all the tables with SAP_STAGE the query runs in 5 seconds in database2.
    Why does the query run in database 1 without the schema names?

  • How to set a sql query time out with jdbc:oracle:thin

    should i change the JDBC driver with jdbc:oralce:XA:thin or other driver with XA?

    SQL query timeout may be set with setQueryTimeout.
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#setQueryTimeout(int)
    A query timeout bug is fixed in Oracle JDBC Drivers release
    10.1.0.2.0 (10g)
    FIXED BUG-2249191
    In the Server Internal Driver, setting the query timeout does not
    +(and likely will never) work. The query execution will not be+
    canceled when the timeout expires, even if the query runs forever.
    Further, after the query returns, the execution of your code
    may pause for the length of the timeout.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_readme101020.html

  • Query hangs with outer query

    Hi,
    OS: SPARC 64 bit
    Oracle Version: 10.2.0.3.0 64 bit
    My query hangs when I include the outer query. When I execute without outer query It comes out in a fraction of second but when I includes outer query it starts hang
    Below is my original query which hangs
    select * from (select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000) WHERE raw_rnum_ > 0;
    when I execute this it will come out immediately
    select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000
    select * from (select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000) WHERE raw_rnum_ > 0;
    but when I includes outer query I hangs it is really very weird for me?
    Here is the explain plan for that query
    Execution Plan
    Plan hash value: 3493649369
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
    | 0 | SELECT STATEMENT | | 1 | 2015 | 1 (0)| 00:00:01 | | |
    |* 1 | VIEW | | 1 | 2015 | 1 (0)| 00:00:01 | | |
    |* 2 | COUNT STOPKEY | | | | | | | |
    | 3 | PARTITION RANGE SINGLE | | 1 | 5894 | 1 (0)| 00:00:01 | 99 | 99 |
    | 4 | PARTITION LIST ALL | | 1 | 5894 | 1 (0)| 00:00:01 | 1 | 48 |
    |* 5 | TABLE ACCESS BY LOCAL INDEX ROWID| CDR | 1 | 5894 | 1 (0)| 00:00:01 | 4705 | 4752 |
    | 6 | BITMAP CONVERSION TO ROWIDS | | | | | | | |
    |* 7 | BITMAP INDEX SINGLE VALUE | IX_CDR_INTERFACE | | | | | 4705 | 4752 |
    Predicate Information (identified by operation id):
    1 - filter("RAW_RNUM_">0)
    2 - filter(ROWNUM<=10000)
    5 - filter("DAY_OF_YEAR"=99 AND "TIME_STAMP">=TO_DATE('2009-04-08 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND
    "TIME_STAMP"<=TO_DATE('2009-04-09 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND ("NETWORK_ID"=1025 OR
    "NETWORK_ID"=1026))
    7 - access("INTERFACE"='TRAFIC')
    can one explain why it happen? what could be the reason? Is it a bug or something? what should I do now? Issue is critical in the production enviromentent
    Waiting for your Valuable Reply
    Thanks In Advance
    With Regards
    Boo

    user454189 wrote:
    I suspect the issue with the where clause (raw_rnum_ > 0)
    Actually I using bitmap index on ' INTERFACE' column. Does it causing a prob or raw_rnum_ causing a problem?Boo,
    a couple of comments:
    1. Why do you use the deprecated FIRST_ROWS hint? From 9i on the FIRST_ROWS_n mode should be used instead, and since you're using a top-N query format the hint should be superfluous anyway since the optimizer should switch to FIRST_ROWS_n mode automatically.
    2. Why do you use a BITMAP index and not a conventional b*tree index? Let me hazard a guess: Because the INTERFACE column has a small number of distinct values? That would be in most cases a bad idea.
    3. What seems to be odd that you're accessing the data via the BITMAP index on INTERFACE, but request an ORDER BY ID DESC. But there is no order by in the execution plan posted. I wonder where the order should come from? Can you show us the DDL of the bitmap index?
    4. What does the plan look like if you run only the inner query without the outer query?
    You can always gain more information by tracing the statement execution or using the GATHER_PLAN_STATISTICS hint together with the DBMS_XPLAN.DISPLAY_CURSOR function.
    Please read this HOW TO: Post a SQL statement tuning request - template posting that explains what you should provide if you have SQL statement tuning question and how to format it here so that the posted information is readable by others.
    This accompanying blog post shows step-by-step instructions how to obtain that information.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • HT1338 I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.

  • Oracle 9.2.0.6; query hangs if partition doesn't exist

    Hallo all,
    this is the first time I post on this forum.
    I work in a group of PL\SQL developers in Italy. Few day ago we had a problem with a query and like to find out what the problem is.
    We have an Oracle DB version 9.2.0.6 (old I know) in a production environment. Linux OS.
    The query was made to extract data from a partitined table, on a partioned field, in our casa one Year. By mistake we have serced for the wrong year, 2013. There where no data for that year and therefor no partition.
    So, happened that the query hangs and after 24 hours was terminated.
    What we expected indeed was a zero records retirned in, at the most, few minutes, see that the table, in severa partition contains about 16 million records.
    The we tested the same query but in a different enviroment, Oracle 11gr2, same table structure, same partitioning, without partition 2013, and the query completed in less tha 1 minute with zero records in output.
    At this point we thought of a bug, but can't find any reference.
    Has anyone had a similar experience or can give some indication of possible bug report.
    Thanks for any help.

    Hi Rob,
    thank you for your answer.
    Sorry if this is not the best forum. I am not very practical.
    I try to answer to your questions.
    At a first time we thought the query did a full scan on the table. Yes. But even to full scan 16.000.000 records split in no more than 8 partition (at this time) shouldn't take up to 24 hours and never stop running. I think.
    We don't have a DBA role so we do not have full control over what is running. And take too long time to open a ticket and ask the DBA to check.
    What we did is testing the same query in a pre-prod environment, which is an Oracle 11gr2.
    I understand that it is not very usual to have a pre-production environment with a latest version of oracle but this is the way we have to work.
    Anyway, the test in pre-production worked very well. Without 2013 partition the return was very fast and we had zero records as expected.
    Then we found a workaround for production, ora 9. Call it work around maybe is too much ........
    We created the 2013 partition and run the query. The respons was then succesfull in about the same time than in pre-prod. Less than one minute and zero records.
    And this is fine for us.
    What we don't understand is why this different behavior with two different version of DB. Thats why we think it is due to a bug. We only want to find out whether it is this or if there is a different reason.
    Some other response or help would help.
    Thank you.

  • My MacMini2,1[a] suddenly lost my internet setup and tells me that the Ethernet is not connected. [b] it has at the same time become extremely slow [c] It hangs up with the loader color wheel going on and on and on. I am new to Mac. Please Help

    I am new to Mac and I have a Mini 2,1 Intel Core 2 Duo
    It was working great then I was away for four months when I returned I don't know what happened a month later [a] I lost internet connection. When I checked in the Network Preferences it says "Ethernet" not connected, even though the cable is connected and works well when I use it on my PC
    [b] the speed has dropped I now go for a cup of tea for it to load any program or file
    [c] It invariably hangs up with the color wheel going on and on and on.
    [d] do Mac's have any restore systems like PCs' or system recover?
    I did not find help in the FAQ so I am reaching out to the Mac family for help. By the way I am in India and BSNL BB is my service provider.
    Sincerely apprecaite any help I can get to learn to use and love a Mac!
    Regina

    I am new to Mac and I have a Mini 2,1 Intel Core 2 Duo
    It was working great then I was away for four months when I returned I don't know what happened a month later [a] I lost internet connection. When I checked in the Network Preferences it says "Ethernet" not connected, even though the cable is connected and works well when I use it on my PC
    [b] the speed has dropped I now go for a cup of tea for it to load any program or file
    [c] It invariably hangs up with the color wheel going on and on and on.
    [d] do Mac's have any restore systems like PCs' or system recover?
    I did not find help in the FAQ so I am reaching out to the Mac family for help. By the way I am in India and BSNL BB is my service provider.
    Sincerely apprecaite any help I can get to learn to use and love a Mac!
    Regina

  • Encore / Images Blacked out with RED line on top

    New at this. I have 1.67gb left in my project. (I have a lot of photos) Any way when I add more (Shift / Ctrl / g ) When I look at the bottom Left where the slides show up I just loaded 2 of the 60 photos I can see but the other 58 are black. All 60 have this red line above them.
    Can anyone teach me what's going on here:)
    THANKS

    Joseph,
    You are possibly (note: "possibly") on the right track with the elimination of each slide show, until you find the one that is "possibly" causing the problem.
    Get a spool of DVD-RWs (rewritables), and do a Project with one of your slide shows, then burn to DVD-RW and test that. Does all work as it should? In that Project, add another slide show, repeat the DVD-RW burn again. Still OK? Add another, and another. If the process hangs, errors out, on one, check it completely to see if you can spot a problem with it. Sometimes, it's some tiny glitch that ruins the whole Project, and you have to spend some time searching through tons of good assets, just to find the offending one, or ones.
    As for the size concern, take a look at the Disc Tab in your Project Panel. There will be a diagram of the DVD with the used portion colored in. Does it show that you still have room? If not, check the CD-ROM area, just below, to see if you accidently added some content there. If you have exceeded the capacity of a 4.7GB DVD, Encore should give you an error message, suggesting that you go with a DVD-9 (Dual Layer), instead of a DVD-5.
    Question: where did you get the info, that you still have 1.38GB of space on this Project, the Disc Tab in the Project Panel? If so, that should tell you that you DO have room, i.e. the Project is not too large. It would then follow, that you likely have some problem and my first statements might help you track these down.
    Good luck,
    Hunt
    [EDIT] PS, Harm is only trying to help you explain your problem in enough detail, so that the folk who hang out here, can, in turn, help you solve your problem. As you can see from my response, I'm doing a lot of guessing, and much/all of it might be wrong. With more detail (per Harm's link), others will see what you started with, what you have done so far, and maybe even some hardware issues. The first couple of folk, who responded to you, are some of the best on this board.

  • Remote Desktop Connection Times Out With "Can't Connect" From One Specific Computer Only

    This is an odd one... I manage several servers from this computer. This particular server, 2012 Essentials, won't allow for remote desktop connections to either the server or attached workstations. I can get into the server's remote web page but when I
    attempt a remote desktop connection, it hangs on "Initiating remote connection..." and then times out with the error response that remote desktop can't connect. But... if I attempt the same connections from any other computer, I am able to get in
    and utilize remote desktop. Does this mean that there is a certificate issue with the computer unable to connect and if so, how does one remedy this? Or is it some other issue? I've attempted everything within my technical ability to no avail. Any suggestions
    are greatly appreciated.

    Hi,
    Before going further, would you please let me know the RDC version that used in the problematic computer? Was it the same with other computers?
    Please temporarily disable firewall and then check if this issue can be solved. Based on your current description, it’s hard to say the root reason of this issue.
    So, I suggest that you should check relevant log files and get some clues. It will help us to narrow down and solve your issue.
    Hope this helps.
    Best regards,
    Justin Gu

  • How can I make a query by date with several TDMS files?

    Hi,
    I have a project that can write and read TDMS files everyday (a file for each day with date and time). There, I can import those files to excel (I choose a file and load it). But, I have a question: How can I make a query by date with those TDMS files? I'd like make a time stamp for start date and stop date, where I could compare the TDMS file dates and sum the values that are in the channels where these files are similar. For example, I save a file with "02/01/2013" name, in other day "03/01/2013", in other day "04/01/2013"... so, i'd like put in time stamp for start date "02/01/2013" file and to stop date "04/01/2013" file, than, sum all values that range with my TDMS files existing. How can I make that? 
    Thanks all,
    Val 

    Hello Val_Auto.
    You're Brazilian, no? Me too. = ^ - ^ =
    I converted VI to version of your LabVIEW (8.5). Is attached in this reply.
    This VI search all your TDMS in a range of dates and join them in a single TDMS. I hope this is what you wanted.
    Query TDMS is the main VI. The TDMS VI Search changes the date format that out from calendar control (which is DD / MM / YYYY) to DD-MM-YYYY. This is because you can't name files using "/". I chose "-" but, if necessary, you should change to keep the same format of your TDMS files.
    If you have any doubt as to its operation or how to make changes to adapt VI for your application, keep at your disposal.
    Thank you for your contact; I hope have helped you and succeed in your application.
    Wesley Rocha
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!
    Attachments:
    Query TDMS.vi ‏62 KB
    tdms search.vi ‏24 KB

  • My MacBook is hanging up  with a multicolor wheel as the mouse sign.

    My MacBook is hanging up  with a multicolor wheel as the mouse sign . Only way to get out is to power off/on but this is not working every time .
    Any permanent solution to get out of this recurring and abnormal situation .
    Many tks rgds gp

    Which MacBook? Which version of OS X? How much ram? How much total and free disk space?
    Try a Safe Boot http://support.apple.com/kb/HT1564
    My second thought is that you're experiencing hard drive problems and need to run Disk Utility to check the HD and possible repair. You need to start from your original OS X install disc by inserting it and restarting while holding
    the C key. Once it has started up choose your language and at the next screen go to the menu bar on top and click the Utilities menu. Select Disk Utility. Choose your hard drive and look to the bottom part of the DU window and note the SMART status, anything other than Verified indicates a problem. Next select the First Aid tab and click Repair. If DU reports that it repaired anything do it again until it reports that the drive is ok.

  • Please help me out with some fundamentals in BW

    Hello,
    Please guide me regarding the below mentioned questions.
    1. what is the key date in query designer.
    2. when do we perform attribute change run
        like once the master data is loaded then we perform attribute change run and load the transactional data ?
    3.what is the disadvantage of using aggregates.
    4. what is full repair options?
    please help me out with these questions

    HI,
    Repair full request :
    If you indicate a request in full update mode as a repair request, then it is able to be updated in all data targets. This is also true if they already contain data from initial runs or deltas for this DataSource / source system combination, and they have overlapping selections.
    Consequently, a repair request can be updated at any time without checking each ODS object. The system supports loading in an ODS object by using the repair request without having to check the data for overlapping or request sequencing. This is because you can also delete selectively without checking an ODS object.
    Posting such requests can lead to duplicate data records in the data target.
    Hierarchy/attribute change run after loading master data;
    When hierarchies or attributes of characteristics change, the aggregate affected by the change can be adjusted manually or calculated automatically in process chains.
    Aggregates:
    Aggregates are materialized, pre-aggregated views on InfoCube fact table data. They are independent structures where summary data is stored within separate transparent InfoCubes. The purpose of aggregates is purely to accelerate the response time of queries by reducing the amount of data that must be read in the database for a given query navigation step. In the best case, the records presented in the report will exactly match the records that were read from the database.
    Aggregates can only be defined on basic InfoCubes for dimension characteristics, navigational attributes (time-dependent and time-independent) and on hierarchy levels (for time-dependent and time-independent hierarchy structures). Aggregates may not be created on ODS objects, MultiProviders or Remote Cubes.
    Queries may be automatically split up into several subqueries, e.g for individual restricted key figures (restricted key figures sales 2001 and sales 2002). Each subquery can use one aggregate; hence, one query can involve several aggregates.
    If an aggregate has less than 15 components, BW 3.x puts each component automatically into a separate dimension that will be marked as “line item” (except package and unit dimension); these aggregates are called flat aggregates. Hence, dimension tables are omitted and SID tables referenced directly.  Flat aggregates can be rolled up on the DB server (i.e., without loading data into the application server). This accelerates the roll up (hence the upload) process.
    Disadvantage : The more aggregates exist, the more time-consuming is the roll-up process and thus the data loading process; the change run is also affected.
    Hope this info Helps.
    Thanks,Ramoji.

  • Restricting a characteristic & query time out problem

    Hi. We have the follwoing problem:
    Before our BI upgrade, we have had a number of users querying different info areas, that are now having difficulty restricting on a characteristic in a query.  This was performed with no problems before the upgrade. 
    Many times, the list of records for the particular characteristic is quite small.  Either it takes 20-30 minutes for the list to appear, or the query times out (after 6000 seconds).
    Any ideas?

    Any time you have an existing query that has been running quickly in production, and it suddenly starts to run much longer, you should be suspicious of some change to DB statisitics and or indexes.
    So the first thing to do is work with your DBA to make sure the DB statistics are current for the tables involved in the query, then get an Explain Plan for the query which will show you how the DB is trying to execute the query, what indexes it uses, etc.  Perhaps stats are not being refreshed after the upgrade, or something happened to an index

  • Query SQL datastore with XML where clause source

    Hope I am in the right place.  New to Bus Obj Data Services Designer....I have cerated xml schemas, added it to the page as an xml source in.  Mapped a test xml file and all is well there.  I have added a query that grabs the xml.
    I need to then query the MS SQL datastore ans use  the data form the xml query as the where clause.  How is this done?  Or do I put a query on the datastore for all the data in a table then do anotehr query filtering one with the other?  seems like that would be rather heavy and low performance.  The results will then be sent back out as xml (schema and test file already set up as an xml out)
    Thanks!

    Thanks for the tips.
    I'm trying to implement this option, using your ViewDefHelper.
    I´m running into a problem though. After I create my dynamic View Object using a ViewDef, I need to create some view links.
    So I get the AttributeDefs of the columns (source, and destination) from the method findAttributeDef (which is the whole purpose of performance in my post). This method is returning the correct Attribute Def, but when I create the view Link with the method createViewLinkBetweenViewObjects(java.lang.String vlName,
    java.lang.String accessorName,
    ViewObject master,
    AttributeDef[] srcAttrs,
    ViewObject detail,
    AttributeDef[] destAttrs,
    java.lang.String assocClause)
    My destination query is generating the where clause as:
    null = ?
    Any Ideas what I'm doing wrong ?
    Thanks again.
    John.

  • Query hangs on Value Help

    Hi,
    We have created a query in which we are using quantity conversion ( defined in RSUOM ) , the target quantity is to be taken from a variable. The quantity conversions is running fine but when we do a value help for the target quantity variable in Portal, the query hangs. We are not facing any such  issue in Bex Analyzer.
    Please share your ideas on what could be the possible reason for this.
    Thanks and Regards,
    Manish Sharma

    Hello Manish,
    This is clearly a Portal issue.
    Probably an issue with BI Java.
    I recommend you to update your BI Java components to latest patch recommended by Java SP_Patch Matrix.
    If you are using Netweaver 7.0, please check the link below:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/6010addf-e096-2b10-8893-e98586d005f9 [original link is broken]
    If you are using Netweaver 7.0 EHP 1 (7.01), please the this link:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/c098b21c-e56f-2d10-2aad-b13915b396a4 [original link is broken]
    Applying the patches recommended should solve the issue.
    Also, as a recommendation, run the BI Diagnostics - note 937697 - and correct the red alerts.
    Best Regards,
    Edward John

Maybe you are looking for

  • Recebimento de mercadorias

    Alguém sabe porque não posso realizar o processo de "Recebimento de mercadoria" com base em várias "Devoluções de mercadorias" ? Quando tento copiar de "Devolução de mercadoria" somente é possível marcar uma "Devolução de mercadoria" por vez.

  • New iPhone not listed as a device on iTunes

    The one sentence answers to similar questions on here don't help me much so... My iPad 2 shows up as a device on iTunes 11. When I connect the new iPhone 5 via USB it is also there but unlike the iPad it will not show up on iTunes wirelessly and yes

  • I purchased creative cloud when I purchased my laptop, I've since had to put in a new hard drive.  How do I reinstall the programs on my new hard drive?

    I purchased creative cloud when I purchased my laptop, I've since had to put in a new hard drive.  How do I reinstall the programs on my new hard drive?

  • [beginner] Creating a secure Java client

    Hi all, I have a Java application whose presentation tier is JSP, middle tier is EJB and it's secured with HTTPS. Now I need to write a Java desktop application which connects to the EJB tier. How can I secure the communication between the Java appli

  • JSP not finding Taglib

    hi all, i am using forte 2.0 ce, BEA's weblogic, and custom tags in JSP (for intranet site). i get an error each time i try to compile that says cant open TLD descriptor. ive followed several threads here in this forum to no avail. im convinced every