all groups > sql server msde > january 2007 >
You're in the

sql server msde

group:

Timeout


Re: Timeout amish
1/3/2007 5:40:59 AM
sql server msde: 4MB is very small database size.
The problem might be poor database design or query.

Make sure proper index are on table.

Look at the locks in more detail , use profiler to find other activity
on the database when you are facing this problem.

Regards
Amish Shah
http://shahamishm.tripod.com


[quoted text, click to view]
Re: Timeout Hari Prasad
1/3/2007 7:35:26 AM
Hi,

Do you have an Index in column ID. otherwise a tablescan can happen while
you delete and cause a time out. As well as take a look if there
is any FK relationship. If you have a FK relation ship ensure that partcular
table is also indexed based on ID.

Thanks
Hari



[quoted text, click to view]

Re: Timeout Tracy McKibben
1/3/2007 7:37:23 AM
[quoted text, click to view]

Where are you seeing this timeout, in a client application or Query
Analyzer? Quite likely, something is blocking your UPDATE/DELETE
statement - check sp_who2 to check for blocking. Without proper
indexes, deleting even one row can require a table scan, which is highly
vulnerable to being blocked.


--
Tracy McKibben
MCDBA
Timeout Meelis Lilbok
1/3/2007 3:28:23 PM
Hi

What can cause "Timeout expired" on deleting only one row?

delete from tmarcid where id=3423
this happens not every time, same problem with update.


SQL 2000,Windows XP, all SP's installed.

DB size is only 4MB
Computer: 1GB RAM,2.66GHz Pentium, 20GB Free Disk space.


Regards;
Meelis

Re: Timeout Uri Dimant
1/3/2007 3:33:29 PM
Hi

Do you have an index on id column?
Do you have trigger/s on tmarcid table?
Do you have another table define in cascade delete to tmarcid table?



[quoted text, click to view]

Re: Timeout Meelis Lilbok
1/3/2007 3:38:32 PM
[quoted text, click to view]
Nope

strange is, with other clients, with bigger db's this error happens only
once in a year :)


meelis




[quoted text, click to view]

Re: Timeout Meelis Lilbok
1/3/2007 3:40:42 PM
I think this client has problems with network



M.


[quoted text, click to view]

Re: Timeout Tracy McKibben
1/4/2007 7:19:42 AM
[quoted text, click to view]

What does the execution plan for the query look like? Where is it
spending the time?


--
Tracy McKibben
MCDBA
Re: Timeout Meelis Lilbok
1/4/2007 1:17:08 PM
Hi

Im still having problem with this timeout :(

a) Indexes are ok
b) No triggers

With other clients using database with same conf. all works fine


Meelis




[quoted text, click to view]

Re: Timeout Meelis Lilbok
1/4/2007 1:18:42 PM
and
sp_who2 does not show anu block or lock problems

Meelis



[quoted text, click to view]

Re: Timeout Uri Dimant
1/4/2007 1:39:54 PM
Perhaps LOG file is growing and users get the eeror.

Have you checked any enties in the ERRROL.LOG file?



[quoted text, click to view]

Re: Timeout Meelis Lilbok
1/4/2007 1:46:49 PM
no problems with log file (its only 1MB, db size 24mb)
nothing in error.log file



M.



[quoted text, click to view]

Re: Timeout Uri Dimant
1/4/2007 1:59:15 PM
Meelis
I have no idea why it is happened. Do you have a last service pack installed
on SQL Server?


[quoted text, click to view]

Re: Timeout Meelis Lilbok
1/4/2007 2:04:37 PM
yeah sql 2000 sp4, today i'll try sql 2005


thnx anyway :)


M.


[quoted text, click to view]

AddThis Social Bookmark Button