mySQL query taking too long to return

Ask a Question related to MySQL, Design and Development.

  1. #1

    Default mySQL query taking too long to return

    Greetings,

    I'm using mySQL in a VB.NET application, connecting it through the
    myOLEDB Provider.

    However, it's taking way too long to retrieve data from the server.

    For instance I have a simple table with two fields: [epoch] and
    [pingRepply] wich houses approx 720,000 records.

    Retrieving the data using the MySQL Query Browser it feetch all the
    rows in approx 5min.

    When I run my application it retireves the same data it takes more than
    half an hour.

    Can someone point me to the right direction?mySQL query taking too long
    to return

    PJ on Development Guest

  2. Similar Questions and Discussions

    1. Buffering taking too long
      I have Flash 8 installed and it does work but it is taking about twenty minutes to buffer a three to four minute video. I don't think it is the...
    2. Taking a long weekend
      I'll be taking a long weekend from Friday Feb 6 through Monday Feb 9 to go to Costa Rica to visit my daughter for her birthday. (She's going to...
    3. Filemaker Pro 6.0 taking an extraordinary long time to load
      Heteph, I'm not certain what is going on here, but all of a sudden when I click on the icon to start Filemaker Pro 6.01 weird things happen. ...
    4. Parsing MySQL query return
      Hey All, I have a question regarding parsing text from a MySQL query. Basically, I have several paragraphs of text in a field in MySQL. I run a...
    5. Difference in module_eval taking block vs. taking string (1.8 bug?)
      The following code: class Klass end p Klass.instance_methods(false) Klass.module_eval do def hello puts 'hello' end end
  3. #2

    Default Re: mySQL query taking too long to return

    PJ on Development wrote:
    > Retrieving the data using the MySQL Query Browser it feetch all the
    > rows in approx 5min.
    Why so long? Even 5 minutes for 720K rows is probably too long,
    indicating that there are things you can do to improve this. What have
    you done to analyze the query with EXPLAIN, improve the coverage of
    indexes, tune the server for this application, etc.? Where's the
    bottleneck?

    Have you read the chapter of the MySQL manual on optimization?
    [url]http://dev.mysql.com/doc/refman/5.0/en/optimization.html[/url]
    You haven't given much information about the MySQL version, the
    platform, server config, the tables, or your query. There are many tips
    in that chapter that could potentially help a lot.

    I don't have any experience with VB or myOLEDB, so I can't comment on
    why the query is so much slower in your case. Levels of interface
    abstraction frequently introduce some performance cost (though a sixfold
    decrease in performance is unexpected).

    You should first see if you can improve the performance relative to the
    non-VB interface.

    Regards,
    Bill K.
    Bill Karwin 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