[
https://issues.apache.org/jira/browse/CLOUDSTACK-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313378#comment-16313378
]
ASF subversion and git services commented on CLOUDSTACK-10104:
--------------------------------------------------------------
Commit 5fad84174a199f798396fcacedae2c56bdcc2bba in cloudstack's branch
refs/heads/master from [~pranalim]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=5fad841 ]
CLOUDSTACK-10104: Optimize database transactions in ListDomain API to improve
performance (#2282)
While creating the response object for the 'listDomain' API, several database
calls are triggered to fetch details like parent domain, project limit, IP
limit, etc. These database calls are triggered for each record found in the
main fetch query, which is causing the response to slow down.
Fix:
The database transactions are reduced to improve response of the Listdomain API
> Optimize database transactions in ListDomain API to improve performance
> -----------------------------------------------------------------------
>
> Key: CLOUDSTACK-10104
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10104
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Reporter: Pranali Mande
>
> While creating the response object for the 'listDomain' API, several database
> calls are triggered to fetch details like parent domain, project limit, IP
> limit, etc. These database calls are triggered for each record found for in
> the main fetch query, which is causing the response to slow down. The
> database transactions could be optimized to reduce the response time of the
> Listdomain API
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)