Why does the embeddings table still exist in the PostgreSQL database and store vector data? I clearly indicated the dedicated database for vector storage (VECTOR-STORE=qdrant) #10770

Closed
opened 2026-02-21 18:50:57 -05:00 by yindo · 0 comments
Owner

Originally created by @glacierck on GitHub (Mar 13, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

db

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

1.Modify. env.

VECTOR_STORE=qdrant

2.Docker startup.
3.Create a knowledge base and input the first document.
4.Connect to the PostgreSQL database and check if there is any added data in the embeddings table.
5.Check the QDrant vector database to see if vector data is stored.

✔️ Expected Behavior

Vector data will not be inserted into the embeddings table in the PostgreSQL database.

Actual Behavior

Vector data exists in PostgreSQL as well as in the vector database QDrant.
According to statistics, the amount of hard disk data stored in PostgreSQL is 8 times that of QDrant, which seriously consumes hard disk resources and leads to a decrease in database performance.

Originally created by @glacierck on GitHub (Mar 13, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version db ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1.Modify. env. ```. env VECTOR_STORE=qdrant ``` 2.Docker startup. 3.Create a knowledge base and input the first document. 4.Connect to the PostgreSQL database and check if there is any added data in the embeddings table. 5.Check the QDrant vector database to see if vector data is stored. ### ✔️ Expected Behavior Vector data will not be inserted into the embeddings table in the PostgreSQL database. ### ❌ Actual Behavior Vector data exists in PostgreSQL as well as in the vector database QDrant. According to statistics, the amount of hard disk data stored in PostgreSQL is 8 times that of QDrant, which seriously consumes hard disk resources and leads to a decrease in database performance.
yindo added the 👻 feat:rag label 2026-02-21 18:50:57 -05:00
yindo closed this issue 2026-02-21 18:50:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10770