medida do tempo de consulta em API C

2004-04-06 Thread Volnei Galbino
Olá pessoal,
 
Estou fazendo um trabalho em API C na área de otimização de consulta. O
meu problema esta em medir o tempo utilizado pela consulta. Estou usando
difftime(end,start) para avaliar o tempo, só ele está fornecendo o temo
em segundos, o que, na maioria das vezes, não é relevante. Como fazer
para que o tempo seja fornecido em centésimos de segundo, por exemplo?
Há como fazer isto?
 
Um abraço, 
 
Volnei Galbino


measuring the time used by the query

2004-04-06 Thread Volnei Galbino
Hello,

 I am making a work in API C in the area of query optimization. 
 My problem this in measuring the time used by the query.
 I am using difftime(end,start) to evaluate the time, only he is
supplying it fear  in seconds, which, most of the time, it is not
relevant. 
How to do so that the time is supplied in second hundredths, for
example?
Is there as doing this?

Regards,
 
Volnei Galbino


Query Optimization

2004-03-07 Thread Volnei Galbino
Hi,
 
Does anybody know where I can find information about query
optimization in MySQL? Of which the techniques that are used?
 
Regards,
 
Volnei Galbino