TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

how to import csv file to database & If sampled time is not monotonic increasing, how can i insert the data?

Open SMD12138 opened this issue 7 years ago • 4 comments

Performance Issue Any questions related to TDengine's performance can be discussed here.

Problem Description A clear and concise description of what the problem is.

To Reproduce Steps to reproduce the behavior:

  1. Database parameters used: show databases
  2. Verbs used: Insert/Import/Select?
  3. Describe the total amount of data
  4. Observed performance vs. expected performance

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version [e.g. 1.6.1.7]

Additional Context Add any other context about the problem here.

SMD12138 avatar Oct 08 '19 08:10 SMD12138

一、导入csv文件的数据命令: IMPORT INTO <tb_name> FILE ; 二、每2分钟采集一次,时间戳不就是递增的吗?

plum-lihui avatar Oct 08 '19 09:10 plum-lihui

我是建了一个超级表press 然后又建了子表s1,语句如下,部分csv如图,为什么一直数据导不进去TDengine里

---原始邮件--- 发件人: "plum-lihui"<[email protected]> 发送时间: 2019年10月8日(星期二) 下午5:46 收件人: "taosdata/TDengine"<[email protected]>; 抄送: "Author"<[email protected]>;"SMD12138"<[email protected]>; 主题: Re: [taosdata/TDengine] 你好,想问一下怎么把csv文件导入数据库,还有压力传感器每2分钟采集一次数据,但是用采集时间作为时间戳的话,就不是递增了,这种怎末解决 (#594)

一、导入csv文件的数据命令:IMPORT INTO <tb_name> FILE ; 二、每2分钟采集一次,时间戳不就是递增的吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

SMD12138 avatar Oct 08 '19 11:10 SMD12138

你好,我弄了创表语句,按照您说的导入语句导入,怎么导不进去

SMD12138 avatar Oct 09 '19 01:10 SMD12138

邮件回复你了。

plum-lihui avatar Oct 09 '19 02:10 plum-lihui