[
https://issues.apache.org/jira/browse/CLOUDSTACK-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612824#comment-14612824
]
ASF subversion and git services commented on CLOUDSTACK-8606:
-------------------------------------------------------------
Commit f138192c946d45ca5982ec012f65a8b83c97422c in cloudstack's branch
refs/heads/master from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f138192 ]
CLOUDSTACK-8606: DB performance impacted due to VM sync.
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. Added an index for
instance_name field.
This closes #553
> 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)