Replies: 6 comments 2 replies
-
Again, dify eated all my storage. |
Beta Was this translation helpful? Give feedback.
-
me too, keywords seems not necessary in somet scene |
Beta Was this translation helpful? Give feedback.
-
The same issue. Request administrator attention to a serious issue. |
Beta Was this translation helpful? Give feedback.
-
same issue. |
Beta Was this translation helpful? Give feedback.
-
You have identified the issue, but it is not precise enough. In fact, the data for 11G is all recorded on one line. That's right, one grid stores the keyword data object JSON of your entire knowledge base. The system needs to repeatedly serialize and deserialize this 11g JSON. CREATE OR REPLACE FUNCTION "public"."delete_on_insert"()
RETURNS "pg_catalog"."trigger" AS $BODY$
BEGIN
-- 删除新插入的记录
DELETE FROM dataset_keyword_tables WHERE id = NEW.id;
-- 返回NULL,表示触发器已成功处理事件,不需要进一步处理
RETURN NULL;
END;
$BODY$
LANGUAGE plpgsql VOLATILE
COST 100 |
Beta Was this translation helpful? Give feedback.
-
Why this issue still exists? |
Beta Was this translation helpful? Give feedback.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I am using the
create_by_text
API to upload my documents (around 22,000). The documents have been uploaded, but the vectors are still queued for computation (very slow, seems to be calculated one by one rather than in parallel).Last time, I uploaded about 40,000 documents, which resulted in filling up my hard drive space (using over 100GB, while my original files were only around 200MB).
This time, I conducted further observations and found that the
dataset_keyword_tables
table occupies a very high amount of space, which can be said to be largely occupied by this table.I suspect that this table is used to store the keywords corresponding to each document, but I only use vector search. How can I disable keywords? Or is there any way to reduce this table's hard drive usage?
2. Additional context or comments
Related issue: #6269
Beta Was this translation helpful? Give feedback.
All reactions