Re: accept ... from time
- From: "Michael Mattias" <mmattias@xxxxxxxxxxxxxx>
- Date: Tue, 23 Jan 2007 23:41:25 GMT
I want to measure the execution time of a sql statement. Can I get the
time in milliseconds to be displayed.
Call me an old fuddy-duddy, but millisecond accuracy s going to be so
dependent on other factors such as current demands on database server and
current network traffic that milliseconds are meaningless
"But," says you, " I willl be doing THOUSANDS of these and those
milliseconds will add up in a big hurry!"
The obvious answer is ... do your thousands of executions and divide by the
number of same to get a 'unit time cost.' Hell, this will be more accurate
than doing onesies and twosies anyway.
(Ummm....I assume the statement is already PREPARED? Otherwise the
preparation time (parse and plan) will be inseparable from the execution
time).
--
Michael C. Mattias
Tal Systems Inc.
Racine WI
mmattias@xxxxxxxxxxxxxx
.
- References:
- accept ... from time
- From: michael.bierenfeld@xxxxxx
- Re: accept ... from time
- From: Robert Jones
- accept ... from time
- Prev by Date: Re: Reading in file containing Low Values doesn't work correctly
- Next by Date: Re: Micro Focus COBOL Visual C++ linking
- Previous by thread: Re: accept ... from time
- Next by thread: Retrieve RBS of VSAM record - z/OS
- Index(es):
Relevant Pages
|
|