Database access and performance

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

  1. #1

    Default Database access and performance

    We are using Coldfusion MX with an MS Access database, our website has a very
    long loading time .. specialy when we make a database access.
    Can you tell me what is the problem here ..
    Which database software would bring more performance
    Is MySQL a good alternative

    Tahnk you very much

    Yasmin_lady Guest

  2. Similar Questions and Discussions

    1. Oracle Data Access Performance on MX7
      Hello, We have recently upgraded from CF 5.0 to MX 7.0 and have noticed a fairly large degradation in performance on data access pages. I'm...
    2. How to use MS Access Database
      ntsiii, I tried downloading your link to your example file and can't find it. Can you please repost? Thanks in advance.
    3. Performance Counters - Access Denied??
      When I try the following piece of code, using a administrator's account, I get an error of access denied. Getting the counters for the local...
    4. Performance considerations accessing several database tables
      I am using SQL Server, ASP and VBScript. My NavBar is built from database tables depending on browser's security status. Different tables are...
    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: Database access and performance

    Turn on de-bugging and see how long your query takes. If the problem is the
    query, see if you can make it run faster. MS Access is not necessarily slow,
    unless you are attempting to pull 10,000 records where the where clause refers
    to unindexed fields.

    Dan Bracuk Guest

  4. #3

    Default Re: Database access and performance

    Unfortunately, the JDBC drivers that connect to Access in CFMX are of
    type 1 and only allow one connection at a time, so any increase in load
    means a decrease in performance...maybe even ending up with no response
    from the server. It's happened to me! What ran perfectly on CF5 with
    Access no longer works (under any load) on CFMX. Move to MySQL, the
    performance increase is worth it! Also don't store client variables in
    an Access database for the above mentioned reason. So the problem isn't
    really Access, the problem is the JDBC drivers for Access.
    My #DollarFormat(0.02)#. ;-)
    HTH

    On 9/8/2005 8:13 AM Yasmin_lady intelligently wrote:
    > We are using Coldfusion MX with an MS Access database, our website has a very
    > long loading time .. specialy when we make a database access.
    > Can you tell me what is the problem here ..
    > Which database software would bring more performance
    > Is MySQL a good alternative
    >
    > Tahnk you very much
    >
    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

  5. #4

    Default Re: Database access and performance

    Thank you very much for your help.
    Do you have any idea how to imigrate a MS Access database into a MySQL one.
    Yasmin_lady Guest

  6. #5

    Default Re: Database access and performance

    This works pretty well
    [url]http://www.bullzip.com//products/msa2mys/info.php[/url]

    and the MySQL Migration Toolkit (beta), which didn't work very well the
    last time I tried...but I haven't tried it for a couple of versions.
    [url]http://dev.mysql.com/downloads/migration-toolkit/1.0.html[/url]

    HTH

    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

  7. #6

    Default Re: Database access and performance

    You can use dbtools [url]http://www.dbtools.com.br/EN/index.php[/url]

    I used access for my database and it actually does well using the odbc drivers
    in mx6.1
    I moved to mysql as it was very easy to setup. I used the dbtools - it has a
    import tool that
    works perfect with access databases. You can view the tables and make changes
    etc like access
    gui. Connecting to mysql 4.1 with 6.1 you could use odbc or the jdbc... if you
    use the jdbc you might not be
    able to use the latest connector as there have been reports on this forum of
    problems. I'm using mysql-connector-java-3.0.16-ga-bin.jar on cf 7. I think .17
    works ok as well but the later ones have some issues
    depending on your code.

    I routinely get files in excel etc and bring them into access etc and convert
    them over to mysql with dbtools so
    it works great as it creates all the column names etc etc... Oh yeah it's free
    for there professional edition. I'd not use it for user administration, get
    mysql's administration tool.

    You need to look at what your using this for? Access can be good for up to 1
    million records. Dan was correct to turn on all debugging and it will show you
    where your slow queries are and go from there. You need to index your database
    based on your search criteria and try to stay away from "select *" and "like"
    as they can make things slow.

    MySql has benefits and problems, but generally it works very well and the
    install is pretty simple. With dbtools and
    mysql admin tool you do not need to get into any dos commands with mysql :)

    Rob






    RobBurn 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