为了给高并发情况下的mysql进行更好的优化,有必要了解一下mysql查询更新时的锁表机制。一、概述MySQL有三种锁的级别:页级、表级、行级。MyISAM和MEMORY存储引擎采用的是表级锁(table level locking);BDB存储引擎采用的是页面锁(page levellocking ...
分类:
数据库 时间:
2018-04-20 14:36:27
阅读次数:
174
Each row in /proc/$PID/maps describes a region of contiguous virtual memory in a process or thread. Each row has the following fields: address - This ...
分类:
其他好文 时间:
2018-04-20 00:16:57
阅读次数:
192
Rerfences Understanding glibc malloc anatomy-of-a-program-in-memory Linux堆内存管理深入分析(下) 实验平台: x86_64 GNU/Linux Linux version 3.10.0 32 bit linux 虚拟内存布局 ...
分类:
系统相关 时间:
2018-04-20 00:14:08
阅读次数:
684
Time limit2000 ms Memory limit262144 kB Breaking Good is a new video game which a lot of gamers want to have. There is a certain level in the game tha ...
分类:
其他好文 时间:
2018-04-20 00:12:04
阅读次数:
171
Super Mario Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8365 Accepted Submission(s): 3540 Pro ...
分类:
其他好文 时间:
2018-04-19 20:28:18
阅读次数:
186
Memory Ordering Background 很久很久很久以前,CPU忠厚老实,一条一条指令的执行我们给它的程序,规规矩矩的进行计算和内存的存取。 很久很久以前, CPU学会了Out-Of-Order,CPU有了Cache,但一切都工作的很好,就像很久很久很久以前一样,而且工作效率得到了很大 ...
分类:
其他好文 时间:
2018-04-19 01:48:59
阅读次数:
177
1495. One two, One two 2 Time limit: 2.0 second Memory limit: 64 MB A year ago the famous gangster Vito Maretti woke up in the morning and realized th ...
分类:
其他好文 时间:
2018-04-18 23:46:02
阅读次数:
336
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3480 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 999999/400000 K (Java/Others) Little D is re ...
分类:
其他好文 时间:
2018-04-18 23:44:18
阅读次数:
228
畅通工程续 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 65310 Accepted Submission(s): 25254 Problem ...
分类:
其他好文 时间:
2018-04-18 21:19:03
阅读次数:
150
最短路 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 80836 Accepted Submission(s): 34999 Problem D ...
分类:
其他好文 时间:
2018-04-18 21:18:47
阅读次数:
129