SAP BI Query 'too large'

Hi,
I have a problem with creating a special query in Query Designer. The query has 2 structures, one structure has 100 selections, the second structure has 132 selections. This query is to show 10 years of plan data per period and a detailed account structure. The customer is not willing to reduce the number of rows.
When I try to check the query or execute the query, I get an error message:
Query is too large. Query contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
In fact the query has about 13000 selection cells!
I can not set up the query in a different way by using a drilldown by attribute period or something similar as the query should show actuals to a certain period in a certain year and from that period on the rest of the ten years should show plan data for an entered plan version. The row structure should not show all accounts and nodes of a hierarchy but only certain nodes. Therefore I can not use a hierarchy here.
Please could you tell me if there is a way to exceed the limit of     '8192 selection cells'            in a query ?
many thanks for your help in advance
Arndt Fritzsche-Marx

Hi Arndt,
have never had this problem before. However you can customize the amount of cells in a query yourself. Have you tried editing this number (as explained below), perhaps it helps?? For I do not have access to a BI 7.0 right now I can not check if there are more settings which can be customized.
You can customize the maximum of rows which can be displayed in web. This setting can be customized as follows in Bex Web Analyzer for the query (execute your query from Query Designer and it will ope in Bex Web Analyzer):
1. Settings --> Data Provider
2. Size Restriction for Result Sets
3. Set the setting to "Custom-Defined No. of Cells" and enter your required "Number of cells"
However be aware that the display of such a big amount of rows has a great impact on the performance of the query.
Brgds,
Marcel

Similar Messages

  • Query throwing Exception as 'Query too large'

    HI,
    AM working on BI Content 7.
    I have created a query and the query name is TEST_RA_0064.
    when i am executing this query in the Analyser it is throwing the below mentioned errors.
    1. Query TEST_RA_0064 is too large.
    2. Program error in class SAPMSSY1 method:UNCAUGHT_EXCEPTION.
    Please help me.
    Thanks,
    Rajesh janardanan

    Execute this query via RSRT - for investigation purpose..
    Check for the detailed error message here.
    Hope it Helps
    Chetan
    @CP..

  • SQL Query Too Large For Report Region

    Oracle Friends:
    I have a SQL query that is 24,000 characters long. APEX fails when I try to create a report using this query, probably because it is too long.
    I get an "ORA-01461: can bind a LONG value only for insert into a LONG column" after I paste it and try to go to the next page.
    Any ideas? I can't make my query any smaller without creating intermediate tables.
    Any help would be most appreciated.
    Regards,
    Rich Locus

    Hi,
    If possible, try to reduce the no. of characters from your SQL query. Ex. use shorter aliases etc in your query. Also, as suggested above, create some views which can form a part of your query and then use those views in your main query to reduce the total no. of characters.
    The report region source can take some limited no. of characters only. Exact figure is not known to me.
    Try the above suggestion and see if this works or not.
    Regards,
    Mangal

  • Query too large

    Hi there,
       I have a query ZQ1, it has 40 key figures and a structure which consists of 187 rows, and it has 65 restricted KFs, when I generate the query, it pops up a msg like:
      Query Q1 contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
      In fact, it only has 187 * 40 = 7480 cells.
      Please help. Thanks a lot.

    hi,
    even i faced the same problem and achieve that. for that you can do in two ways.
    1. Create two seperate queries and create RRI from one query to another.(for example-  based on sales document)
    2. Create two queries and put that in Workbook.(sugguested to my client and got approval).
    assign points
    regards
    vadlamudi

  • Query Error Information: Result set is too large; data retrieval ......

    Hi Experts,
    I got one problem with my query information. when Im executing my report and drill my info in my navigation panel, Instead of a table with values the message "Result set is too large; data retrieval restricted by configuration" appears. I already applied "Note 1127156 - Safety belt: Result set is too large". I imported Support Package 13 for SAP NetWeaver 7. 0 BI Java (BIIBC13_0.SCA / BIBASES13_0.SCA / BIWEBAPP13_0.SCA) and executed the program SAP_RSADMIN_MAINTAIN (in transaction SE38), with the object and the value like Note 1127156 says... but the problem still appears....
    what Should I be missing ??????  How can I fix this issue ????
    Thank you very much for helping me out..... (Any help would be rewarded)
    David Corté

    You may ask your basis guy to increase ESM buffer (rsdb/esm/buffersize_kb). Did you check the systems memory?
    Did you try to check the error dump using ST22 - Runtime error analysis?
    Edited by: ashok saha on Feb 27, 2008 10:27 PM

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • SAP Note: 1127156 Result set is too large

    Hi,
    The note 1127156 explains how to resolve the issue with removing the message "Result Set is too large." I want to check the settings in the template and it gives the following steps but i cannot find the settings on the Analysis web item of the data provider.
    Can someone pls help.
    Query View
    The following steps describe how to change the "safety belt" for Query Views:
    1. Use the context menu Properties / Data Provider in a BEx Web Application to maintain the "safety belt" for a Query View.
    2. Choose the register "Size Restriction for Result Sets".
    3. Choose an entry from the dropdown box to specify the maximum number of cells for the result set.
                   The following values are available:
         Maximum Number
         Default Number
         Custom-Defined Number
                   Behind "Maximum Number" and "Default Number" you can find the current numbers defined in the customizing table RSADMIN (see below).
    4. Save the Query View and use it in another Web Template.
    Many thanks

    Hi,
    I was facing the same issue in BEx analyzer 7.0. The query was working fine in BW 3.5 analyzer but gave error in BEx 7.0.
    When executed in web, it gave error result set is too large.
    The maximum no of cells that can be displayed is 750000.
    Please check the result set returned by the query. Also check note Note 1040454 - Front-end memory requirement of the BEx Analyzer.
    Some enhancement are planned to be delivered in enhancement package 1.
    Regards,
      Niraj

  • Bex Report Error -- Query is Too Large

    Hello I am Using Hierarchies in Rows and in Columns Company Wise, Quarter Month Wise Values
    I am Using 310 Rows and 100 columns As this is Summary Report I cannot go for Filters and I cannot
    Decrease Keyfigures is there any solution for this , Please give me the valuable suggestion for this query.

    If the query is too large and you are running out of memory, then either you should run the report with smaller selection (may be year -wise) or increase your server parametres like memory space etc.

  • Is there a reliable method for detecting that a query is too large?

    I am writing some code (that uses OCI) to properly detect when a query string is too long for OCI and/or the Oracle database server. I can't find any specific error code information in the docs, so I just started firing off large queries to see what would happen.
    The queries I am sending are >2MB in size, up to 16MB. If the queries are above ~10MB, I get the error "ORA-03113 'End-of-file on communications channel'" after a fairly short amount of time (i.e. not enough for a timeout to expire). If the queries are below ~10MB, but above ~2.5MB, it either just sits there and does not do anything (for more than 15 hours). So watching for ORA-03113 when executing large queries does not seem like a very reliable method for detecting the queries that are too large.
    Does anyone know of a reliable way of detecting that a query is too large for the OCI client and/or the Oracle database server?
    I am using version 10.2.0.1 for both the OCI client and the Oracle database server, but I'm getting similar errors for combinations of 10.2.0.1 and 9.2.0.7 for both the OCI client and the Oracle database server.
    These large queries need to be handled properly (i.e. distinguished from some generic failure) because the server handles requests from users, which could be programs that generate SQL queries (and have constructed huge ones in the past).
    Thanks for any information!

    The ORA-03113 means that the Oracle server process has died trying to satisfy your request. In almost all cases it is strictly correct to call that a bug, and we shouldn't easily forgive the server process when it happens. But in the case of multimegabyte statements my anger and disapointment turns to sympathy, for in my heart I can't bring myself to blame it. Can you?

  • Query is too large

    Hi,
    Can any one give me the solution to develop this report.
    I have 12 columns under each vertical.Like that i have 12 verticals for my Gross margin Report.
    Then 12* 12=144 coloumns.total are 144.
    But in Bi-Bex it will allow only limited columns. When i execute the report i'm getting the error that query is too large.Kow to overcome this.
    Note Points :
    Vertical1 :  ITG
    This Vertical consists of 20 Profit centers
    Vertical2 : UTG
                    This Vertical consists of 60 Profit centers
    Vertical3 : SBI
                    This Vertical consists of 50 Profit centers
    Vertical4 : SERVICEDIVISIONS
                    This Vertical consists of 10 Profit centers
    Vertical5 : ENGG
                    This Vertical consists of 50 Profit centers
    Vertical6 : HITECH
                    This Vertical consists of 10 Profit centers
    u2022     Data Before Eliminations is Total of All the Verticals Data.
    u2022     Eliminations Contains Values For Each Month for any of the above profit centers.
    u2022     Data After Eliminations is Data Before Eliminations + Eliminations Data.
    I searched in SDN but no luck..........
    Thanks

    hi sony,
    one way to go about this is to increase the "Size Restriction for Result Sets". This is pretty tricky. I wouldn't really recommend this since this can have performance issues.
    you can increase the size for result sets by running the abap report SAP_RSADMIN_MAINTAIN , Again be carefull when you are doing this. 
    Follow the below steps.
    1)     Transaction Code SA38 or SE38
    2)     In the program field, enter the report name SAP_RSADMIN_MAINTAIN and choose Execute.
    3)     For OBJECT, enter one of the following parameters;
            BICS_DA_RESULT_SET_LIMIT_DEF
            BICS_DA_RESULT_SET_LIMIT_MAX
    For VALUE, enter the value for the size of the result set, and then execute the program:
    Also, for your information, the default setting for the result set of Web applications is 500,000 cells. If the result set exceeds the size specified using the report, a message is displayed to inform the user.
    I would again ask you to be careful when you are modifying these values.
    Best would be to make sure that you check the table RSADMIN, whether you have the above entries (BICS_*), if you don't u can update these entries in the system. via the above said abap report.
    Hope this helps.
    regards,
    Sree.
    Edited by: Sree Nair on Aug 18, 2009 1:14 PM
    Edited by: Sree Nair on Aug 18, 2009 1:23 PM

  • Query is allocating too large memory

    I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
    Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
    The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
    Any help would be appreciated.

    950121 wrote:
    I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
    Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
    The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
    Any help would be appreciated.Hi,
    This sounds like a known Bug 13331507 : RFA - DEBUGGING 'QUERY IS ALLOCATING TOO LARGE MEMORY ( > 4GB)' FROM ESSBASE.
    Cause:
    A filter has been added in several lines in the 'Data Filters' Tab of the 'Users Permissions' Screen in the Administration Tool (click on Manage and then Identity menu items). This caused the MDX Filter statement to be added several times to the MDX issues to the underlying Database, which in turn caused too much memory to be used in processing the request.
    Refer to Doc ID: 1389873.1 for more information on My Oracle Support.

  • Query is allocating too large memory Error ( 4GB) in Essbase 11.1.2

    Hi All,
    Currently we are preparing dashboards in OBIEE from the Hyperion Essbase ASO (11.1.2) Cubes.When are trying to retrieve data with more attributes we are facing the below error
    "Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)"
    Currently we have data file size less than 2GB so we are using "Pending Cache Size=64MB".
    Please let me know which memory I have to increase to resolve this issue
    Thanks,
    SatyaB

    Hi,
    Do you have any dynamic hierarchies? What is the size of the data set?
    Thanks,
    Nathan

  • Reg: Query is too large

    Dear all,
    I am facing an error when trying to save the query "error: query is too large" and the below is the text help given in the documentation.
    Diagnosis
    Query ZYYYYYYY contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    Procedure
    Please simplify query definition ZYYYYYYYY.

    Hi,
    this happens when maximum no. of Keyfigures are used in the rows....you might be using only one selection or a formula in the Rows of the query..and still face the same error...this reason behind this is that this selection or forumla inturn has a lot of RKFs or CKFs in it...
    to put it clear, say you use a selection named ZTEST in the rows...and the definition of this selection is something like ZTEST = CKF1CKF2CKF3
    and CKF1 = CKF4CKF5CKF6+CKF7
    and CKF2 = CKF8CKF9CKF10/CKF11
    and CKF3 = CKF12*CKF13
    and further if you see CKF 4, 5...13 will again be a combination of multiple CKFs or RKFs...so this goes on and finally ZTEST becomes indeed very complex and uses more than 8191 selections....
    I hope this is the issue you are facing...
    shamee

  • Financial Reports 9.3.1 - Query is too large and cannot be executed

    Hi,
    I'm trying to pull a Financial report from one of my ASO cube, version 9.3.1 and received the following error.
    "Query is too large and cannot be executed. The product of member counts across all dimensions in the query exceeds 2^64..."
    The report is pulling from a combination of 6 different cross dimensions and drill down to the bottom level 0. I have read a couple of blogs with trying to change the buffer and sort buffer size from 10 KB to like 1000 KB within the database settings as well as the Pending cache size limit setting from like 32 MB to 64 MB on the Application setting. I've tried all combinations but nothing seems to work.
    However, I was able to retrieve the same combinations through Essbase Excel Add-in by addding the MAXFORMULACACHESIZE in the Essbase config setting. But this didn't work for the Financial Reports. I know that in version 11.1.2 has that MDX Query enable through reports which may help with the query. Unfortunately, that MDX Query enable is not available within version 9.3.1.
    Please help.
    Thanks

    John,
    The Database has data that is rolled up to all levels.
    I can open the report to Edit in the Financial Reporting Studio. This allows me to click on members in the grid, however, when I search for members I am unable to do so. I can drill down to the member and select it, but when I run the report in FR studio, I get the same error message 'Error: Invalid Report Object'.
    Thanks and Regards
    Kunal Tripathi

  • I wrote a query -- HTMLDB can't parse it, too large.

    I would attach it here but I see no ways to attach items.
    I wrote a query that, as I said, is too long for HTML DB to accept. When I submit it, I an http error 400.
    the thing is, the query is only ~27700 bytes, according to the file system information. So is the query parser set to a lower maximum length than the import capabilities for data imports?
    Thanks.

    Don't know what you mean by data imports exactly but different mechanisms may be at work for different situations. modplsql has a 30,000 byte limit (I think) on the size of textareas. Keep in mind that the byte count it sees may be larger than the character count your text editor reports due to UTF-8 or other transformations and also that some of this information is probably only partially correct. If the query is too large, use a packaged pl/sql function returning sql query.
    Scott

Maybe you are looking for

  • Creating new company in sap b1 8.8

    Hi While creating new company in SAP-B1 8.8, it's giving me the following information. "Company was not added to read-only DB user. Read-only DB user must be updated manually" I had also given the SITE password and created  the new company successful

  • Grouping the data

    Hello team, I have come up with a question at my work. I have a table that has several fields. When I group the data with one field, I get some counts which are equal to the original count of field before grouping. As I add more fields to the query a

  • I have installed adobe pdf to get a document sent to me thru my employer and i put my password in and its still asking me for a document password do i need to set one up

    I have installed adobe pdf and put in my password and its still asking me for a document password in which I have no idea what it is

  • Current swatch in control palette

    I think it would be nice to have the active swatch displayed in the control palette, just like the other information about whatever object is selected. Unless I am mistaken, the only way (in CS4) to see the color of a selected object, or of the selec

  • News ticker for flash 8

    hey i'm looking for an xml/flash news ticker tutorial for flash 8. I tried the ones on kirpa.com but i think they're primarily designed to work on MX...i tried it and it doesnt work in flash 8.. does anyone know where there is a good flash 8 xml news