You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Lei Rui (Jira)" <ji...@apache.org> on 2022/11/09 09:46:00 UTC

[jira] [Assigned] (IOTDB-4894) TsFileSketchTool prints only the first page info when there are multiple pages in a chunk

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

Lei Rui reassigned IOTDB-4894:
------------------------------

    Assignee: Lei Rui

> TsFileSketchTool prints only the first page info when there are multiple pages in a chunk
> -----------------------------------------------------------------------------------------
>
>                 Key: IOTDB-4894
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4894
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>            Reporter: Lei Rui
>            Assignee: Lei Rui
>            Priority: Minor
>
> An example is as follows. This tsfile has one chunk with 100 pages, but the sketch tool prints only the first page info: "[page]  CompressedSize:1887, UncompressedSize:2606".
> {code:java}
> -------------------------------- TsFile Sketch --------------------------------
> file path: D:\github\1667985904766-1-0-0.tsfile
> file length: 205798            POSITION|    CONTENT
>             --------     -------
>                    0|    [magic head] TsFile
>                    6|    [version number] 3
> |||||||||||||||||||||    [Chunk Group] of root.sg1.d1, num of Chunks:1
>                    7|    [Chunk Group Header]
>                     |        [marker] 0
>                     |        [deviceID] root.sg1.d1
>                   20|    [Chunk] of s1, numOfPoints:100000, time range:[1591717867194,1591768035853], tsDataType:DOUBLE, 
>                          startTime: 1591717867194 endTime: 1591768035853 count: 100000 [minValue:0.0,maxValue:88.5,firstValue:68.10000000000001,lastValue:64.2,sumValue:7098754.59999999]
>                     |        [chunk header] marker=1, measurementId=s1, dataSize=205580, serializedSize=10
>                     |        [chunk] java.nio.HeapByteBuffer[pos=0 lim=205580 cap=205580]
>                     |        [page]  CompressedSize:1887, UncompressedSize:2606
> |||||||||||||||||||||    [Chunk Group] of root.sg1.d1 ends
>               205627|    [marker] 2
>               205628|    [TimeseriesIndex] of root.sg1.d1.s1, tsDataType:DOUBLE
>                     |        [ChunkIndex] s1, offset=20
>                     |        [startTime: 1591717867194 endTime: 1591768035853 count: 100000 [minValue:0.0,maxValue:88.5,firstValue:68.10000000000001,lastValue:64.2,sumValue:7098754.59999999]] 
> |||||||||||||||||||||
>               205701|    [IndexOfTimerseriesIndex Node] type=LEAF_MEASUREMENT
>                     |        <s1, 205628>
>                     |        <endOffset, 205701>
>               205722|    [TsFileMetadata]
>                     |        [meta offset] 205627
>                     |        [num of devices] 1
>                     |        1 key&TsMetadataIndex
>                     |        [bloom filter bit vector byte array length] 24
>                     |        [bloom filter bit vector byte array] 
>                     |        [bloom filter number of bits] 256
>                     |        [bloom filter number of hash functions] 5
>               205788|    [TsFileMetadataSize] 66
>               205792|    [magic tail] TsFile
>               205798|    END of TsFile
> ---------------------------- IndexOfTimerseriesIndex Tree -----------------------------
>     [MetadataIndex:LEAF_DEVICE]
>     └──────[root.sg1.d1,205701]
>             [MetadataIndex:LEAF_MEASUREMENT]
>             └──────[s1,205628]
> ---------------------------------- TsFile Sketch End ----------------------------------
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)