add indexes for Monitors(ServerId) and Servers(Name)
parent
4fc85fd89c
commit
ea27e07276
|
@ -401,6 +401,8 @@ CREATE TABLE `Monitors` (
|
||||||
PRIMARY KEY (`Id`)
|
PRIMARY KEY (`Id`)
|
||||||
) ENGINE=@ZM_MYSQL_ENGINE@;
|
) ENGINE=@ZM_MYSQL_ENGINE@;
|
||||||
|
|
||||||
|
CREATE INDEX `Monitors_ServerId_idx` ON `Monitors` (`ServerId`);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `States`
|
-- Table structure for table `States`
|
||||||
-- PP - Added IsActive to track custom run states
|
-- PP - Added IsActive to track custom run states
|
||||||
|
@ -430,6 +432,9 @@ CREATE TABLE `Servers` (
|
||||||
`State_Id` int(10) unsigned,
|
`State_Id` int(10) unsigned,
|
||||||
PRIMARY KEY (`Id`)
|
PRIMARY KEY (`Id`)
|
||||||
) ENGINE=@ZM_MYSQL_ENGINE@;
|
) ENGINE=@ZM_MYSQL_ENGINE@;
|
||||||
|
|
||||||
|
CREATE INDEX `Servers_Name_idx` ON `Servers` (`Name`);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `Stats`
|
-- Table structure for table `Stats`
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue