ORA-01659
ORA-01659 unable to allocate MINEXTENTS beyond string in tablespace string Cause: Failed to find sufficient contiguous space to allocate MINEXTENTS for the segment being created. Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with smaller value for MINEXTENTS, NEXT or PCTINCREASE.表空间容量不够再extend,enlarge之即可。[@more@]
查询function/procedurce的privs
user_tab_privs/all_tab_privs本以为这个view只存放了table的授权,查询得到也包括了function/procedure的授权。[@more@]
移动table到指定的datafile
ALTER TABLE xx ALLOCATE EXTENT (size 200M datafile'other_ xxx.DBF');原文见:http://www.itpub.net/showthread.php?threadid=789239[@more@]
How to create a new table as original table with no data?
create table_b asselect * from table_a where 0 = 1; ps:all conditions whose result is false can be use here.[@more@]
10g dbconsole无法启动时,对其进行重新配置即可
C:Documents and SettingsAdministrator>set oracle_sid=orclC:Documents and SettingsAdministrator>emctl start dbconsoleUnable to determine local host from URL REPOSITORY_URL=http://ora10g-pc:%EM_UPLOAD_PORT%/em/upload/.C:Documents and SettingsAdministrator>emca -config dbcontrol dbEMCA 开始于 2007-6-3 22:50:34EM Configuration Assistant 10.2.0.1.0 正式版版权所有 (c) 2003, 2005, Oracle。保留所有权利。输入以下信息:数据库 SID: orcl已为数据库 orcl 配置了 Database Control您已选择配置 Database Co
表的依赖关系信息
public_dependencyall_dependenciesuser_dependencies[@more@]
关键时刻,感冒了~
昨天遇到的问题的,在add constraint中using index时用了PCTFREE 95,哈哈,是前阵子刚接触的这东西,所以刚好把PCTFREE跟PCTUSED记错了,结果是,建了个index用了10多G的空间。中间造成undots使用率100%,还出现了:ORA-01652: unable to extend temp segment by 8192 in tablespace ts_name的错误,起先也没考虑到会用那么多空间,所以没想到要给建立index的ts加空间,而这个ts还有10G差点的空间,后来在论坛上问了,也咨询了下baidu&google,然后也在oracle console里看着建立这个index时空间的变化了,真的冒过了100%,吓人一跳,
关于ORA-12560: TNS:protocol adapter error得以解决
查了点资料,看了http://www.itpub.net/223688.html的文章,终于解决了。环境:两台Windows 2003 Svr Ent En sp1服务器,装都都是Oracle 9.2.0.7.0,两个服务器之间做了Cluster,当然,这个不是我做的,还不会。在Clu1上,用>conn sys/*** as sysdba登陆正常,但是在Clu2上用此命令登陆时提示“ORA-12560: TNS:protocol adapter error”,所以在古训的教导下,我尝试了,起先是在系统环境变量中增加ORACLE_SID=..,但是没有成功,之后在注册表中HKLMSOFTWAREORACLEHOME0下增加了了一个REG_SZ为:ORACLE_SID = <sid>,之后遇到的问
天然的聪明
当你小心翼翼(还)犯错的时候,那也是在不断暴露你的愚蠢。[@more@]