用pfile启动oracle数据库

初学者在尝试使用pfile而非默认的spfile启动Oracle数据库时遇到 ora-00205 错误。通过专业网站找到解决办法,发现控制文件出错。在eygle的个人主页上获取信息,发现在admin/db_sid目录下有pfile文件夹。使用特定的pfile文件启动成功,实验表明删除文件名中的时间戳部分不影响启动。

     初学oracle总是会遇到很多问题的。

     今天试着用pfile启动(默认是spfile) ,

13 : 46 : 53  SQL >  startup pfile = ' E:oracle/product/10.2.0/db_1/dbs/initdw.ora ' ;
ORACLE 例程已经启动。

Total System Global Area  
125829120  bytes
Fixed Size                  
1247660  bytes
Variable Size              
88082004  bytes
Database  Buffers            33554432  bytes
Redo Buffers                
2945024  bytes
ORA
- 00205 : ?????????, ??????, ???????

  用http://ora-00205 .ora-code.com(查看,这是国外一个专业的oracle数据库错误帮助网站,做得很不错,帮了很多网,向他们THX)

提示如下:

ORA-00205
ORA-00205:error in identifying control file, check alert log for more info
Cause:The system could not find a control file of the specified name and size.
Action:Check that ALL control files are online and that they are the same files that the system created at cold start time.

原来是控制文件出了错。

百度了下,进入了eygle的个人主页,上边说到了想用pfile文件时,若没有才用db_1/dbs/initdw.ora,我再进入admin、db_sid下一看,原来那儿还有个pfile文件夹的。原来自己大意了,用了初始化的那个,因为要设置很多东西的,有一些还未设好,所以就会出现问题了。后来用pfile/ora.1252008141028一试,成功了。

  经试验,把后边的.1252008141028删除掉是没有问题的。

  这只是一个小小的困难……

                                                                                    by cyco008

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值