10g 的 startup option 遍了吗?

[复制链接]
查看11 | 回复8 | 2005-6-17 10:37:44 | 显示全部楼层 |阅读模式
nomount option obsolete了吗?
SQL> startup nomount;
ORA-32004: obsolete and/or deprecated parameter(s) specified
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
不是10g 不支持 startup nomount,而是你得初始化参数文件使用了10g认为过时的参数!
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
多谢。从那里看10g的init parameter?alter log里好像没有啊,只能查手册吗?
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
这个文件在你的$ORACLE_HOME/dbs(UNIX 或Linux),WINDOWS一般位于 $ORACLE_HOME/database目录下面,一般名称是spfile$ORACLE_SID.ora。要注意的是这个文件不能编辑,只能通过alter system 这个命令来修改。不过你可以通过文本编辑器把这个文件打开,把你面内容COPY出来,能后修改那些过时的参数,在用这个COPY出来的文件当作你的初始化参数文件来启动数据库。
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
这个文件在你的$ORACLE_HOME/dbs(UNIX 或Linux),WINDOWS一般位于 $ORACLE_HOME/database目录下面,一般名称是spfile$ORACLE_SID.ora。要注意的是这个文件不能编辑,只能通过alter system 这个命令来修改。不过你可以通过文本编辑器把这个文件打开,把你面内容COPY出来,能后修改那些过时的参数,在用这个COPY出来的文件当作你的初始化参数文件来启动数据库。
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
多谢你回答。
我想问的是如何看到过起了的spfile的init parameter。
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
1. 看alert.log, 例如在 10g中log_archive_start这个参数就已经
过时了,不用去设置它;
2. 查数据字典,具体是哪个我也忘了。呵呵.
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 92.77% used, and has 155180032 remaining bytes available.
*** 2005-06-16 11:24:12.421
*************************************************************
You have the following choices to free up space from
flash recovery area:
1. Consider changing your RMAN retention policy.
If you are using dataguard, then consider changing your
RMAN archivelog deletion policy.
2. Backup files to tertiary device such as tape using the
RMAN command BACKUP RECOVERY AREA.
3. Add disk space and increase the db_recovery_file_dest_size
parameter to reflect the new space.
4. Delete unncessary files using the RMAN DELETE command.
If an OS command was used to delete files, then use
RMAN CROSSCHECK and DELETE EXPIRED commands.
*************************************************************
我今天碰到了这个错误,我始终没有想明白是什么原因
因为数据库里面没有数据
我也没有修改SPFILE
回复

使用道具 举报

千问 | 2005-6-17 10:37:44 | 显示全部楼层
"从那里看10g的init parameter?alter log里好像没有啊,只能查手册吗?"
路径:?\oracle\product\10.1.0\admin\[你的数据库名]\pfile
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行