Commit Graph

1177 Commits (3d298ad72ea80845fbfce239411f4056b00a9dd0)

Author SHA1 Message Date
René Cannaò d03c823805
Merge pull request #3748 from sysown/v2.x-PtrArray_refact
4 years ago
René Cannaò 630124b774 Minor improvement for cache affinity
4 years ago
René Cannaò cb34b82c3a
Merge pull request #3680 from sysown/v2.x-fixes_for_query_diggest_issues
4 years ago
René Cannaò 330feaae8b Changed variables order in PtrSizeArray/PtrArray
4 years ago
René Cannaò e0e149d9b2
Merge pull request #3710 from sysown/v2.x-3690
4 years ago
Javier Jaramago Fernández b9a15947af Added a TODO comment for a future removal of tracked variable 'SQL_CHARACTER_SET_DATABASE' #2021
4 years ago
Javier Jaramago Fernández 8cd505bde6 Added support for 'COM_RESET_CONNECTION' #2021
4 years ago
Javier Jaramago Fernández bcb009fc24 Revert "Merge pull request #3645 from sysown/v2.x-2021"
4 years ago
Javier Jaramago Fernández 88dc295781 Fixed invalid handling of large packets in 'SQLite3_to_MySQL' function #3690
4 years ago
René Cannaò 6485d1549d
Merge pull request #3700 from sysown/v2.x-multiple_port_delay
4 years ago
Jared Jetsel 111117bbc8 Merge branch 'v2.x-3674' of https://github.com/jaredev/proxysql into v2.x-3674
4 years ago
Jared Jetsel 962116f1b6 Fixed typo, memory leak, and documentation.
4 years ago
René Cannaò b59467371a
Merge branch 'v2.x' into v2.x-3674
4 years ago
René Cannaò 33fba7641a Speed up start time with multiple listeners #3699
4 years ago
René Cannaò e892413d1a
Merge branch 'v2.x' into v2.x-2021
4 years ago
René Cannaò 698031eb7a
Merge pull request #3676 from sysown/v2.x-3592
4 years ago
René Cannaò a6edd02a9b Revert "Merge branch 'v2.x' into v2.x-2021"
4 years ago
René Cannaò 3a3931f2d4
Merge branch 'v2.x' into v2.x-2021
4 years ago
René Cannaò 22ed00e2f7
Merge pull request #3652 from sysown/v2.x-3606
4 years ago
René Cannaò 8cea730de0
Merge pull request #3661 from sysown/v2.x-3649
4 years ago
Javier Jaramago Fernández 0426c49b77 Added digit replacement to second stage parsing, also added support for grouping and groups grouping
4 years ago
René Cannaò 79d1d8742c Testing unbalanced weight
4 years ago
Javier Jaramago Fernández c26d1a5034 Added new functions 'mysql_query_digest_and_first_comment_2' and 'mysql_query_digest_and_first_comment_one_it' as part of query digests rework
4 years ago
Jared Jetsel d114dbe3a3 Const strings where appropriate and improved test for statistics
4 years ago
Jared Jetsel 0ef478e597 In debug mode, the handlers for ProxySQL_Statistics are called even if the web interface plugin is not loaded. This way the code can be tested even if the plugin is not loaded. Added new member function ProxySQL_Statistics::knows_variable_name(), which is used to check if a variable_name is in the map. This is useful to do a check before get_variable_id_for_name() in instances where it is undesirable to load or create entries in the lookup table, while keeping direct access to the map private and mutex protected. In ProxySQL_Statistics::get_variable_id_for_name, wrapped the variable_id select code in a lambda so that it could be reused instead of calling sqlite3_last_insert_rowid(), as there were some thread safety concerns which potentially could produce incorrect ids. Changed the insert to use execute() instead of execute_statement() instead, sufficient and simpler. Added error in case the function could not find, load, or generate a new id.
4 years ago
Jared Jetsel 012cf16eaa Made the new member functions public. If these are only accessible internally by this class, or by the web interface plugin, consider making private and friend class to the plugin. As the extent of their usage is not yet known to me, making them public for now. Caution on adding new lookup entries unnecessarily.
4 years ago
Jared Jetsel 1adaf74170 Modified ProxySQL_Statistics to have two new member functions and two new private members. These are used to map the string variable_name to an integer variable_id to improve scalability. See documentation about their usage. Updated the MySQL_Threads_Hander_sets_v2 function to load the variable_name_id_map if it is empty for initial load from the lookup table. The prepared statement binds was changed to use the int64 variable_id retreived from the map.
4 years ago
Jared Jetsel d644f13780 Updated the SQLite history_mysql_status_variables create table statement to use variable_id instead of name for improved scalability. Added an index for the sql_status_variables table. Added lookup table create statement for history_mysql_status_variables_lookup table to refer the variable_id integer key to the variable_name string. Inserted the new table definition and execute code for the create index that were added. As the code has not yet received public release, there is no concern of keeping the previous table definition, and so the version number refers to v2.4.0.
4 years ago
Javier Jaramago Fernández 71a1f64f2d Added new metric 'proxysql_fds_in_use' reporting the current number of file descriptors in use #3592
4 years ago
Javier Jaramago Fernández 6a92cc9238 Added new command 'PROXYSQL_SIMULATOR' with support for simulating connection errors #3649
4 years ago
Javier Jaramago Fernández 4838d75cd3 Added new mysql variable 'mysql-unshun_algorithm' #3649
4 years ago
René Cannaò 4b04332473 Add optional mutex in MySrvC::connect_error()
4 years ago
René Cannaò a752292b9e Added function unshun_server_all_hostgroups()
4 years ago
Javier Jaramago Fernández b0608af7ee Added documentation for 'MySQL_Session::finishQuery' and 'MySQL_Session::RequestEnd' #3606
5 years ago
Javier Jaramago Fernández d00c394782 Added a TODO comment for a future removal of tracked variable 'SQL_CHARACTER_SET_DATABASE' #2021
5 years ago
Javier Jaramago Fernández e76882c2f9 Added support for 'COM_RESET_CONNECTION' #2021
5 years ago
Javier Jaramago Fernández db9b4ad70f
Merge pull request #3617 from sysown/v2.x-client_err_limit
5 years ago
Javier Jaramago Fernández 4f94fd3d0f
Merge pull request #3533 from sysown/v2.x-gr_replication_lag_action
5 years ago
Javier Jaramago Fernández 416a0470a5 Added tables 'stats_mysql_client_host_cache' and 'stats_mysql_client_host_cache_reset' exposing entries in 'client_host_cache'
5 years ago
Javier Jaramago Fernández 6e533cb5d9 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-client_err_limit
5 years ago
René Cannaò b485623d6f Reimplemented the handling of comments in 'USE' statements #3493
5 years ago
René Cannaò cf33522a25 Commenting unused code
5 years ago
René Cannaò 0da250ec8d
Merge pull request #3491 from csoulios/ldap-auth-changes
5 years ago
René Cannaò 08ea308033
Merge pull request #3552 from sysown/v2.x-ssl_no-rsa
5 years ago
René Cannaò dd71fcd81f Shun "soft" and "hard" in group replication lag
5 years ago
Hormoz K 7762dea993 add crl, crlpath, and capath options
5 years ago
René Cannaò 3de13665e8
Merge pull request #3557 from sysown/v2.x-ccov2
5 years ago
René Cannaò 538feddc87 Code cleanup
5 years ago
René Cannaò 78f8821215 More code coverage mostly related to Admin
5 years ago
Javier Jaramago Fernández e2dd0a30cd Initial implementation for 'client_error_limit'
5 years ago