Why TDengine Failed to insert data since Invalid table ID - tdengine

I did some operations to change a datadir to another one.
stop TDengine
change datadir configuration in taos.cfg
copy datafile from old datadir to the new path.
restart TDengine
I did create this table before but I can't query it now
May I know why? what did I do wrong ?

invalid table id happend cause by the meta data not synchronized between mnode and vnode in TDengine database . it is a very complicated issue .I suggest you to contact with offical to resolve this
but as I know ,in TDengine database 3.0 version in future ,we won't encounter this error again .because the meta data won't save in mnode any more .

Related

What is the cause of this error when data is written into the TDengine database?

What is the cause of this error when data is written into the TDengine database?
TDengine ERROR (80000014): Database not ready
The error message "TDengine ERROR (80000014): Database not ready" indicates that the TDengine database is not yet ready to accept incoming data. This error typically occurs when the database is starting up, initializing data structures, or recovering from a crash.
There could be several reasons for the database not being ready:
1.The TDengine server is still starting up: In this case, the error message should go away once the server has fully started and is ready to accept incoming data.
2.The TDengine server is undergoing maintenance or is in the process of a software upgrade: In this case, you may need to wait until the maintenance or upgrade has completed before trying to write data to the database again.
3.The TDengine server has encountered an error: In this case, you may need to investigate the error log or reach out to the TDengine support team for assistance.
4.The TDengine client is not configured correctly: In this case, you may need to check the client configuration and ensure that the correct hostname, port number, and database name are specified.
If the error persists, it is recommended to check the TDengine log files and consult the TDengine documentation or support team for further guidance.

Drop database in TDengine

I'm using TDengine. I created a database named iot_data.
When I tried to drop this database:
drop database iot_data;
there is an error:
DB error: Out of memory in rpc queue
I cannot tell what the reason is.
I google 'tdengine Out of memory in rpc queue', and get nothing helped.
This is definitely a bug. You can post more details about your testing here or on GitHub TDengine site, so TDengine team or contributors can take a look.

Error when copying CSV files from Windows directory into SQL Server DB by using Apache NiFi

I am trying to copy CSV files from my local directory into a SQL Server database running in my local machine by using Apache NiFi.
I am new to the tool and I have been spending few days googling and building my flow. I managed to connect to source and destination but still I am not able to populate the database since I get the following error: "None of the fields in the record map to the columns defined by the tablename table."
I have been struggling with this for a while and I have not been able to find a solution in the Web. Any hint would be highly appreciated.
Here are further details.
I have built a simple flow using GetFile and PutDatabaseRecord processors 1.
My input is a simple table with 8 columns 2.
My configurations for GetCSV process are here (I have added the input directory and left the rest as default): 3
The configuration for PutDatabaseRecord process is here (I have referred to the CSVReader and DBCPConnectionPool controller services, used the MS SQL 2012+ database type (I have 2019 version), configured INSERT statement type, inserted the schema and correct table name and left everything else as default): 4
The CSVReader configuration looks as shown here (Schema Access Strategy = Use String Fields From Header; CSV Format = Microsoft Excel): 5
And this is the configuration of the DBCPConnectionPool (I have added the correct URL, DB driver class name, driver location, DB user and password): 6
Finally, this is a snapshot of the description of the table I have created in the database to host the content: 7
Many thanks in advance!
The warning "None of the fields in the record map to the columns defined by the tablename table." is also obtained when the processor is not able to find the table and this can happen also when the table name is correctly configured in PutDatabaseRecord but there is some issue with user access rights (which ended up to be the actual cause of my error ...).

Oracle to MSSQL migration error 'The table xxx doesnot exist in target'

I am trying to convert and migrate an Oracle schema to MSSQL server. At the last step, migrating data, I get the error message:
The table [MYDATABASE].[MYSCHEMA].MYTABLE] doesnot exist in target. You must first convert the table then load it into the database.
This error message appears for each table in my schema.
Can someone explain what is happening and what I need to do to get past this?
Are you tries to migrate the data before doing the ‘synchronize with the database’ operation?
If Yes,
This error message generally occurs when the target table doesn’t
exist on SQL server database. After converting schema, you need to
synchronize the table with the database before migrating the data.
To do this you right click on the SQL Server database in Metadata
explorer and click “Synchronize with database” menu.
Note: Table structure will not be created in the SQL server database until you synchronize.

SymmetricDS missing its node_identity

I use symmetricds 3.8.0 to sync data between Oracle 12.1 and Mysql 5.5. Oracle is the Master Server. I use the demo properties to configure with modifying its db connection information.But when I execute command : bin/sym, there show the message below:
This node is configured as a registration server, but it is missing its node_identity. It probably needs configured
It only occur when the master server is Oracle, nothing with Mysql and Mssql, I try it many times but it still show this issue, Do someone meet this problem and help me?
sym_node_identity table has to be populated with one row describing the identity of the root DB on oracle

Resources