Viewing 13 posts - 1 through 13 (of 13 total)
TheMOTU (10/26/2010)
As usual - the amount of difficulty never disappears...
Surrogate keys are excellent for Referential Integrity - small PK / FK.
The default of having PK as a clustering one is...
October 27, 2010 at 7:10 am
Hugo Kornelis (10/26/2010)
I'd say that you are both correct.
I think you're right Hugo.
October 26, 2010 at 8:15 am
ebay-1087924 (10/26/2010)
October 26, 2010 at 7:51 am
Ryan C. Price (10/25/2010)
Agreed.
Our Database - about 200 tables - is about 80% Surrogate/ 20% Natural.
The below is an example where we too prefer the Natural.
In my experience, the only...
October 26, 2010 at 6:46 am
wagner crivelini (10/25/2010)
As I said on this forum, I'm also a fan of surrogate keys.
Actually, my goal in this first article is to show the concepts and methods I'm using...
October 25, 2010 at 2:18 pm
A clustered index on the surrogate key is (performance wise) the worst option. But a heap may outperform a clustered index on the two FK's depending on use patterns.
I...
October 25, 2010 at 1:53 pm
cdesmarais 49673 (10/25/2010)
October 25, 2010 at 1:43 pm
I found the article was well done visually and well written with a good background on the pages.
But it seems the article is more about varchar indexes vs integer indexes...
October 25, 2010 at 12:36 pm
I have found this feature very helpful but could be improved, I would even call it buggy:
- As Microsoft mentions, it does not consider trivial Plans. Why not? A trivial...
July 30, 2010 at 1:13 pm
Our department eliminated blocking by using 'nolock' table hint. It has worked great, or so we think.
I believe the best option is Snaphot Isolation Level:
http://msdn.microsoft.com/en-us/library/ms345124(SQL.90).aspx
Then readers don't block writers and...
May 27, 2010 at 7:54 am
This will ensure the Deadlocks get written to the SQL Server Log file:
DBCC TRACEON(1222,-1)
And you should consider adding these to the Start-up Parameters.
May 26, 2010 at 2:55 pm
(2)He also says that "You can DELETE any row that will not violate a constraint, while leaving the foreign key or any other contraint in place.".
Does he mean that,...
May 26, 2010 at 2:47 pm
This is an interesting one.
What Gila Monster mentioned makes most sense to me.
According to this, Truncate table acquires the Sch-M (schema modification) lock:
Whereas a delete won't acquire this lock. So...
May 26, 2010 at 10:12 am
Viewing 13 posts - 1 through 13 (of 13 total)