Unindexed Foreign Keys Can Make Performance Worse.
17 Comments
I know. You, dear reader, saw that title and you came in here because you’re furious. You want foreign key relationships configured in all of your tables to prevent bad data from getting in. But you gotta make sure to index them, too. Let’s take the Stack Overflow database – I’m using the 50GB Stack…
Read More