You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Ted Yu (JIRA)" <ji...@apache.org> on 2012/06/28 00:42:43 UTC

[jira] [Updated] (HBASE-5941) improve multiDelete performance by grabbing locks ahead of time

     [ https://issues.apache.org/jira/browse/HBASE-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Ted Yu updated HBASE-5941:
----------------------------------

    Attachment: 5941.txt
    
> improve multiDelete performance by grabbing locks ahead of time
> ---------------------------------------------------------------
>
>                 Key: HBASE-5941
>                 URL: https://issues.apache.org/jira/browse/HBASE-5941
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 0.89.20100924, 0.89-fb, 0.94.1
>            Reporter: Amitanand Aiyer
>            Assignee: Amitanand Aiyer
>            Priority: Minor
>             Fix For: 0.89-fb
>
>         Attachments: 5941.txt
>
>
> Ning reported that the performance of deletes is slower than the performance of Puts. This should not be the case. 
> On digging up, it turns out that there is a difference between multiPut and multiDelete in the way we grab locks.
> multiPut grabs all the locks optimistically and processes the puts one by one. multiDelete grabs locks and releases
>  them one at a time, for each delete operation, as if it were done separately. This may be causing a performance
>  slow down for deletes. Trying to improve it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira