问题
i have a table in my db called events
here is some info about the table
106,528 ROWS - InnoDB - utf8mb4_unicode_ci - 35.1 MiB
in this table i store sport match events
today i've noticed something weird , when i run a select query i get something different time to time
this is the query , basically looking for the matches without the result
select * from `events` where `stat_forms` > '0' and ((`result_added` = '0' and `archived` = '0' and `start_time` < '1530901263') or `result_error_flag` != '0') and `events`.`deleted_at` is null limit 20 offset 0
here i ran these 2 query withing a minute
and couple of second later
i keep running the same query and results keeps changing ... not fast every time but every couple of minutes 1 row is added or missing ! im pretty sure something s wrong with the table or server .... just dont know what and where to look
here is the table structure
来源:https://stackoverflow.com/questions/51218099/select-query-returns-different-results-for-the-same-query