Commit Graph

2106 Commits (e53d2c76f93567eec5d342ccddf7ff9c2bd8fb25)

Author SHA1 Message Date
Rene Cannao 5668c86809 fix: Implement FTS indexing for LLM artifacts and fix reserved keyword issue
3 months ago
Rene Cannao 2250b762a3 feat: Add query_tool_calls table to log MCP tool invocations
3 months ago
Rene Cannao 77643859e3 feat: Add timing columns to stats_mcp_query_tools_counters
3 months ago
Rene Cannao fb66af7c1b feat: Expose MCP catalog database in ProxySQL Admin interface
3 months ago
Rahim Kanji a15be695e0 Add GET/OPTIONS handlers for MCP HTTP transport
3 months ago
Rene Cannao 35b0b224ff refactor: Remove mcp-catalog_path variable and hardcode catalog path
3 months ago
Rene Cannao a816a756d4 feat: Add MCP query tool usage counters to stats schema
3 months ago
Rene Cannao 623675b369 feat: Add schema name resolver and deprecate direct DB tools
3 months ago
Rahim Kanji ddc4e65706 Add plain HTTP support for MCP server and fix SSL/port restart issues
3 months ago
Rene Cannao 1b7335acfe Fix two-phase discovery documentation and scripts
3 months ago
Rene Cannao 6f23d5bcd0 feat: Implement two-phase schema discovery architecture
3 months ago
Rene Cannao 7de3f0c510 feat: Add schema separation to MCP catalog and discovery scope constraint
3 months ago
Rene Cannao a3f0bade4e feat: Convert NL2SQL to generic LLM bridge
3 months ago
Rene Cannao 3fe8a48f70 Fix genai variable handling and add API key masking
3 months ago
Rene Cannao 4018a0ad3b fix: Follow MCP pattern for GenAI variables runtime table population
3 months ago
Rene Cannao 527bfed297 fix: Migrate AI variables to GenAI module for proper architecture
3 months ago
Rene Cannao ae4200dbc0 Enhance AI features with improved validation, memory safety, error handling, and performance monitoring
3 months ago
Rene Cannao 8f38b8a577 feat: Add exponential backoff retry for transient LLM failures
3 months ago
Rene Cannao d0dc36ac0b feat: Add structured logging with timing and request IDs
3 months ago
Rene Cannao 45e592b623 feat: Add structured error messages with context to NL2SQL
3 months ago
Rene Cannao 36b11223b2 feat: Improve SQL validation with multi-factor scoring
3 months ago
Rene Cannao 897d306d2d Refactor: Simplify NL2SQL to use only generic providers
3 months ago
Rene Cannao fec7d64093 feat: Implement NL2SQL vector cache with GenAI embedding generation
3 months ago
Rene Cannao 52a70b0b09 feat: Implement AI-based Anomaly Detection for ProxySQL
3 months ago
Rene Cannao 3f44229e28 feat: Add MCP AI Tool Handler for NL2SQL with test script
3 months ago
Rene Cannao 4f45c25945 docs: Add comprehensive doxygen comments to NL2SQL headers and LLM_Clients
3 months ago
Rene Cannao bc4fff12ce feat: Add NL2SQL query interception in MySQL_Session
3 months ago
Rene Cannao 147a059781 feat: Add NL2SQL converter with hybrid LLM support
3 months ago
Rene Cannao d9346fe64d feat: Add AI features manager foundation
3 months ago
Rahim Kanji ce42c188f5 Improvements
3 months ago
Rahim Kanji a1e10e3055 Add parameterized PID support for pg_cancel_backend/pg_terminate_backend
3 months ago
René Cannaò 313f637cf0
Merge branch 'v3.1-vec' into v3.1-MCP1
3 months ago
René Cannaò b1e37b3387
Merge branch 'v3.0' into v3.0_pgsql-use-ssl-issue-5284
3 months ago
Rene Cannao c86a048d9c Implement MCP multi-endpoint architecture with dedicated tool handlers
3 months ago
Rene Cannao 2e7109d894 Fix lock ordering in flush_mcp_variables___database_to_runtime
3 months ago
Rene Cannao 06aa6d6ef7 Add comprehensive Doxygen documentation for connection pool
3 months ago
Rene Cannao 4eab519848 Implement MySQL connection pool for MySQL_Tool_Handler
3 months ago
Rene Cannao 221ff23991 Add MySQL exploration MCP tools with SQLite catalog
3 months ago
Rene Cannao 81c53896bc Fix MCP module TAP test failures
3 months ago
Rene Cannao 245e61ee86 Make MCP_Threads_Handler a standalone independent class
3 months ago
Rene Cannao 87fff9e046 Add MCP (Model Context Protocol) module skeleton
3 months ago
Rene Cannao db2485be37 Add comprehensive doxygen documentation to GenAI async module
3 months ago
Rene Cannao 8405027124 Integrate GenAI async event handling into main MySQL session loop
3 months ago
Rene Cannao 0ff2e38e22 Implement async GenAI module with socketpair-based non-blocking architecture
3 months ago
Rene Cannao a82f58e22b Refactor GenAI module for autonomous JSON query processing
3 months ago
Rene Cannao cc3e97b7b8 Merge EMBED and RERANK into unified GENAI: query syntax
3 months ago
Rene Cannao 39939f598b Add experimental GenAI RERANK: query support for MySQL
3 months ago
Rene Cannao 253591d262 Add experimental GenAI EMBED: query support for MySQL
3 months ago
René Cannaò e6cbdcad7f
Merge pull request #5276 from sysown/v3.0_fork
3 months ago
Rene Cannao 1da9e384d2 Add poll() fallback for GenAI module when epoll is not available
3 months ago
Rene Cannao 960704066d Implement real GenAI module with embedding and rerank support
3 months ago
Rahim Kanji 556b1023c4 Removed change_user_auth_switch flag
3 months ago
René Cannaò 591e1bca6b
Merge pull request #5277 from sysown/v3.0_5272
3 months ago
Rene Cannao c476f56f97 Add initial GenAI module placeholder
4 months ago
Rene Cannao 8c90bda52a Address gemini-code-assist review comments for SSL keylog documentation
4 months ago
Rene Cannao b39e193f4f Fix critical issues in close_all_non_term_fd() per code review
4 months ago
Rene Cannao fc73ec1c50 Code review improvements: Add enum and refactor SELECT VERSION() handling
4 months ago
Rene Cannao 442635b721 Add comprehensive documentation for SSL/TLS key logging feature
4 months ago
Rene Cannao 366164ab26 Fix #5272: Add mysql-select_version_forwarding variable for SELECT VERSION()
4 months ago
René Cannaò af23187865
Merge pull request #5270 from sysown/v3.0_restapi_improvement
4 months ago
René Cannaò 461f5d52f2
Merge pull request #5266 from sysown/v3.0_mysql_monitor_crash_5256
4 months ago
Wazir Ahmed 0e537ddb3b Fix typo in 'EXCLUDE_TRACKING_VARIABLES' macro
4 months ago
Rahim Kanji 14aef13827 Add method to execute already prepared SQLite3 statements, supporting
4 months ago
Rahim Kanji 01a5b23b22 refactor connection pool put_connection to use mmsd and improve debug handling
4 months ago
Javier Jaramago Fernández 5c8a32a0b0 Merge branch 'v3.0' of github.com:sysown/proxysql into v3.0-handle_unexp_ping
4 months ago
Javier Jaramago Fernández 6fea828e86 Improve logging in unexpected COM_PING packet handling
4 months ago
René Cannaò 88edaac61b
Merge pull request #5258 from sysown/misc251219
4 months ago
René Cannaò 0f7ff1f374
Merge branch 'v3.0' into v3.0_pgsql-query-digest-gen-5253
4 months ago
René Cannaò 2667540fcc
Merge pull request #5237 from sysown/v3.0_pgsql-monitor-sslsupport-5205
4 months ago
Javier Jaramago Fernández d0e88599ee Add special handling for unexpected COM_PING packets
4 months ago
Rene Cannao efe0d4fe61 Add extensive doxygen documentation for vacuum_stats and stats_pgsql_stat_activity
4 months ago
Rahim Kanji 42864e8867 Improved Tokenizer for PostgreSQL
4 months ago
Rene Cannao 2987242d4f Fix cache_empty_result=0 not caching non-empty resultsets (issue #5248)
4 months ago
Rahim Kanji fae283cf7e Add SSL and non-SSL connection OK metrics for PostgreSQL monitor connections
4 months ago
Rene Cannao 6c97d3d244 Add extensive Doxygen documentation for ProxySQL_Config and Read_Global_Variables_from_configfile
4 months ago
Rahim Kanji 895c814c77 Added utility functions to support pgsql query digest testing
4 months ago
Rahim Kanji 285fb1b4e1 Add PostgreSQL dialect support: dollar-quoted strings, identifier quoting, and dialect-specific comment rules
5 months ago
René Cannaò b73160ef5f
Merge pull request #4901 from sysown/v3.0_wait_timeout
5 months ago
Rene Cannao 5a7b22181f Fix metrics collection for wait_timeout counters
5 months ago
René Cannaò 65dbe904f0
Merge pull request #5199 from sysown/v3.0_refactor_monitoring_ping
5 months ago
Rene Cannao dc4694d656 Refactor idle session scanning and improve test precision
5 months ago
Rene Cannao 86cc7cd3da session: Fix wait_timeout member variable declaration and usage
5 months ago
René Cannaò b641c0d627
Merge pull request #5232 from sysown/fix/issue-4855
5 months ago
René Cannaò 3c4e09fec0
Merge pull request #5225 from sysown/v3.0_refactor_prepared_statement_cache_design_5211
5 months ago
Rahim Kanji 1251e4d539 Add Xoshiro128++ pseudo-random number generator to replace rand()
5 months ago
René Cannaò d188715a7d
Merge branch 'v3.0' into fix/issue-4855
5 months ago
Rene Cannao a577491f42 Refactor issue 4855 fix: Use sqlite3_total_changes64 difference approach
5 months ago
Rahim Kanji 1a48aadf5e Code cleanup
5 months ago
Wazir Ahmed 50c60284e6 gtid: Refactor reconnect logic & prevent `events_count` reset
5 months ago
Rahim Kanji c0f99c0e15 Refactor: Improved Prepared-Statement Cache Design (Lock-Free Hot Path) #5211
5 months ago
Rene Cannao 44aa606caa Implement fast forward grace close feature to prevent data loss
5 months ago
Rahim Kanji d84444724a Replaced use of the generic write_generic() helper with direct packet construction for selected PostgreSQL protocol messages to reduce overhead and improve performance.
5 months ago
Rahim Kanji e744c2bbb7 Optimize transaction command parsing to avoid unnecessary tokenization
5 months ago
Rahim Kanji 1c3c42959c Improve ping accuracy
6 months ago
Rahim Kanji 7a3a5c71df Optimize hot path: replace std::string with char[] to avoid heap
6 months ago
Javier Jaramago Fernández 64b16172c7 Change 'COM_STMT_EXECUTE' params length decoding
6 months ago
Javier Jaramago Fernández e35973b226 Add boundary checks in 'MySQL_Protocol::get_binds_from_pkt'
6 months ago
Lisandro Pin 6cb522283d Implement a ignore_min_gtid_annotation global variable for ProxySQL
6 months ago
Rahim Kanji 61ba182465 Introduce inline functions for efficient ASCII whitespace detection and uint32-to-string conversion
6 months ago
Wazir Ahmed 8d1b5b597c Revert "gtid: Refactor reconnect logic & prevent events_count reset"
6 months ago
René Cannaò 5018cb66d9
Merge pull request #5168 from sysown/v3.0-debug_log_pass
6 months ago
René Cannaò c6cbce34b1
Merge pull request #5117 from wazir-ahmed/gtid-reconn
6 months ago
René Cannaò 360646b7d5
Merge pull request #5165 from sysown/crash-sqlite-max-len
6 months ago
Wazir Ahmed 5219d4be93 processlist: Prevent crash due to SQLITE_TOOBIG
6 months ago
René Cannaò 7022833213
Merge pull request #5163 from sysown/v3.0_assert_to_warning
6 months ago
Javier Jaramago Fernández 4304b995a3 Improve debug message with context dump (passwords) during auth handshake
6 months ago
René Cannaò 436bcccc62
Merge pull request #5158 from sysown/v3.0.3-makefiles_cleanup
6 months ago
Miro Stauder d020f577b2 reduce duplication in makefiles, use include for common stuff
6 months ago
René Cannaò 562e98d551
Merge pull request #5130 from wazir-ahmed/stats-schema
6 months ago
Rahim Kanji 91c674495a Few fixes
6 months ago
René Cannaò ccf72b606c
Merge pull request #5134 from wazir-ahmed/mysqldump
6 months ago
René Cannaò 3b4369bba9
Merge pull request #5113 from wazir-ahmed/load-from-config-validation
6 months ago
René Cannaò ecad6f9249
Merge pull request #5160 from sysown/v3.0_disable_pgsql_prometheus_5159
6 months ago
René Cannaò abafaccbc0
Merge pull request #5156 from sysown/v3.0_pgsql_stat_activity_issue_4682
6 months ago
René Cannaò 73c15ba3ef
Merge pull request #5153 from sysown/v3.0_transaction_alias_support_5152
6 months ago
René Cannaò 01862a247a
Merge pull request #5149 from sysown/v3.0_track_search_path_param_5148
6 months ago
René Cannaò 413b0121a1
Merge pull request #5146 from sysown/v3.0_parameter_status_case_sensitive_issue_5145
6 months ago
René Cannaò c5a0a0011f
Merge pull request #5137 from sysown/v3.0_pgsql_query_cancel_terminate_issue_5136
6 months ago
Rahim Kanji cb2062c1d1 Few fixes
6 months ago
Rahim Kanji f88b781905 Removed pending_connect
6 months ago
Keith Brings aaefac0ca4
Merge pull request #5142 from sysown/v3.0_bind_fmt_bug_fix_5140
6 months ago
Rahim Kanji 5bfb6e216c Few fixes
6 months ago
Rahim Kanji 818025a3b3 Separate query cache metrics for MySQL and PostgreSQL
6 months ago
Rahim Kanji 0292b780e9 Fixed typo
6 months ago
Rahim Kanji f3ea179384 Add backend PID/state to stats_pgsql_processlist and create pg_stat_activity-style view
6 months ago
Rahim Kanji 81d4c3ad74 Added get_pg_backend_state
6 months ago
Rahim Kanji 45271572ec Add support for PostgreSQL transaction command aliases and ROLLBACK AND CHAIN
7 months ago
Rahim Kanji 83bec8d477 Refactored remove_quotes function
7 months ago
Rahim Kanji 8f8a8c29e3 Code cleanup: Removed is_select_NOT_for_update from PostgreSQL modules
7 months ago
Rahim Kanji b005c2dd8c Add tracking for PostgreSQL search_path parameter
7 months ago
Rahim Kanji 03b63f6857 Fix ParameterStatus capitalization for DateStyle, TimeZone, and IntervalStyle
7 months ago
Rahim Kanji 9931fbf1d6 Replace 0xFFFFFFFF with PGSQL_PARAM_NULL constant
7 months ago
Rahim Kanji 8060f98c28 Improve Parser
7 months ago
Rahim Kanji 944b0efcaf Fixed extended query message parser
7 months ago
Miro Stauder 5e7ab935ac fix new compiler issue in btree.h
7 months ago
Rahim Kanji 4d91452fc5 Implement backend query cancellation for PostgreSQL #5136
7 months ago
Wazir Ahmed b6d796c9f2 Improve `mysqldump` compatibility
7 months ago
René Cannaò e1b7afe282
Merge pull request #5099 from wazir-ahmed/clock-monotonic-raw
7 months ago
René Cannaò 18b07a0066
Merge pull request #5120 from sysown/v3.0_clang_compilation_fix
7 months ago
René Cannaò 9290a5ceec
Merge pull request #5124 from sysown/v3.0_postgres_query_logging_issue_5123
7 months ago
Rahim Kanji 9b0366a89a Improved PostgreSQL Logger
7 months ago
Wazir Ahmed 80744b4488 Remove `stats` schema name from the query in stats user session
7 months ago
Rahim Kanji a89291c9a9 Added query logging support for PostgreSQL
7 months ago
Rahim Kanji a7df0d3b3c Fixed clang compilation
7 months ago
Rahim Kanji 23a764eaac Preserve implicit transactions with pipeline + FLUSH #5118
7 months ago
Wazir Ahmed 0a70fd515f gtid: Refactor reconnect logic & prevent `events_count` reset
7 months ago
Wazir Ahmed 0a336de048 Add validation for `LOAD * FROM CONFIG`
8 months ago
Rahim Kanji ff50bb4ec1 Ensure PgSQL_Errors_statsvdestructor is invoked on delete #5112
8 months ago
Rahim Kanji 205f970ffa Append NoData for DESCRIBE(Portal) on SET/RESET/DISCARD/DEALLOCATE
8 months ago
Rahim Kanji 031d362aab Add STMT prefix to ASYC DESCRIBE status
8 months ago