Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread jeffrey_n_Dyke
[EMAIL PROTECTED] Subject: Re: [PHP-DB] sql optimizing assistance

Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread Jeff Shapiro
t you are using it. For more info: http://www.mysql.com/doc/en/MySQL_indexes.html On Fri, 19 Sep 2003 16:01:34 -0400, [EMAIL PROTECTED] spoke thusly about Re: [PHP-DB] sql optimizing assistance: > > i new i forgot to include something. > > here this is the ouput. it looks like its

Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread Micah Stevens
run this query: EXPLAIN SELECT Question.Text_Long, AVG( Response ) FROM `Response` INNER JOIN Question ON Question.Question_Key = Response.Question_Key WHERE Question.Question_Key LIKE '2003%' GROUP BY Response.Question_Key ORDER BY Question.Question_Key ASC and post the results. This will descri

Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread jeffrey_n_Dyke
rter.net> Subject: Re: [PHP-DB] sql optimizing assistance

Re: [PHP-DB] sql optimizing assistance

2003-09-19 Thread CPT John W. Holmes
From: <[EMAIL PROTECTED]> > I have two tables and am running a simple join between them to get > questions and their repsective response averages from a survey. The > question table has 49 rows and the Response table has 126,732. I'd like to > cut down on the time its taking to run this specifi

[PHP-DB] sql optimizing assistance

2003-09-19 Thread jeffrey_n_Dyke
I have two tables and am running a simple join between them to get questions and their repsective response averages from a survey. The question table has 49 rows and the Response table has 126,732. I'd like to cut down on the time its taking to run this specific query...as i'll be running many li