[ https://issues.apache.org/jira/browse/CLOUDSTACK-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612409#comment-14612409 ]
ASF GitHub Bot commented on CLOUDSTACK-8606: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/553#issuecomment-118141634 @wilderrodrigues Could you please have a look at this PR? > 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)