Re: SelectQuery.setFetchLimit() performance

From: Aristedes Maniatis (ar..sh.com.au)
Date: Tue Sep 09 2008 - 18:42:09 EDT

  • Next message: Michael Shea: "Re: SelectQuery.setFetchLimit() performance"

    On 10/09/2008, at 7:44 AM, Michael Shea wrote:

    > I am wondering about the performance of the
    > SelectQuery.setFetchLimit() method in Cayenne.

    What is the underlying action you are trying to optimise? Could it be
    that paging is a better match for giving you good performance in your
    situation? In that case Cayenne fetches full objects for the first
    page, and only ObjectId for the rest. Which is a lot like your proposal.

    Ari Maniatis

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Tue Sep 09 2008 - 18:42:54 EDT