CFQUERY and maxrows attribute

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default CFQUERY and maxrows attribute

    ok, maybe I'm on some bad crack today, but I recall that the maxrows attribute
    of cfquery works AFTER the resultset is returned to CF from the DB. Is this
    the case for all RDBMs? I'm noticing that this is not the case with CFMX and
    Oracle. Maybe this behaviour changed? I'm now seeing teh maxrows attribute
    being utilised in the DB itself. So, if I pass SQL returning 1000 rows to
    Oracle and maxrows=200, oracle returns only 200, 201 actually, rows to CF. was
    this change documented somewhere?

    dougk Guest

  2. Similar Questions and Discussions

    1. cfquery with maxrows = faster processing ?
      Yes, there is an increase in speed, as returning 10 rows is less work than returning 50, but that may not be the whole story. Most of a query's work...
    2. cfquery with maxrows supposed to be faster?
      The query speed will not be affected. The page will load more quickly though, if you are displaying only 10 rows of data rather than 50. How long...
    3. cfquery, timeout attribute and cfserver timeout setting
      On our server, CFMX 6.1, we have an option setting for timeout requests as120 seconds. Then in my query, I tried replacing the timeout setting to...
    4. empty var used in <cfquery> name attribute
      Hi guys, here is part of the code that I have. <cfloop condition...> <cfif listFind (x, y)> <cfquery name="q"> ... </cfquery> </cfif> <cfif...
    5. CFGRID ? maxRows
      I agree with ArtNirvana. If you have maxRows then is reasonable to have page navigation and also you can think about record locator based on sort...
  3. #2

    Default Re: CFQUERY and maxrows attribute

    bump
    dougk Guest

  4. #3

    Default Re: CFQUERY and maxrows attribute

    Not changed but documented in the description of maxrows.
    "maximum number of rows to return".

    If we aren't limiting the data back from the RDBMs, then where is the
    savings in network or memory?

    --
    Tom Jordahl
    Macromedia Server Development



    Tom Jordahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139