News for hackers. Stuff that matters.
Re:SQL is 43 years old – Here’s why we still use it today by mattbroekhuis on Tuesday May 02, 2017 @09:11AM (#14246039)
I have found out the hard way that foreign keys are indexed by default in some implementations including MySQL innodb. Not in oracle.

My experience has been the opposite of yours -- I've heard of disabling foreign keys in production only for performance reasons, but not the other way around.

I like them turned on all the time as well. Valuable safety rail

There are no comments on this comment yet.