Query result pagination performance

Hi
I have CQ5.4 code (extract below) which uses QueryBuilder to create a query.  The result set is quite large (~2000 nodes) and ordered. I set the hits per page and the start page as I display the results using a pager.
Performance is good for the first page of results, but performance degrades quite significantly as the page start value is increased towards the end of the result set.  I find this strange as all nodes must always be accessed as the result set is sorted.
Does anyone have suggestions as to how I might resolve this performance issue?
Thanks
Simon
     QueryBuilder queryBuilder = resource.getResourceResolver().adaptTo(QueryBuilder.class);  
     Session session = resource.getResourceResolver().adaptTo(Session.class);
     Query query = queryBuilder.createQuery(PredicateGroup.create(map), session);
     if (query != null) {
         int hitLimit = (pageMaximum>0) ? pageMaximum : limit;
         if (limit>0 && hitLimit>limit)
             hitLimit = limit;
         query.setHitsPerPage(hitLimit);
         query.setStart(pageStart);
         SearchResult result = query.getResult();
         totalMatches = result.getTotalMatches();
         actLimit = (limit>0) ? Math.min(limit, (int)totalMatches) : (int)totalMatches;

Sure, I can provide lots more information.  I've tried many different styles of query, but found the behaviour to always be the same.  The log extracts below show an example query and how increasing the offset using query.setStart() impacts the time taken by query.getResult().
I modified the code a little for some extra debug so it's clear where the time is being spent, snippet below.
I guess my questions really is, has anyone else used query.setStart() to set the offset for paging, did they see similar increases in response times and did they find a resolution ?
Does anyone else agree that it's strange that all the hard work of searching and sorting is fast, and, as expected, takes the same time irrespective of the offset, but returning the results takes longer when the offset is increased ?
Regards
Simon
     Query query = queryBuilder.createQuery(PredicateGroup.create(map), session);
     if (query != null) {
        int hitLimit = (pageMaximum>0) ? pageMaximum : limit;
        if (limit>0 && hitLimit>limit)
           hitLimit = limit;
        query.setHitsPerPage(hitLimit);
        query.setStart(pageStart);
         log.debug("Time to prepare : " + ((new Date()).getTime()-start) + "ms");
         SearchResult result = query.getResult();
         log.debug("Prep and getResult : " + ((new Date()).getTime()-start) + "ms");
Example 1:  Offset 0, query takes 328 ms, results returned in 328 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.xxx.wcm.components.List Time to prepare : 0ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
group.0_property=jcr%3acontent%2fpathTags&group.0_property.0_value=testing&group.0_propert y.1_value=portal&group.0_property.2_value=de&group.0_property.and=true&group.p.or=true&ord erby=%40jcr%3acontent%2fcq%3alastModified&orderby.index=true&orderby.sort=desc&p.limit=25& p.offset=0
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
ROOT=group: limit=25, offset=0[
    {group=group: or=true[
        {0_property=property: 1_value=portal, 2_value=de, property=jcr:content/pathTags, 0_value=testing, and=true}
    {orderby=orderby: index=true, sort=desc, orderby=@jcr:content/cq:lastModified}
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query: //*[((jcr:content/@pathTags = 'portal' and jcr:content/@pathTags = 'de' and jcr:content/@pathTags = 'testing'))] order by jcr:content/@cq:lastModified descending
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query took 328 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl >> xpath query returned 2643 results
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl entire query execution took 328 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=0.html HTTP/1.1] com.xxx.wcm.components.List Prep and getResult : 328ms
Example 2:  Offset 50, query takes 312ms, results returned in 890ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.xxx.wcm.components.List Time to prepare : 0ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
group.0_property=jcr%3acontent%2fpathTags&group.0_property.0_value=testing&group.0_propert y.1_value=portal&group.0_property.2_value=de&group.0_property.and=true&group.p.or=true&ord erby=%40jcr%3acontent%2fcq%3alastModified&orderby.index=true&orderby.sort=desc&p.limit=25& p.offset=50
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
ROOT=group: limit=25, offset=50[
    {group=group: or=true[
        {0_property=property: 1_value=portal, 2_value=de, property=jcr:content/pathTags, 0_value=testing, and=true}
    {orderby=orderby: index=true, sort=desc, orderby=@jcr:content/cq:lastModified}
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query: //*[((jcr:content/@pathTags = 'portal' and jcr:content/@pathTags = 'de' and jcr:content/@pathTags = 'testing'))] order by jcr:content/@cq:lastModified descending
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query took 312 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl >> xpath query returned 2643 results
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl entire query execution took 312 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=50.html HTTP/1.1] com.xxx.wcm.components.List Prep and getResult : 890ms
Example 3: Offset 2625, query takes 359ms, results returned in 10250ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.xxx.wcm.components.List Time to prepare : 0ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
group.0_property=jcr%3acontent%2fpathTags&group.0_property.0_value=testing&group.0_propert y.1_value=portal&group.0_property.2_value=de&group.0_property.and=true&group.p.or=true&ord erby=%40jcr%3acontent%2fcq%3alastModified&orderby.index=true&orderby.sort=desc&p.limit=25& p.offset=2625
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
ROOT=group: limit=25, offset=2625[
    {group=group: or=true[
        {0_property=property: 1_value=portal, 2_value=de, property=jcr:content/pathTags, 0_value=testing, and=true}
    {orderby=orderby: index=true, sort=desc, orderby=@jcr:content/cq:lastModified}
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query: //*[((jcr:content/@pathTags = 'portal' and jcr:content/@pathTags = 'de' and jcr:content/@pathTags = 'testing'))] order by jcr:content/@cq:lastModified descending
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query took 359 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl >> xpath query returned 2643 results
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl entire query execution took 359 ms
GET /cm/content/testing/portal/de/simon/article2.contentparsys_list_start=2625.html HTTP/1.1] com.xxx.wcm.components.List Prep and getResult : 10250ms

Similar Messages

  • Options to control display performance of CLOBs, etc. in Query Result view?

    Whenever I attempt to query a table that contains LOBs (e.g. a CLOB or XMLTYPE), the lack of performance pretty much makes the "Query Result" view (from F9) unusable. Any time I attempt to scroll the results, SQL developer apparently continues to query the database for the additional characters to populate the view.
    Resizing the columns containing the LOB to only a few characters almost solves the issue. Unfortunately, the size of the columns showing the LOBs apparently attempt to resize to the length of the LOB, making the column several pages long - and the same performance issue prevents resizing it smaller.
    Ideally, there would be some way to resize a column to a given or even a predefined and small size, without having to drag the resize handle the entire width of the desired resize amount. Alternatively, there could be a user preference to never set default column widths above a given number of pixels or characters. Another option would be a user preference to disable the in-line display of LOB contents, displaying only and requiring a click on the "..." (or pencil icon) button to open the "View Value" dialog. Ideally, all 3 of these options could be implemented.
    One crude work-around I'm using for now is to exclude the LOB columns from the results, requiring me to make secondary queries to see the LOB contents when necessary, and doesn't allow for scrolling through and viewing the LOB contents at all. Another work-around is to run the query as a script (F5) instead of a query (F9), and view the results in the "Script Output" view instead.
    I'm currently using SQL Developer 2.1.0.63, but experienced this same issue with all previous versions, including 1.5.5.
    Thanks!

    I agree.
    When I requested to auto-width the columns, I said to build in a maximum, but apparently they didn't.
    I suggest you log 2 feature requests on the SQL Developer Exchange; 1 for the maximum width, 1 for the CLOB contents/performance. Like this others can vote too and add weight for future implementation (I will).
    Have fun,
    K.

  • How to display the query results in several pages?.

    Hi,
    i want to display the query results in several pages. for example my query result found 50 matches, now i want to print 20 per pages next 20 will be in next pages. iam using only jsp & mysql.
    Regards
    Chinna

    Hi, what you are trying accomplish is known as pagination.
    You could use JSTL tags with Custom Tags to perform pagination in your JSP pages.
    evnafets showed me DisplayTags , you could use those as well http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
    Here is one article on paging:
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0726-pagination.html

  • Warning Message in query result as 'Notification Number DBMAN 345'

    Hi ,
    I have a warning message while executing the query
    'Diagnosis
    Currently, it cannot be guaranteed that SIDs and master data exists for all characteristic attributes for the DataStore object to be read.
    There is a restriction on a navigation attribute of the listed characteristic in the query. This filters all characteristic values of the master-data bearing characteristic for which there is not yet master data out of the result.
    For performance reasons, this filtering is unavoidable.
    System Response
    Procedure
    In case of doubt, find other restirctions directly on the characteristic values of the characteristics contained in the DataStore object.
    Procedure for System Administration
      Notification Number DBMAN 345  '
    'i am getting this error because of cutomer exit variables  on navigatioanl attributes of  Omaterial'
    I tried supressing it in  RSRT.. but unable to find the message.
    I tried  debugging and assigning enhancement points in  FM  BAL_LOG_MSG_READ.. As it is standard function module its not suggestable to do..
    can we creat custom FM ?? will it be called if we  write code to supress warning message??
    Please let me know how to use  BADI'S  in order to supress the error message that appearing in query result?
    Thanks All.

    Hi,
    The warning is raised due to the following reasons:
      - you have a selection in the filter of a navigation attribute
      - in your DSO you do not use the option "SIDs Generation upon Activation"
    If the option "SIDs Generation upon Activation" is not flagged,
    you may get char.values for an Infoobject in the system not
    having any SIDs. As a result you may see in the report less data as
    expected.
    For example we have Infoobject A with its Nav.attribute B
      Infoobject A   Nav.attribute B
      12             13   ->> has a SID in the X-table
      11             10
      9              13   ->> has no SID in the X-table
    If you define a selection on B =13 in the query, you only get infoobject
    A with key 12 displayed in the result, since only B =13 has a SID
    in the relevant X-table.
    The warning refers to this behaviour and cannot be avoided unless you:
       - flag the option in the ODS-settings
       - or remove the filter defined on 0MATERIAL__xxxx
    Thanks,
    Venkat

  • Select query resulting in redo?

    Hi All,
    Does select query results in redo? In what cases this happens?
    Regards,
    Sphinx

    mtefft wrote:
    Another possibility is that the SELECT query invokes a PL/SQL function that performs insert, update or delete.
    This is a poor practice for a number of reasons but they are out there.
    Disagree with that. Proof:
    SQL> create table x(y number);                                   
    Table created.                                                   
    SQL> create function f return number as                          
      2  begin                                                       
      3  insert into x values (2);                                   
      4  return 1;                                                   
      5  end;                                                        
      6  /                                                           
    Function created.                                                
    SQL> select dummy, f() from dual;                                
    select dummy, f() from dual                                      
    ERROR at line 1:                                                 
    ORA-14551: cannot perform a DML operation inside a query         
    ORA-06512: at "HR.F", line 3                                     

  • Query result caching on oracle 9 and 10 vs indexing

    I am trying to improve performance on oracle 9i and 10g.
    We use some queries that take up to 30 minutes to execute.
    I heard that there are some products to cache query results.
    Would this have any advantage over using indexes or materialized views?
    Does anyone know any products that I can use to cache the results of this queries on disk?
    Personally I think that by using the query result caching I would reduce the cpu time needed to process the query.
    Is this true?

    Your message post pushes all the wrong buttons starting with the fact that 9i and 10g are marketing labels not version numbers.
    You don't tune queries by spending money and throwing resources at them. You tune them by identifying the problem queries, running explain plans, visualizing their output using DBMS_XPLAN, and addressing the root cause.
    If you want help post full version numbers, the SQL statements, and the DBMS_XPLAN outputs.

  • Sending Email with Query Result (Table Format)

    Hi,
    I have a query result from ExecuteSQL task e.g.:
    ID Product
    1     Pencil
    2     Crayon
    3     Eraser
    I want to send an email with the above query result and I want it to be in Table format (such as in Microsoft Word with rows and column lines) to allow better readability to the receiver.
    Is it possible in SSIS?
    cherriesh

    It has to be HTML format . Read Tony's article
    http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/03/28/send-table-or-view-as-embedded-html-lt-table-gt-in-an-email-stored-procedure.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Using the client result cache without the query result cache

    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.

    e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table 
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.
    You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
    Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
    You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
    See the OCI dev guide
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
    Statement Caching in OCI
    Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
      OCIStmtPrepare2()
      OCIStmtRelease()

  • Entity Attribute Existence Check - Query Result Parameter not possible ?

    I already read the section of the ADF BC Developer Guide (9.6.2 Implementing an Efficient Existence Check).
    That works and maybe is the best solution, however I am working with a group of Forms Developers which are much more comfortable with writing SQL statements.
    Natural thing for them in this case was to define a declarative compare validator with the following Query Result:
    select PROD_ID from Products where PROD_ID=:ProdId
    where :ProdId is ServiceRequest.ProdId
    Is this possible with ADF BC ?
    Other possibility is to define a List Validator with the following Query Result:
    select PROD_ID from Products
    but this is not performant.
    I know the programmatic approach is always possible, but to make migration easier for Forms developers into the ADF BC world, the declarative SQL option should be available.
    Thanks,
    Claudio.

    This isn't possible out of the box in 10.1.3 since we don't support a mechanism to set the values of the bind variables. In 10.1.3, you would need to build a custom validation rule class (explained in section 26.9 "Implementing Custom Validation Rules") to make this declarative for others on your team.
    I wouldn't recommend the list validator in 10.1.3 for anything but the most trivial uses. This is because it's current implementation retrieves all rows from the query, then does the attribute comparison in memory.
    Among many, many other enhancements, we are greatly enhancing declarative business logic features of ADF Business Components for our 11g/Fusion release (the next major release), where this will be super-easy.

  • "Dead" Space before Query Results Display

    We were required to use PL/SQL to create a report within HTMLDB. The report runs fairly quickly and is displayed as desired in the window with one exception. "Dead" space is always placed on the screen before the query results. In many cases, this space is only a couple of lines. In cases where the result set is a few hundred lines, there are a few hundred lines (usually a comparable number to the result set) before the query result. Therefore, the user sees an empty screen and doesn't always know to scroll down several times to reach the output. We are looking for a means to eliminate this leading space.

    To perform the reqired sorting and add a checkbox to each section of the report, using PL/SQL embedded into the HTMLDB was the best method. Within the PL/SQL we used the htp.* commands to format the HTML. Unfortunately, this results in prgressively more empty lines before the actual report display with larger result sets.

  • Cannot query using both conforming and cached query result

    TopLink doesn't allow me to both use conforming and cached query result at the same time.
    Conforming is certainly not a superset of the [cached query result] features.
    Can you confirm that it's a limitation of TopLink?
    Any know workaround to end-up with the same features as using both conforming and cached query result?
    Conforming is about seeing modifications you do in the same transaction. As a bonus, if you query for one object and specify at least the id as criteria because TopLink will have to check in memory anyway it can avoid going to the database.
    But if I do a query like "give me employees hired before now and after 30 days ago" it's about more than one objects and about finding existance so cached query result is needed to get acceptable performance in a complex application trying to avoid the same SQL generated over and over again.

    Thats where the trace just ends? It doesnt look like there's any LIKE or filtering going on (with respect to the Oracle pieces anyway), apparently MSAccess simply requested the whole table.
    What do you mean by 'hang' exactly? Are you sure it's just not taking a long time to complete? How long have you waited? How fast does it complete on the other environment?
    ODBC tracing isnt likely to help much for that. SQLNet tracing would be better to see what is going on at a lower level. Specifically, what is going on at the network level? Is the client waiting for a packet to be returned from the database?
    Is the database having a hard time processing the query, perhaps due to index/tuning issues?
    Assuming that is indeed the query that is "hung", how much data does that return?
    Are you able to reproduce the same behavior with that query and vbscript for example?
    Greg

  • Query Result export problem

    When I attempt to export query results, I consistently get an error and am unable to get any export. I have taken the following steps:
    1. Right click output grid.
    2. Select Export >
    3. Select any format.
    These steps result in this error, in a dialog box:
    ORA-00907: missing right parenthesis (dialog title)
    An error was encountered performing the requested operation:
    ORA-00907: missing right parenthesis
    Vendor code 907
    I am on Windows XP SP2, and I have been reporting this and similar errors through several of the beta Raptor / SQLDeveloper versions. It is still occurring in the production version. Please let me know if I may provide any further information.

    Here is the query, which has only 4 columns: EWUID, FULL_NAME, PROGRAM, and STYP. The query returns 48 rows.
    SELECT DISTINCT
    p.id_number ewuid,
    p.full_name_lfmi full_name,
    r.program,
    'Recruit' AS styp
    FROM as_person p, as_recruitment_information r
    WHERE
    p.person_uid = r.person_uid
    AND r.program IN ('POST-BACH','CERT-TEACHER')
    UNION ALL
    SELECT DISTINCT
    p.id_number ewuid,
    p.full_name_lfmi full_name,
    a.program,
    CASE WHEN APPL_ACCEPT_ANY_TIME_IND = 'Y' THEN 'App and Stu' ELSE 'Applicant' END AS styp
    FROM as_person p, as_admissions_application a
    WHERE
    p.person_uid = a.person_uid
    AND a.program IN ('POST-BACH','CERT-TEACHER')
    -- PROGRAM: PB_Curriculum.SQL
    -- AUTHOR: BEN MORGAN
    -- DATE: 5/4/2006
    -- PURPOSE: GENERATE LIST OF ALL Post-Bac APPLICANTS with invalid
    -- curriculum programs (POST-BACH and CERT-TEACHER) for
    -- manual cleanup.
    The query looks at 3 views - as_person, as_recruitment_information, and as_admissions_application. I can post the code that generates each view, but that would take pages, so please let me know if you need it.
    However, I can successfully export the following query:
    select *
    from as_admissions_application
    where STUDENT_POPULATION = 'R'
    as_admissions_application is one of the same views as in the query above - so it isn't a specific problem with the view. The difference is the commenting I have below the query. These are legal SQL comments, and they document what I'm using the query for. I've tried putting a semi-colon after the comments, but that doesn't work either. But I think the comments are the issue.
    Our version of Oracle is: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production.

  • Use query results in transformation

    Hello experts,
    is it possible to use the results of a query to load data to a infocube?
    We have an infocube containing detailed data. On this cube a query is built with a lot of calculated key figures. Now we would like to load these calculated key figures to a more aggregated cube.
    Thanks in advance,
    Ralph
    points will be awarded

    I would look at the APD process that Edwin mentions.  Typically, the way it would work is you use your query as input, writing the results to a DSO, then datamart the results form there to the cube.
    APD could also be used to directly update a Mstr Data infoobject if that made more sense, then datamart that to he cube.
    I'm not familiar with the CRM / falt file approach mentioned.  Might be fine for what you want to do.  The APD process has more options to perform additional manipulation of the data and even joining it with other query results if you wanted, plus the results end up in a DSO that I think might provide more options for retaining and managing the query results.
    You can review the online help for APD, also SAP's Data Mining class BW380 (might have a new name for BI 7.0) covers this area.

  • RE: Load of query results

    Hi Patrice,
    Currently, there is little difference between the enterprise edition and
    the standard edition as you pointed out. However, over time, we expect
    to see some major differences as we add fucntionality that is more
    suited for enterprise application - caching is one of these major
    differences.
    We are staggering the release of the SE and EE versions for several
    reasons: 1) we believe the EE needs to have additional functionality to
    justify the two versions and what will be 2 different price points; 2)
    we are hopeful that the specification is finalized shortly - we feel a
    certain discomfort with releasing an "Enterprise" version based on a
    Draft specification; and 3) we are using the SE version to better
    understand the market and the needs of the EE customers. We've put out
    the EE beta to inform those interested in the EE version that one will
    be available.
    No, we do not have a reseller in France at this time although we have
    some development that takes place in Paris. We are definitely
    interested in developing business development relationships throughout
    the world to penetrate this market as efficiently as possible. Do you
    have any suggestions on resellers in France?
    Thanks for your interest.
    Neelan Choksi
    The Kodo JDO Product Team
    -----Original Message-----
    From: Patrice Thiebaud
    To: Choksi, Neelan
    Sent: 8/13/01 1:18 PM
    Subject: RE: Load of query results
    Choksi,
    Thank you for the information.
    I have the additional three following questions :
    in my understanding :.. the Enterprise Edition currently only adds the synchronization with
    the transaction manager of an application server
    .. the JDO specification also mandates the use of a JCA adapter in the
    context of a managed environment
    - are you going to provide also a JCA adapter that could use any JDBC
    driver ?
    - how come that there is such a time interval between the GA dates of SE
    and EE ?
    do you have a reseller in France ? If not, are you looking for one ?Thanks in advance.
    At 22:14 11/08/2001 -0400, you wrote:
    Hi Patrice and all,
    We are planning on releasing Kodo JDO Standard Edition in late August or
    early September. We have not determined a release date for the
    Enterprise
    Edition (likely towards the end of the year).
    Thanks,
    Neelan Choksi
    Kodo JDO Product Team
    -----Original Message-----
    From: White, Abe [ mailto:[email protected]
    <mailto:[email protected]> ]
    Sent: Friday, August 10, 2001 10:30 AM
    To: JDO-ListServ
    Subject: RE: Load of query results
    Could you please clarify exactly what you mean by an 'automatic load' of
    query results? And in what way is the 'resource manager' (db?) accessed
    for each query object returned?
    When Kodo issues a query it selects all fields of the expected result
    class that lie in the primary table used by that type (with the
    exception of LOB fields). Thus the objects returned by the query
    already have all of their data filled in that is accessible with a
    single SELECT. Additional queries are made only if you access fields of
    an object that do not lie in its primary table, such as Collections,
    arrays, Maps, and relations to other persistent objects.
    Is that what you meant?
    Whatever you mean, our goal is to implement the entire JDO
    specification, including as much optional behavior as is useful to our
    customers.
    I'll have someone from marketing get back to you with the GA schedule.
    -----Original Message-----
    From: Patrice Thiebaud
    To: [email protected]
    Sent: 8/10/01 5:08 AM
    Subject: Load of query results
    Hi,
    The final JDO specification is likely to support the need for having an
    automatic load of query results, probably through a property (thus
    answering a performance optimization need, as it is better to avoid
    futher
    access to the resource manager for each object used).
    Will the GA version provide this feature ?
    By the way, is it possible to know the scheduled date for GA ?
    Thanks in advance.
    BEA Systems : How Business Becomes E-Business
    Patrice Thiebaud - Presales Senior Consultant
    BEA Systems - France
    Tour Manhattan
    6 place de l'Iris
    92095 PARIS La D__fense C__dex
    Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95
    BEA Systems : How Business Becomes E-Business
    Patrice Thiebaud - Presales Senior Consultant
    BEA Systems - France
    Tour Manhattan
    6 place de l'Iris
    92095 PARIS La D__fense C__dex
    Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95

    I have tested Oracle only. Teradata has a "sample" command and I would hope that Web Intelligence would use that. The Oracle method involves the dbms_random package to assign each row a random number, then the query is sorted by that number and a limit is placed for the sample size.
    I have not written about this on my blog yet, but it could be an interesting topic. Thanks for the suggestion.

  • Load of query results

    Hi,
    The final JDO specification is likely to support the need for having an
    automatic load of query results, probably through a property (thus
    answering a performance optimization need, as it is better to avoid futher
    access to the resource manager for each object used).
    Will the GA version provide this feature ?
    By the way, is it possible to know the scheduled date for GA ?
    Thanks in advance.
    BEA Systems : How Business Becomes E-Business
    Patrice Thiebaud - Presales Senior Consultant
    BEA Systems - France
    Tour Manhattan
    6 place de l'Iris
    92095 PARIS La D__fense C__dex
    Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95

    Hi,
    According to your description, my understanding is that when you use Angularjs to delete item then it throws the 412 error.
    for the IF-MATCH in the delete method, it needs to contain in the headers like below:
    'delete': { method: 'DELETE', headers: { 'Accept': 'application/json;odata=verbose', 'content-type': 'application/json;odata=verbose', 'X-RequestDigest': $("#__REQUESTDIGEST").val(), 'IF-MATCH': '*' } }
    Here  is a similiar thread for your reference:
    SharePoint/Angular can't delete item - Error 412
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for