Query,No of hits

Hi,
After i made a Query in SQ01, in testing run, it has a pop up window, the default No is always 100 hits, every time i have to change it to a large number, do you know where i can control this, default a large figure there? Thanks.

Hello,
I would suggest you create variant with maximum number of entries like A to ZZZZZZZ etc. Select this variant. Please note this will have severe performance issues, as the system is reading big data set.
If you do not give any selection values at the time of execution by default it comes as 100.
Please read the following SAP F1 help.
SAP Query: Maximum number of database accesses
Use
You started a query without making any selections on the selection screen. The system may now try to read an entire dataset from the database and this could lead to massive performance problems due to the sheer mass of data being read. You must enter a maximum number of possible database accesses to be performed to remedy this situation.
The system only checks to see if selection criteria (SELECT-OPTIONS) were entered but does not take selection screen parameters into account.
Regards,
Ravi

Similar Messages

  • Named query cache not hit

    Hi,
    I'm using Toplink ORM 10.1.3.
    I have a table called STORE_CONFIG which has a primary key called KEYWORD (a VARCHAR2). The POJO mapped to this table is called StoreConfig.
    In the JDeveloper (10.1.3.1.0) mapping workbench I've defined a named query to query by the PK called "getConfigPropertyByKeyword". The type of the named query is ReadObjectQuery.
    SELECT keyword, key_value
    FROM STORE_CONFIG
    WHERE (keyword = #key)
    Under the options tab I have the following settings:
    Cache Statement: true
    Bind Parameters: true
    Cache Usage: Check Cache by Primary Key
    The application logs show that the same database queries are executed multiple times for the same PK (keyword)! Why is that? Shouldn't it be checking the Object Cache rather than going to the DB?
    I've tried it with "Cache Statement: false" and "Bind Parameters: false" with the same problem.
    If I click the Advanced tab and check "Cache Query Results" then the database is not hit twice for the same record. However it was my understanding that since I am querying by PK that I wouldn't need to set "Cache Query Results".
    Doesn't "Cache Query Results" apply to the Query Cache and not the Object Cache?

    Your issue seems to be that you are using custom SQL for the query, not a TopLink expression. When you use an Expression query TopLink's know if the query is by primary key and can get a cache hit.
    When you use custom SQL, TopLink does not know that the SQL is by primary key, so does not get a cache hit.
    You could either use an Expression for the query,
    or when using custom SQL you should be able to name your query argument the same as your database field defined as the primary key in your descriptor (case sensitive).
    i.e.
    SELECT keyword, key_value
    FROM STORE_CONFIG
    WHERE (keyword = #KEYWORD)

  • Ad-Hoc Query: no of hits???

    Hi,
    For Ad-hoc query, I encountered the below "strange" case:
    (1) When I click on "Hit List" button -> indicates 8033. However, when I click on the "glasses" button, it indicates 750 hits. IF I click on "Hit List" button again, it will indicate 7979???
    What is the problem???
    Thanks in advance.
    From,
    Santhi

    List of active employees and some data related to employee like name,date specifications,personel area, personel subarea, payscale group.

  • Query is not hitting in detail Level

    Hi,
    1.Why the query is hitting the detailed level source when aggregate source is available ? BI Server is confused and hitting the detail level. Even after setting the levels at content tab it is not hitting the aggregate source.
    Thanks In Advance,
    Raji......

    Make sure your detail level table and agg tables are not set to same level, these suppose to be different levels from same dim.
    Pls mark if helps

  • Imedia Text V8.1.7 - Query returning invalid hits

    I created an index on a column of type long.
    The table contains approx. 3000 documents < 32K
    SQL> CREATE INDEX lisi_imt_idx on lisi(text_long) indextype is ctxsys.context
    I then issued the following query:
    select id,title, score(1) score from lisi
    where contains(text_long, 'Anni', 1) > 0
    order by score
    The query is returning documents which do not
    contain the word Anni
    Has anyone observed this behaviour?
    I think this is a serious malfunction.
    Any comments?
    null

    thank you for your answer,
    i followed all documentation from oracle support, first document is
    Upgrading Oracle Applications
    Release 11i (11.5.10)
    Part No. B13584-01
    i used also "Installation Guide Using Rapid Install.pdf" chapter 4
    first thing is that i upgraded database from 8.0.5 under EBS 11.0.3/win 2000 to 8.1.7 on an intermediate machine. then, i prepared environnement on an other machine with EBS 11.5.10.2 under windows 2003 (for the database, i have now only software) then i copied upgraded 8.1.7 database from intermediate machine to 11i machine then i upgraded it to 9.2.0.6 like it recommeded in category3 database tasks in "Upgrading Oracle Applications" documentation.
    have u any idea, what's the probleme with these invalid objects?
    regards.

  • Query not hitting the Aggregate

    HI Gurus,
    I have created a Aggregate on one info cube. now when i am executing a query which was created before the creation of aggregate then that query is hitting the Aggregate.
    But i created one more new query (after the creation of aggregate) on the same infoprovider.
    Now when i am checking that query is not hitting aggregate..
    I am checking through RSRT --> Execute and Debug --> Display Aggregate.
    Its quite strange for me...
    Please help..

    Hi,
    Thanks for your quick reply.
    Let me explain my problem clearly. I am aware of that when the Aggregate contain all the characteristics that are in the query only that Aggregate is used by the report while executing it. I have few cubes on which I have created Aggregates which includes all the characteristics which are used in all the reports. Now I have created a multi provider on these cubes and created a query on that multi provider. Now when I execute the query does it hit the Aggregate or not.
    For Example.
    I have cubes A, B and C. A contain 1,2,3 characteristics and B contains 1,4,5 and  contain 1,4,6,7. I have created Aggregates on these cubes. I have created the Multi Provider on these and executing the query. This query contain all these characteristics 1,2,3,4,5,6,7. when I run the query does it hit the any of the Aggregates.
    Regards
    Sankar.

  • "Stale connection error" in error_log when hitting "query" button on form

    I created a simple form on a view. It has only 3 buttons:
    next, previous, and query. I hit query and get a 404 error.
    Apache's error_log file says "Stale connection due to Oracle
    error 3114". Anybody seen this?

    Carol, I treid what you said but still can't get it to work.
    Here is the code I have it the after displaying page section.
    declare
    v_myvar varchar2(30);
    v_comp varchar2(30);
    blk varchar2(10):='DEFAULT';
    begin
    if 'a_territory' is not null then
    v_comp:=p_session.get_value_as_varchar2
    (p_block_name=>blk,p_attribute_name=>'A_company_name');
    select rowid into v_myvar from cs_custinfo_view where
    company_name = v_comp;
    bico.buttons_proc(v_myvar);
    end if;
    end;
    The procedure that is called uses the rowid to call a form from
    a button that is created by the procedure. The error I get when
    I first load the form is
    An unexpected error occurred: ORA-01403: no data found
    ORA-01403: no data found (WWV-16016)
    An unexpected error occurred: ORA-01403: no data found (WWV-
    16016)
    The preference path does not exist:
    ORACLE.WEBVIEW.PARAMETERS.1257633639 (WWC-51000)
    I assume this is because there is no rowid present yet?

  • How to disable a button in a uix site dependence from hits of a query?

    I have an uix site based on a query. When this query had no hits i want to disable the edit button. How i can do that in uix?

    Hi,
    I think that ExpressionLanguage would be he way to go.
    Frank

  • Where would you check performance of webi? query is taking long time to run

    Hello All,
    In the bex query world running on portal you were able to go to sm50 and check what the query is doing and where it is taking a long time or atleast you were able to see the processes runing.
    Where would you check the running processes when you are running a webi query, we are trying to write a webi report which is on universe which is created on bex query. The report is very simple just two fields and an mandatory variable which is coming from bex query (have defined the variable in bex query). When we exeute the query it is taking a long time just spinning and I am not getting any data back, on the same query before even hitting the run query button, I am trying to put a object in query filters and set the filter as In list from Value(s) from list and it is taking forever to set that filter.
    Can we go to CMC or BW backend and check anywhere we are using sap authentication, I see the number of sessions in CMC but that is it.
    Thanks for help in advance.

    Thank you both for the replies.
    How would I get the MDX that is generated by the query, I remember there is a note for starting the MDX logging. Can you please let em know how would I get the MDX statement. Thanks.
    Gowtham - What is the optimal array fetch size that needs to set for the universes, can you explain bit more about array fetch size?
    All our universes are on BEx queries designed in SAP BW in that case does the array fetch size matter and array bind size matter? I had read this in oneof the universe designer manuals for OLAP universes The Array fetch size, Array bind size, and Login timeout parameters are not used for OLAP connections
    Thanks again for replies.

  • How query read aggregate???

    Experts !
    I have problem with my aggregate design.
    i have created one aggregate on one of my cube. when i try to check using rsrt in debug mode, looks like that query is not hitting the aggregate which i have just created. it goes to another aggregate.
    Now, does it mean that query will always go to the same aggregate ? or when users pulls different characteristics from free charastericts , my query might  jump to another aggregates ??
    OR, At the beginig whatever aggregate it hits, the query will only stick to that !
    hows the process works ?
    thanks

    When youu2019re not sure how to design a good aggregate.  Let the system propose for you but you have  to use the cube in question for  some time. The reason is the system need to gather statistics, before it can propose a good one for you.
    Designing an aggregate  (drag and drop) is easy, but designing a  good one is not as easy as it looks.  It requires some skills.  But the good news is that skills can be learned.
    When you execute a query, OLAP Processor will look for data (based on the criteria) in the following order.
    Local OLAP Cache
    Global OLAP Cache
    Aggregate
    Cube
    The goal is the OLAP Processor should hit either of the first 3 guys, then bingo ! good hit.  But if all of them are missed , it has to go to the cube to fetch the data. Then  it defeats the purpose of aggregate.
    Remember the main purpose of aggregate is speeding up  data retrieval. But there is associated overhead. You should check the rating and delete  bad aggregates.
    Cheers.
    Jen

  • Performance on select query

    Hello,
    I have a generic question on the select query. I have a big table with more than 500,000 rows of data and I use JDBC to query data. If I run select * and select <selected columns>, which one runs faster? I would like to know the difference in excuting time, not the time to fetch data from the result set.
    Since my DB is from different machine, I can't get the true test case since there is some delay over the network. Any help is appreciated.
    Thanks,
    Truong

    > Are the selected columns all of the columns or just some of them. If you are
    only selecting some of the columns the fetch will be faster.
    To expand a bit on what 3360 said.
    The IP4 max packet size is around 1.4KB I think. So you want ideally to fit in as many rows into a packet as possible and reduce the number of packets transmitted from the server to your client. The less columns selected, the smaller the size of the row to return.
    Another reason is index vs table. The CBO can select to scan an index instead of a table to return rows - depending on factors such as that the index containing all the columns you want. The reason for this is that the index is a smaller volume of data to read than the table. And if the data in the index alone can satisfy your query, why then hit the larger table?

  • Capturing data from query panel built used "ADF Query panel with table ?

    Hi All,
    I have a Search page built with a view Criteria.
    I enter the user_name in the query panel and hit Search and the result panel shows the results.
    Now If I gave a user_name which does not have any record in the VO, no data is displayed.
    At this point I want to capture the user_name from the query panel and on the click of a button ("Add" button I have created for Adding Records if not present) want to navigate to a different Add page .
    So how to capture the user_name from the query panel.
    Any pointers ??
    I am using Jdev 11.1.1.4.0
    Thanks
    Sumit Yadav

    Hi , I tried using the impll java file and i was able to get the handle to the bind params ..
    The sampl code is ..
    ViewObjectImpl userRespVO=this.getSystemAdministrationUserResponsibilitySearch1();
    SystemAdministrationUserResponsibilitySearchImpl provide =(SystemAdministrationUserResponsibilitySearchImpl)userRespVO;
    String userName1=provide.getbind_UserName();
    Thnanks
    Sumit Yadav
    Edited by: Sumit Yadav on Jul 7, 2011 9:17 AM

  • SQL Query taking the different time in Production and Development Env.

    Hi All,
    Following is the query which is hitting mainly two tables. SA_ORDER & AC_INVOICE.
    My Production and Development both has same amount of data. But in Development env. it is just taking 5 secs. to execute but in Production Env. its handing.
    I have also execution plans of both env. The difference is in development env. it is showing some view i.e. SYS.VW_NSO_1 which is not getting used in Production env.
    And one more input is in Production Env, I don't have DBA privileges.
    What setting will I have to make to resolve this performance problem in Production Env. ?
    Here is the QUERY:------------
    SELECT distinct A.GL_COMPANY_ID,
    A.CUSTOMER_GROUP_ID,
    A.CUSTOMER_GROUP_NAME,
    A.INVOICE_ID,
    A.ORDER_ID,
    B.ORDER_NAME,
    A.CUSTOMER_ID,
    A.CUSTOMER_NAME,
    c.order_name parent_order_name,
    A.INVOICE_DATE,
    A.DUE_DATE,
    A.TOTAL_INVOICED_AMOUNT,
    A.TOTAL_PAID_AMOUNT,
    A.CREDITED_AMOUNT,
    H.write_off
    from ac_invoice a,
    sa_order b,
    (select parent_invoice_id, sum(total_invoiced_amount) write_off
    from ac_invoice
    where invoice_type_id = 3
    group by parent_invoice_id) H,
    (select order_id, order_name from sa_order where order_type_id in (3)) c
    WHERE a.order_id = b.order_id and a.invoice_id = H.parent_invoice_id(+) and
    b.parent_order_id = c.order_id(+) and
    a.invoice_id NOT IN
    ((SELECT invoice_id
    FROM ac_invoice
    WHERE parent_invoice_id IS NOT NULL AND invoice_type_id != 3)
    UNION
    (SELECT parent_invoice_id
    FROM ac_invoice
    WHERE parent_invoice_id IS NOT NULL AND invoice_type_id != 3)) and
    A.GL_COMPANY_ID = 1 and UPPER(A.customer_name) like upper('%KTLA%')
    and
    invoice_type_id in (1, 3, 4, 5, 2) and a.invoice_status_id = 1
    ORDER BY A.INVOICE_ID

    Please follow the advice in [url http://forums.oracle.com/forums/thread.jspa?threadID=501834&tstart=15]this thread for both your development and production environment.
    Regards,
    Rob.

  • How to restrict the users to make sorting on Field in query analyzer(Excel)

    i want to know that is it possible to put restiction for user to make sorting for posting date or any other Field in Query analyzer(Ms Excel )  after excuting the queryy ? i want restiction on sorting option of Ms excel . pls reply me soon.

    viral
    it depend upon different companies and how they are maintianing securities in that...
    for e.g.
    after discussing iwth ur senior member u will decide to publish a new folder in ur production system...
    let say name of folder is BW Financial Accounting
    Now u will publish ur report in this folder.
    go to query designer
    hit Query in menu
    hit publish and select the BW FINANCIAL ACCOUNTING
    now u interact with Security administrator at ur firm
    he will create proper Authorization object for this Folder BW FINANCIAL ACCOUNTING
    once he/she does that then he will add this authorization object to ur user id
    this way u can test that
    u can acess that folder and query link in that folder.....
    similarly they will add the newly created authorization objects to ur specific user ids and they will then have acess to this .....
    if u want to check authorization objects currently assigned to ur user id
    enter t code /su01
    enter ur user id
    and u can see several authorization objects

  • Authorization Check in Ad Hoc Query

    Hi Experts,
    When a user is given access to an infoset via the query user group, he/she will be able to see all infotypes that are associated with the infoset. The user will actually be able to select the fields, construct the query, and only hit the authorization error when they execute the query.
    This is not ideal from a user perspective as the user might spend a lot of time constructing the query only to find out later that they are not able to execute it due to authorization restrictions. Is there a way to restrict upfront to show the user only the infotypes and fields they are authorized to when constructing the query? Please advice.

    You need to do this in your infoset ...
    You can use the following procedures if you want to change the behavior of the SAPDBPNP logical database:
    You can program the logical database not to skip personnel numbers. The data is, nevertheless, only made available to the relevant reports for the authorization check There is no direct way to access the data that was not read by the authorization check. This procedure is meaningful for the first example, but not for the other two examples. The relevant report implements the setting as follows:
    INITIALIZATION.
    PNP_SW_SKIP_PERNR = 'N'.
    It is conceivable in examples 2 and 3 that the evaluation would be possible for a certain period but not for a longer selection period. Normally, the logical database always selects all the data of an infotype and checks the authorization. If you want the system to read and check only the data of the selection period, you can use the RP_SET_DATA_INTERVALL macro (for the START-OF-SELECTION period) for this.
    The data is not requested immediately (addition MODE N for the INFOTYPES statement) and is checked by the report itself. The report uses the HR_READ_INFOTYP and/or the HR_CHECK_AUTHORITY_INFTY function modules from the HRAC group to check the data and decides itself how to react to missing authorizations.
    Procedures 1 and 2 are available for SAPDBPNP and are not supported by SAPDBPAP. Procedure 3 is always available. Procedure 3 is the only way of solving problems with the authorization check if a report requires only one subtype of an infotype and if users should not be able to access the other subtypes of the infotype
    -Saquib

Maybe you are looking for

  • Mac to XP. Windows not showing up in Sidebar. And mystery computer.

    Hello. I'm trying to establish a small connection between my Mac and my mothers PC, she often have problems with it, and it is low on HD space, so I thought I could use my Mac as a storage kind of thing. Anyhow, the PC does not show up in sidebar, an

  • Error - "Missing or invalid version of SQL library PSORA (200,0)"

    I get this error when trying to log into PS 8.9 or 9.0 App Designer. Nothing in our setup has changed such as tnsnames, sqlnet.ora, etc Does anyone know what causes this error? Thanks, Allen Cunningham DBA - Sonoma State University

  • Transferring music from iphone to library

    ive just got a macbook pro and dont know how to load the music on my iphone onto the library? please help, thanks

  • Raster ignores DataBuffer offset?

    I try to create an Image from a byte array. I know the datalayout of my imagedata, ARGB with one byte per colorcomponent. As a first test, I created a ComponentColorModel and a DataBufferByte from my byte array. The raster is created with this colorm

  • Client-Auth errors

    Hi all, I have a SOWS 6.1 and I am getting the following error eache time a user try to get the page: Client-Auth reports: Unexpected error receiving data: -5938 Do you know what it should be? Thanks in advance