cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [2/2] git commit: updated refs/heads/master to 476e9f0
Date Sun, 31 Jan 2016 17:59:43 GMT
Merge pull request #1387 from remibergsma/CLOUDSTACK-8300

CLOUDSTACK-8300: Set indexes on event tableWhen there are many events in the cloud.event table,
the UI throws an SQL exception and the management server spikes at 100% CPU for minutes. That
causes other API calls to fail with 530 errors.

It seems an index on the 'archived' field is missing (since it is used in the WHERE clause).

We have 1.4M events in the table:
`select count(*) from event;`

This PR adds the index to the `archived` field and the `state` field.

* pr/1387:
  CLOUDSTACK-8300: Set indexes on event table

Signed-off-by: Remi Bergsma <>


Branch: refs/heads/master
Commit: 476e9f02106de945746e6f5a6e1cd716d6d3c010
Parents: e5f0788 14c837a
Author: Remi Bergsma <>
Authored: Sun Jan 31 18:59:23 2016 +0100
Committer: Remi Bergsma <>
Committed: Sun Jan 31 18:59:23 2016 +0100

 setup/db/db/schema-481to490.sql | 3 +++
 1 file changed, 3 insertions(+)

View raw message