-
-
Notifications
You must be signed in to change notification settings - Fork 22.2k
Description
Describe the bug
When using Flowise in a Docker environment with a Document Store and a FileLoader, connected to Postgres with pgvector, embeddings from old files remain in the database even after new files are uploaded.
Flowise always appends new embeddings to the documents
table without removing older entries that are no longer needed, causing the table to grow indefinitely. Flowise becomes noticeably slower — both the "Process" step and the "Upsert" step take significantly longer, making the system sluggish over time
To Reproduce
Steps to Reproduce:
-
Run Flowise in a Docker container with a Postgres (pgvector) database connected as Document Store.
-
Create a FileLoader node and upload one or more files.
-
Check the
documents
table in the Postgres database — embeddings are stored as expected. -
Remove the old files from the FileLoader input and upload completely new files.
-
Check the
documents
table again — the old embeddings are still present, and new embeddings have been appended instead of removing outdated ones.
Expected behavior
old embeddings should be deleted from the documents
table, because they are no longer part of the active Document Store
Screenshots


Flow
No response
Use Method
None
Flowise Version
3.0.5
Operating System
Windows
Browser
Chrome
Additional context
No response