I would like to know what is better practice (and better performance wise):
Using multiple foreign keys from 1 table to many (so when i fetch the object it’s a larger object and contain all other tables information using the relations),
or fetching an object from a table and then executing another query to get the rest of the data.
Usually It depends on how frequently you fetch which columns from multiple tables.
1.If you create many foreign keys in a table and then connect with these keys to many others then you will end up joining many tables to fetch required data.
2.So I suggest you first decide what type of data you are mainly looking from this main table and how frequently you use it.
3.Also you need to create indexes on all joining keys in order to achieve better performance.This is in one way overhead and in other way saves you time.
So it all depends on your needs.