Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Opinions on Equipment Database
Old 01-24-2008, 04:14 PM Opinions on Equipment Database
Junior Talker

Posts: 2
Name: Erik Jenson
Trades: 0
Hello. I am looking for opinions on the best set up of the equipment porion of a larger database. Unfortunately we are limited to MS Access.

The Whole database will include Equipment, Location of equipment. Wiring from/to equipment. and the finer details of each (connector type, port names, cable colour etc.)

Basically I am wondering how to deal with the equipmnet. There are several different manufacturers and configurations. Should I have a table for each piece of equipment or simply size the table for the one with the most ports (150 possible columns of data - some equipment needs only 5 or 6)

Anyone have any thoughts?
E-ROK is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2008, 10:13 PM Re: Opinions on Equipment Database
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
simply size the table for the one with the most ports (150 possible columns of data - some equipment needs only 5 or 6)
Absolutely NOT!!!

Create your structures to minimise duplicate data and redundant columns.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-25-2008, 10:19 AM Re: Opinions on Equipment Database
Junior Talker

Posts: 2
Name: Erik Jenson
Trades: 0
So to be clear, it sounds like the recommendation is to make a table large enough for the biggest number of ports required by any piece of equipment. Eventhough some components will only use 5 out of 150 possible datafields. And populate that table with the details of each piece of equipment in the system. Does that sound right?
E-ROK is offline
Reply With Quote
View Public Profile
 
Old 01-25-2008, 09:14 PM Re: Opinions on Equipment Database
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No.

make a table of devices and a table of ports and use a PK / FK relationship

so 1 device may have 5 matching records in ports another may have 24 and other ones may have 100 or more.
BUT the ports table only ever needs "x" columns deviceID, portNo, Destination_Device, Cable_Colour, Cable_Size, Cable_Designation for example

device table needs ID, Manufact, Model, SerialNo, Ports, LocationID, etc etc

Locations = ID, ShortName, Description etc

if you need to use ANY data more that twice use a separate table and join on IDs. It's a process called "normalisation"
It makes the database smaller with less redundant data and can make queries MUCH quicker.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Opinions on Equipment Database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13263 seconds with 12 queries