本篇是继续上一篇未完的部分继续说的。
4.InnoDB数据页结构
页是InnoDB存储引擎管理数据库的最小磁盘单位。页类型为B-tree Node的页存放的就是表中行的实际数据。页由以下七个部分组成:File Header(文件头)、Page Header(页头)、Infimun和Supremum Records、User Records(行记录)、Free Space(空闲空间)、P...
分类:
数据库 时间:
2014-12-03 19:24:43
阅读次数:
311
最近观察到有一个service做full GC 比较频繁,决定对它进行调优,先整理一下GC的知识。GC分类GC分为两类:minor GC 和 full GCminor GC:对新生代进行的GC操作。通常采用复制算法,将Eden Space 以及survivor Space 0的不可回收对象复制到su...
分类:
其他好文 时间:
2014-12-03 18:58:16
阅读次数:
147
39bits地址线,4K页时3级页表,64K页时2级页表。 In terms of MMU, it currently supports 39-bit address space for user and kernel (each) with 3-level page table and 4KB pages or 2-level page table and...
分类:
其他好文 时间:
2014-12-03 17:19:47
阅读次数:
190
堆内存设置 原理 JVM堆内存分为2块:Permanent?Space 和 Heap Space。 Permanent 即?持久代(Permanent Generation),主要存放的是Java类定义信息,与垃圾收集器要收集的Java对象关系不大。 Heap = { Old + N...
分类:
编程语言 时间:
2014-12-03 14:34:04
阅读次数:
256
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?/**...
分类:
其他好文 时间:
2014-12-03 13:57:58
阅读次数:
163
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?/** * Definition for singly-linked list. *...
分类:
其他好文 时间:
2014-12-03 13:54:01
阅读次数:
152
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
其他好文 时间:
2014-12-03 13:48:35
阅读次数:
151
JVM区域总体分两类,heap区和非heap区。heap区又分:Eden Space(伊甸园)、Survivor Space(幸存者区)、Tenured Gen(老年代-养老区)。 非heap区又分:Code Cache(代码缓存区)、Perm Gen(永久代)、Jvm Stack(j...
分类:
其他好文 时间:
2014-12-03 12:40:30
阅读次数:
302
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:
其他好文 时间:
2014-12-03 12:12:42
阅读次数:
188
此篇文章转自这里用QT Creater编程,发现很多的不方便,特别没有自动补全这个功能感觉很浪费时间,于是在网上找资料,然后记录,便于日后自己使用,发现 CTRL+SPACE是自动补全的快捷键。但是有时候qt Creater里使用居然没有效果,估计是输入法切换的冲突(CTRL+SPACE是我中英文输...
分类:
其他好文 时间:
2014-12-02 22:12:30
阅读次数:
158