Skip to content

add AnalyticDB MySQL for kv&vector storage.#2558

Closed
freamdx wants to merge 1 commit intoHKUDS:mainfrom
freamdx:dev-adb
Closed

add AnalyticDB MySQL for kv&vector storage.#2558
freamdx wants to merge 1 commit intoHKUDS:mainfrom
freamdx:dev-adb

Conversation

@freamdx
Copy link
Copy Markdown

@freamdx freamdx commented Dec 30, 2025

Description

AnalyticDB MySQL for kv and vector storage.

about AnalyticDB MySQL, please visit
AnalyticDB MySQL official site

Changes Made

  1. add new python file lightrag/kg/adb_mysql_impl.py
  2. modify lightrag/kg/init.py
  3. modify env.sample, requirements_XXX.txt

Additional Notes

For Example:
.. code-block:: python
rag = LightRAG(
working_dir=WORKING_DIR,
llm_model_func=llm_model_func,
embedding_func=EmbeddingFunc(
embedding_dim=1024,
max_token_size=8192,
func=embedding_func,
),
#rerank_model_func=rerank_model_func,
#tiktoken_model_name="gpt-4o-mini",
#graph_storage="NetworkXStorage",
kv_storage="ADBKVStorage",
vector_storage="ADBVectorStorage",
doc_status_storage="ADBDocStatusStorage",
)

@danielaskdd
Copy link
Copy Markdown
Collaborator

Thank you for your interest in LightRAG and for your valuable contribution. As LightRAG is currently undergoing a period of significant architectural evolution, we must be cautious with adding support for new storage engines. Each new implementation introduces substantial overhead in terms of compatibility testing, performance tuning, and data migration maintenance during system upgrades. Therefore, we are not merging PRs for new storage implementations at this time. We appreciate your understanding and support.

@freamdx freamdx closed this Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants