*** So new at this I still have that new car smell ***
I'm developing a website and I am trying to make it as efficient as possible. Currently I have 2 databases (one for users and another for informational posts).
When going to the website the posts stored in the database are displayed with various information about the user attached to it (namely the city and state they reside in). What I opted to do is when a user fills out a form to create a post it also pulls these two fields from the user database and attaches that to it.
The reasoning behind this is so that the site wouldn't have to load the 50 posts to display and then hunt down the user information for each post displayed.
My question is if this was a wise thing to do or if I'm just uselessly making my databases larger and complicating things?