【转】ORACLE CRS日常维护命令
http://space.itpub.net/786749/viewspace-511991这篇文档主要给大家介绍一下ORACLE RAC的crs的一些日常维护的常见命令:1. 手工启动crs # /etc/init.d/init.crs start 手工关闭crs # /etc/init.d/init.crs stop在不同的操作系统,该文件的路径可能不一样(下同,不同的系统,请转换为不同的路径): sun: /etc/init.d/init.crs Linux: /etc/init.d/init.crsHP-UX: /sbin/init.d/init.crsHP Tru64: /sbin/init.d/init.crsIBM AIX: /etc/init.crs默认情况下,系统启动时,crs会自动起来,如果没有起来,则可以使用以
哈弗H6将于2011.08.25上市
看了哈弗H6的图片,感觉这个车外形很不错。最高配置是13w,相当不错了。努力。买辆哈弗H6。[@more@]
[转]PowerHA 简介
PowerHA 简介http://www.ibm.com/developerworks/cn/aix/library/au-powerhaintro/index.html?ca=drs-Power High Availability Tejaswini Kaujalgi, 软件工程师, IBMTejaswini Kaujalgi 是 Bangalore 的 IBM AIX UPT Release 团队的系统软件工程师。她在 IBM 印度软件实验室从事 pSeries 上的 AIX、PowerHA、安全性和 VIOS 组件已经超过 3 年。她曾经帮助许多客户在 pSeries 上配置 LDAP、Kerberos、RBAC、PowerHA 和 AIX。她是经过 IBM 认证的 System p 管理员。Uma Chandolu, 软件工程师, IBMUma M. Chandolu
关于sqlserver2005 数据库日志占用空间过大问题的处理思路
核心就是收缩掉空间占用很大的日志文件。为了达到这个目的, 请依次按照如下的步骤进行:1.发布检查点2.截断事务日志3.收缩事务日志。至于用什么方式完成这3步,除了手工执行之外,应该可以通过数据库维护计划来进行(找个时间来测试一下数据库维护计划)。[@more@]
【转】sqlserver2005 收缩事务日志
收缩事务日志 SQL Server 2005 其他版本 SQL Server 2008 R2 SQL Server 2008 减小事务日志的物理大小需要收缩日志文件。通过删除一个或多个不活动的虚拟日志文件来收缩事务日志,从而减小其物理大小。包含任何活动日
【转】sqlserver2005 事务日志截断
事务日志截断 SQL Server 2005 其他版本 SQL Server 2008 R2 SQL Server 2008 更新日期: 2007 年 9 月 15 日 如果始终不从事务日志中删除日志记录,它最终会占据物理日志文件可用的所有磁
【转】sqlserver2005 检查点和日志的活动部分
检查点和日志的活动部分 SQL Server 2005 其他版本 SQL Server 2008 R2 SQL Server 2008 检查点将脏数据页从当前数据库的缓冲区高速缓存刷新到磁盘上。这最大限度地减少了数据库完整恢复时必须处理的活
sqlplus 中exit 命令的隐式commit
C:>sqlplus scott/aaaaaaSQL*Plus: Release 11.1.0.6.0 - Production on Fri Aug 19 10:27:42 2011Copyright (c) 1982, 2007, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> desc scott.dept Name Null? Type ----------------------------------------- -------- ---------------------------- DEPTNO
hpux 的 bdf 和 df -i命令
版本:hpux 11.31# bdfFilesystem kbytes used avail %used Mounted on/dev/vg00/lvol3 10485760 167728 10237488 2% //dev/vg00/lvol1 5242880 323008 4881520 6% /stand/dev/vg00/lvol8 8912896 4774920 4105728 54% /var/dev/vg00/lvol7 5373952 2948016 2407008 55% /usr/dev/vg00/oracle11g 20971520 7034750 13073407 35% /u02/dev/vg00/lvol4 6160384 1020184 5102024 17% /tmp/dev/vg00/lvol6 8257536 4998072 3234032 61% /opt/dev/vg00/lvol5 8192000
从sqlplus 中spool输出格式为html的信息
oracle环境为:oracle 11.2.0.2 SQL> set pages 1000SQL> set line 200SQL> spool /tmp/info.htmlSQL> set markup html onSQL> select JOB_NAME, SCHEDULE_NAME,START_DATE,REPEAT_INTERVAL from dba_SCHEDULER_JOBS;SQL> set markup html offSQL> spool off[@more@]
sqlserver 中的sp_helpconstraint 和sp_helpindex
sp_helpconstraint tablename sp_helpindex tablename[@more@]
The Bequeath Protocol Adapter [ID 16653.1]
The Bequeath Protocol Adapter [ID 16653.1][@more@]
(1) Introduction to SQL*Net/Net8 on UNIX [ID 16652.1]
(1) Introduction to SQL*Net/Net8 on UNIX [ID 16652.1][@more@]
RAC Connection Redirected To Wrong Host/IP ORA-12545 [ID 364855.1]
RAC Connection Redirected To Wrong Host/IP ORA-12545 [ID 364855.1] 修改时间 16-APR-2010 类型 PROBLEM 状态 PUBLISHED In this Document Symptoms Cause Solution References Applies to: Oracle Net Services - Version: 9.2.0.8.0 to 11.1.0.7.0 - Release: 9.2 to 11.1Information in this document applies to any platform. Checked for relevance on 9-APR-2010. Symptoms When we try to connect to a RAC service nam
RAC的告警日志文件
RAC的告警日志文件:枯荣长老(81637693) 2011-8-16 8:55:11CRS logs are in $ORA_CRS_HOME/log/<hostname>/crsd/CSS logs are in $ORA_CRS_HOME/log/<hostname>/cssd/EVM logs are in $ORA_CRS_HOME/log/<hostname>/evmd $ORA_CRS_HOME/evm/log/Resource specific logs are in $ORA_CRS_HOME/log/<hostname>/racg and the $ORACLE_HOME/log/<hostname>/racgSRVM logs are in $ORA_CRS_HOME/log/<hostname>/client and the $ORACLE_HOME/log/<hostname>/clientCluster Network Communication lo
使用profile来限制资源使用
alter system set RESOURCE_LIMIT=true; --立即生效添加一个oracle profile ,idle time 设置为1分钟新建一个user,赋予connect和resource 权限,此user使用刚刚建立的profile用此user登录sqlplus,不执行任何的命令,放置在那里即可select * from v$session where 条件是此用户,主要查看status列,一开始是inactive,后来是sniped等status状态变为sniped之后,去执行一条sql,就会报提示,SQL> select * from user_tables where 1=2;select * from user_tables where 1=2*第 1 行出现错误:ORA-02396: 超出最大空闲时间, 请重新连接此时
Bug 6083037 - Server side load balancing does not work [ID 6083037.8]
This issue is fixed in10.2.0.4 (Server Patch Set) 11.1.0.7 (Server Patch Set)[@more@]
几个视图
select * from database_properties 能查询默认表空间类型,默认的临时表空间名称等select * from database_compatible_levelselect * from database_export_objects [@more@]
dba_extents 查看 指定datafile是否被extent占用
select * from dba_extentsDROP Datafile And Its Restrictions [ID 781225.1][@more@]k
DROP Datafile And Its Restrictions [ID 781225.1]
DROP Datafile And Its Restrictions [ID 781225.1] 修改时间 22-MAR-2011 类型 HOWTO 状态 PUBLISHED In this Document Goal Solution Applies to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7 - Release: 10.1 to 11.1Information in this document applies to any platform. Goal How to drop a datafile from a tablespace and what are its restrictions ?. Solution From 10g onwards we have a option to