摘要:
目录 一、开启缓存 1、修改配置文件my.ini 2、命令方式 二、查看是否生效 1、query_cache_type 使用查询缓存的方式 2、have_query_cache 设置查询缓存是否可用 3、query_cache_size查看缓存大小 4、query_cache_limit 控制缓存查 阅读全文
摘要:
原文来自: python time模块和datetime模块详解 一、time模块 time模块中时间表现的格式主要有三种: a、timestamp时间戳,时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量 b、struct_time时间元组,共有九个元素组。 c、format 阅读全文