select distinct SessionID from logdb_new.new_tbl_health我想知道在执行此查询时是否使用了new_tbl_health表的SessionID上的索引。上使用索引或其他东西来查找new_tbl_logrecord的每一行的sessionID。我想减少查询的执行时间。logdb_new.n
我有一张有3000万排的大桌子(每天都在增加)。该表包括一些字段,如id、stationId、sentAt (dateTime)、isApproved (tinyInt)、.我索引了列(stationId,sentAt)。以下是我的疑问: from monitoring_data_info and isApproved = 1
order