[ 
https://issues.apache.org/jira/browse/IGNITE-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253378#comment-16253378
 ] 

ASF GitHub Bot commented on IGNITE-6702:
----------------------------------------

GitHub user gg-shq opened a pull request:

    https://github.com/apache/ignite/pull/3037

    [IGNITE-6702] Get rid of values deserialization in H2TreeIndex.getRowCount

    Committing preliminary version to run tests on TC

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-6702

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3037.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3037
    
----
commit a7541202bb835c6e0dff004c06ea222384a53549
Author: gg-shq <[email protected]>
Date:   2017-11-15T12:20:04Z

    IGNITE-6702: Change H2TreeIndex.getRowCount() to use BPlusTree.size() 
method instead of BPlusTree.find() + iteration

commit c31145be5ee11a7bd3cb72f960e03e9212a964d8
Author: gg-shq <[email protected]>
Date:   2017-11-15T12:20:30Z

    IGNITE-6702: Change H2TreeIndex.getRowCount() to use BPlusTree.size() 
method instead of BPlusTree.find() + iteration

----


> Get rid of values deserialization in H2TreeIndex.getRowCount
> ------------------------------------------------------------
>
>                 Key: IGNITE-6702
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6702
>             Project: Ignite
>          Issue Type: Improvement
>      Security Level: Public(Viewable by anyone) 
>          Components: sql
>            Reporter: Semen Boikov
>            Assignee: Kirill Shirokov
>              Labels: performance
>             Fix For: 2.4
>
>
> It seems H2TreeIndex.getRowCount is called for 'select count(*) from x' 
> queries, now it is implemented via BPlusTree.find(x, x) method which 
> deserializes all values. Actually values are not needed there, need implement 
> method on BPlusTree computing size without deserialization.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to