CF Server Choking When Calling STORED PROC

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

  1. #1

    Default CF Server Choking When Calling STORED PROC

    Experts,

    I really hope someone can help out with this problem.

    I have a ColdFusion 5 server running on a windows 2000 server.

    Our application is basically a reporting tool that runs pretty heavy queries.
    In the past, queries were run in <cfquery> tags; after moving to <cfstoredproc>
    as a more centralized technique, the whole application hangs until a
    cfstoredproc returns its results. This happens across all users (10000+) and
    not just the same user with two open sessions. This means that if someone is
    running a report that returns in 9 minutes, all other users cannot perform any
    activity on the entire application until this report is rendered. Of course
    when I say "any activity" I mean any database interaction - and since all our
    pages access the database the entire applications just FREEZES until the
    cfstoredproc is finished.

    We have been advised to move from ODBC to Native Data Sources but that didn't
    help much. Please note that the database is Oracle 9i and that some of these
    queries take well over 5 minutes to return.

    mostof Guest

  2. Similar Questions and Discussions

    1. Nested stored proc
      Hi everybody, I need your help. In one of my CF4.5 page, I have to use a MSSQL storde procedure. This stored procedure return 2 variables . OK....
    2. cfc and stored proc
      does anyone know if there is documentation anywhere that states that in ColdFusion MX 6.1 when you try to pass parameters to a stored procedure via...
    3. Calling webservice from within a stored proc 407 error...
      I've got a scheduled job that kicks off a stored proc...the stored proc creates a com object which makes a webservice call (passing in url...
    4. ASP vs Stored Proc vs UDF
      Hi all, I have a field in Table A that must be updated whenever a record is added to Table B. Table A will always only contain one single record...
    5. stored proc and tcp/ip
      Hello, is it possible to communicate with another program using tcp/ip? I mean, i have another program where i know the port number and the...
  3. #2

    Default Re: CF Server Choking When Calling STORED PROC

    anyone?
    mostof Guest

  4. #3

    Default Re: CF Server Choking When Calling STORED PROC

    Check your stored procedures transaction handling. Make sure your not locking
    the whole table. When doing select statements you should do readcommited
    transactions.

    Also, make sure connection pooling is enabled in your ODBC settings.

    thejuggler 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