2013年5月9日

http troubleshooting 一例

摘要: 客户发来email说在登陆了某个URL后,点击一个链接返回404错误。于是进行以下步骤:向客户要来账号密码和URL登陆该URL点击链接发现404错误根据之前的RUL锁定apache 服务器并找到相应的vhost根据chrome的插件http trace锁定第三步的URL https://devct.psa.com.sg/PWS/appa/good.jsp根据上一步的URL找到一个location 配置如下: <Location /PWSWeb> <IfModule mod_weblogic.c> WebL... 阅读全文

posted @ 2013-05-09 11:14 kramer 阅读(216) 评论(0) 推荐(0) 编辑

2013年4月26日

inode on ext2 ext3 file system

摘要: 本文包含以下内容:什么是inodeinode 的内容inode的大小inode作用及如何修改其信息几个命令1. 什么是inode理解inode,要从文件储存说起。文件储存在硬盘上,硬盘的最小存储单位叫做"扇区"(Sector)。每个扇区储存512字节(相当于0.5KB)。操作系统读取硬盘的时候,不会一个个扇区地读取,这样效率太低,而是一次性连续读取多个扇区,即一次性读取一个"块"(block)。这种由多个扇区组成的"块",是文件存取的最小单位。"块"的大小,最常见的是4KB,即连续八个 sector组成一个 blo 阅读全文

posted @ 2013-04-26 15:12 kramer 阅读(406) 评论(0) 推荐(0) 编辑

learn plan - linux inode ,debug script, exist in , crontab log

摘要: 2013年4月26日14:37:30近期要了解一下以下内容:1. linux inode 2013年4月28日15:44:132. shell script的 debug mode3. oracle exist in4. crontab 的log 阅读 阅读全文

posted @ 2013-04-26 14:40 kramer 阅读(141) 评论(0) 推荐(0) 编辑

2013年4月25日

Reducing Loop Overhead for DML Statements and Queries with Bulk SQL(10gr2)

摘要: PL/SQL运行SQL的机制是把SQL语句,比如DML,SELECT,发送给SQL 引擎。然后SQL引擎把SQL语句的结果返回给PL/SQL。想象一下,下面这样的PL/SQL块。FOR j IN 1..99999999 LOOP VAR1[i]=i; INSERT INTO TEST VALUES(VAR[i]);END LOOP;这个PL/SQL块非常简洁明了,它循环9999999次,每一次循环都把 i 赋值到 VAR1[i]中,然后把这个VAR1[ i ] insert到表TEST中。这么简单的SQL却有着非常严重的性能问题。因为他要循环99999999次,每一次循环PL/SQL引擎都.. 阅读全文

posted @ 2013-04-25 11:33 kramer 阅读(235) 评论(0) 推荐(0) 编辑

2013年4月24日

view optimization (10gr2)

摘要: When talking about view optimization, we need to know about mergeable view and unmergeable view. 10gr2 concept gives very clear definition.The optimizer can merge a view into a referencing query block when the view has one or more base tables, provided the view does not contain:set operators (UNION, 阅读全文

posted @ 2013-04-24 15:29 kramer 阅读(240) 评论(0) 推荐(0) 编辑

知道创宇

摘要: Expand - Collapse知道创宇研发技能表v2.1创建时间:2012/12/1更新时间:2013/4/22by @知道创宇(www.knownsec.com) 余弦(新浪:@余弦)说明本技能表为知道创宇研发工程师必备技能聪明的人会根据每个tip进行自驱动扩展不聪明的,坐等别人手把手的人请绕行,不仅不适合知道创宇,也不适合任何有Geek精神的公司附件标志是我们推荐的附加资源,感谢资源提供者知道创宇研发技能表v2.1离线版打包下载 通用技能公司与个人公司是盈利性组织个人和公司必须双赢工作在认同公司理念且能够给公司创造足够价值的基础上,为个人发展而工作沟通、反馈、责任一个无沟通能力的人,要 阅读全文

posted @ 2013-04-24 11:28 kramer 阅读(812) 评论(0) 推荐(0) 编辑

2013年4月22日

Oracle 11gr2 silent install on Solaris 11

摘要: We will not give details on how to do silent installation step by step. Here we just give some key points where you may hit error.1. oracle support accountYou need to specify your oracle support account and password in the response file. If you dont do this, you will hit error when run silent instal 阅读全文

posted @ 2013-04-22 16:29 kramer 阅读(193) 评论(0) 推荐(0) 编辑

2013年4月19日

主键冲突了,语句是不是还会被写入redo?

摘要: 考虑这种情况insert into t values (8,'eight');insert into t values(9,'nine');insert into t values(10,'ten');insert into t values(11,'ten');insert into t values(12,'ten');如果上面的语句 有一条发生了类似主键错误,那么我们怎么能知道是哪一条呢。答案。。 通过logminer 可以看到。SQL> SELECT TO_CHAR(TIMESTAMP,'YY 阅读全文

posted @ 2013-04-19 15:53 kramer 阅读(313) 评论(0) 推荐(0) 编辑

2013年4月18日

oracle 11gr2 (11.2.0.3.0) install on Solaris 11

摘要: Operating system versionSunOS s11db11g 5.11 11.0 i86pc i386 i86pcThe issue happened during run oracle universal installer.>>> Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /u04/tmp/OraInstall2013-04-18_11-02-02AM. Please wait ...o 阅读全文

posted @ 2013-04-18 18:37 kramer 阅读(1008) 评论(0) 推荐(0) 编辑

2013年4月17日

Setup X11 forwarding on Solaris11 with putty ans x-ming

摘要: Set up x env on solaris111. latch x-ming in local env2. set up putty in local env3. Login to Solaris11 do belowedit /etc/ssh/sshd_config# X11 tunneling optionsX11Forwarding yesX11DisplayOffset 10X11UseLocalhost yesrestart sshdsvcs -a | grep sshsvcadm restart install xclock to test and xauth to enabl 阅读全文

posted @ 2013-04-17 17:12 kramer 阅读(339) 评论(0) 推荐(0) 编辑

导航