DISCOVERY MACAddress ID1 IPAddress ID2 NetProtocolType DEVICE HostName DeviceType AmtOfCable ConnType VIRTUALIZATION ProfileID MONITORING DateTimeID RefreshRate Status INFORMATION UpTime DownTime Service USER UsernameID Password Rights LOGIN LoginDateTime ID 1..** Login 1..* * Consists of 1..* * Consists of 0..1 *
Relational Schema USER (Username, Password, Rights) Primary key: Username LOGIN(LoginDateTime, Username, Profile) Primary key: (LoginDateTime, Username, Profile) Foreign key: Username references USER (Username) VIRTUALIZATION(Profile) Primary key: Profile DISCOVERY (MACAddress, IPAddress, NetProtocolType) Primary key: MACAddress Candidate key: IPAddress DEVICE(MACAddress, HostName, DeviceType, AmtOfCable, ConnType) Primary key: MACAddress Foreign key: (MACAddress) references DISCOVERY (MACAddress) MONITORING(MACAddress, IPAddress, DateTime, RefreshRate, Status) Primary key: (MACAddress, IPAddress, DateTime) Foreign key: (MACAddress, IPAddress) references DISCOVERY (MACAddress, IPAddress) INFORMATION(MACAddress, IPAddress, DateTime, UpTime, DownTime, Service) Primary key: (MACAddress, IPAddress, DateTime) Foreign key: (MACAddress, IPAddress) references DISCOVERY (MACAddress, IPAddress) Foreign key: (DateTime) references MONITORING(DateTime)
Username : VARCHAR(20) NOT NULL (PK) Password: VARCHAR(10) NOT NULL Rights : VARCHAR(10) NOT NULL USER LoginDateTime: TIMESTAMP NOT NULL (PK) Username: VARCHAR(20) NOT NULL (FK) Profile: VARCHAR(20) NOT NULL (FK) LOGIN Profile: VARCHAR(20) NOT NULL (PK) VIRTUALIZATION MACAddress: VARCHAR(17) NOT NULL (PK) IPAddress: VARCHAR(15) (FK) NetProtocolType: VARCHAR(20) NOT NULL DISCOVERT MACAddress: VARCHAR(17) NOT NULL (FK) HostName: VARCHAR(20) NOT NULL DeviceType : VARCHAR(20) NOT NULL AmtOfCable : INTEGER(3) NOT NULL ConnType: VARCHAR(20) NOT NULL DEVICE DateTime: TIMESTAMP NOT NULL (PK) MACAddress: VARCHAR(17) NOT NULL (FK) IPAddress: VARCHAR(15) (FK) RefreshRate: INTEGER(2) NOT NULL Status: VARCHAR(20) NOT NULL MONITORING DateTime: TIMESTAMP NOT NULL (FK) MACAddress: VARCHAR(17) NOT NULL (PK) IPAddress: VARCHAR(15) (FK) UpTime: TIMESTAMP NOT NULL DownTime: TIMESTAMP NOT NULL Service: VARCHAR(30) NOT NULL INFORMATION Data Dictionary