Unix Technical Forum

Meaning of MySQL query browser time values

This is a discussion on Meaning of MySQL query browser time values within the MySQL forums, part of the Database Server Software category; --> What do the time values in the MySQL query browser mean? I'm getting 0 rows fetched in 0.0007s (4.3616s) ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2008, 01:59 PM
John Nagle
 
Posts: n/a
Default Meaning of MySQL query browser time values

What do the time values in the MySQL query browser mean? I'm
getting

0 rows fetched in 0.0007s (4.3616s)

on a query that's taking too long. What do the two time values
mean?

(This is on an otherwise-idle machine, and the MySQL server really
is going compute-bound for several seconds. I have an inefficient
nested query, and I'm working on speeding it up. When I can
get a SHOW PROCESSLIST in from another query browser, I usually
see a status of "Freeing items".)

John Nagle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-13-2008, 01:59 PM
Peter H. Coffin
 
Posts: n/a
Default Re: Meaning of MySQL query browser time values

On Tue, 10 Jun 2008 11:38:16 -0700, John Nagle wrote:
> What do the time values in the MySQL query browser mean? I'm
> getting
>
> 0 rows fetched in 0.0007s (4.3616s)
>
> on a query that's taking too long. What do the two time values
> mean?


The first is the amount of time it took mysql to send however many rows
it is, the second however many seconds it took to run the query.

--
186,000 Miles per Second. It's not just a good idea. IT'S THE LAW.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-13-2008, 01:59 PM
John Nagle
 
Posts: n/a
Default Re: Meaning of MySQL query browser time values

Peter H. Coffin wrote:
> On Tue, 10 Jun 2008 11:38:16 -0700, John Nagle wrote:
>> What do the time values in the MySQL query browser mean? I'm
>> getting
>>
>> 0 rows fetched in 0.0007s (4.3616s)
>>
>> on a query that's taking too long. What do the two time values
>> mean?

>
> The first is the amount of time it took mysql to send however many rows
> it is, the second however many seconds it took to run the query.


OK, that makes sense.

John Nagle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-13-2008, 01:59 PM
Captain Paralytic
 
Posts: n/a
Default Re: Meaning of MySQL query browser time values

On 11 Jun, 03:01, "Peter H. Coffin" <hell...@ninehells.com> wrote:
> On Tue, 10 Jun 2008 11:38:16 -0700, John Nagle wrote:
> > What do the time values in the MySQL query browser mean? *I'm
> > getting

>
> > * *0 rows fetched in 0.0007s (4.3616s)

>
> > on a query that's taking too long. *What do the two time values
> > mean?

>
> The first is the amount of time it took mysql to send however many rows
> it is, the second however many seconds it took to run the query.

I've often wondered that. Where did you find that documented Peter?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-13-2008, 01:59 PM
Peter H. Coffin
 
Posts: n/a
Default Re: Meaning of MySQL query browser time values

On Wed, 11 Jun 2008 05:05:34 -0700 (PDT), Captain Paralytic wrote:
> On 11 Jun, 03:01, "Peter H. Coffin" <hell...@ninehells.com> wrote:
>> On Tue, 10 Jun 2008 11:38:16 -0700, John Nagle wrote:
>> > What do the time values in the MySQL query browser mean? *I'm
>> > getting

>>
>> > * *0 rows fetched in 0.0007s (4.3616s)

>>
>> > on a query that's taking too long. *What do the two time values
>> > mean?

>>
>> The first is the amount of time it took mysql to send however many rows
>> it is, the second however many seconds it took to run the query.

> I've often wondered that. Where did you find that documented Peter?


It was one of several answers that are scattered through the mysql.com
forums, most of which don't seem to be correct. This interpretation at
least matches sensible guesses. The first number goes up when the number
of rows increases, by experiment.

--
64. I will see a competent psychiatrist and get cured of all extremely
unusual phobias and bizarre compulsive habits which could prove to
be a disadvantage.
--Peter Anspach's list of things to do as an Evil Overlord
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com