Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here



I have a SQL 7.0 DB with approx. 250,000 records in a 'name' table. RUns in Novell 4.0 environment with 40 or so users on at a time. It is extremely slow when doing lookup on name field. If seach is on numeric field, i.e. soc sec #, then it is extremely quick. Vendor is working on code changes.
However, any ideas on why it would bog down at various times in the day or week? Seems to be no rhyme or reason to it....i.e. no report generations at the time. Defragging helped for awhile but now is happening again.
Server and workstations very powerful. Any obvious things I could be missing? I understand there are many vairables involved.

RE: Speed

Obvious things....
Index on the name field ?
Select statement using LIKE "%name%" ?
A user who runs a very heavy query periodically ?
Run the SQL Trace to view the queries coming in ?
Dodgy database structure ?
Error in the code ? A statement that includes a table in the where clause but no join is a favourite... it creates a cartesian product but the result may still be correct.


RE: Speed

I'd agree with Jaz - they are the most obvious things.

Run sp_helpindex [tablename] to see what indexes you have and what fields they are against. Add up to 6/7 indexes on a table if you feel they require them.

One other thing - check what kind of locks the application takes out on that table. MAybe the queries are queueing for the records.


RE: Speed

Thanks folks. Very helpful.....Ill try your suggestions.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close