Skip to content

Segment based gstore

Wang Ning requested to merge wangn/wukong:segment-based-gstore into master
Segments
#total: #normal pred(TYPE_ID not included) * 2(IN/OUT)
      + 1(TYPE_ID|OUT)
      + 1(index OUT, including predicate index OUT, all local types* and preds*)
      + 1(index IN, including predicate index IN, type index and all local entities*)
      + 2(vid's all predicates* IN/OUT)
      + #attr pred

description              key                         segid                   num
1. normal segments       [vid|pid|IN/OUT]            [0|pid|IN/OUT]          2 * #normal pred
2. vid's all types       [vid|TYPE_ID|OUT]           [0|TYPE_ID|OUT]         1
3. predicate index OUT   [0|pid|OUT]
   p_set*                [0|PREDICATE_ID|OUT]
   t_set*                [0|TYPEID|OUT]              [1|PREDICATE_ID|OUT]    1
4. predicate index IN    [0|pid|IN]
   type index            [0|typeid|IN]
   v_set*                [0|TYPE_ID|IN]              [0|PREDICATE_ID|IN]     1
5*. vid's all predicates [vid|PREDICATE_ID|IN/OUT]   [0|PREDICATE_ID|IN/OUT] 2
6^. attr segments        [vid|pid|OUT]               [0|pid|OUT]             #attr pred

Merge request reports