digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

摘要: 一致性读,又称为快照读。使用的是MVCC机制读取undo中的已经提交的数据。所以它的读取是非阻塞的。相关文档:http://dev.mysql.com/doc/refman/5.6/en/innodb-consistent-read.htmlA consistent read means that ... 阅读全文
posted @ 2015-11-08 17:38 digdeep 阅读(20950) 评论(5) 推荐(10) 编辑

摘要: MySQL5.5 中引入了 metadata lock. 顾名思义,metadata lock 不是为了保护表中的数据的,而是保护 database objects(元数据)的。包括表结构、schema、存储过程、函数、触发器、mysql的调度事件(events). 要理解 metadata loc... 阅读全文
posted @ 2015-10-19 00:27 digdeep 阅读(3267) 评论(1) 推荐(4) 编辑

摘要: XSS 防御方法总结 阅读全文
posted @ 2015-08-03 11:25 digdeep 阅读(88410) 评论(6) 推荐(7) 编辑

摘要: Spring, MyBatis 多数据源的配置和管理 阅读全文
posted @ 2015-05-18 17:06 digdeep 阅读(122138) 评论(32) 推荐(14) 编辑

摘要: ThreadLocal 源码剖析 阅读全文
posted @ 2015-05-17 23:39 digdeep 阅读(5413) 评论(2) 推荐(2) 编辑

摘要: Java多线程中的死锁问题 阅读全文
posted @ 2015-04-22 17:34 digdeep 阅读(12844) 评论(7) 推荐(3) 编辑

摘要: Java并发基础框架AbstractQueuedSynchronizer初探 ReentrantLock的实现分析 阅读全文
posted @ 2015-04-21 23:37 digdeep 阅读(744) 评论(0) 推荐(0) 编辑

摘要: PriorityQueue和Queue的一种变体的实现 LinkedBlockingQueue PriorityBlockingQueue 阅读全文
posted @ 2015-04-18 22:19 digdeep 阅读(1452) 评论(0) 推荐(0) 编辑

摘要: HttpSession 线程安全问题 阅读全文
posted @ 2015-04-15 16:59 digdeep 阅读(11024) 评论(4) 推荐(2) 编辑

摘要: Java原子变量和原子引用与volatile 阅读全文
posted @ 2015-04-06 11:26 digdeep 阅读(5843) 评论(0) 推荐(0) 编辑

摘要: 使用Java实现单线程模式 阅读全文
posted @ 2015-03-28 15:29 digdeep 阅读(16200) 评论(0) 推荐(1) 编辑

摘要: 从08年毕业工作开始写博客,这些年前前后后在不少网站留下过痕迹。由于各种原因,从这里搬到那里,又从那里搬到这里,折腾来折腾去,无非是想找到个既舒服,有方便,而且灵活,又有人气的地方。现在又来到了博客园,希望是我的最后一次搬家^_^我使用过和还在使用的博客地址:0) itpub: http://blo... 阅读全文
posted @ 2014-12-09 20:46 digdeep 阅读(591) 评论(0) 推荐(0) 编辑

2024年7月11日

摘要: 安装openresty时报错:./configure: error: SSL modules require the OpenSSL library. 解决办法,下载openssl类库:https://www.openssl.org/source/old/1.1.1/openssl-1.1.1w.t 阅读全文
posted @ 2024-07-11 12:26 digdeep 阅读(3) 评论(0) 推荐(0) 编辑

2024年7月7日

摘要: 参考:https://blog.csdn.net/Hong_pro/article/details/131185583 [INFO] maven-surefire-plugin:2.22.2:test (default-test) @ platform [INFO] Downloading from 阅读全文
posted @ 2024-07-07 16:26 digdeep 阅读(6) 评论(0) 推荐(0) 编辑

2024年6月14日

摘要: --with-openssl后面跟的路径是安装ssl时下载的压缩包解压后的路径,不是ssl的安装路径 ./configure --prefix=/opt/local/openresty \ --with-threads \ --with-file-aio \ --with-http_ssl_modu 阅读全文
posted @ 2024-06-14 15:07 digdeep 阅读(3) 评论(0) 推荐(0) 编辑

2024年4月29日

摘要: ping公网域名失败,提示Name or service not known 出现该问题通常有三个原因: /etc/resolv.conf未配置DNS地址或者DNS地址错误导致。 /etc/nsswitch.conf文件删除DNS解析记录导致。 /lib64/libnss_dns.so.2库文件丢失 阅读全文
posted @ 2024-04-29 14:39 digdeep 阅读(21) 评论(0) 推荐(0) 编辑

2024年4月21日

摘要: 内存不足,导致Java 进程被杀掉。 [ 1534.300650] Kernel panic - not syncing: Out of memory: system-wide panic_on_oom is enabled[ 1534.301803] CPU: 5 PID: 2930 Comm: 阅读全文
posted @ 2024-04-21 18:50 digdeep 阅读(41) 评论(0) 推荐(0) 编辑

2024年3月21日

摘要: mysql -uroot -p 连接MySQL8.0时报错: ERROR 2059 (HY000): Plugin caching_sha2_password could not be loaded 原因是,MySQL 8.0默认用的密码加密插件是 caching_sha2_password ,原来 阅读全文
posted @ 2024-03-21 22:31 digdeep 阅读(21) 评论(0) 推荐(0) 编辑

2023年12月12日

摘要: 使用 gh-ost 对表在线加索引时,第一次发生了下面的报错(使用gh-ost很长时间了,第一次遇到这个报错): [2023/12/12 11:48:08] [error] binlogstreamer.go:77 close sync with err: ERROR 1236 (HY000): A 阅读全文
posted @ 2023-12-12 11:58 digdeep 阅读(71) 评论(0) 推荐(0) 编辑

2023年10月10日

摘要: 来源: https://plantegg.github.io/2020/07/03/MySQL%20JDBC%20StreamResult%20%E5%92%8C%20net_write_timeout/ MySQL JDBC StreamResult 和 net_write_timeout MyS 阅读全文
posted @ 2023-10-10 10:09 digdeep 阅读(323) 评论(0) 推荐(0) 编辑

摘要: 来源:https://zhuanlan.zhihu.com/p/191395766 问题描述 在 JavaScript 中整数和浮点数都属于 Number 数据类型,所有数字都是以 64 位浮点数形式储存,即便整数也是如此。 所以我们在打印 1.00 这样的浮点数的结果是 1 而非 1.00 。在一 阅读全文
posted @ 2023-10-10 10:06 digdeep 阅读(193) 评论(0) 推荐(0) 编辑

2022年9月5日

摘要: mysql从库复制报错: Last_IO_Errno: 1236Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'event read from binlog did not pas 阅读全文
posted @ 2022-09-05 11:19 digdeep 阅读(306) 评论(0) 推荐(0) 编辑

不懂数据库和Web安全的架构师不是一个好的程序员。