cancel
Showing results for 
Search instead for 
Did you mean: 

Data size Calculation

vbetharasi
New Contributor

Hi,

I got one requirement which is related to data size. If data from source system is more than 1GB then I have to zip it else data should go in format of CSV and drop it at target location. So, Can any one help me if there is anyway to find the size of data in SNAPLOGIC ?

Thanks,
Venu

4 REPLIES 4

anubhav_nautiya
Contributor

what is your data source?

Data source’s are DB2 and PostgreSQL but it should be done via Snaplogic

anubhav_nautiya
Contributor

I am not sure if there is a way direct to calculate data set size, cant you just route based on numbers of records fetched from source, say if count is more than 1 Million, route it to write a zip file else a csv.

tstack
Former Employee

Are you putting the CSV file into the zip?