Closed gordan-bobic closed 8 months ago
Wait, regarding this issue, we alread added an instance_start (instance_id, start_at)
index, do we still need a standalone instance_id
index?
Ah, I forgot about that. Yes, that index will do. Closing this.
Queries like this are run when deleting database servers from monitoring:
This index is required to make those run well:
Additionally, if the instance is getting deleted, then the instance with matching the uuid should also be deleted, but it doesn't look like this happens. This should also run for the relevant instance uuid, unless I am missing something: