x
login about faq Site discussion (meta-askssc)

sp_getschemalock is causing the lock of database servers

The procedure sp_getschemalock is causing the lock of database servers arbitrarily. What is the reason for this blockade? How to avoid it?

more ▼

asked Nov 06 '09 at 01:06 PM in Default

André Mendonca gravatar image

André Mendonca
11 1 1 1

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

a quick google revealed

http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/231b4893-7bf6-4b7b-b072-1338d95c3eeb/

Are you using ssis ?, how is sp_getschemalock being called , and by what ?

more ▼

answered Nov 06 '09 at 04:49 PM

dave ballantyne gravatar image

dave ballantyne
918 1 1 4

a Microsoft consulter sad that the sp_getschemalock is started by server when this is creating or updating a database struct, but not known exactly how.

Nov 09 '09 at 05:12 PM André Mendonca

Check that your linked servers are collation compatible and have the configuration set as such.

Nov 09 '09 at 05:28 PM dave ballantyne
(comments are locked)
10|1200 characters needed characters left

sp_getschemalock is an internal extended procedure, used when querying across linked servers.

Does this fit with your scenario?

If so what queries are you running?

more ▼

answered Nov 06 '09 at 01:13 PM

Kev Riley gravatar image

Kev Riley ♦♦
46k 38 43 69

we have 4 servers runnig linked servers selecting, inserting and updating data between the servers. but when the getshemalock start on a server lock all others, many times in process anothers databases.

Nov 09 '09 at 05:05 PM André Mendonca
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x209
x22

asked: Nov 06 '09 at 01:06 PM

Seen: 3157 times

Last Updated: Nov 06 '09 at 01:06 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.