The mysql grouping query is very slow, and I can't even think about it.

    SELECT
    DB33,
    Stream,
    Coil,
    MAX(Time) AS time,
    `View`
    FROM
    result_video_szy
    GROUP BY
    DB33
   order by NULL

problem description:

   
  1.
  2.query
  3.order by NULL:mysqlsort
  4.       

   
   
   
Mar.03,2021

create an index for db33?


DB33 create an index. About how much data is queried.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3858b-2c115.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3858b-2c115.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?