cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Ingestion and processing of large CSV files into InfluxDB

AaronD
10-Marble

Ingestion and processing of large CSV files into InfluxDB

Hello ptc community,

 

I'm currently developing a project which needs to process a lot of data.

Some sensors are directly reporting to a thingworx thing and thus automatically are saved in a stream.

Other sensors can not be connected to thingworx, but write their data to csv files which I can access at the end of the process.

The files will be quite large.

A rather small workpiece generates about 400MB of csv files while larger workpieces could reach 1+GB.

The files contain over 1 million entries.

 

1. The files will be available on a client machine. Do I need to transfer them to the thingworx server or can I read them directly?

 

2. Should I use Javascript or Java (most certainly Java as the performance will be better right?)

 

3. What is the best technique to transfer that much data into the InfluxDB? Direct access? Streams?

 

4. Can I query multiple tables into one time series graph? Do I always need a thing to display entries?

Are custom queries possible to reduce the data and shift the heavy lifting to the influxDB?

 

Thanks for your help.

This project collects all this data to make it possible to certify the workpieces.

 

Greetings from Munich

 

Aaron

4 REPLIES 4
PaiChung
22-Sapphire I
(To:AaronD)

Reading the size and scale of what you have in the csv files, I'm not so sure you want to use the 'main' Thingworx platform to do this processing, the load it would put on the system I think will be enormous.

I would recommend engaging with PTC's services/technical team to understand what might be the best way.

 

I think:

Yes file has to be moved local

ingest the file using a separate server

find a way to write the rows to influx db as efficient as possible

AaronD
10-Marble
(To:PaiChung)

Hy PaiChung,

 

thank you for your expertise.

Can you give me a link/email address to the right team :)?

 

Best regards

 

Aaron

PaiChung
22-Sapphire I
(To:AaronD)

Not sure if through what means you are subscribed to Thingworx.

If you are already a client/partner you should have a contact.

Aside from that I would use the different contact information provided with the different programs that we have available.

Sorry that I'm not able to directly give you the right contact.

AaronD
10-Marble
(To:PaiChung)

Ah no that's ok.

Then I will ask my collegeus.

My company is a thinkworx partner.

Announcements


Top Tags