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

  1. #1

    Default Query Excution Time

    Question on query excution time. I have a mx application querying Oracle
    database, there is about ten records only, but the debugging information show
    32ms, 16ms, sometime 0ms. What could be the cause make the excution time varies.
    here is my Query:
    SELECT itemID
    FROM TABLE
    WHERE itemID ='157421'
    AND ACTIVE='Y'

    ItemID is varchar(2)
    Active is Char(1)

    Is it because the data type? I have other table queries are doing the same
    thing. When you refresh the page, they give you a different excution time.

    Any help will be appreciated!

    Thanks,
    Bill:confused;

    s6868 Guest

  2. Similar Questions and Discussions

    1. query time
      On Wed, 02 Feb 2005 14:48:41 +0000, Richard Huxton <dev@archonet.com> wrote: Unfortunately, all my cases are LIKE '%john_doe'. So I'm guessing...
    2. Time query
      What should be SQL statement in asp to update time field (in MSACCESS) with current time?
    3. Query Processing Time
      How can i set the Query Processing Time in my asp page. i am getting this error messages "Estimated query processing time 152 exceeds limit 30" ...
    4. Query execution time?
      Hi all, 1. Select * from table where ADEDATE = '23 June 2003' in SQLServer2000 This one works fine immediately. 2.Select * from table where...
    5. need advice for query time on Oracle
      jyou wrote: General statements are difficult to debug. For one thing, you have to take into account the network load ... since you're comparing a...
  3. #2

    Default Re: Query Excution Time

    It depends on many things and is not worth worrying about.

    Having item id as char instead of integer is rather odd. Are you not using sequences to generate your next value for the primary key?
    Dan Bracuk Guest

  4. #3

    Default Re: Query Excution Time

    Thanks Dan,
    I would make Itemid a number, and active as well. I will found out whether they will let me make the database change.
    s6868 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