数据库:mysql5.5 表类型:InnoDB 数据量:100W条 第一种情况: 主键采用uuid 32位. 运行查询语句1:SELECT COUNT(id) FROM test_varchar; 运行查询语句2:SELECT * FROM test_varchar WHERE vname='00004629-b052-11e1-96aa-002655b28d7b'; 运行查询语句3:SELECT * FROM test_varchar WHERE id='00004599b05211e196a…
import java.io.Serializable; import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; import org.mvel2.MVEL; /** * Id 模型*/ public class Id implements Serializable { private Long id; public Long getId() { return id; } public voi…