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

* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added
	  another index on tevento.estado. Thanks Manuel! :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2011-08-09 08:54:00 +00:00
parent 8ade98c957
commit 71fc75f2a8
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-08-09 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added
another index on tevento.estado. Thanks Manuel! :-)
2011-08-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_agent_status.php

View File

@ -107,6 +107,7 @@ ALTER TABLE tusuario_perfil ADD `id_policy` int(10) unsigned NOT NULL default 0;
ALTER TABLE `tevento` MODIFY `event_type` enum('unknown','alert_fired','alert_recovered','alert_ceased','alert_manual_validation','recon_host_detected','system','error','new_agent','going_up_warning','going_up_critical','going_down_warning','going_down_normal','going_down_critical','going_up_normal', 'configuration_change') default 'unknown';
ALTER TABLE tevento ADD INDEX criticity (`criticity`);
ALTER TABLE tevento ADD INDEX estado (`estado`);
-- -----------------------------------------------------
-- Change the value "0000-00-00 00:00:00" that Pandora use as zero or null date value

View File

@ -430,7 +430,8 @@ CREATE TABLE IF NOT EXISTS `tevento` (
KEY `indice_1` (`id_agente`,`id_evento`),
KEY `indice_2` (`utimestamp`,`id_evento`),
KEY `idx_agentmodule` (`id_agentmodule`),
INDEX criticity (`criticity`)
INDEX criticity (`criticity`),
INDEX estado (`estado`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Criticity: 0 - Maintance (grey)