我试图得到以下查询可能需要多长时间的粗略(数量级)估计:
mysql> EXPLAIN SELECT t1.col1, t1_col4 FROM t1 LEFT JOIN t2 ON t1.col1=t2.col1 WHERE col2=0 AND col3 IS NULL;
+----+-------------+--------------------+------+---------------+------------+---------+-----------------------------+---------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------------------+------+---------------+------------+---------+-----------------------------+---------+--------------------------+
| 1 | SIMPLE | t1 | ref | foobar | foobar | 4 | const | 9715129 | |
| 1 | SIMPLE | t2 | ref | col1 | col1 | 4 | db2.t1.col1 | 42318 …Run Code Online (Sandbox Code Playgroud) 我想看看mysql查询[history,log] [select,insert,update,...] [我执行了]!
谁可以帮我这个事 ?
我正在使用MySQL版本:5.5.8 [我从WAMP获得]
我尝试从控制台更改设置,但失败了![重新启动后更改会丢失]
我之前已经问过,但没有正常工作的答案!