[ https://issues.apache.org/jira/browse/CLOUDSTACK-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koushik Das resolved CLOUDSTACK-8606. ------------------------------------- Resolution: Fixed > DB performance impacted due to VM sync. > --------------------------------------- > > Key: CLOUDSTACK-8606 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8606 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server, Upgrade > Affects Versions: 4.5.0 > Reporter: Koushik Das > Assignee: Koushik Das > Fix For: 4.6.0 > > > VM sync. generates a lot of queries on vm_instance table with 'instance_name' > as filter. Since the field is not > indexed, these kind of queries will impact DB performance. > The issue is visible with deployments having more than 4000 VMs. VM sync. > runs every 'ping.interval' and in each run generates individual queries for > all VMs. If the MS is left running for a few hours, its response deteriorates > drastically. -- This message was sent by Atlassian JIRA (v6.3.4#6332)