Questions tagged [tdengine]
TDengine is an open-sourced big data platform under GNU AGPL v3.0, designed and optimized for the Internet of Things (IoT), Connected Cars, Industrial IoT, and IT Infrastructure and Application Monitoring.
345
questions
0
votes
0
answers
2
views
Error occurred when taosdump exported data
I encountered an issue while attempting to export data using taosdump. It seems there might be a compatibility problem between taosdump version 2.5.2 and the td version 2.4. Has anyone else come ...
0
votes
0
answers
8
views
When using tdengine , parts of the monitoring indicators missed?
After configuring taosadapter and taoskeeper, the monitoring indicators are missing a lot.
I'm using Linux ,vision3.1.0.0.
Here is a screenshot:
I followed the docs, but the grafana panel is full of ...
0
votes
0
answers
13
views
TDEngine starts fail on Windows Docker after mount /var/lib/taos and /var/log/taos to Windows disks
I'm using Windows Docker to start TDEngine database. After set volume -v /d/DB/Taos/data:/var/lib/taos -v /d/DB/Taos/log:/var/log/taos, the container show the following error message repeatedly, which ...
0
votes
1
answer
40
views
The TDengine interval(1n) query returned one more result than expected
The TDengine interval(1n) query returned one more result than expected.
TDengine version 3.0
Executed SQL
SELECT
_wstart,
_wend,
LAST ( point_value ) - FIRST ( point_value ) AS point_value ...
-2
votes
1
answer
21
views
The tdengine has a high compression rate. How is it designed inside
For efficient horizontal scalability in managing massive data, it is common to adopt sharding and partitioning strategies. TDengine achieves data sharding through vnodes, and implements time-series ...
0
votes
0
answers
21
views
Conflict transaction not completed
taos> CREATE DATABASE IF NOT EXISTS teste replica 1 keep 3650 minRows 100 maxRows 4096 comp 2 PRECISION 'ms'
DB error: Conflict transaciton not completed
What is the reason?
0
votes
0
answers
19
views
After the root password is changed, the login exits directly
Environment: tdengine:3.0.4.
After changing the root password, the login directly exits, and no error is reported. Have you encountered this situation?
Command: taos -p "new password"
Server ...
0
votes
0
answers
11
views
failed to get fqdn,temporary failure in name resolution
enter image description here
failed to get fqdn, code:-3,reason: Temporary failure in name resolution
What is the problem with linux always reporting this error? The server uses commands internally ...
0
votes
1
answer
22
views
How TDengine downsampling queries
How to perform downsampling queries on TDengine? For example, the original frequency of data was once per second, but now we want to perform one query every 10 seconds
-1
votes
1
answer
19
views
How to migrate TDengine data?
How to migrate TDengine2.X version data to 3.X, A direct update doesn't seem to work。
My TDengine version is 2.6.0.22, The data volume is 1TB。
I want to upgrade TDengine to 3.0.5.1。
Whether to ...
0
votes
0
answers
11
views
How to estimate the hardware configuration of TDengine
Our data is written approximately once per second, with a device count of 500 to 1000, stored for one year, and each packet size of 5-10Kb.
What is the appropriate configuration?
Should I use TDengine ...
0
votes
1
answer
20
views
how to insert a CSV file into TDengine?
The data is a CSV file with comma as separator and timestamp and string field value quoted by single quotes,how can i insert it into TDengine?
I am now using SQL to achieve that Single row or multiple ...
0
votes
1
answer
24
views
Cannot able to get the data using rest api from TDengine cloud account
I got the 200 response succes but cannot able to get the response of my query. i want to show the data base available in the TDengine cloud account. And my query is SHOW DATABASES.
Anyone hlep me to ...
0
votes
1
answer
9
views
how to get the beginning, end, and duration of a TDengine window query?
Is there any keywords or pseudocolumns that can indicate the beginning, end, and duration of a TDengine window query?
I am using partitioned queries and windowed queries of TDengine,, as shown below:...
0
votes
1
answer
14
views
show table tags from foo.stb; DB error: syntax error near ".stb;"
I need to view all the tag information under a super table, but when I write it like this, it gives an error. Can someone explain it to me?
taos> use foo;
Query OK, 0 row(s) affected (0.002940s)
...
0
votes
0
answers
15
views
The cluster is disconnected after the leader node breaks down
If the mnode running on the leader node breaks down and the cluster cannot be connected, is there any solution other than restarting the mnode?
Environment: OS: docker image tdengine/tdengine:3.0.2.2
...
0
votes
0
answers
7
views
JNI error and see " invalid stmt" in client log
when I'm using TDengine,
jni error jobj:0x7f0d87227890,conn:0x7f0de4002980,code:query terminated,msg:query terminated
I want to know what is the cause of this error in the client log?
jni error job:...
-1
votes
1
answer
28
views
TDEngine database backup
Do you need to create the corresponding database and tables in advance when importing the database backup Taosdump, or will it be automatically created based on the exported databaseMay I ask, what is ...
0
votes
1
answer
14
views
Handling High-Velocity Data Ingestion with TDengine
I'm working on a project that involves a high influx of time-series data and considering using TDengine. Given its claim of supporting high-speed data ingestion, could anyone provide a more detailed ...
0
votes
2
answers
21
views
Does TDengine support writing a comment for each field?
Does TDengine support writing a comment for each field?
How to write statements that support SQL?
Can TDengine only store change data, that is, if the collected data is the same as the previous time ...
-2
votes
1
answer
23
views
How does it compare to other real-time data processing systems like Apache Kafka or Apache Flink?
Can TDengine support real-time data streaming and processing? How does it compare to other real-time data processing systems like Apache Kafka or Apache Flink?
In practice, we generate large real-time ...
0
votes
1
answer
32
views
How does TDengine handle data replication and high availability in a distributed environment?
TDengine provides several mechanisms to handle data replication and high availability in a distributed environment:
Replication: TDengine supports data replication between nodes in a cluster. When a ...
-1
votes
1
answer
38
views
Out of dnodes (0.000000s)
The TDengine fails to CREATE a DATABASE. CREATE DATABASE power KEEP 365 DURATION 10 BUFFER 16 WAL_LEVEL 1;
This error occurs when I try to create a database. How do I fix it,I can fix it.If you have ...
0
votes
1
answer
73
views
OSError: libtaos.so: cannot open shared object file: No such file or directory
I have this error exception when installing TDengine. Have any of you encountered it before?
I tried to install the application, but he raised this exception: OSError: libtaos.so: cannot open shared ...
0
votes
1
answer
37
views
Does TDengine support geometry datatype?
Does TDengine support geometry datatype?
I'm trying to use TDengine database to store our
Vehicle trajectory data , but I also need some function to analyze my trajectory data. Does TDengine support ...
0
votes
0
answers
7
views
how does the TDengine's snapshot work in 3.0 version?
how does the TDengine's snapshot work in 3.0 version?
As I know it is used for recovery when losing data .
but anyone could tell me the principle of it ?
0
votes
1
answer
16
views
How do I migrate TDengine data to other server?
I have server A with TDengine 3.0.2.4 installed, I want to migrate it to server B
but after I move the datafile to B and then change taos.cfg and dnode.json with proper connection information, the ...
0
votes
1
answer
20
views
what is the difference between TDengine 3.0 datafile and 2.0 datafile?
in the 2.0, I can see the datafile composed of three files which are .data file,.last,.head file.
By the time of 3.0 version. it is changed to data, stt, head, sma file.
what is the difference between ...
0
votes
1
answer
19
views
TDengine steam computing does not support write data to the table that already has data
When I use TDengine database streaming computing, I found a problem,that is when I want to change my rule ,it is not supported, or I create a new stream computing write to this table, it is not ...
-1
votes
1
answer
18
views
what is the proper connection pool configuration for using TDengine database
what is the proper connection pool configuration for TDengine database?
I encountered this error:
connection is not available after 30 seconds.
my configuration is :
maximumPoolSize=10
minimumIdle=5
...
0
votes
1
answer
16
views
what is the main difference between data subscription and streaming computing in TDengine database?
what is the main difference between data subscription and streaming computing in TDengine database?
As I check ,they all push the data to the consumer in real time
I didn't tell the difference
0
votes
1
answer
20
views
what is the .stt file used for in TDengine database?
what is the .stt file used for in TDengine database ?
under the dataDir some of the file is called .stt like this :
ssn@TDengine:/var/lib/taos/vnode/vnode14$ cd ..
ssn@TDengine:/var/lib/taos/vnode$ ls ...
0
votes
0
answers
71
views
as a time-series database ,what is the main difference between TDengine and ClickHouse
our company is seeking for the time-series data resolution , I don't understand the specific advantages between TDengine and ClickHouse. does anyone have the performance benchmark ?
hope to get a ...
0
votes
0
answers
14
views
Weird query result when the fill clause is existed
When using the TDengine (v3.0.2), I found that the query result is some how weird when the fill clause exists in the time window query. And the following SQL statements can produce the result.
create ...
0
votes
0
answers
26
views
An error occurred while query data from TDengine-client-3.0.2.0-Windows-x64
My SQL: select * from meters order by ts;
Here's the retult from TDengine-server-3.0.2.0-Linux-x64
ts
tv
cs
th
report_time
device_no
2022-12-02 09:22:22.249
30
1
50
2022-12-02 09:22:22.249
d001
...
0
votes
0
answers
32
views
time range error when using interval in TDengine
I have an sql statement:
select _WSTART startTime, _WEND endTime, avg(drp) drp, avg(intv) intv, avg(pdr) pdr, avg(dyp) dyp, avg(dy) dy from st_pptn where tm >= 1653619243000 interval(1h) fill(VALUE,...
0
votes
0
answers
16
views
Unable to establish connection While execute transaction in TDengine
It reported an error when I wanted to create an new database in TDengine.
create database pows;
The error was:
DB error: Unable to establish connection While execute transaction
Then I executed '...
0
votes
1
answer
52
views
Get the timestamp of max value in TDengine
I'm trying to downsample with interval in TDengine.
I have a statement:
select _wstart, max(val) max_val, min(val) min_val from d1001 interval(5s);
enter image description here
You can see in the ...
0
votes
0
answers
15
views
Not a single-group group function in TDengine
I'm writing a sql with partition by in TDengine database.
My statement is:
select app_id, task_name, sum(allocated) as allocated
from (
select tbname as app_id,
task_name,
...
0
votes
0
answers
25
views
Invalid timeline function when using derivative function in TDengine
I'm executing a derivative function in TDengine database, and it reports an error.
My sql statement is:
select derivative(errors, 1s, 1) as errors from (select sum(errors) as errors from log....
0
votes
0
answers
8
views
Cann't find the table when execting query in TDengine
I have a series of tables in TDengine database. If I execute "show tables", I can see all of them. However, when I execute some queries on a table, it reports "Fail to get table info&...
0
votes
1
answer
162
views
“no taos in java lib path” when using TDengine on MacOS
Does anyone use TDengine database on MacOS?
I installed Java and TDengine, and configure the path. However, it still reports the following error:
no taos in java lib path
Do I miss some steps?
0
votes
0
answers
20
views
No such file or directory when creating UDF in TDengine
I created a scalar User-Defined-Function according the document of TDengine.
CREATE FUNCTION bit_and AS "/usr/lib/libbitand.so" OUTPUTTYPE INT;
It reported an error:
No such file or ...
1
vote
1
answer
32
views
null sometimes showed while use TDentine3.0.2.0 with "partition by ** fill(vaelue,0) "
actually,there was no null in my data.
show the correct data
0
votes
1
answer
40
views
how to resolve the problem that TDengine database has no function that converts the date format
how to resolve the problem that TDengine database has no function that converts the date format?
I want to know the my data belong to which year, month, and day.
but not a specific timestamp
0
votes
1
answer
18
views
No valid function in window query when using time window in TDengine
I'm trying to create a stream in TDengine.
The following statement is ok:
Select count(*),first(_ts),last_row(_ts),_value,devicecode from yxzt partiton by devicecode state_window(_value);
However, ...
0
votes
0
answers
9
views
failed to limit the number of results when using group by in TDengine
I want to limit the result of a query in TDengine. My sql statement is as follows:
SELECT last_row(*),tel_device_id FROM geo WHERE account_id_cp IN (...)
GROUP BY tel_device_id LIMIT 2000
However, ...
0
votes
1
answer
33
views
Tdengine 3.x, parameter buffer and vnode settings are unreasonable, how to deal with them?
Can I use taosdump to back up the data, create a new database, and import the data into the new database?
The expected parameters can be adjusted. If not, is there a suitable solution?
Version 3.0.1.8
...
0
votes
1
answer
30
views
fail to delete data from TDengine
I want to delete some data from a table.
First, I executed the following sql:
select count(1) from dclm_device.device_int where identifier = "water_level";
I can see "Query OK, 1 rows ...
0
votes
1
answer
39
views
Data base not specified in TDengine database 2.6.0.24
The version is 2.6.0.24. An error message is displayed if the database name is not specified when the TDengine GUI tool is connected
In the 2.6.0.6 I don't need to specify database name in SQL.