linux共享内存段研究
无论是在unix或者是linux都有命令查看主机共享内存段的使用情况,以下研究来自linux平台。 一、查看Oracle用户共享内存段使用情况 引用[oracle@capaa ~]$ ipcs ------ Shared Memory Segments ------...
Oracle Character set and National Character Set
##CHARACTER SETspecifies the character set the database uses to store data. You cannot change the database character set after creating the database. The supported character sets and default value of ...
oracle Resource Manager (ORM) 的理解
Oracle Resource Manager是Oracle8i开始提供的数据库组件,目的是可以让Oracle定义数据库资源的利用,通过监控数据库各Users的资源利用情况, 本文档提供了自己对Oracle Resource Manager技术的一些简单理解和实验....
oracle 数据库升级遇到的几个问题
今天做了一个数据库的升级测试,开始以为升级应该比较简单事,但今天还是遇到了几个小问题。 觉得很有必要记录下来,以便以后不在遇到此类问题。升级版本: oracle database 10.2.0.1 ---> 10.2.0.4 ...
关于时间 trunc 函数的使用
关于时间 trunc 函数的使用。 1. trunc 函数简介:The TRUNC (date) function returns date with the time portion of the day truncated to the unit specified by the format model fmt. The value returned is al...
怎样让普通用户也能在 sqlplus 里 set autotrace on
先在sys用户下运行@/ORACLE_HOME/sqlplus/admin/plustrce.sql内容:set echo ondrop role plustrace;create role plustrace;grant select on v_$sesstat to plustrace;grant select on v_$statname to plustrace;gra...
会话设置参数 resumable timeout 说明
总结: 当在会话里打开这个功能后(运行 alter session enable resumable timeout 秒,默认7200).当运行某些sql导致空间不足(表空间用完了)、或已抵达该表/段的 maxextents,或者 该用户使用此表空间的配额已经用完(原...
Oracle数据库的静默状态和挂起状态
Oracle数据库的静默状态和挂起状态1. 挂起状态 : 暂停数据的所有IO操作。 sql>alter system suspend (启动挂起状态)sql>alter system resume (恢复正常状态)查看数据的状态 : v$instace.da...
怎样修改数据名
如何修改数据库名(db_name)及实例名(Instance_name or Service_name) Nid是Oracle从9iR2开始提供的工具,可以用来更改数据库名称,而无需通过之前重建控制文件等繁琐方式。 nid是自带的工具,在oracle_home/bin目...
log_archive_format 的错误设置导致无法归档
log_archive_format 的错误设置导致无法归档=====================================log_archive_format 其作用是用于控制归档文件的命名规则。基于此,oracle 提供变量来灵活命名的使用。 同时随着oracle的版本的变...