2011-08-08 Ramon Novoa <rnovoa@artica.es>

* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added an
	  index on tagente_modulo.nombre to improve alert listings. Thanks to
	  Manuel Arostegui. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2011-08-08 11:58:27 +00:00
parent 87383aaea7
commit 3783bfbef0
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-08-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added an
index on tagente_modulo.nombre to improve alert listings. Thanks to
Manuel Arostegui.
2011-08-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/sla_view.php: Fixed a bug related to a function

View File

@ -177,7 +177,8 @@ CREATE TABLE IF NOT EXISTS `ttag_event` (
ALTER TABLE `tagente_modulo` ADD COLUMN (`unit` text DEFAULT '');
ALTER TABLE `tagente_modulo` ADD COLUMN (`str_warning` text DEFAULT '');
ALTER TABLE `tagente_modulo` ADD COLUMN (`str_critical` text DEFAULT '');
ALTER TABLE `tagente_modulo` ADD INDEX module(id_modulo);
ALTER TABLE `tagente_modulo` ADD INDEX module (`id_modulo`);
ALTER TABLE `tagente_modulo` ADD INDEX nombre (`nombre`);
-- -----------------------------------------------------
-- Table `tevento`

View File

@ -191,7 +191,8 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
KEY `tam_agente` (`id_agente`),
KEY `id_tipo_modulo` (`id_tipo_modulo`),
KEY `disabled` (`disabled`),
KEY `module` (`id_modulo`)
KEY `module` (`id_modulo`),
KEY `nombre` (`nombre`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- snmp_oid is also used for WMI query