Access Database timeout

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Access Database timeout

    Hello all- I have a site hosted by HostMySite. This site USED to be pretty
    rock-solid, but I have been having tons of problems lately. My issue is that I
    keep having problems with the database timing out. This site runs off of an
    Access database, but I don't see that as too much of a problem, because I only
    get 300-600 page views per day. I have noticed though, that the problems are
    usually initiated by a search engine. So let's say that MSNBOT comes through
    to do an index and hits the site fairly hard...well, it tanks the site, and
    nobody else can access it for about 20 minutes, until the server finally comes
    out of its funk and will access my database again. I was hoping to use the
    TIMEOUT attribute for the queries, but they don't seem to work with Access.
    This query is actually optional for the pages. Each page has a story, and
    people can post comments, the comments are displayed at the bottom of the page.
    If the database has an error other than timing out (let's say if my query was
    bad) then the system will degrade in a way that is fine ('Message System Down'
    error at the bottom of the page) BUT- the timeout not only takes a long
    time...but it throws an error that gets handled by my 'Whoa...an error' page.
    It is treated as an error on the page, not an error in the query (hope that
    made sense). (I've got a CFTRY around the query...so an error there gets
    handled) Is there any way to trap this error quickly? Timeout would be
    perfect, but I don't think it works. Does anyone have any suggestions? My
    worst-case scenario would be to not run the query if a search engine is
    detected. But this would be defeating the purpose, because the comments do
    have a lot of good information (and search terms!) and I would prefer not to
    lose them. One other option is to upgrade to SQL Server - but this is such a
    small site (like I said 300-600 page view per day) that SQL Server seems like a
    waste of money (an extra $160 per year). I have run sites that had 5,000 +
    views a day on Access, and they ran fine - albiet there were only a few sites
    on a very capable server. My last option is to switch hosting services. I
    have contacted HostMySite about this problem at least 8 times, and their
    response so far has been 'ummm...I don't see why this would be happening.'
    Which doesn't go very far towards fixing the problem. So- if I do switch
    hosting services, are there any recommendations in the $15-$20/month range?
    I'm not looking to pay $5 per month...but I don't want to pay for SQL Server
    either. Long message, but thanks for getting this far. Karl

    karlkrist Guest

  2. Similar Questions and Discussions

    1. Disconnect Database Immediately with 0 timeout
      If you set the timeout to 0 in Advanced Settings for a data set, will this disconnect the data source immediately after it is used? For security...
    2. Database timeout?
      I am using WINDOWS XP SP2 & Dreamweaver MX 2004 on my home PC. I have installed IIS 5.1. I am trying to connect to a small MS ACCESS database and...
    3. Access 2002 ODBC Timeout Issue
      Desktop PC was recently upgraded (replaced would be a better term) with Access 2002 XP version and Informix SDK 2.81. This installs ODBC 3.82. ...
    4. Session Timeout when trying to read database
      hi all, can you please tell me what i should do to avoid session timeout when displaying my database info in my asp form...
    5. Write Access to Access DataBase
      I'm trying to update a Access Database from information gained from a ASPX page. The database will not update. I'm sure it is in some security...
  3. #2

    Default Re: Access Database timeout

    CrystalTech ([url]http://www.crystaltech.com/cfmx_sharedhosting.htm[/url]) has a plan for
    $16.95 a month that includes either MySQL or MS SQL. The support is absolutely
    first rate.

    There is some sentiment that Access is not the best choice to serve a site, as
    it has problems with any kind of significant load. Remember, too, that on a
    shared server, the amount of traffic other sites on your server can have an
    effect on your site, which can be an issue with Access. Over at CrystalTech,
    when there gets to be a problem with site that is using Access, they really
    encourage you to move to MySQL or MS SQL which handles the loads much better.

    HTH,

    James Edmunds
    New Iberia, LA

    Dingonose Guest

  4. #3

    Default Re: Access Database timeout

    Could you cache the queries? Depending on how your site is setup you theoretically could load up one big query into the cache and then use CF's query of queries for each page.
    tjfrevert 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