Hello. I have the following problem. OpenServer gives the error MySQL server has gone away with the fact that I installed
wait_timeout=288000 max_allowed_packet = 10240M
But even with such huge values, the error did not disappear. The fact is that I work with a table with about 147 million rows.
Tell me how else you can solve this problem. Thank.
Request
SELECT LAT_LA_ID FROM tof_link_la_typ WHERE tof_link_la_typ.LAT_TYP_ID=:type_id
The answer when using EXPLAIN
[id] => 1 [select_type] => SIMPLE [table] => tof_link_la_typ [type] => ALL [possible_keys] => [key] => [key_len] => [ref] => [rows] => 140794627 [Extra] => Using where
The table without primary key This is a lingual table, but I already try to just get the data from it, because thought that the problem is in join