Re: iis/asp + sql2000 a bit slow
From: Florian (REMOVEUPPERCASEwizard_oz_at_gmx.net)
Date: 02/07/04
- Next message: Florian: "Re: iis/asp + sql2000 a bit slow"
- Previous message: Chris Hohmann: "Re: I'm baffled..."
- In reply to: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Next in thread: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Reply: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 07 Feb 2004 04:59:15 GMT
> WScript.Echo? I thought your were using ASP ...
Well, as I pointed out I was putting the crucial code into a .vbs file to
make sure IIS is not the cause of the problem, hence the WScript.Echo
> I suspect that you are suffering the consequences of failing to
encapsulate
> your queries into a stored procedure. You're doing too much processing in
> the client.
I have never done anything with stored procedures and I'm not sure why 6
"easy" queries are considered to be too much processing? But I will look
into how stored procedures work and try that. I usually code my web pages in
perl/mysql and I see why ;-) Can't do in this example though ...
> Your bottleneck is not the queries: it is the time needed to send the
> queries and return their results across the network. In addition,
recordset
> loops are very expensive: you should use GetRows to stuff your data into
> arrays and loop through the arrays instead. You will see a great increase
in
> performance if you follow these guidelines.
I actually converted the test script to use GetRows and that didn't seem to
help very much, if at all.
Thanks so far!!!
- Next message: Florian: "Re: iis/asp + sql2000 a bit slow"
- Previous message: Chris Hohmann: "Re: I'm baffled..."
- In reply to: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Next in thread: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Reply: Bob Barrows: "Re: iis/asp + sql2000 a bit slow"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|