用户反映修改密码后程序明显变慢,查看AWR发现:经查阅资料,在10.2.0.5及以后版本,使用错误密码登陆尝试会导致很高的Library Cache Locks或row cache lock,可以设置Oracle的隐含参数28401来避免:alter system set event='28401 ...
分类:
数据库 时间:
2015-12-13 15:33:46
阅读次数:
340
unexpected error ConnectionError object has no attributeCentOS yum cache/etc/yum.confkeepcache = 1
分类:
其他好文 时间:
2015-12-12 21:49:23
阅读次数:
179
常用的APT命令参数: apt-cache search package 搜索包 apt-cache show package 获取包的相关信息,如说明、大小、版本等 sudo apt-get install package 安装包 sudo apt-get install package ...
分类:
其他好文 时间:
2015-12-12 21:47:25
阅读次数:
157
package com.ncuhome.usconnection.cache;import android.annotation.TargetApi;import android.content.Context;import android.content.SharedPreferences;imp...
分类:
移动开发 时间:
2015-12-12 18:46:00
阅读次数:
288
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
系统相关 时间:
2015-12-12 12:28:53
阅读次数:
171
#encoding=utf-8
#从文件中读取某一行linecache.checkcache可以刷新cache,linecache可以缓存某一行的信息
importlinecache
line=linecache.getline(r‘1.txt‘,2)
printline#如果文件比较大使用下面defgetline(thefilepath,line_num):
ifline_num<1:return‘‘
forcurrline,line..
分类:
编程语言 时间:
2015-12-11 18:55:57
阅读次数:
196
1.不要期望编译器对你做任何优化2.Cache系统代表性的包括三种级别:(1)第一级cache(L1)位于CPU芯片上并且运算于CPU工作频率;(2)第二级cache(L2)也位于芯片上比L1速度慢而体积大;(3)第三级cache(L3)位于CPU外部,是速度最慢、体积最大的存储器。3.当运算器需要...
分类:
系统相关 时间:
2015-12-10 12:59:08
阅读次数:
276
The Glance Image CacheThe Glance API server may be configured to have an optional local image cache. A local image cache stores a copy of image files,...
分类:
系统相关 时间:
2015-12-09 23:03:05
阅读次数:
268
页面缓存1前言页面缓存一直是前端开发中我们关注比较少的,研究了一些资料,总结了一些心得,记录下来共同探讨。合理的页面缓存可以让页面执行的效率提高很多(在第一次访问或者CTRL+F5强制刷新的时候,缓存的效果是体现不出来的),而不是我们一味的设置cache-control为no-cache。当然了如果...
分类:
其他好文 时间:
2015-12-09 17:25:20
阅读次数:
179
:(_STORAGE_WRITE_ERROR_:./Application/Runtime/Cache/Home/50c9f5d2ef37c2cf131d5cf1381d3a4b.php错误位置FILE: /export/app/admin.xxx.com.cn/ThinkPHP/Library/T...
分类:
Web程序 时间:
2015-12-09 13:36:38
阅读次数:
340