一.错误描述ORA-1157, "cannot identify/lock data file
%s - see DBWR trace
file"引起的原因:因为数据文件已经在被使用了从而导致数据库的后台进程不能找到相应的数据文件或者不能锁定相应的数据文件,这样数据库将禁止访问这些数据文件而其他的数...
分类:
其他好文 时间:
2014-05-17 04:42:32
阅读次数:
289
apt-cache madison package-name搜索软件有那些可用版本,
分类:
其他好文 时间:
2014-05-17 01:41:39
阅读次数:
1017
第三章 share pool 调整1、sga 组成部分1)database
buffer2)redolog buffer3)share pool
:共享池,存放最近最常使用的sql和plsql语句及解析计划和数据字典信息---library cache: 存放最近最常使用的sql及plsql 语句....
分类:
其他好文 时间:
2014-05-16 19:08:16
阅读次数:
489
在大并发的场合,当cache失效时,大量并发同时取不到cache,会同一瞬间去访问db并回设cache,可能会给系统带来潜在的超负荷风险。解决方法方法一在load
db之前先add一个mutex key, mutex key add成功之后再去做加载db, 如果add失败则sleep之后重试读取原c...
分类:
其他好文 时间:
2014-05-16 05:51:05
阅读次数:
343
题目: Design and implement a data structure for Least
Recently Used (LRU) cache. It should support the following operations:getandset.
get(key)- Get ...
分类:
其他好文 时间:
2014-05-16 05:42:29
阅读次数:
280
一、pdb使用 pdb 是 python 自带的一个包,为 python
程序提供了一种交互的源代码调试功能,主要特性包括设置断点、单步调试、进入函数调试、查看当前代码、查看栈片段、动态改变变量的值等。
在程序中间插入一段程序(import pdb pdb.set_trace() ),相对于在一般I...
分类:
数据库 时间:
2014-05-14 10:21:29
阅读次数:
594
第四章、 buffer cache 调整1、buffer cache 功能buffer
cache: 用于存放从datafile 里读出的数据块的镜像,并共享这些数据块,采用LRU算法buffer cache
数据块状态:pending:数据块正在使用,状态未决dirty: 被修改过的块,还未写入到...
分类:
其他好文 时间:
2014-05-14 10:08:16
阅读次数:
341
第五章 SGA其他缓存区调整一、redo log buffer1、redo log
的功能1)Sever 进程在buffer cache修改数据块后,Oracle提倡‘先记后写’,对修改的数据块的改变生成log
entries(日志条目),将日志条目按顺序写入log buffer;而对于脏块 先.....
分类:
其他好文 时间:
2014-05-14 09:52:54
阅读次数:
276
using System;using System.IO;using
System.Reflection;using System.Runtime.InteropServices;using
System.Text;namespace Souxuexiao.Cache{public static c...
分类:
数据库 时间:
2014-05-13 22:28:38
阅读次数:
561
一、varnish定义Varnish与一般服务器软件类似,分为master(management)进程和child(worker,主要做cache的工作)进程。master进程读入命令,进行一些初始化,然后fork并监控child进程。child进程分配若干线程进行工作,主要包括一些管理线程和很多woker线程。在网站并发量过..
分类:
其他好文 时间:
2014-05-13 01:22:52
阅读次数:
513