2011-09-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* pandoradb.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added btree index on table
	tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-09-22 17:16:32 +00:00
parent e7e469b47f
commit 8f5d4b44a8
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-09-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added btree index on table
tagente_modulo.
2011-09-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_monitores.php: Improved response time modifying

View File

@ -182,6 +182,7 @@ ALTER TABLE `tagente_modulo` ADD COLUMN (`str_critical` text DEFAULT '');
ALTER TABLE `tagente_modulo` ADD COLUMN (`extended_info` text DEFAULT '');
ALTER TABLE `tagente_modulo` ADD INDEX module (`id_modulo`);
ALTER TABLE `tagente_modulo` ADD INDEX nombre (`nombre` (255));
CREATE INDEX `module_group` on tagente_modulo (`id_module_group`) using btree;
-- -----------------------------------------------------
-- Table `tevento`

View File

@ -193,7 +193,8 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
KEY `id_tipo_modulo` (`id_tipo_modulo`),
KEY `disabled` (`disabled`),
KEY `module` (`id_modulo`),
KEY `nombre` (`nombre` (255))
KEY `nombre` (`nombre` (255)),
KEY `module_group` (`id_module_group`) using btree
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- snmp_oid is also used for WMI query