MariaDB [m8]> analyze format=json select * from t2 where a<1000; +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ANALYZE | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | { "query_optimization": { "r_total_time_ms": 0.21323599 }, "query_block": { "select_id": 1, "cost": 0.148975355, "r_loops": 1, "r_total_time_ms": 2.343346899, "nested_loop": [ { "table": { "table_name": "t2", "access_type": "range_parallel", "possible_keys": ["i1"], "key": "i1", "key_length": "5", "used_key_parts": ["a"], "loops": 1, "r_loops": 1, "rows": 999, "r_rows": 999, "r_rows_per_worker": [ "492", "507", "0", "0", "0", "0", "0", "0", "0", 0, 0, 0, 0, 0, 0, 0 ], "r_engine_time_per_worker_ms": [ "0.259248353", "0.303202833", "0", "0", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "r_peak_to_average_ratio": 8.625184638, "r_chunks": 3, "r_chunks_resplit": 1, "cost": 0.148975355, "r_engine_stats": { "pages_accessed": 12 }, "filtered": 100, "r_total_filtered": 100, "attached_condition": "t2.a < 1000", "r_filtered": 100, "using_index": true } } ] } } | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.003 sec) MariaDB [m8]> notee