I have a workflow where I push 600mbs of data in the database as delete and append but every time I run the workflow the consumption goes double while the number of records remains the same. When I overwrite the table then the consumption goes back to 600mbs. Can any one help me with this
Hi @Sshasnk.
It seems that the behavior you're observing in Alteryx Designer is related to how the data is being handled during the workflow execution. When you use the approach of deletion and addition, data duplication may be occurring, causing the database size to increase.
You can double-check what is going on in Alteryx by using the log file, if it is enabled. To enable this, you can edit the User Settings as shown below:
Hi @Sshasnk
You haven't mentioned what db you're using but it sounds like "delete and append" is deleting the records without recovering tablespace. When you write the next batch of records, they expand the size of the file to twice what it was originally. "Overwrite" is performing an operation which does recover the tablespace, so the new database file starts for zero and grows to the previous size when you add the records back.
If overwrite recovers the space and that's what you require, you should probably use that.
Dan