Quote:
|
Originally Posted by naz
"*Really* big sites don't ever have referential integrity. Or if the few spots they do (like with financial transactions) it's implemented on the application level (via, say, optimistic locking), never the database level."
|
The best response to something like this is to throw what they just said back at them.
"So the big sites *do* have referential integrity, but it's not documented in a single place and it's applied inconsistently. Thus we get the worst of both worlds: all the potential drawbacks of referential integrity (having to update in a certain order, locking and unlocking) with none of the guaranteed benefits."