Tablet

Describes output for a tablet.

The maprcli fid dump output for a tablet includes key and value pairs for the following:

  • startkey. The first key value in the tablet.
  • pmap. Each partition.
  • endkey. The last key value in the tablet.

Output Fields for a Tablet

This table describes a majority of the output values for each partition (pmap) in the tablet.

Field Description
key The partition key.
segfid The FID of the segment map associated with this partition.
isFrozen A Boolean value that indicates if a partition is in a frozen state or not. Internally, a partition is sometimes temporarily marked as frozen in order for certain operations to complete.
inSplit A Boolean value that indicates if a partition split is in progress for this partition.
useBucketDesc This property is for internal use only.

lastFlushedBucketFid

The FID of the bucket file (WAL) which was last flushed for this partition.
numLogicalBlocks

The number of logical blocks (8K) for this partition.

numPhysicalBLocks

The number of physical blocks (8K) for this partition.

numRows The number of rows stored in this partition.
numRowsWithDelete The number of rows which are marked for delete in this partition.
numRemoteBlocks

The number of disk blocks which are not local to this partition. When a region splits, a partition moves from one node to another and it is possible to temporarily have some remote blocks.

numSpills The number of spills.
numSegments The number of segments.

Output Example for a Tablet

maprcli fid dump -fid 2116.59.131462 -json
{
    "timestamp":1425579636931,
    "timeofday":"2015-03-05 06:20:36.931 GMT+0000",
    "status":"OK",
    "total":6,
    "data":[
        {
            "key":"endkey.user3155781742051747178",
            "value":{
                 
            }
        },
        {
            "key":"pmap.",
            "value":{
                "segfid":"<parentCID>.1065.133486",
                "isFrozen":false,
                "inSplit":false,
                "useBucketDesc":true,
                "lastFlushedBucketFid":"2116.901.133158",
                "numLogicalBlocks":34921,
                "numPhysicalBlocks":21976,
                "numRows":9332,
                "numRowsWithDelete":0,
                "numRemoteBlocks":0,
                "numSpills":137,
                "numSegments":74
            }
        },
        {
            "key":"pmap.user1523186274532578170",
            "value":{
                "segfid":"<parentCID>.1066.133488",
                "isFrozen":false,
                "inSplit":false,
                "useBucketDesc":true,
                "lastFlushedBucketFid":"2116.902.133160",
                "numLogicalBlocks":37011,
                "numPhysicalBlocks":23260,
                "numRows":9868,
                "numRowsWithDelete":0,
                "numRemoteBlocks":168,
                "numSpills":147,
                "numSegments":78
            }
        },
        {
            "key":"pmap.user2078250355776544396",
            "value":{
                "segfid":"<parentCID>.445.132238",
                "isFrozen":false,
                "inSplit":false,
                "useBucketDesc":true,
                "lastFlushedBucketFid":"2116.447.132242",
                "numLogicalBlocks":71124,
                "numPhysicalBlocks":44797,
                "numRows":18991,
                "numRowsWithDelete":0,
                "numRemoteBlocks":172,
                "numSpills":300,
                "numSegments":152
            }
        },
        {
            "key":"postSplitCopy",
            "value":{
                "raw":"dummy"
            }
        },
        {
            "key":"startkey.",
            "value":{
            }
        }
    ]
}
NOTE
The postSpitCopy key and value are for internal use only.