8 messages in com.mysql.lists.clusterRe: show tables query time
FromSent OnAttachments
Tanner Postert29 Jun 2006 18:15 
Stewart Smith29 Jun 2006 22:27 
Tanner Postert30 Jun 2006 00:32 
Stewart Smith30 Jun 2006 00:54 
Tanner Postert30 Jun 2006 11:53 
Tanner Postert30 Jun 2006 13:01 
Ross McFarland30 Jun 2006 13:37 
Stewart Smith30 Jun 2006 23:25 
Subject:Re: show tables query time
From:Stewart Smith (stew@mysql.com)
Date:06/30/2006 11:25:03 PM
List:com.mysql.lists.cluster

On Fri, 2006-06-30 at 13:01 -0700, Tanner Postert wrote:

so we have run into another interesting problem when i do a select * from users (35000) rows in the table. it takes 10.67 seconds. if i just do a select username from users it takes 0.30 seconds.

shouldn't the queries take the same amount of time, just return different amounts of data? it the overhead of passing that data accross the network that big? seems like a lot. thanks for you help, and you patience

what's the schema of the table?

my guess is username is quite small compared to the rest of the table.

we only transfer the exact fields that are required across the wire (to save bandwidth and time).

You're probably seeing this.

Jumpstart your cluster: http://www.mysql.com/consulting/packaged/cluster.html