Jeff
Fri Apr 25 18:56:41 CDT 2008
The entire process should take milliseconds. That is, take an ASP page
without any db interaction that does a submit as a baseline. Then add the db
query. A few extra milliseconds
Jeff
"Bam" <bam@gig-gamers.com> wrote in message
news:480405af$0$7066$4c368faf@roadrunner.com...
>
> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
> news:%23WePI2hnIHA.5692@TK2MSFTNGP03.phx.gbl...
>> Bam wrote:
>>> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
>>>>> if you would, try this:
>>>>>
>>>>> first time is time the query started, second time is time it
>>>>> finished. then it shows the difference.
>>>>> I am trying to see if where I am located, in respect to the server,
>>>>> makes that much of a difference.
>>>>>
http://tournaments.acitourneys.info/TIME_TEST1.ASP
>>>>
>>>> Why would that make a difference? I assume you are timing the query
>>>> execution in your server-side code. The location of the client is
>>>> totally irrelevant.
>>>>
>>>> I strongly suspect that the extra 3+ seconds is due to the time it
>>>> takes to send the query to the server and the the time taken to
>>>> receive the results. When I tested that script on my machine (using
>>>> SSMS) I got results instantaneously - zero time. Were your results
>>>> similar when you tested it without asp involved?
>>>>
>>>>
>>> yes, when directly on the server, it was real fast. I am doing this
>>> as part of a registration, so I needed to know the time of the delay
>>> for an actual user upon registering.
>>>
>>> You have helped me find the answer, and I thank you for that.
>>>
>>> Just out of couriosity, when you ran the script you just gave me, how
>>> long did it take to create the table, and post the data to the DB
>>> from the query??
>>
>> About a minute, maybe a few seconds more.
>>
>> Err, that's not the part of the query you should be running from ASP ...
>> but if you are running it and getting the results after inserting 57K
>> records in 3.5 sec. you whould be extremely happy with your server's
>> performance.
>>
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so I
>> don't check it very often. If you must reply off-line, then remove the
>> "NO SPAM"
> No, the query was done in the DB itself. it took 28 seconds to populate
> the fields when I ran it. the 3.5 seconds is based on the asp script
> finding a specific GUID from a webpage.
>