Linux下 ln -s 软链接用法
NAME ln - make links between filesSYNOPSIS ln [OPTION]... TARGET [LINK_NAME] ln [OPTION]... TARGET... DIRECTORY ln [OPTION]... --target-directory=DIRECTORY TARGET... 软链接用法是: ln -s 实际存在的目标目录 链接名称(不存在的) 。 [root@DMDIDATAGUARD /]# cd /data[root@DMDIDATAGUARD data]# lslost+found ocfs_arch1 ocfs_ctrl_redo ocfs_data ocfs_data2 ocfs_index oracle.dba[root@DMDIDATAGUARD data]# ls -alhtotal 48Kdrwxr-xr-x 9 oracle dba
Automating histogram sampling with dbms_stats (zt)
SQL> exec dbms_stats.GATHER_SCHEMA_STATS(ownname=>'sxitismg',method_opt=>'for all indexed columns',options=>'GATHER',cascade=>TRUE);SQL>execute dbms_stats.gather_schema_stats(ownname => ‘scott’,estimate_percent => 20,method_opt=>‘for all indexed columns size 10’, cascade=>true); [@more@]exec dbms_stats.GATHER_SCHEMA_STATS(ownname=>'scott',method_opt=>'for all indexed columns',options=>'GATHER',cascade=>TRUE);GATHER_SCHEMA_STATS 下有个参数: cascade
Not enough space to build proposed filesystem while setting up superblock
[root@DMDIDATAGUARD root]# mkfs /dev/sda4 mke2fs 1.32 (09-Nov-2002)/dev/sda4: Not enough space to build proposed filesystem while setting up superblock[root@DMDIDATAGUARD root]# [root@DMDIDATAGUARD root]# [@more@][root@DMDIDATAGUARD root]# [root@DMDIDATAGUARD root]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda7 2.0G 310M 1.6G 17% //dev/sda3 251M 19M 219M 8% /bootnone 1004M 0 1004M 0% /dev/shm/dev/sda6 4.0G
什么汤晚上千万不能喝
.[@more@]有人说光喝汤不吃饭能减肥,所以很多人选择在下班以后的晚餐,用一锅热气腾腾的美味鲜汤犒劳自己,但专家建议晚餐应适当吃得清淡些,有些汤不宜晚上喝。 专家提醒,肉类煲汤较油、热量高,不适合晚上食用,选在上午或中午吃比较好。 排骨汤抗衰老 骨汤中的特殊养分以及胶原蛋白可促进微循环,50—59岁这10年是人体微循环由盛到衰的转折期,骨骼老化速度快,多喝骨头汤可收到药物难以达到的功效。 鱼汤防哮喘 鱼汤中含有一种特殊的脂肪酸,它具有抗炎作用,可以治疗肺呼吸道炎症,预防哮喘发作,对
/etc/security/limits.conf 设置----ORACLE安装
为Oracle用户设定Shell的限制一般来说,出于性能上的考虑,还需要需要进行如下的设定,以便改进Oracle用户的有关 nofile(可打开的文件描述符的最大数)和nproc(单个用户可用的最大进程数量) [@more@]# vi /etc/security/limits.conf # 添加如下的行* soft nproc 2047* hard nproc 16384* soft nofile 1024* hard nofile 65536也有一说是:暂时按照上一种oracle soft nproc 2047oracle hard nproc 16384oracle soft
workarea_size_policy 和 sort_area_size (zt)
1,10g里还用SORT_AREA_SIZE 这个参数。[@more@] if ( 数据库版本 >= 10gR1 ) then if (workarea_size_policy=auto) then sort area size 无效 else sort area size 有效 end if 2,并不是所有workarea_size_policy=MANUAL,这个参数都起作用,因为在ORACLE9I里 else -- 数据库版本 < 10gr1 if ( shared server 连接方式 ) then sort area size 有效 else -- dedicated server连接方式 if (workarea_size_policy=auto) then sort area size 无效
面试题目(zt)
一:SQL tuning 类 1:列举几种表连接方式 2:不借助第三方工具,怎样查看sql的执行计划 3:如何使用CBO,CBO与RULE的区别 4:如何定位重要(消耗资源多)的SQL [@more@] 5:如何跟踪某个session的SQL 6:SQL调整最关注的是什么 7:说说你对索引的认识(索引的结构、对dml影响、对查询影响、为什么提高查询性能) 8:使用索引查询一定能提高查询的性能吗?为什么 9:绑定变量是什么?绑定变量有什么优缺点? 10:如何稳定(固定)执行计划 11:和排序相关的内存在8i和9i分别怎样调整,临时表空间的作用是什么 12:
安裝Linux下Oracle一般考虑设置/etc/security/limits.conf 吗 ?
还是一般出现问题才会使用到 /etc/security/limits.conf 设置 。设置oracle对文件的要求:编辑文件:/etc/security/limits.conf 加入以下语句:oracle soft nofile 65536oracle hard nofile 65536...
Oracle10g RAC for Linux配置全过程(zt)
本文是一篇在Redhat Advance Server 3.0上安装和配置Oracle10g RAC的文档,不仅仅是个安装试验,而是一个生产系统的实际布置过程,所以包括RAC安装,本地监听配置,JDBC连接串书写,CRS服务重新安装, VIP地址修改等等,相信比一般的安装教程更有应用上的意思。[@more@]1、安装环境硬件平台:HP 380 PC服务器2台。主机 Hostname IP VIP VIP名称Node1 dbtest1 192.168.100.201 10.96.100.103 db-vip01Node2 dbtest2 192.168.100.203 10.96.100.104 db-vip02操作系统:RedHat Enterprise Linux 3.0 Update 5。磁盘阵列:HP ms1000
Linux 性能分析匯總
性能分析工具CPU性能分析工具:vmstatpssar[@more@]timestracepstreetopMemory性能分析工具:vmstatstracetopipcsipcrmcat /proc/meminfocat /proc/slabinfocat /proc/<pid #>/mapsI/O性能分析工具:vmstatipstatrepquotaquotacheckNetwork性能分析工具:ifconfigetherealtetherealiptrafiwconfignfsstatmrtgntopnetstatcat /proc/sys/netLinux 性能调优工具当通过上述工具及命令,我们发现了应用的性能瓶颈以后,我们可以通过以下工具或者命令来进行性能的调整。CPU性能调优工具:nice / renicsysctlMemory性能调优工具:swaponuli
Step-By-Step Installation of RAC with RAW Datafiles on Windows 2000
PurposeThis document will provide the reader with step-by-step instructions on how to install and configure an Oracle9i Real Application Clusters (RAC) database using RAW Datafiles on a Windows 2000 cluster. Based on Service Request volume, this note will outline the installation of 9i Release 2 for a Windows 2000 cluster. The instructions for NT or 2003 should be similar; however the navigation within the OS may differ (i.e., Disk Management is Disk Administrator in NT). The basic principles
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed
http://www.freelists.org/archives/oracle-l/04-2006/msg00493.html [@more@]Re: 9207 patch on RAC (2 node cluster)From: "Jurijs Velikanovs" <j.velikanovs@xxxxxxxxx> Date: Thu, 13 Apr 2006 13:47:26 +0100 Steve, In addition to –updateNodeList we did in $ORACLE_HOME/oui/oraparam.ini #CLUSTERWARE={"oracle.crs","10.1.0.2.0"} it worked for us Ref Note:270048.1 J. On 4/13/06, Steve Perry <sperry@xxxxxxxxxxx> wrote: > We applied it lastweek
Install the Oracle Cluster Manager 9.2.0.7 Patch
RAC Only: Install the Oracle Cluster Manager 9.2.0.7 Patch Follow the steps in this section to install the Oracle Cluster Manager release 9.2.0.7 patch from a single node of the cluster. [@more@]Note: You must install the Oracle Cluster Manager patch and configure Oracle Cluster Manager before you install the Oracle9i release 2 Database patch set. Only one instance of Oracle Cluster Manager can run per node. If the system has multiple Oracle home directories, then make sure to apply the patch to
ORA-29702: error occurred in Cluster Group Service operation
Linux AS 3.0 + Oracle9.2.0.7 RAC 问题点和下面的描述一摸一样 , 但是metalinK的诊断分析不知道啥意思 ? . DIAGNOSTIC ANALYSIS: -------------------- Tried setting all the kernel paramet...
LMON TERMINIATING WITH ERROR ORA-29702
Bug No.6028803Filed02-MAY-2007Updated12-JUN-2007ProductOracle Server - Enterprise EditionProduct Version 9.2.0.8PlatformLinux x86Platform VersionRHAS 3Database Version9.2.0.8Affects Platforms Port-SpecificSeverity Minimal Loss of ServiceStatusNot a Bug. To FilerBase BugN/AFixed in Product VersionNo Data[@more@]Problem statement:LMON TERMINIATING WITH ERROR ORA-29702 *** 05/02/07 05:40 am *** TAR: ---- . PROBLEM: -------- On 9.2.0.8.0 in Production: Every now and then LMON is terminating the in
[悬赏500pub$] Oracle 9.2.0.7 RAC + Linux AS3.0, ORA-29702导致实例crash
Linux AS3.0 内核版本: 2.4.21-37.ELsmp Oracle 9.2.0.4 升级到Oracle9.2.0.7 , RAC , 两节点。 clusterware是9204软件安装的 。 alter_orcl1.log &n...
ORA-07445 [opidsa()+386] [SIGSEGV] [Address not mapped to object]
Oracle 10.2.0.3 RAC (64bit) , Linux as4.0 (64bit) , 2 nodes . ORA-07445: 發生例外情況 : 基核傾印 [opidsa()+386] [SIGSEGV] [Addre...
ORA-07445: [opidsa()+386] [SIGSEGV] [Address not mapped to object]
ORA-07445: 發生例外情況 : 基核傾印 [opidsa()+386] [SIGSEGV] [Address not mapped to object] [0x000000000][@more@]TIP: Click help for a detailed explanation of this page.BookmarkGo to EndSubject: ORA-7445 (opidsa) Doc ID: Note:435632.1Type: REFERENCE Last Revision Date: 21-DEC-2007Status: PUBLISHED Note: For additional ORA-7445 related information please read Note 211909.1 PURPOSE: This article provides information on one or more bugs that are known to result in the given
9i OEM不能访问10g数据库(非sys用户),报:您必须具有SELECT ANY DICTIONARY权限才能运行此应用程序
9i的OEM访问10g的库会有提示SELECT ANY DICTIONARY,授权也没用, 听说是bug. (虽然一般都是通过10g自己Web em console ) . 测试了一下,使用有dba权限的非sys,system用户不能登入9i oem 访问10g (报错:您必须具有SELECT ANY DICTIONARY权限才能运行此应用程序) , 但是使用9i oem ,用sys用户登入10g数据库倒是可以。 [@more@] 而且登入之后有些操作好像有限制,和9i数据库操作比较 ,有一些不同。而且很多操作都会提示 :您必须具有SELECT ANY DICTIONARY权限才能运行此应用程序 。
Linux AS4.0 64bit, 日志中每一秒生成很多 su(pam_unix)...的东西,如何取消?
ixpub 比较少人回答,hoho , 来这里看看。 Dec 30 23:59:54 gnd-rac01 su(pam_unix)[26443]: session closed for user oracleDec 30 23:59:55 gnd-rac01 su(pam_unix)[26493]: session opened for user oracle ...