hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amitanand Aiyer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5941) improve multiDelete performance by grabbing locks ahead of time
Date Fri, 04 May 2012 19:20:48 GMT
Amitanand Aiyer created HBASE-5941:
--------------------------------------

             Summary: 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


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

        

Mime
View raw message