This is the equivalent question of this .
EDIT: Based on the comment, it is not clear that this is an equivalent question, so I wrote it down below.
Both questions ask questions about projects (both are social networks, but it's just a coincidence) when the question arises about database performance. Both have a diverse set of objects that have a common collection of attributes (in one, these are events that occur on each object, and in the other, comments that occur on each object).
Both questions effectively ask the question: is it more efficient to create a UNION query that combines disparate common functions or decompose them into a common table with the corresponding foreign keys.
I consider them as equivalent; the best answer to one will apply equally to the other.
(If you do not agree, I am glad to hear why, please leave a comment.)
source share