[ https://issues.apache.org/jira/browse/CLOUDSTACK-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313376#comment-16313376 ]
ASF GitHub Bot commented on CLOUDSTACK-10104: --------------------------------------------- rhtyd commented on issue #2282: CLOUDSTACK-10104:Optimize database transactions in ListDomain API to improve performance URL: https://github.com/apache/cloudstack/pull/2282#issuecomment-355596606 Merging this based on code reviews and test results. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)