[
https://issues.apache.org/jira/browse/CLOUDSTACK-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172147#comment-15172147
]
ASF GitHub Bot commented on CLOUDSTACK-9298:
--------------------------------------------
GitHub user nvazquez opened a pull request:
https://github.com/apache/cloudstack/pull/1425
CLOUDSTACK-9298: Improve performance of resource retrieval that have tags
associated and target volumes, VMs and templates
JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9298
## Description of the problem
When retrieving a large number of resources which have tags associated
with, retrieval methods took too long. Our goal is to improve performance of
this methods
### ListTemplatesCmd API method
It is proposed to include tags information into <code>template_view</code>
to avoid querying the database for each tag, managing that information in
memory.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nvazquez/cloudstack listtemplates
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1425.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1425
----
commit db5dde5136004d1ccb2b4b8a485697e8f71d299c
Author: nvazquez <[email protected]>
Date: 2016-02-29T15:37:12Z
CLOUDSTACK-9298: Improve ListTemplatesCmd performance
commit dab1fc38972db999ba7d6459ba6ba3ccb8a78d7a
Author: nvazquez <[email protected]>
Date: 2016-02-29T16:52:32Z
CLOUDSTACK-9298: Template_view new columns
----
> Improve performance of resource retrieval that have tags associated and
> target volumes, VMs and templates
> ---------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9298
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9298
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.9.0
> Reporter: Nicolas Vazquez
> Fix For: 4.9.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)