# How to clean table public.binary\_data in postgresql

**URL:** <https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908>\
**Category:** Questions\
**Created:** [March 27, 2026, 6:37am UTC](https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908 "2026-03-27T06:37:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ping2025](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@ping2025](https://community.n8n.io/u/ping2025)\
**Post date:** [March 27, 2026, 6:37am UTC](https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908/1 "2026-03-27T06:37:03Z")

</div>

How to clean table public.binary\_data in postgresql

## Describe the problem/error/question

public.binary\_data is to large, I want to clean the table ‘public.binary\_data’, But I don’t know what issues there might be with directly clearing the data in the table public.binary\_data? Or is there a built-in mechanism in N8N that can handle cleaning it after configuring parameters?  
I changed the binary data store config:  
N8N\_AVAILABLE\_BINARY\_DATA\_MODES = filesystem  
N8N\_BINARY\_DATA\_STORAGE\_PATH = /home/node/.n8n/binaryData  
N8N\_DEFAULT\_BINARY\_DATA\_MODE = filesystem

## What is the error message (if any)?

## Please share your workflow

```auto
NULL

```

## Share the output returned by the last node

NULL

## Information on your n8n setup

- **n8n version: 2.12.3**
- **Database (default: SQLite): postgresql**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): k8s**
- **Operating system: centos 7**

---

<div class="post-metadata">

**Author:** ![ping2025](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@ping2025](https://community.n8n.io/u/ping2025)\
**Post date:** [March 27, 2026, 6:59am UTC](https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908/3 "2026-03-27T06:59:00Z")

</div>

Get, Thank you very much!

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [March 27, 2026, 10:50am UTC](https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908/5 "2026-03-27T10:50:54Z")

</div>

I’d just add one thing here  
make sure you have a backup in case you need to restore anything later.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 25, 2026, 10:51am UTC](https://community.n8n.io/t/how-to-clean-table-public-binary-data-in-postgresql/281908/6 "2026-06-25T10:51:23Z")

</div>

Closed on June 25, 2026, 10:51am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
