> If you operate at the scale where you consider the performance implications of foreign keys, you probably are not ok with anyone accessing the database or running just any query against it.
I used to work on an application where ALL database accesses were via stored procedures. Genuinly the best dev experience, to me, so far.