Jump to content

Recommended Posts

I will begin working on a project very soon that is a System Configuration Manager. It is for a company thas has X amount of machines and this project will allow them to easily manage and search through them.

 

Most of the system properties like: System name, serial no., date installed etc are easy to manage. That is one table. The part that has got me thinking are things like Memory and CPUs where their can be more than 1.

 

My thought was to make a table strictly for memory that had a system_id that was sort of the tie back to the main system config table. Same goes for CPUs.

 

Do you guys have a better suggestion or does my idea sound about the right way to do it?

Link to comment
https://forums.phpfreaks.com/topic/214057-system-configuration-table-structure/
Share on other sites

I would create a kind of 'attributes' table for non-standard details:

 

attr_id | machine_id | attr_name | attr_desc

---------------------------------------------------------------

1      | 1          | Memory    | Description of the memory installed

2      | 1          | CPU      | Description of the CPU installed

 

Linking to the machine by `machine_id` of course.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.