上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: https://blog.csdn.net/chenbingbing111/article/details/80752497 连接存在threadlocal中,保证事务使用的是同一个连接, 释放之前remove,避免内存泄漏 阅读全文
posted @ 2021-03-15 19:49 上台阶 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 问题 和Synchronized的区别 存储在jvm的哪个区域 真的只是当前线程可见吗 会导致内存泄漏么 为什么用Entry数组而不是Entry对象 你学习的开源框架哪些用到了ThreadLocal ThreadLocal里的对象一定是线程安全的吗 笔试题 一、概述 1、官方术语 ThreadLoc 阅读全文
posted @ 2021-03-14 21:02 上台阶 阅读(117) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fengpinglangjingruma/p/14240811.html 一、SQL语句执行流程 MySQL大体上可分为Server层和存储引擎层两部分。 Server层: 连接器:TCP握手后服务器来验证登陆用户身份,A用户创建连接后,管理员对A用户 阅读全文
posted @ 2021-03-13 23:54 上台阶 阅读(220) 评论(1) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fengpinglangjingruma/p/14005759.html sharding-jdbc 提供了4种分片算法: 1、精确分片算法 精确分片算法(PreciseShardingAlgorithm)用于单个字段作为分片键,SQL中有 = 与 I 阅读全文
posted @ 2021-03-13 23:47 上台阶 阅读(351) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u010235716/article/details/86629756 假设有张表叫table_name;其中有四个字段 CREATE TABLE `table_name` ( id bigint(20) not null auto_increment, 阅读全文
posted @ 2021-03-12 22:42 上台阶 阅读(262) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/05da0fc0950e?from=singlemessage 1. 为什么要分库分表(设计高并发系统的时候,数据库层面该如何设计)?用过哪些分库分表中间件?不同的分库分表中间件都有什么优点和缺点?你们具体是如何对数据库如何进行垂直拆分或水平拆分的 阅读全文
posted @ 2021-03-12 15:39 上台阶 阅读(930) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1402553?from=article.detail.1507132 问题概述 使用阿里云rds for MySQL数据库(就是MySQL5.6版本),有个用户上网记录表6个月的数据量近2000万,保留最近一年 阅读全文
posted @ 2021-03-12 09:58 上台阶 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 1、 runAsync 和 supplyAsync方法 CompletableFuture 提供了四个静态方法来创建一个异步操作。 public static CompletableFuture<Void> runAsync(Runnable runnable) public static Comp 阅读全文
posted @ 2021-03-10 08:56 上台阶 阅读(282) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/75673270 阅读全文
posted @ 2021-03-08 16:35 上台阶 阅读(26) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/remember-forget/p/10400496.html 阅读全文
posted @ 2021-03-08 08:31 上台阶 阅读(37) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页