Search Results
                    
                    
            https://dev.mysql.com/doc/refman/8.4/en/optimizing-innodb-queries.html
                                 To tune queries for InnoDB tables, create an appropriate set of indexes on each table. Follow these guidelines for InnoDB indexes: Because each InnoDB table has a primary key (whether you request one or not), specify a set of primary key columns ...
                                            
                https://dev.mysql.com/doc/mysql-monitor/8.0/en/precondition-queries-reference.html
                                Precondition queries determine that specific conditions are true before executing the main query. For example, they are used in the default advisors to check the MySQL server version, because some main queries cannot be executed on older versions of ...The following is an example of a precondition query which checks the version of the MySQL server: <precondition> <![CDATA[SELECT @@version NOT LIKE '5.0%' AND @@version NOT LIKE '5.1%']]> </precondition> If the server version is higher than 5.1, the precondition returns true and the main query is ...
                                            
                https://dev.mysql.com/doc/heatwave/en/mys-hw-lakehouse-export-query-permissions.html
                                Required Privileges to Export Query Results Ask the admin user to grant you the EXPORT_QUERY_RESULTS privilege. Replace user_name and database_name in the following command with the appropriate user name and database name. mysql>GRANT ...
                                            
                https://dev.mysql.com/doc/heatwave/en/mys-hw-lakehouse-export-query-result-outputfile.html
                                 Exported query results are in CSV, Parquet, or JSON (As of MySQL 9.3.1) format. The number of output files and size of individual files depends on the amount of data generated by the query. The names for the output files are auto-generated and ...
                                            
                https://dev.mysql.com/doc/heatwave/en/mys-hw-running-queries.html
                                 When MySQL HeatWave is enabled and the data you want to query is loaded, queries that qualify are automatically offloaded from the DB System to MySQL HeatWave for accelerated processing. Simply run the query from a client, application, or interface ...
                                            
                https://dev.mysql.com/doc/refman/8.4/en/performance-schema-query-profiling.html
                                 The following example demonstrates how to use Performance Schema statement events and stage events to retrieve data comparable to profiling information provided by SHOW PROFILES and SHOW PROFILE statements. The setup_actors table can be used to ...
                                            
                https://dev.mysql.com/doc/workbench/en/wb-performance-query-statistics.html
                                 The Query Stats SQL editor results tab (see the next two figures) uses Performance Schema data to gather key statistics collected for executed query, such as timing, temporary tables, indexes, joins, and more. Figure 7.5 SQL Editor: Query Stats ...
                                            
                https://dev.mysql.com/doc/refman/8.4/en/mysql-gr-memory-monitoring-ps-sample-queries.html
                                 This section describes sample queries using the instruments and events for monitoring Group Replication memory usage. The memory data can be queried for individual events, for example: SELECT * FROM ...row *************************** EVENT_NAME: ...
                                            
                https://dev.mysql.com/doc/refman/8.4/en/optimizing-queries-myisam.html
                                 Some general tips for speeding up queries on MyISAM tables: To help MySQL better optimize queries, use ANALYZE TABLE or run myisamchk --analyze on a table after it has been loaded with data. This is a good way to make queries faster if you have a ...This updates a value for each index part that indicates the average number of rows that have the same ...
                                            
                https://dev.mysql.com/doc/refman/8.4/en/rewriter-query-rewrite-plugin-usage.html
                                 To enable or disable the plugin, enable or disable the rewriter_enabled system variable. By default, the Rewriter plugin is enabled when you install it (see Section 7.6.4.1, “Installing or Uninstalling the Rewriter Query Rewrite Plugin”). To ...