2012-10-07 Sancho Lerena <slerena@artica.es>

* pandoradb.sql: Deleted index on utimestamp for tevento. This
        will produce a performance penalty for no reason.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2012-10-07 20:38:19 +00:00
parent b9f668e6ee
commit 5bdb22d90e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-10-07 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Deleted index on utimestamp for tevento. This
will produce a performance penalty for no reason.
2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es> 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed print_image when source image * include/functions_html.php: Fixed print_image when source image

View File

@ -528,7 +528,6 @@ CREATE TABLE IF NOT EXISTS `tevento` (
`ack_utimestamp` BIGINT(20) NOT NULL DEFAULT '0', `ack_utimestamp` BIGINT(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`id_evento`), PRIMARY KEY (`id_evento`),
KEY `indice_1` (`id_agente`,`id_evento`), KEY `indice_1` (`id_agente`,`id_evento`),
KEY `indice_2` (`utimestamp`,`id_evento`),
KEY `idx_agentmodule` (`id_agentmodule`), KEY `idx_agentmodule` (`id_agentmodule`),
INDEX criticity (`criticity`), INDEX criticity (`criticity`),
INDEX estado (`estado`) INDEX estado (`estado`)