This document contains basic database stats, the current tables and fields in the rpms database, and lists the proposed tables and fields for rpms 2.0.
Stats
Current tables in rpms database 1.0 = 10, number of fields in smallest and largest table = 4 (with 2 being repetitive data) and 20
Current tables in rpms database
1. users
1. [id auto-increment]
2. fname
3. lname
4. email
5. phone
6. organization
7. method_of_contact
2. admin_infrastructure_status
1. [id auto-increment]
2. projectid
3. infrastructure_status
4. infrastructure_modified_by
5. infrastructure_modified_date
6. infrastructure_comments
3. admin_project_status
1. [id auto-increment]
2. projectid
3. project_status
4. project_modified_by
5. project_modified_date
6. project_comments
4. connectivity
1. [id auto-increment]
2. projectid
3. outside_access
4. custom_network_config
5. outside_agency
6. inside_agency
7. additional_info
5. project
1. [id auto-increment]
2. userid
3. title
4. date_of_request
5. start_date
6. end_date
7. num_personnel
8. project_summary
9. summary_status
10. project_type
11. project_use
6. project_output
1. [id auto-increment]
2. projectid
3. outcome_summary
4. publications
7. project_resources
1. [id auto-increment]
2. projectid
3. consultation
4. developer_resources
5. lab
6. lab_start_date
7. length
8. workstations
8. project_summary
1. [id auto-increment]
2. projectid
3. motivation
4. vision
5. stakeholder1
6. role1
7. stakeholder2
8. role2
9. stakeholder3
10. role3
11. stakeholder4
12. role4
13. stakeholder5
14. role5
15. stakeholder6
16. role6
17. datasources
18. steps
19. metrics
20. project_additional_info
9. tr_desktop
1. [id auto-increment]
2. projectid
3. dt_qty
4. dt_operating_system
5. dt_memory
6. dt_disk
7. dt_vm
8. dt_software
9. dt_notes
10. tr_server
1. [id auto-increment]
2. projectid
3. server_qty
4. server_operating_system
5. server_memory
6. server_disk
7. server_vm
8. server_software
9. server_notes
Stats
New tables in rpms 2.0 = 3, number of fields in smallest and largest table = 243 and 302
New tables in rpms 2.0
1. main_data [single fields, non-vm, 3rd party (total columns 43 + 100 + 100 = 243)]
- id [auto-increment record id 5] need to test old data
- timestamp (creation date, may use later) [Unix timestamp]
- fname1 [char 50]
- lname1 [char 50]
- organization1 [char 200] need to test old data
- phone1 [char 50]
- email1 [char 100]
- notify1 [char 5]
- fname2 [char 50]
- lname2 [char 50]
- organization2 [char 200]
- phone2 [char 50]
- email2 [char 100]
- notify2 [char 5]
- group [char 200]
- vm_space [char 5]
- lab_space [char 5]
- lab_num [char 5]
- consult [char 5]
- consult_text [1000] need to test old data
- test_hardware [char 5]
- project_title [char 200] need to test old data
- start_date [Unix timestamp]
- end_date [Unix timestamp]
- approved_start [Unix timestamp]
- approved_end [Unix timestamp]
- project_type [char 50]
- project_use [char 50]
- summary [char 1000] need to test old data
- goals [char 1000] need to test old data
- success [char 1000] need to test old data
- external [char 5]
- external_text [char 1000]
- prod_out [char 5]
- prod_out_text [char 1000]
- prod_in [char 5]
- prod_in_text [char 1000]
- resources [char 1000] need to test old data
- thrid-party [char 5]
- additional [char 1000]
- status [char 50]
- status_text [char 2000]
- infra [char 50]
- infra_text [char 2000]
- outcome [char 1000]
- nvm_config01 [start non-vm data] [char 100]
- nvm_notes01 [char 1000]
- nvm_config02
- nvm_notes02
- nvm_config03
- nvm_notes03
- nvm_config04
- nvm_notes04
- [** query to find out how many in current data (expand for 50 nvm)]
- a_website01 [start 3rd party data] [char 100]
- a_description01 [char 100]
- a_website02
- a_description02
- a_website03
- a_description03
- a_website04
- a_description04
- [** query to find out how many in current data (expand for 50 3rd party)]
2. personnel [lab personnel and stakeholders (total columns 2 + 150 + 100 = 252)]
- id [auto-increment record 5]
- projectid [table one record 5]
- p_name01 [char 100]
- p_email01 [char 100]
- p_user01 [char 50]
- p_name02
- p_email02
- p_user02
- p_name03
- p_email03
- p_user03
- p_name04
- p_email04
- p_user04
- p_name05
- p_email05
- p_user05
- p_name06
- p_email06
- p_user06
- [** query to find out how many in current data(expand for 50 personnel)]
- sname01 [char 100]
- srole01 [char 100]
- sname02
- srole02
- sname03
- srole03
- sname04
- srole04
- sname05
- srole05
- sname06
- srole06
- [** query to find out how many in current data (expand for 50 stakeholders)]
3. virtual [virtual machines (total columns 302)]
- id [auto-increment record id 5]
- projectid [table one record id 5]
- vm_config01 [char 100]
- vm_notes01 [char 1000]
- vm_name01 [char 100]
- vm_proxy_from01 [char 50]
- vm_proxy_to01 [char 50]
- vm_inotes01 [char 1000]
- [** query to find out how many in current data (expand for 50 vm)]
END