Repository navigation
WordPress + ThemisDB integration feasibility study: Hybrid approach recommended over 1:1 SQL replacement - #284
Merged
Conversation
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
…lysis Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Check migration of Wordpress from SQL to AQL
WordPress + ThemisDB integration feasibility study: Hybrid approach recommended over 1:1 SQL replacement
Jan 8, 2026
makr-code
marked this pull request as ready for review
January 8, 2026 12:54
This was referenced May 20, 2026
This was referenced May 20, 2026
Copilot AI
added a commit
that referenced
this pull request
May 20, 2026
…UERY spatial dispatch + inventory header fix Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/51b87fd0-6dac-4bf9-a3d3-bb73eabf8bd9 Co-authored-by: makr-code <[email protected]>
Copilot AI
added a commit
that referenced
this pull request
May 21, 2026
…f and JSON wire protocol handlers Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/5a1d0870-3a86-4c6d-b553-26f1176eaf5c Co-authored-by: makr-code <[email protected]>
makr-code
added a commit
that referenced
this pull request
May 21, 2026
This was referenced May 25, 2026
This was referenced Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Assessed migrating WordPress from MySQL to ThemisDB/AQL to enable LLM-powered frontend. Analyzed three approaches: full SQL replacement, hybrid architecture, and database abstraction layer.
Key Findings
Option A (Full Replace): Requires WordPress core rewrite. 800h initial + 400h/year maintenance. Plugin ecosystem incompatible. Not viable.
Option B (Hybrid): ✅ Recommended. WordPress core stays on MySQL, ThemisDB adds LLM features. 160h initial + 80h/year. Full compatibility. $400/month savings vs external LLM APIs.
Option C (Abstraction Layer): Technically possible but impractical. 1,240-2,280h development, 5-25x performance degradation, 40-60% plugin compatibility.
Deliverables
Documentation (4,300 lines)
Proof-of-Concept Plugin (1,120 lines)
Working WordPress plugin demonstrating hybrid approach:
Critical Blockers for 1:1 Replacement
Example: WordPress taxonomy query with 3 JOINs becomes 4 nested subqueries in AQL, 5-10x performance penalty.
Files
clients/WORDPRESS_THEMISDB_FEASIBILITY_STUDY.md- Main analysisclients/WORDPRESS_OPTION_C_DEEP_DIVE.md- Abstraction layer technical assessmentclients/WORDPRESS_SQL_TO_AQL_EXAMPLES.md- Query translation examplesclients/wordpress-integration-example/- Working plugin with semantic search + RAGclients/WORDPRESS_FINAL_SUMMARY.md- Executive overviewOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.