# Execution Data Saving Conditions

**URL:** <https://community.n8n.io/t/execution-data-saving-conditions/27561>\
**Category:** Feature Requests\
**Tags:** core\
**Created:** [June 28, 2023, 3:36pm UTC](https://community.n8n.io/t/execution-data-saving-conditions/27561 "2023-06-28T15:36:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samaritan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/samaritan/32/13654_2.png) [@samaritan](https://community.n8n.io/u/samaritan)\
**Post date:** [June 28, 2023, 3:36pm UTC](https://community.n8n.io/t/execution-data-saving-conditions/27561/1 "2023-06-28T15:36:09Z")

</div>

Hi,

### The Idea is:

Although I’ve activated the data pruning, size of execution\_entity rise up to 1 TB. There are some workflows that checks some data with HTTP Requests and decide whether workflow will continue or not. These workflows are triggering every 3-5 minutes in average.

When I analyze execution\_entity table, 30% of data were meaningless for me because of the case that I’ve mentioned.

A recorvery option would be separating workflow as collecting the data and working on the data. Collecter workflow wouldn’t save execution data if it successful but it would be a just taking the easy way out. I imagined a solution that more powerful and flexible.

If I would be able to define a condition in workflow settings for saving successful execution to give ability to do not save execution data if my selected node is the last executed node, it would cover the issue.

## Are you willing to work on this?

I already did it for my environment and I’m planning to build my custom docker image and use it in production. For now, I’m able to select only single node but it will be better to select multiple nodes. There are also some cases need to be handled like what will happen if I deleted the node that I’ve selected in here.

Another solution could be giving this ability to No-Op node as an option in node settings and using the node with this option in a place that we want to do not save the execution data.

In brief, with that tiny option that I made, I will save 30% of my DB cost and have more meaningful and clean execution history.

 ![Screenshot 2023-06-28 at 6.24.58 PM](https://europe1.discourse-cdn.com/n8n/original/3X/2/d/2d8f5499c3125ebef5a913b732882a9d679415f8.png)

---

<div class="post-metadata">

**Author:** ![pemontto](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pemontto/32/2684_2.png) [@pemontto](https://community.n8n.io/u/pemontto)\
**Post date:** [June 28, 2023, 7:01pm UTC](https://community.n8n.io/t/execution-data-saving-conditions/27561/2 "2023-06-28T19:01:07Z")

</div>

Yes very much so!

Similar to existing req:

- [Do we have a "save execution" node?](http://community.n8n.io/t/do-we-have-a-save-execution-node/14884)

---

<div class="post-metadata">

**Author:** ![Valdri](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Valdri](https://community.n8n.io/u/Valdri)\
**Post date:** [September 12, 2023, 7:32pm UTC](https://community.n8n.io/t/execution-data-saving-conditions/27561/3 "2023-09-12T19:32:07Z")

</div>

This is a very cool idea that I hope will be implemented  
I use a lot of schedule-triggered workflows, which most of the time just check if there is something to be executed.
