Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to upgrade an existing database for online job finding and hiring website, the main goal is to make the table for people more browsble by adding categories, features, better tag system, and subcategories

here is the problem: each category have it's own subcategory and features, for example when a user is seeing people in teaching category, the user might want to find out if they teach privatly(home-school)so i add a bit type colume for that feature, but as you might know, not all categories need a home schooling feature, for example other categories like, computer, engnier, medican and other stuff, that means all of these rows with category other than teaching will all have a useless "NULL" in them that takes a 1 byte that might not sound a lot but at the end i might end up having tons of such useless "NULL"s in each row that wasting space.

i also can't create table for each category since the people table have realtions with other tables like users,comments, images and etc....

what do you suggest i do?
Posted
Updated 26-Jun-15 1:21am
v2

1 solution

It's time time to read one (or more) tutorial on "database normalization for beginners"[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900