摘要: 背景: 设置了一个用户表 talent 列有学历ID、学历、姓名,请问我的学历ID是设置 int not null default 0 合适呢还是 int default null 合适呢? 参考: 《高性能MySQL》 - 尽量避免使用null: a. 可为null值的列使得索引更加复杂,因为可为 阅读全文
posted @ 2021-04-21 23:59 许伟强 阅读(355) 评论(1) 推荐(0)
摘要: $s = microtime(true); echo "a-".sprintf("%.3f",((microtime(true)-$s)*1000)).'ms'.PHP_EOL; 阅读全文
posted @ 2021-04-21 20:05 许伟强 阅读(142) 评论(0) 推荐(0)