Forum Discussion

vbetharasi's avatar
vbetharasi
New Contributor
6 years ago

Data size Calculation

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

    • vbetharasi's avatar
      vbetharasi
      New Contributor

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

  • 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's avatar
    tstack
    Former Employee

    Are you putting the CSV file into the zip?