Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only the first strategy shoves it into the same table? The fundamental problem is record A can have type X Y or Z, with each type having additional metadata. You could flatten the model and have a table for each type X Y Z and query them independently, and pay the cost of duplicate schema structure and having to ensure they’re always synchronized manually (including any dependent tables), or you pluck out the common core and run into the article’s problem


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: