You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jeff Potts (JIRA)" <ji...@apache.org> on 2010/07/12 22:49:55 UTC

[jira] Created: (CMIS-234) QueryTest.testSimpleSelect is very slow to run

QueryTest.testSimpleSelect is very slow to run
----------------------------------------------

                 Key: CMIS-234
                 URL: https://issues.apache.org/jira/browse/CMIS-234
             Project: Chemistry
          Issue Type: Improvement
          Components: cmislib
            Reporter: Jeff Potts
            Assignee: Jeff Potts
            Priority: Minor


Migrated from GC issue 13, Reported by niyue.com, Mar 29, 2010

QueryTest.testSimpleSelect will create a document and tries to find it in
the result set. Because the result set is paginated, client will follow the
paging links to get next page result. But this may be very slow sometimes.
Because the testSimpleSelect uses a query "SELECT * FROM cmis:document",
and this will match all documents in a repository. If a repository contains
10k (or more) documents, and each page contains 100 results, 100 requests
may be issued just for this case, which will cost a long time to run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CMIS-234) QueryTest.testSimpleSelect is very slow to run

Posted by "Jeff Potts (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Potts resolved CMIS-234.
-----------------------------

    Resolution: Fixed

Checked into head.

> QueryTest.testSimpleSelect is very slow to run
> ----------------------------------------------
>
>                 Key: CMIS-234
>                 URL: https://issues.apache.org/jira/browse/CMIS-234
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: cmislib
>            Reporter: Jeff Potts
>            Assignee: Jeff Potts
>            Priority: Minor
>
> Migrated from GC issue 13, Reported by niyue.com, Mar 29, 2010
> QueryTest.testSimpleSelect will create a document and tries to find it in
> the result set. Because the result set is paginated, client will follow the
> paging links to get next page result. But this may be very slow sometimes.
> Because the testSimpleSelect uses a query "SELECT * FROM cmis:document",
> and this will match all documents in a repository. If a repository contains
> 10k (or more) documents, and each page contains 100 results, 100 requests
> may be issued just for this case, which will cost a long time to run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CMIS-234) QueryTest.testSimpleSelect is very slow to run

Posted by "Jeff Potts (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887940#action_12887940 ] 

Jeff Potts commented on CMIS-234:
---------------------------------

I'll modify the cmislibtest file to exclude testSimpleSelect (and possibly all QueryTests) by default.

> QueryTest.testSimpleSelect is very slow to run
> ----------------------------------------------
>
>                 Key: CMIS-234
>                 URL: https://issues.apache.org/jira/browse/CMIS-234
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: cmislib
>            Reporter: Jeff Potts
>            Assignee: Jeff Potts
>            Priority: Minor
>
> Migrated from GC issue 13, Reported by niyue.com, Mar 29, 2010
> QueryTest.testSimpleSelect will create a document and tries to find it in
> the result set. Because the result set is paginated, client will follow the
> paging links to get next page result. But this may be very slow sometimes.
> Because the testSimpleSelect uses a query "SELECT * FROM cmis:document",
> and this will match all documents in a repository. If a repository contains
> 10k (or more) documents, and each page contains 100 results, 100 requests
> may be issued just for this case, which will cost a long time to run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.