Linux 硬链接与软链接(zt)
首先要弄清楚,在Linux系统中,内核为每一个新创建的文件分配一个Inode(索引结点),每个文件都有一个惟一的inode号。文件属性保存在索引结点里,在访问文件时,索引结点被复制到内存在,从而实现文件的快速访问。 链接是一种在共享文件和访问它的用户的若干目录项之间建立联系的一种方法。Linux中包括两种链接:硬链接(Hard Link)和软链接(Soft Link),软链接又称为符号链接(Symbolic link)。 [@more@]一、硬链接 硬链接说白了是一个指针,指向文件索引节点,系统并不为它重新分配inode。可以用:ln命令来建立硬链接。语法: ln [options] e
ORACLE常见问题(zt)
1. Oracle安裝完成后的初始口令? internal/oracle [@more@] sys/change_on_install system/manager scott/tiger sysman/oem_temp2. ORACLE9IAS WEB CACHE的初始默认用户和密码?administrator/administrator3. oracle 8.0.5怎么创建数据库?用orainst。如果有motif界面,可以用orainst /m4. oracle 8.1.7怎么创建数据库?dbassist5. oracle 9i 怎么创建数据库?dbca6. oracle中的裸设备指的是什么?裸设备就是绕过文件系统直接访问的储存空间7. oracle如何区分 64-bit/32bit 版本???$ sqlplus '/ AS SYSDBA' SQL*Plus: Releas
RAC Specific Processes (zt)
The following are the additional processes spawned for supporting the multi-instance coordination: [@more@]LMON - The Global Enqueue Service Monitor (LMON) monitors the entire cluster to manage the global enqueues and the resources. LMON manages instance and process failures and the associated recovery for the Global Cache Service (GCS) and Global Enqueue Service (GES). In particular, LMON handles the part of recovery associated with global resources. LMON-provided services are also known as cl
Linux Memory Management or 'Why is there no free RAM?' (zt)
Sections 1. Overview of memory management2. The mysterious 880 MB limit on x863. The difference among VIRT, RES, and SHR in top output4. The difference between buffers and cache5. Swappiness (2.6 kernels) [@more@]1. Overview of memory management Traditional Unix tools like 'top' often report a surprisingly small amount of free memory after a system has been running for a while. For instance, after about 3 hours of uptime, the machine I'm writing this on reports under 60 MB of free memory, even
db_files对于oracle使用内存的影响
db_files参数限制了数据库数据文件总的个数,datafiles数目达到db_files指定后数据库不能添加新的数据文件,如果需要修改要重新重启数据库所以这个参数都会有一定的预留,但是如果预先设置太大的话会影响oracle内存的使用下面采取极端的 200 vs 20000 来做一个简单的比较 [@more@]首先我们来看其对SGA的影响db_files=200SQL> show sgaTotal System Global Area 555559728 bytesFixed Size 731952 bytesVariable Size 385875968 bytesDatabase Buffers 167772160 bytesRedo Buffers
Oracle10g 50M的online redo 归档为什么都小于50M ?
Subject: Archive logs are created with smaller, uneven size than the original redo logs. Why? Doc ID: Note:388627.1 Type: HOWTO Last Revision Date: 02-JUN-2007 Status: MODERATED In this Document Goal Solution References[@more@]http://www.itpub.net/viewthread.php?tid=921121&extra=&highlight=%2Btolywang&page=2--------------------------------------------------------------------------------This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) Rap
老司机总结的21条即学即用经验
1:堵车或等灯的时候别跟的太近,除非有人想加塞,至少要留出可以一把掰出去的距离,以防前车故障,自己也被加在中间。这是一个老司机告诉我的,当年他在3环就这样陪着前车呆了半个小时。 2:排队时,为了防止别人加塞,在加塞来车一侧,多留半个车身。比如你在左转道排队,经常有人从直行道过来加塞,你尽量用右轮压着左转道的右边线开,给自己向左迂回留出余地,再跟紧前车,加塞的很难得逞。 [@more@] 3:正常行驶时,前车突然并线给你让路,绝对没好事,咱们现在的司机还没这个觉悟,千万别给油超车,最好马上松油预备刹车,
详细图解帮您了解交通事故责任认定(图文分析)
http://q.sohu.com/forum/19/topic/1262654[@more@].
开车不被警察扣分的秘诀 (zt)
1、看清标志标线 新司机对交通 标志、标线不太熟悉,路上的经验又少,所以容易违反交通规则。新司机上路精神不要过分集中在对汽车的操作上,眼睛不要死盯着前方,留一点余光给周围的环境。这样,既能看清楚交通标志,也能看到周围的自行车和行人。行车中注意预防,在避免违章的同时也杜绝了一些可能发生的交通事故。 2、画好行车地图[@more@] 出门之前先考虑一下自己今天要去的地方怎么走,在脑子里画一张基本的行车路线。想好应该走哪条路,从哪个出口出去,哪儿是单行,哪儿禁左(右),哪儿限时等等。这样走在路上您就可以提前
贴膜注意20点
外行人在看技术人员贴隔热纸时,都以为非常简单,只要拆开纸,喷一些水,贴上去割几刀,水赶出来就完成了,其实,隔热纸技术的深奥是很少人会去详细研究的,本人此后将针对技术的研究推广给隔热纸业者,以提升此行业全国性的技术,对于以下所述说您不予认同或有更好方法处理时请来电指教。 沙粒来源: 1、水。有70%以上的施工人员直接使用自来水,未经过滤或沉淀这是不正确的,因为自来水管路里有许多杂质、或沙粒,有时更换水管管路时均会影响水质,因此,贴纸时所用的水一定要经过过滤或沉淀。[@more@] 2、灰尘。许多贴隔热
SQL调优公式T=S/V (zt)
http://www.itpub.net/viewthread.php?tid=931723&extra=&page=2 S指sql所需访问的资源总量,V指sql单位时间所能访问的资源量,T自然就是SQL执行所需时间了这个公式很简单,调优的目标是减少T,T=S/V,那么我们要调的对象自然就要放到这里的S和V上,调优的方法就是围绕减少S和增大V增大V(单位时间所能访问的资源量),在硬件设备不变的情况下所能做的只有充分利用现有资源,如:通过调整SGA充分利用物理MEMORY,通过并行处理充分利用CPU,通过调整IO分布充分利用硬盘处理能力,还有。。。。升级设备?[@more@]减少S(sql所需访
RMAN备份数据到NFS提示ORA-27054
今天在备份数据到NFS目录时,提示ORA-27054在备份中发现以下错误:Starting backup at 30-AUG-07current log archivedusing channel ORA_DISK_1channel ORA_DISK_1: starting archive log backupsetchannel ORA_DISK_1: specifying archive log(s) in backup setinput archive log thread=1 sequence=43 recid=46 stamp=631975231input archive log thread=1 sequence=44 recid=45 stamp=631975223channel ORA_DISK_1: starting piece 1 at 30-AUG-07 [@more@]RMAN-00571: ===========================================================RMA
Oracle 10g Automatic Undo Retention Tuning (zt)
Oracle 10g Automatic Undo Retention Tuning作者: Fenng | 可以转载, 转载时务必以超链接形式标明文章原始出处和作者信息及版权声明网址: http://www.dbanotes.net/database/oracle_10g_automatic_undo_retention_tuning.html Undo_retention Oracle 9i 开始出现新的初始化参数.Oracle 9i 的 Undo 管理特性使得 Ora-1555 错误大大减少, 但是 Undo_retention 的设置仍然会个别的时候出现问题. [@more@]http://www.dbanotes.net/database/oracle_10g_automatic_undo_retention_tuning.html Oracle 10g 有自动Automatic Undo
Oracle9.2.0.4 RAC 升级到Oracle9.2.0.7 ,LMON: terminating instance due to error 29702
.[@more@]http://www.itpub.net/viewthread.php?tid=930640&page=1&extra= Bug 4390716 Linux: "CMCLI WARNING" messages after applying 9.2.0.6 / 7 This note gives a brief overview of bug 4390716. Affects:Product (Component)Oracle Server (Rdbms)Range of versions believed to be affectedVersions >= 9.2.0.6 Versions confirmed as being affected9.2.0.6 9.2.0.7 Platforms affectedLinux 32bit It is believed to be a regression in default behaviour thus: Regression introduced in 9.2.0.6
LMON: terminating instance due to error 29702 -- ORA-29702
问题2:在1126_14点35-----alert_eamdb1.log中出现下列错误信息Mon Nov 26 14:43:33 2007Errors in file /opt/app/oracle/admin/eamdb/bdump/eamdb1_lmon_1039.trc:ORA-29702: error occurred in Cluster Group Service operationLMON: terminating instance due to error 29702Mon Nov 26 14:43:33 2007Errors in file /opt/app/oracle/admin/eamdb/bdump/eamdb1_lms0_1043.trc:ORA-29702: error occurred in Cluster Group Service operationMon Nov 26 14:43:33 2007Errors in file /opt/app/oracle/admin/eamdb/bdump/eamdb1_lms2_105
执行 orainstRoot.sh 与 root.sh 作用
[root@gnd-dataguard oraInventory]# sh orainstRoot.sh Changing permissions of /u01/product/oraInventory to 770.Changing groupname of /u01/product/oraInventory to dba.The execution of the script is complete 修改 /u01/product/oraInventory 目录权限。 [@more@]root.sh 动作可以参考以下: [root@gnd-dataguard oracle]# sh root.shRunning Oracle10 root.sh script...The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/product/oracle Enter the full pathname of t
16个生活习惯偷偷变漂亮
神经心理医生威克斯说,一个人是否得漂亮,约有25%与天生的基因有关,75%则和他(她)们的行为有关。 1、 经常喝水。差不多一天要喝2升水。每天要洗澡,护理皮肤。[@more@] 2、保持性欢愉。英国的一项学术调查报告指出,男女之间的性欢愉有助于青春常在。有美满性生活的夫妻,外表看上去要比同龄人年轻10岁。皇家爱丁堡医院的神经心理医生威克斯说,性的欢愉是维持青春的一个重要因素,它让人心境愉快,并可以分泌出有益于保持健康的化学物质。 3、 保证睡眠。生活规律,能让人马上恢复精神和体力。如果一晚上没睡觉,你的皮肤就
Installing Oracle Database 10g Release 2 on Linux x86
(RHEL4 and SLES9 covered)[@more@]ContentsOverviewPart I: Installing Linux RHEL4 SLES9Part II: Configuring Linux for Oracle Verify System Requirements Create Directories Create the Oracle Groups and User Account Configure Linux Kernel Parameters Set Shell Limits for the oracle UserPart III: Installing Oracle Install the SoftwarePart IV: Configuring Storage Filesystems Automatic Storage ManagementConclusionAppendixUpdated December 2007Overview The guide provides a wal
/etc/oratab 文件用处
注释部分已经说的比较清楚 ,主要是可以设置为自动启动实例,当linux os启动的时候 。 还有DBCA的时候升级,删除数据库时找到相关实例 。 epd2db</etc>$cat oratab ## This file is used by ORACLE utilities. It is created by root.sh# and updated by the Database Configuration Assistant when creating# a database. [@more@]# A colon, ':', is used as the field terminator. A new line terminates# the entry. Lines beginning with a pound sign, '#', are comments.## Entries are of the form:# $ORACLE_SID:$OR
Oracle10g 安装
DELL PE2950 8G Mem Red Hat Linux ?セ: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) Kernel 2.6.9-42.ELsmp on an x86_64 [@more@]Red Hat Enterprise Linux 4.0 U4: ゴ? binutils-2.15.92.0.2-10.EL4compat-db-4.1.25-9control-center-2.8.0-12gcc-3.4.3-9.EL4gcc-c++-3.4.3-9.EL4glibc-2.3.4-2glibc-common-2.3.4-2gnome-libs-1.4.1.2.90-44.1libstdc++-3.4.3-9.EL4libstdc++-devel-3.4.3-9.EL4make-3.80-5pdksh-5.2.14-30sysstat-5.0.5-1xscreensaver-4.18-5.rhel4.2libaio-devel-0.3.105-2.x86_64.rpm libaio-0.3.1