cloudstack/engine/schema/src
Vishesh a791d46abe
events,alerts: Add missing indexes (#8276)
This PR adds missing indexes on `alerts` & `events` tables.

For alerts table, some of the queries are part of a couple of APIs and some operations. I have added the index for the same. Ref: 
8f39087377/engine/schema/src/main/java/com/cloud/alert/dao/AlertDaoImpl.java (L40-L45)

For Events table, we query for `resource_id` & `resource_type` in the UI for a resource's events. Indexes were missing, so I have added those.
2023-12-13 10:24:36 +05:30
..
main events,alerts: Add missing indexes (#8276) 2023-12-13 10:24:36 +05:30
test events,alerts: Add missing indexes (#8276) 2023-12-13 10:24:36 +05:30