Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Update failed..Timeout

Status
Not open for further replies.

AmeriSource

Programmer
Dec 3, 2001
17
CA
I am running SQL server on a PC. There are about 20 simultaneous users. I often get timeout when someone is trying to update a record. My server has 512 mb or ram. I don't think its a performance problem with the server but i could be wrong. Does anyone have any suggestions??
 
what are/is the size of the table(s) you are trying to update to?
 
are the other users in an app or are they directly in sql server using Query Analyzer? what i am getting at is that they may be locking records with common Select statements. they need to be in a Read-Only mode if they are just querying the DB and associated tables. you may want to run Enterprise Manager as a user tries to update a record and verify if there are any locks that are occuring from others.
 
The most likely cause of the timeout is locking. Check the following page for some links to articles about avoiding locking problems.


It hard to determine the exact cause of the timeouts from the scanty info provided. Which version of SQL Server are you using? Are you using a server or desktop version? What is the front-end client? How are you connecting - ODBC, ADO, or other? Does the table have indexes? Does it have a clustered index? Are the users adding records, updating existing records or both? Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
The users are using an Access 97 front end. We were are connecting through ODBC. Some users have read only access and some have change access. The users who are updating records get the timeout error
 
The users are using an Access 97 front end. We were are connecting through ODBC. Some users have read only access and some have change access. The users who are updating records get the timeout error
 
We are using SQL server 7. The users are updating existing records and adding new records. We have 3 index on our table.The table has about 100 fields
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top