Viewing 15 posts - 16 through 30 (of 44 total)
No FK constraints either. When using Reflector to peek inside the LINQ-To-SQL ORM, you can see that it uses an explicit transaction with Read Committed isolation level. Guess I'll...
February 24, 2011 at 8:32 am
Just to add, I can't find anywhere that we're using SERIALIZABLE isolation level (we have no TransactionScope usage either) but after googling around there appear to be one or two...
February 24, 2011 at 8:21 am
Thanks a lot for all this, it's been very helpful indeed 🙂
February 24, 2011 at 7:58 am
I am one of the developers 😉 (accidental DBA scenario). And yes it's a consequence of the data access tech, more specifically the ORM tool (LINQ-to-SQL). SERIALIZABLE isn't needed, so...
February 24, 2011 at 4:38 am
Don't forget, in Database Mirroring, the Mirror is constantly in Recovering state. If you kill the Principal without first failing over to the Mirror then it's state will just be...
February 24, 2011 at 4:18 am
Thanks for pointing me at that article, makes sense.
However what I don't get is why range locks are coming into play at all when it's an IDENTITY based table and...
February 24, 2011 at 4:10 am
Sorry my bad, I misread your question. In that case without automatic failover (a witness server) you'll need to manually fail over (see my initial response) from the principal to...
February 24, 2011 at 3:36 am
Thanks for the replies SQLKiwi. The table in question is clustered/pk'ed on an identity column and thus there is no "SELECT to see if exists and then INSERT" pattern going...
February 24, 2011 at 3:32 am
SQLKiwi:
The INSERT and SELECT are from 1 table with 1 index (the clustered one), so how does the UPDLOCK come into play here?
February 24, 2011 at 3:12 am
Answers to your questions:
1. READ COMMITTED.
2. That particular deadlock is rare, but it's potentially a large problem.
3. It's a LINQ to SQL application so the INSERTs all look like:
exec sp_executesql...
February 24, 2011 at 3:10 am
After you've got the mirror up and running it does say "(Principal, Synchronized)" next to the Principal and "(Mirror, Synchronized)" next to the Mirror? And you do have a Witness...
February 24, 2011 at 3:00 am
Just to add I figured out it was pretty easy to have the Publisher and Subscriber in the same database, you just can't do it via the SSMS wizard. Obviously...
January 26, 2011 at 7:28 am
Cheers Perry. You rock. The second option you provided works a treat.
Alex.
January 24, 2011 at 8:04 am
Thanks for your reply Perry.
It figures you should be able to add new Files to an existing FileGroup, but my question was about adding a new FileGroup entirely to an...
January 20, 2011 at 4:41 am
Firewall issue! We found the problem/solution via this support document:
http://support.microsoft.com/kb/941526
Specifically the line which says:
Enable User Datagram Protocol (UDP) traffic to the mirror partner server over port number 1434....
October 19, 2010 at 7:22 am
Viewing 15 posts - 16 through 30 (of 44 total)