You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by ASF Subversion and Git Services <as...@urd.zones.apache.org> on 2013/06/10 15:01:12 UTC

Re: Review Request: (CLOUDSTACK-2707) use executeBatch instead of persist when Usage Server createNetworkHelperEntry

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11461/#review21649
-----------------------------------------------------------


Commit 76ce304411259dc4a29e0e070de829b79b46efe2 in branch refs/heads/master from Wei Zhou
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=76ce304 ]

CLOUDSTACK-2707: use executeBatch instead of persist in Usage Server


- ASF Subversion and Git Services


On May 28, 2013, 7:42 a.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11461/
> -----------------------------------------------------------
> 
> (Updated May 28, 2013, 7:42 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Description
> -------
> 
> use executeBatch instead of persist can reduce the time spent on inserting records into database.
> 
> 
> This addresses bug CLOUDSTACK-2707.
> 
> 
> Diffs
> -----
> 
>   engine/schema/src/com/cloud/usage/dao/UsageNetworkDao.java 0f7c771 
>   engine/schema/src/com/cloud/usage/dao/UsageNetworkDaoImpl.java d64fd80 
>   usage/src/com/cloud/usage/UsageManagerImpl.java 16fe67b 
> 
> Diff: https://reviews.apache.org/r/11461/diff/
> 
> 
> Testing
> -------
> 
> Testing ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>