select * incredibly slow response in CF 7?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default select * incredibly slow response in CF 7?

    We upgraded to CF 7 over the weekend. Immediately users began reporting very
    slow applications, but only in certain spots. After some time we realized that
    only pages that issued "select *" type queries were being slow. We created
    some test pages and found that, for instance, a select by fieldnames might take
    5 seconds but the same query with a select * would take over a minute. The
    same two queries at a regular SQL prompt comes back just as quick, regardless
    of a * or not. We also have a copule of CF 5 machines still around and we
    tested those and both queries return in 5 seconds.

    Sure, we understand select * requires a bit more behind-the-scenes work, but
    we are talking milliseconds. And this code has worked for year(s) in CF 6 and
    probably even CF 5.

    We're running Solaris 9 with Oracle 9. For CF 7 we took the included Oracle
    driver but I just loaded the Oracle ojdbc14.jar driver and seem (at first
    glance) to be getting the same result. In CF 6 we had some servers using the
    included driver and others using Oracle's JDBC driver and never saw this
    behaviour.

    Has anyone experienced this? Although our developers are going back and
    removing select *'s, I'm thinking the real solution is something either I'm
    doing or have setup either in CF or Oracle. I haven't seen anyone talk about
    this so I'm certainly guessing this is my problem and not a global CF / driver
    / Oracle issue as such.

    Thanks in advance.

    GaryG Guest

  2. Similar Questions and Discussions

    1. Workflow is Incredibly SLOW
      I'm a first time Contribute user, and I'm managing a small Help development project, connecting to a site from my Macbook Pro running Leopard and...
    2. Slow to no response
      I have an older box running Win2k with CF 5.0 SP 4 Enterprise and JRun 3.1. Its my last box still running 5 that I was leaving alone for all my...
    3. Slow Response
      When I block a word or sentence and ask it to make a change , i.e. bold, change font, color, etc. the response time for that change to be made is...
    4. Slow login response response on TS 03 in AD mixed mode
      We upgraded our NT 4 domain to an AD mixed until we get rid of the NT 4 BDC;s after completing this upgrade users began complaining about how long...
    5. Setting text with Illustrator incredibly slow.
      G4, Dual 533, 1.5 Gb RAM Illustrator CS For various reasons, I'm not using Quark for a project - I'm producing it in Illustrator. Most text...
  3. #2

    Default Re: select * incredibly slow response in CF 7?

    I would recomend not to use select * but to select the field you would be using with your (cfoutput>
    Select field1,field2,fiield3 from ....
    that shoudl increase somewhat the speed


    jorgepino 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