If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Good asp programing with SQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-15-05, 15:07
lazyTrucker lazyTrucker is offline
Registered User
 
Join Date: Dec 2005
Posts: 14
Good asp programing with SQL

Hi all,

If ne one has ne ideas, or links to a good vb resource aimed specificly at good MYSQL/SQL programming practices and optimization it would be much appreciated, so far I have called each column by name and checked and closed all records & trying not to over use trim etc.

but ARG!... I still need more SPEED!!!

Cheers
Reply With Quote
  #2 (permalink)  
Old 12-20-05, 01:23
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Some performance links (although my guess is that you may need a faster Web host):

Speed Tips by Charles Carroll
http://www.learnasp.com/learn/speedtips.asp

SQL-Server-Performance.Com
www.sql-server-performance.com
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #3 (permalink)  
Old 01-05-06, 12:29
lazyTrucker lazyTrucker is offline
Registered User
 
Join Date: Dec 2005
Posts: 14
Hey thnx for the link have been a bit busy ovr the festives (sobering up), but it has been vry handy cheers
Reply With Quote
  #4 (permalink)  
Old 01-16-06, 05:12
kropes2001 kropes2001 is offline
Registered User
 
Join Date: Nov 2005
Location: Honolulu HI
Posts: 118
are you usign MySQL or MS SQL for the database ?

have you been able to isolate what is the biggest time hogs in your script ?
put time outputs (write the time to the screen) before and after each SQL statement you run. this will help you see what is taking a long time to run.


are you using the most effecient connection strings ?
i had a site that was using what i thuoght was a good connection string. it worked on 5 other sites i had...
but it turned out that the database driver was different on this site and it would cause the connection string to take sometimes up to 45 seconds JUST to get a connection. after that it woudl fly.
__________________
.
.
http://www.GetMySiteOnline.com - Can you help me Get My Site Online ? (Yes. That is EXACTLY what we do.)

http://www.GetMySiteOnline.com/FightingSpam/
__________________________
caeli enarrant gloriam Dei !
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On