We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在测试涛思数据库时,import.property文件中说:device_num应该整除write_client,我不是很理解这个。在实际测试中,我将import.property中的device_num和write_client设为10和10,最后数据库会显示device_id是从d_90到d_99,如果是10,20,则会是从d_180到d_199。我不是很理解这个编号顺序,不应该是从0到99和从0到199吗? 然后在influxdb进行导入时,在influxAdapter中:INFLUXDB=InfluxDBFactory.connect(URL);会报错:Exception in thread "main" org.influxdb.InfluxDBException: {"code":"unauthorized","message":"Unauthorized"},感觉是没有导入user和password,因此我自己将其改成INFLUXDB=InfluxDBFactory.connect(URL,ds.getUser(),ds.getPasswd());,但还是会报同样的错。
The text was updated successfully, but these errors were encountered:
第一个问题已解决:因为涛思数据库遵循“一个设备一张表的原则”,所以同一张表内,同一时间即使有不同id的设备写入,只会记录最后一个设备,也意味着一张表内的时间戳是唯一的。
Sorry, something went wrong.
No branches or pull requests
在测试涛思数据库时,import.property文件中说:device_num应该整除write_client,我不是很理解这个。在实际测试中,我将import.property中的device_num和write_client设为10和10,最后数据库会显示device_id是从d_90到d_99,如果是10,20,则会是从d_180到d_199。我不是很理解这个编号顺序,不应该是从0到99和从0到199吗?
然后在influxdb进行导入时,在influxAdapter中:INFLUXDB=InfluxDBFactory.connect(URL);会报错:Exception in thread "main" org.influxdb.InfluxDBException: {"code":"unauthorized","message":"Unauthorized"},感觉是没有导入user和password,因此我自己将其改成INFLUXDB=InfluxDBFactory.connect(URL,ds.getUser(),ds.getPasswd());,但还是会报同样的错。
The text was updated successfully, but these errors were encountered: