当spfile损坏,而且没有了pfile文件和init.ora文件,则我们不得不重建参数文件:
下面模拟参数文件损坏,删除了所有的参数文件:
SQL> startup nomount;
ORA-01078: failure in processing system parameters
LRM-00109: ???????????????????????? '/u01/app/oracle...
分类:
其他好文 时间:
2015-05-08 09:37:53
阅读次数:
252
$ sqlplus / as sysdbaSQL>create pfile fromspfile修改$ORACLE_HOME/dbs下的文件initDEV.ora中的*.local_listener值 范例如下: *.local_listener='(ADDRESS_LIST=(Address=(P...
分类:
数据库 时间:
2015-05-07 20:17:07
阅读次数:
133
二次扫描文件法实现的电子词典
#define _CRT_SECURE_NO_WARNINGS
#include
#include
#include
#include
struct dict
{
char *key;
char *content;
};
int get_dict_size(FILE *pfile)//得到字典文件中词条总数
{
if (pfile == NULL)...
分类:
其他好文 时间:
2015-04-28 20:59:34
阅读次数:
160
我们这里只讨论fscanf(或者scanf)的格式,因为这些细节在其他贴里并没有涉及,阅读此文,你可以少走一些弯路。只讲结果,深层原因并不分析。FILE *pFile;float x1; char name[20];pFile = fopen('"example.txt","r");1.参数格式:如...
分类:
其他好文 时间:
2015-04-25 16:38:49
阅读次数:
185
最近程序中打开文件时,失败了,最后代码问题在:fopen_s(&pFile,strPath.c_str(),"rb+");主要是"rb+"。首先来看下介绍,主要是windows下的CRT相关的文件打开操作了。C89标准中是fopen:FILE*fopen(constchar*file,constchar*mode);windows中有fopen_s,_fsopen的扩展:errn..
分类:
其他好文 时间:
2015-03-19 18:38:34
阅读次数:
298
参数文件作用:主要用来记录数据库配置信息,数据库在启动时,需要读取参数文件中关于控制文件的信息,分配内存,打开进程,会话等。数据库启动时第一个读取参数文件。参数文件分类: 1)pfile:文本文件,vim编辑器编辑,文件名:init.ora 2)spfile:二进制文件,9i后推出使用,服务器参数文...
分类:
其他好文 时间:
2015-03-15 00:42:11
阅读次数:
173
错误分析:[oracle@rusky pfile]$ sqlplus sys/rusky@orcl2 as sysdba;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 10 01:51:24 2015Copyright (c) 1982, ...
分类:
其他好文 时间:
2015-03-10 18:49:49
阅读次数:
174
原文见:http://www.cnblogs.com/haoxiaoyu/p/4308483.html,格式更好,更有利于阅读~~~
==============================================================================
Until Oracle 8i DBAs have been using a text file ...
分类:
其他好文 时间:
2015-03-02 14:58:20
阅读次数:
141
==============================================================================Until Oracle 8i DBAs have been using a text file called the pfile (param...
分类:
其他好文 时间:
2015-03-02 14:41:12
阅读次数:
158
二、Oracle的参数文件管理1.参数文件的介绍两种参数文件:(1)spfile参数文件(二进制文件)(2)pfile参数文件(文本文件)参数文件存储的路径:$ORACLE_HOME/dbs[oracle@oracle3dbs]$ll总计56-rw-r-----1oracleoinstall154406-0515:47hc_LAW.dat-rw-rw----1oracleoinstall1544..
分类:
数据库 时间:
2015-02-26 00:04:40
阅读次数:
211