RE: [PHP-WIN] Speed of SQL queries, profiling?
| From: | HKG) | Date: | Thu, 15 Nov 2001 14:13:22 +0000 |
| Subject: | RE: [PHP-WIN] Speed of SQL queries, profiling? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10426@lists.php.net to get a copy of this message | ||
A decent RDBMS should provide the developer with a query analyser which
displays how the query will be compiled and give an estimate of execution
time in each part so you can investigate where most of the power is drained.
By the way, your question is rather not that much about php. (Not that I
uses php and care that much... :)
-----Original Message-----
From: Arnout van der Kamp
To: php-windows@lists.php.net
Sent: 2001-11-15 01:21
Subject: [PHP-WIN] Speed of SQL queries, profiling?
I've written some code to extract a database from SQL. I'm doing about
10
queries times 60.000 or so. It's quite slow. 8 hours in total (estimated
time left).
Now I would like to know where all of my execution time is going, so I
was
wondering if it's easy to do some profiling on esp. the SQL queries as I
think there is where my time is going. Is there some sort of
sql_query_time() routine. Or something similar? I'm quite new to SQL and
even PHP so I'm don't know where to look either.
--
Later
Arnout http://www.supras.nl
"Life is too short to drive an opel"
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net