ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-4702) Optimize BinaryMarshaller field reading in case all object fields are of fixed size
Date Wed, 01 Mar 2017 09:16:45 GMT

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

Vladimir Ozerov resolved IGNITE-4702.
-------------------------------------
    Resolution: Won't Fix

Conflicts with IGNITE-3939, which is of greater priority. Closing.

> Optimize BinaryMarshaller field reading in case all object fields are of fixed size
> -----------------------------------------------------------------------------------
>
>                 Key: IGNITE-4702
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4702
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>            Reporter: Vladimir Ozerov
>              Labels: performance
>             Fix For: 2.0
>
>
> In order to get field position within {{BinaryObject}} we do the following:
> 1) Lookup schema
> 2) Get field order
> 3) Find field position in order
> 4) Jump to the field
> If all object fields have fixed length, then it's body will always be of the same size,
and relative field positions will be constant. This also applicable to objects having only
some fields of known size, if these fields are on the head positions.
> We can add this information to schema and modify lookup routine as follows:
> 1) Lookup schema
> 2) Get field position by field ID immediately
> 4) Jump to the field
> This will save us from footer lookups thus decreasing overall field lookup time. It could
be especially important for queries.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message