表空间配额和UNLIMITED TABLESPACE权限
<div id="sina_keyword_ad_area2" class="articalContent "><div>对于一个新建的用户,如果没有分配给unlimitedtablespace系统权限的用户,必须先给他们指定限额,之后他们才能在表空间中创建对象,限额可以是:</div><div>A、以兆字节或者千字节为单位的特定值</div><div>B、无限制的</div><div...
oracle 转义字符去掉下划线 _ 的使用方法
1,看以下结果 select * from test where login like '%CF_%';LOGIN--------------------------------------------------CF_wwwwwww4CF_wwwwwww5CF_wwwwwww6CF1CF2CF3因为_是转义字符 把CF1,CF2,CF3的结果也...
oracle追踪误操作DDL
生产环境经常遇到DROP、TRUNCATE、DELETE等误操作, 其中大部分影响较大的是DDL,11.2 设置ENABLE_DDL_LOGGING为true后,alert中会记录DDL操作的语句,但是没有详细信息: alter system set enable_ddl_logging = TRUE sid='*' scope=spfile; 12C中的开启ENA...
DIAG_ADR_ENABLED parameter in 11g
HiIn 11G DIAG_ADR_ENABLED is a default parameter , hence you wont find it in the sqlnet.ora file .For you to disable it , you need to explicitly specify in the sqlnet.ora file i.e DIAG_ADR_ENABLED =OFFRgdshttps://community.oracle.com/thread/1079709?start=0&tstart=0
DB_BLOCK_SIZE and DB_CACHE_SIZE in Oracle
DB_BLOCK_SIZE Parameter The DB_BLOCK_SIZE is used to specify the standard block size which is used for the system and temporary tablespaces. The DB_BLOCK_SIZE parameter in your initialization parameter file determines the size of your standard block size in...
致命的db_unique_name笔误引发的悲剧
故障现象:ORACLE DATAGUARD环境搭建完成后启动主库报告如下错误: Wed Feb 8 23:12:38 2012LGWR: Error 16047 creating archivelog file 'standby'Wed Feb 8 23:12:38 2012Errors in file /home/oracle/admin/port/bdump/port_lns1_1131.trc:ORA-16047: DGID mismatch between destination setting...
【DataGuard】ORA-16032: parameter destination string cannot be translated
ORA-16032 Attempting to Transfer Archive Logs to Standby DatabaseProblem Description-------------------You are attempting to setup a standby database and automate theprocess of transferring archive lo...
创建合理的索引避免order by操作提升SQL性能的案例一
某医保系统的查询一年内一个中心所有医疗费支出的汇总情况执行3000多秒才能出结果,下面TOP SQL中执行时间最长的SQL语句它的功能是查询一年内一个中心所有医疗费支出的汇总情况,执行时间3286秒,则且这条SQL就是我们要找的SQL语句。Elapsed Time (s) CPU Time (s)ExecutionsElap per Exec (s)% Total DB Time ...
Incorrect key file for table '/tmp/....'错误的解决--记录
本文主要描述 Incorrect key file for table '/tmp/....' 错误的发现和简单的解决方法,作此记录。欢迎转载,请注明作者、出处。作者:张正blog:http://space.itpub.net/26355921 QQ:176036317如有疑问,欢迎联系。 突然接到开发打来电话说MySQL数据库执行SQ...
Oracle DBA命令参考——alter database
alter database:修改数据文件alter database datafile 4 offline;alter database datafile '/opt/oracle/datafile/users01.dbf' offline;alter database datafile '/opt/oracle/datafile/users01.dbf' resize 10...