stonecolddevin has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I come to you yet again with another DBD::SQLite question. If this is off topic, forgive me.
This could also be applied to DBI in general...but I digress.
Anyway, my question is how one would calculate the time it took a query to execute, and count up the number of rows/results returned in that query, like the MySQL command line client does. I've thought of using (times())[0], but I've heard that can be inaccurate.
Ideas monks?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calculating query time and rows returned in SQLite
by bart (Canon) on Nov 16, 2006 at 11:50 UTC | |
by stonecolddevin (Parson) on Nov 17, 2006 at 00:19 UTC |