上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要: 在脚本中export,只在当前shell脚本进程和子进程中有效 source的作用中是将export的变量在当前脚本环境生效, 如果是在父脚本中执行source,在子脚本中执行export, 父脚本退出后仍然不存在这个变量 https://rj03hou.github.io/linux%E4%B8% 阅读全文
posted @ 2018-10-16 20:50 funny_coding 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://www.alibabacloud.com/help/zh/doc-detail/44386.htm?spm=a2c63.p38356.b99.57.68075c74FUCHA6 限流 在服务提供端做 降级 在服务调用端做 阅读全文
posted @ 2018-10-11 10:09 funny_coding 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 一些特殊用法的说明文档位置 man top!!! MPT排序,<>排序移动, x 切换高亮显示 b切换 Since this is primarily a service to former top users, these commands do not appear on any help sc 阅读全文
posted @ 2018-10-10 17:01 funny_coding 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Spring Boot配置log手册 https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.logging.custom-log-configuration 配置文件名称使用:log 阅读全文
posted @ 2018-09-28 13:23 funny_coding 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 请求进入和退出时,filter触发session的提取和保存 getAttribute时会查询数据库 setAttribute会保存到数据库 daemond线程定时自动删除过期的session spring session只提供了自动提取和维护session的功能, 基于session的权限校验需要 阅读全文
posted @ 2018-09-27 20:32 funny_coding 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 组合索引和sql中的顺序有关 单列索引和sql中的顺序无关 阅读全文
posted @ 2018-09-26 23:01 funny_coding 阅读(104) 评论(0) 推荐(0) 编辑
摘要: trim()的作用去掉前后的空格, 但是解析excel,出现一个字符串trim之后还是有”空格“ 做了一下实验,原来一些不可见的字符不一定是“空格”, trim()也去不掉, 只能自己写方法了 阅读全文
posted @ 2018-09-26 19:45 funny_coding 阅读(2218) 评论(0) 推荐(0) 编辑
摘要: 单次插入200个用时1150ms, 单个 6ms 主要耗时:网络连接,(数据库日志,这个影响不大) 批量插入200个用时100ms左右,单个2ms 循环插入的1/3时间 阅读全文
posted @ 2018-09-16 18:18 funny_coding 阅读(395) 评论(0) 推荐(0) 编辑
摘要: oracle sequence 推荐每个表使用自己的sequence mysql 使用每个表的autoincreate来当主键 mybatis 操作insert时 主键的生成是在插入之前 还是之后? mysql是在插入之后生成id,通过SELECT LAST_INSERT_ID() , 此语句和当前 阅读全文
posted @ 2018-09-15 22:04 funny_coding 阅读(422) 评论(0) 推荐(0) 编辑
摘要: https://www.jdon.com/idea/jvm-gc.html 场景: https://www.cnblogs.com/yszzu/p/9648579.html 查看大对象到底占用多少内存 GC回收的策略 阅读全文
posted @ 2018-09-14 20:44 funny_coding 阅读(552) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
build beautiful things, share happiness