If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Relational Database design (practical problem)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-06, 09:55
bnoyon bnoyon is offline
Registered User
 
Join Date: Feb 2006
Posts: 2
Relational Database design (practical problem)

I want to improve a database for product registration system. The goal of the system is to register products with characteristics. (length, height, color, max speed, weight, power etc. ) Each product has different characteristics. For instance, a car is registered with 30 number of characteristics length, height, max speed, etc. But a motor is registered with 6 number of characteristics such as power, weight etc.
The current architecture of database is so:
The main table is "registration". (the core of DB) Each product is described by a table. (because of different number of characteristics) For instance: Auto, Motor, etc.
Each charachteristecs are listed as attributes of this product table. For Auto: length, height, max speed, car year, car model ...
Now the problem is: The tables (products) are increased enormously, ie. too many tables.....
How can be solved this problem?

Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 02-13-06, 11:51
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
What's wrong with lots of tables?
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 02-14-06, 05:21
bnoyon bnoyon is offline
Registered User
 
Join Date: Feb 2006
Posts: 2
Quote:
Originally Posted by J Petruk
What's wrong with lots of tables?
The tables (products) are increased enormously... At least invisible. Is the logic of the architecture right at all?
Reply With Quote
  #4 (permalink)  
Old 02-14-06, 06:43
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by bnoyon
Is the logic of the architecture right at all?
yes, it is right

do a search for subtype/supertype
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On