Isn't data integrity desirable everywhere?
If you couldn't afford it in production, it might at least be useful during development.
If you couldn't afford it in production, it might at least be useful during development.
Foreign keys in production offer safety, safety, safety. If incoming data were ALWAYS clean (3rd party data feeds) or that a DBA never had to make an ad hoc update to production to satisfy something ultra business critical, then perhaps Foreign keys are just for development, but until then, I root safety.
This is usually a performance benefit for the DB and app processes. It also helps to not_repeat_yourself by having the "business rule" in only one place.