摘要: 查看共享内存打开的文件数[root@db2 ~]# lsof -n | grep /dev/shm | wc -l34693共享内存中总共文件数[root@db2 ~]# ls -l /dev/shm | wc -l495Why is Oracle keeping hundreds of thousands Open File descriptors in /dev/shm while there... 阅读全文
posted @ 2016-12-31 23:37 hao_xiaoyu 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: 一,什么是内存粒度?When a database instance starts up, the amount of memory allocated is determined by the allocations requested in the parameter file (init file or spfile). This memory is allocated in units ... 阅读全文
posted @ 2016-12-31 23:37 hao_xiaoyu 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 一,tmpfs介绍1. tmpfs是一种虚拟内存文件系统,正如这个定义它最大的特点就是它的存储空间在VM里面(什么是VM?后面介绍)2. VM是由linux内核里面的vm子系统管理的东西,现在大多数操作系统都采用了虚拟内存管理机制VM介绍1.linux下面VM(virtual memory)的大小由RM(Real Memory)和swap组成2.RM的大小就是物理内存的大小,而Swap的大小是由你... 阅读全文
posted @ 2016-12-31 21:17 hao_xiaoyu 阅读(10113) 评论(0) 推荐(0) 编辑
摘要: 一,/dev/shm 概念 /dev/shm 是一个tmpfs文件系统,临时文件系统,是基于内存的文件系统,也就是说/dev/shm中的文件是直接写入内存的,而不占用硬盘空间。 在Centos和Redhat下,/dev/shm目录是一个链接,指向/run/shm目录,在Ubuntu系统下tmpfs文件系统对应的是/run/shm目录,可以使用df命令查看),因为 /dev/shm/这个目录... 阅读全文
posted @ 2016-12-31 21:02 hao_xiaoyu 阅读(5268) 评论(0) 推荐(1) 编辑