Hi,

Using a new parameter is ok, but how to store the SDT parameter needs to be 
considered.

Maybe store it in the mlog and the props in MeasurementSchema.

Thanks,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
&gt; 发件人: "Haimei Guo" <[email protected]>
&gt; 发送时间: 2020-11-17 20:22:55 (星期二)
&gt; 收件人: [email protected]
&gt; 抄送: 
&gt; 主题: Re: SDT Encoding and Query Design
&gt; 
&gt; &gt;
&gt; &gt; Do we really need to define so many new encoding types?&gt;
&gt; &gt; How about adding a new parameter, SDT?
&gt; &gt; i.e, create time series root.a.b.c with datatype=?, encoding=?,
&gt; &gt; compression=? [, loss=SDT?]
&gt; 
&gt; 
&gt; yes, SDT as a new parameter would be better. Thank you!
&gt; 
&gt; 
&gt; On Tue, Nov 17, 2020 at 7:49 PM Xiangdong Huang <[email protected]> wrote:
&gt; 
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; &gt; After discussion, the SDT
&gt; &gt; &gt; compression method will be used before encoding. The data will be
&gt; &gt; discarded
&gt; &gt; &gt; in memory before flushing to the disk. After compressing data, 
it will
&gt; &gt; &gt; still go through the current encoding process in PageWriter.
&gt; &gt;
&gt; &gt; +1.
&gt; &gt;
&gt; &gt; &gt; Building on top of the current encoding types, we will have more 
encoding
&gt; &gt; &gt; types that support SDT, ie GORiLLA_SDT, PLAIN_SDT, RLE_SDT, etc
&gt; &gt;
&gt; &gt; Do we really need to define so many new encoding types?
&gt; &gt; How about adding a new parameter, SDT?
&gt; &gt; i.e, create time series root.a.b.c with datatype=?, encoding=?,
&gt; &gt; compression=? [, loss=SDT?]
&gt; &gt;
&gt; &gt; Not sure which one is better. an evaluation is needed.
&gt; &gt;
&gt; &gt; Best,
&gt; &gt; -----------------------------------
&gt; &gt; Xiangdong Huang
&gt; &gt; School of Software, Tsinghua University
&gt; &gt;
&gt; &gt;  黄向东
&gt; &gt; 清华大学 软件学院
&gt; &gt;
&gt; &gt;
&gt; &gt; Haimei Guo <[email protected]> 于2020年11月17日周二 下午5:01写道:
&gt; &gt;
&gt; &gt; &gt; Hi,
&gt; &gt; &gt;
&gt; &gt; &gt; The following a redesigned SDT encoding[1]. After discussion, 
the SDT
&gt; &gt; &gt; compression method will be used before encoding. The data will be
&gt; &gt; discarded
&gt; &gt; &gt; in memory before flushing to the disk. After compressing data, 
it will
&gt; &gt; &gt; still go through the current encoding process in PageWriter.
&gt; &gt; &gt;
&gt; &gt; &gt; Building on top of the current encoding types, we will have more 
encoding
&gt; &gt; &gt; types that support SDT, ie GORiLLA_SDT, PLAIN_SDT, RLE_SDT, etc
&gt; &gt; &gt;
&gt; &gt; &gt; For the query process, it will remain the same and the returned 
dataset
&gt; &gt; &gt; will contain only compressed data. There will be no SDT decoder.
&gt; &gt; &gt; If the user is querying a timestamp that is discarded after SDT 
or never
&gt; &gt; &gt; existed before, he will get an empty set. Or use linear fill 
keyword.
&gt; &gt; &gt;
&gt; &gt; &gt; Please let me know if you have any questions or recommendations.
&gt; &gt; &gt; Thank you for your time!
&gt; &gt; &gt;
&gt; &gt; &gt; [1] 
https://cwiki.apache.org/confluence/display/IOTDB/SDT+encoding
&gt; &gt; &gt;
&gt; &gt; &gt; Best,
&gt; &gt; &gt; Haimei
&gt; &gt; &gt;
&gt; &gt; &gt; On Fri, Nov 6, 2020 at 5:50 PM Haimei Guo <[email protected]> 
wrote:
&gt; &gt; &gt;
&gt; &gt; &gt; &gt; Hi,
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; The following is a more detailed design[1] of SDT encoding 
and query in
&gt; &gt; &gt; &gt; IoTDB. The encoding and query methods will consult OSISoft 
Pi's design.
&gt; &gt; &gt; The
&gt; &gt; &gt; &gt; document first explains Pi's approach to encoding and 
query, then shows
&gt; &gt; &gt; the
&gt; &gt; &gt; &gt; modification of PageWriter, PageReader, SDTEncoder, 
SDTDecoder.
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Please let me know if you have any questions or 
recommendations.
&gt; &gt; &gt; &gt; Thank you for your time and consideration!
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; [1] 
https://cwiki.apache.org/confluence/display/IOTDB/SDT+encoding
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Best,
&gt; &gt; &gt; &gt; Haimei
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
</[email protected]></[email protected]></[email protected]></[email protected]>

Reply via email to