Search Results
https://dev.mysql.com/doc/mysql-shell/9.4/en/innodb-clusterset-router-setroutingoption.html
The setRoutingOption method enables you to change a routing option globally or for individual routers. The routing options are as follows: "target_cluster", "primary" | "clusterName" Available for ClusterSet only. "primary": With this setting, ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/mysql-shell-extension-objects-examples.html
Example 11.1 Creating and Registering Extension Objects - Python This example creates a function hello_world() which is made available through the user-defined MySQL Shell global object demo. The code creates a new extension object and adds the ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/mysql-shell-reporting-create-registering.html
To register your user-defined report with MySQL Shell, call the shell.registerReport() method in JavaScript or shell.register_report() in Python. The syntax for the method is as follows: shell.registerReport(name, type, report[, description]) ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/mysql-shell-utilities-debug-highload-diagnostics.html
About the Utility Requirements and Restrictions Running the Utility Options for Collecting High Load Diagnostics About the Utility util.debug.collectHighLoadDiagnostics() runs multiple iterations of diagnostic reporting on your MySQL server, ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/reboot-outage.html
If your cluster experiences a complete outage you can reconfigure it using dba.rebootClusterFromCompleteOutage(). This operation enables you to connect to one of the cluster's MySQL instances and use its metadata to recover the cluster. A complete ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/replicaset-rescanning.html
This section describes how to check a ReplicaSet for consistency using replicaSet.rescan(). replicaSet.rescan() operation does the following: Ensures the replication accounts of each member are stored in the metadata. Note replicaSet.status() also ...
https://dev.mysql.com/doc/mysql-ai/9.4/en/mys-ai-aml-prepare-data-split.html
You can automatically create training and testing datasets with the TRAIN_TEST_SPLIT routine. Overview The TRAIN_TEST_SPLIT routine takes your datasets and prepares new tables for training and testing machine learning models. Two new tables in the ...
https://dev.mysql.com/doc/mysql-ai/9.4/en/mys-aiaml-error-messages.html
Each error message includes an error number, SQLSTATE value, and message string, as described in Error Message Sources and Elements. Error number: ML001016; SQLSTATE: HY000 Message: Only classification, regression, and forecasting tasks are ...
https://dev.mysql.com/doc/mysql-ai/9.4/en/mys-mysqlai-ml-rag.html
The ML_RAG routine performs retrieval-augmented generation (RAG) by: Taking a natural-language query. This routine aims to provide detailed, accurate, and contextually relevant answers by augmenting a generative model with information retrieved ...
https://dev.mysql.com/doc/mysql-ai/9.4/en/mys-mysqlai-ml-score.html
ML_SCORE scores a model by generating predictions using the feature columns in a labeled dataset as input and comparing the predictions to ground truth values in the target column of the labeled dataset. The dataset used with ML_SCORE should have ...