3 ms·
You can just use Animal_id as the PK for all the tables (in the other tables it will also be an FK to Animals) and dump the relationship tables. > My only conc
by dragonwriter 8y ago
You can just use Animal_id as the PK for all the tables (in the other tables it will also be an FK to Animals) and dump the relationship tables.
> My only concern is that the Animal table will grow rapidly as more pets and animal types are added and will be a performance issue.
Why? You aren't duplicating data anywhere (except perhaps the unnecessary IDs), so why do you think there is a more compact representation? It doesn't matter much what table the data is in as long as it appears only once.