thanks for all of the advises. I have one question, on the trace file and this file is huge, there were a huge number of the elapsed time and no time on cpu, below is the elaspe value:
what caused this elasped time so huge, could it be there was a lock??? but again that query is only the SELECT statement, so it's not possible.Code:call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 3 0.00 0.00 0 0 0 0
Execute 6 0.005987400908.58 0 0 0 0
Fetch 6 0.00 0.00 0 58 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 15 0.005987400908.58 0 58 0 1
Anyway, what could it be to make the elasped time so huge and cpu time is 0
