select * from t where id > rand() 优点 缺点 statement 存储量小 数据一致性无法保证 row 存储量大 可以保证数据一致性 mixed 结合了statement和row的优点 当 where 语句的条件是随机数时,从机按照 Binlog 执行,结果可能和主机不一致