Spfile in Oracle 9.2.0
One of the steps for manual oracle database upgrade from 8.1.7 to 9.2.0 include creation of spfile.
My question is: Do we really need to use spfile (server parameter file) and if yes - what the advantage(es) for using it?
Thank you,
Yelena
No, you do not need to use it. Upon startup, if Oracle cannot find the spfile (default location $ORACLE_HOME/dbs) then it will look for the pfile in the default location. But I can't think of any good reasons why you would not want to use the spfile, unless it's on a test system where it doesn't matter how often or when you bounce your instance to make changes take effect. The spfile allows you to dynamically set numerous parameters for the system that would otherwise require a shutdown to initialize. Once you start using it, you'll look back on the "old" way and think you lived in the stone age. Just use 'ALTER SYSTEM SET ... SCOPE=[MEMORY] | [SPFILE] | [BOTH]'
where 'MEMORY' means it is just active for your session; 'SPFILE' means it is written to the spfile and activated after the next restart; and 'BOTH' . . . well, I4ll let you figure that one out.
One of the parameters you cannot change dynamically is the large_pool. There are probably more, if anyone knows them please help me out here.
Hope this helps.
Similar Messages
-
Create pfile from spfile when oracle in idle mode
Create pfile from spfile when oracle in idle mode
from where it creates pfile?? note:-oracle is in idle stage..Since you are asking for creating PFILE so I think below text will answer your question :
If you do not specify spfile_name, then the database uses the spfile that is currently associated with the instance, usually the one that was used a startup. If no spfile is associated with the instance, then the database looks for the platform-specific default server parameter file name. If that file does not exist, then the database returns an error.http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6008.htm#i2072768
Regards
Girish Sharma -
How to create spfile in oracle 10g
hi everyone,
i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name. please help me if u get ne solution reagrding this in steps.
thanz,
lalySee Re: about spfile creating in oracle 10g while creating a new database
-
I would like know if spfile exist in oracle 8.1.7
Absolutely not. spfile was a new feature released in 9i Rel 1.
Regards. -
About spfile creating in oracle 10g while creating a new database
hi everyone,
i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
thanxfirst of all, thanx for giuding me as im a student doing a course in this
what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
Step 5: Create a Server Parameter File (Recommended)
Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
-- create the server parameter file
CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
SHUTDOWN
-- the next startup will use the server parameter file
EXIT
the error : db_name does not match with the parameter.
its still taking the default orcl database name -
+ASM spfile default location of Oracle 11g RAC Linux
Is anybody now the default location of +ASM spfile at Oracle 11g RAC Linux.
ITs there if you dont have the Database installed yet ! +DATA/asm/asmparameterfile/registry.253.725983597
-
Error in creating oracle 10g EE db manually in Win XP SP2 OS
First of all. Sorry if I don't have a good English...
My operating system is Windows XP SP2
I'd created script files below for creating Oracle database manually:
dbcamin.bat
mkdir C:\oracle\product\10.2.0\admin\dbcamin\adump
mkdir C:\oracle\product\10.2.0\admin\dbcamin\bdump
mkdir C:\oracle\product\10.2.0\admin\dbcamin\cdump
mkdir C:\oracle\product\10.2.0\admin\dbcamin\udump
mkdir C:\oracle\product\10.2.0\admin\dbcamin\dpdump
mkdir C:\oracle\product\10.2.0\flash_recovery_area\dbcam in
mkdir C:\oracle\product\10.2.0\admin\dbcamin\pfile
mkdir C:\oracle\product\10.2.0\cfgtoollogs\emca\dbcamin
mkdir C:\oracle\product\10.2.0\flash_recovery_area
mkdir C:\oracle\product\10.2.0\oradata\dbcamin
set ORACLE_SID=dbcamin
C:\oracle\product\10.2.0\db_1\bin\oradim.exe -new -sid DBCAMIN -startmode manual -spfile
C:\oracle\product\10.2.0\db_1\bin\oradim.exe -edit -sid DBCAMIN -startmode auto -srvcstart system
C:\oracle\product\10.2.0\db_1\bin\sqlplus /nolog @C:\oracle\product\10.2.0\admin\dbcamin\scripts\db camin.sql
CreateDB.sql
connect SYS/dbcamin as SYSDBA
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDB.log
startup nomount pfile="C:\oracle\product\10.2.0\db_1\database\init dbcamin.ora";
CREATE DATABASE dbcamin
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\system01 .dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\sysaux01 .dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\temp01.d bf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\undotbs0 1.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo01. log') SIZE 51200K,
GROUP 2 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo02. log') SIZE 51200K,
GROUP 3 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo03. log') SIZE 51200K
USER SYS IDENTIFIED BY dbcamin USER SYSTEM IDENTIFIED BY dbcamin;
spool off
CreateDBCatalog.sql
connect SYS/dbcamin as SYSDBA
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDBCatalog.log
@C:\oracle\product\10.2.0\db_1\rdbms\admin\catalog .sql;
@C:\oracle\product\10.2.0\db_1\rdbms\admin\catbloc k.sql;
@C:\oracle\product\10.2.0\db_1\rdbms\admin\catproc .sql;
@C:\oracle\product\10.2.0\db_1\rdbms\admin\catoctk .sql;
@C:\oracle\product\10.2.0\db_1\rdbms\admin\owminst .plb;
connect SYSTEM/dbcamin
@C:\oracle\product\10.2.0\db_1\sqlplus\admin\pupbl d.sql;
connect SYSTEM/dbcamin
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\sql PlusHelp.log
@C:\oracle\product\10.2.0\db_1\sqlplus\admin\help\ hlpbld.sql helpus.sql;
spool off
spool off
CreateDBFiles.sql
connect SYS/dbcamin as SYSDBA
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDBFiles.log
CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\users01. dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
ALTER DATABASE DEFAULT TABLESPACE "USERS";
spool off
dbcamin.sql
set verify off
PROMPT specify a password for sys as parameter 1;
DEFINE sysPassword = dbcamin
PROMPT specify a password for system as parameter 2;
DEFINE systemPassword = dbcamin
host C:\oracle\product\10.2.0\db_1\bin\orapwd.exe file=C:\oracle\product\10.2.0\db_1\database\PWDdbc amin.ora password=dbcamin force=y
@C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDB.sql
@C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDBFiles.sql
@C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDBCatalog.sql
@C:\oracle\product\10.2.0\admin\dbcamin\scripts\lo ckAccount.sql
@C:\oracle\product\10.2.0\admin\dbcamin\scripts\po stDBCreation.sql
lockAccount.sql
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\loc kAccount.log
BEGIN
FOR item IN ( SELECT USERNAME FROM DBA_USERS WHERE USERNAME NOT IN ('SYS','SYSTEM') )
LOOP
dbms_output.put_line('Locking and Expiring: ' || item.USERNAME);
execute immediate 'alter user ' || item.USERNAME || ' password expire account lock' ;
END LOOP;
END;
spool off
postDBCreation.sql
connect SYS/dbcamin as SYSDBA
set echo on
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\pos tDBCreation.log
connect SYS/dbcamin as SYSDBA
set echo on
create spfile='C:\oracle\product\10.2.0\db_1\dbs\spfiledb camin.ora' FROM pfile='C:\oracle\product\10.2.0\db_1\database\init dbcamin.ora';
shutdown immediate;
connect SYS/dbcamin as SYSDBA
startup ;
select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MIS') from dual;
execute utl_recomp.recomp_serial();
select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MIS') from dual;
connect SYS/dbcamin as SYSDBA
spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\pos tDBCreation.log
initdbcamin.ora
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# NLS
nls_language="ENGLISH"
nls_territory="AMERICA"
# Miscellaneous
compatible=10.2.0.1.0
# Cursors and Library Cache
cursor_sharing=similar
open_cursors=300
# Archive
LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10. 2.0\flash_recovery_area\dbcamin\ARCHIVELOG'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
LOG_ARCHIVE_START=TRUE
# Diagnostics and Statistics
BACKGROUND_DUMP_DEST=C:\oracle\product\10.2.0\admi n\dbcamin\bdump
CORE_DUMP_DEST=C:\oracle\product\10.2.0\admin\dbca min\cdump
TIMED_STATISTICS=TRUE
USER_DUMP_DEST=C:\oracle\product\10.2.0\admin\dbca min\udump
# Cache and I/O
db_block_size=4096
db_cache_size=25165824
db_file_multiblock_read_count=16
# System Managed Undo and Rollback Segments
undo_management=auto
undo_retention=120
undo_tablespace=UNDOTBS1
# Security and Auditing
audit_file_dest=C:\oracle\product\10.2.0\admin\dbc amin\adump
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
# Database Identification
db_domain=""
db_name=dbcamin
instance_name=dbcamin
# File Configuration
control_files=("C:\oracle\product\10.2.0\oradata\d bcamin\control01.ctl", "C:\oracle\product\10.2.0\oradata\dbcamin\control0 2.ctl")
db_recovery_file_dest=C:\oracle\product\10.2.0\fla sh_recovery_area
db_recovery_file_dest_size=2147483648
# Processes and Sessions
processes=60
sessions=71
# Distributed, Replication and Snapshot
DB_DOMAIN=us.oracle.com
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
# Redo Log and Recovery
FAST_START_MTTR_TARGET=300
but I'd got some errors when I tried to start up or alter database open the database...
This is the message..
Oracle instance terminated. Disconnection forced.
when I tried to check the process inside the command prompt I list some of the errors like written below...
SQL> create or replace view v_$_lock as select * from v$_lock;
create or replace view v_$_lock as select * from v$_lock;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 2
ORA-04031: unable to allocate 84 bytes of shared memory ("shared pool","select inst_id,addr,ksqlkadr...","Typecheck","opndef:qkex rAddMatching1")
SQL> grant select on v_$_lock to select_catalog_role;
grant select on v_$_lock to select_catalog_role;
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> grant select on v_$flashback_database_logfile to select_catalog_role;
grant select on v_$flashback_database_logfile to select_catalog_role
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 212 bytes of shared memory ("shared pool","select i.obj#,i.ts#,i.file#,...","sql area","KGHSC_ALLOC_BUF:buf")
SQL> create or replace public synonim gv$dlm_all_locks;
create or replace public synonim gv$dlm_all_locks
ERROR at line 1:
ORA-04031: unable to allocate 3904 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batch")
SQL> grant select on gv$dlm_all_locks to select_catalog_role;
grant select on gv$dlm_all_locks to select_catalog_role;
ERROR at line 1:
ORA-04031: unable to allocate 3904 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batch")
CREATE OR REPLACE PACKAGE dbms_registry_server IS
ERROR at line 1:
ORA-06554: package DBMS_STANDARD must be created before using PL/SQL
CREATE OR REPLACE PACKAGE BODY dbms_registry
ERROR at line 1:
ORA-06554: package DBMS_STANDARD must be created before using PL/SQL
SQL> BEGIN
2 dbms_registry.loading('CATALOG', 'Oracle Database Catalog Views',
3 'dbms_registry_sys.validate_catalog');
4 END;
5 /
BEGIN
*ERROR at line 1:
ORA-06553: PLS-213: package STANDARD not accessible
at last... what's wrong???what should I do???
TQ before and after.
GBUTry to add
SGA_TARGET=300mto your initdbcamin.ora file.
Bartek -
Database Upgradation from oracle 9.2.0.8 to oracle11gR2
Hi
we are using AIX 5.3 TL 10 SP4 and we are upgrading DB from oracle9.2.0.8 to oracle 11.2.0.2
i am having some doubt from below pre-upgrade scripts out put.
oratst@ebsdevdb on /tmp # sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 4 10:11:48 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> spool 11202_upgrade.txt
SQL> @utlu112i.sql
Oracle Database 11.2 Pre-Upgrade Information Tool 07-04-2011 10:17:06
Script Version: 11.2.0.2.0 Build: 001
Database:
--> name: EBSTEST
--> version: 9.2.0.8.0
--> compatible: 9.2.0
--> blocksize: 8192
--> timezone file: V1
Logfiles: [make adjustments in the current environment]
--> The existing log files are adequate. No changes are required.
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 8546 MB
--> TOOLS tablespace is adequate for the upgrade.
.... minimum required size: 8 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
--> AR_TABLE tablespace is adequate for the upgrade.
.... minimum required size: 33497 MB
--> FND_TABLE tablespace is adequate for the upgrade.
.... minimum required size: 45447 MB
--> AMVD tablespace is adequate for the upgrade.
.... minimum required size: 7 MB
--> ASOD tablespace is adequate for the upgrade.
.... minimum required size: 7 MB
--> CCTD tablespace is adequate for the upgrade.
.... minimum required size: 7 MB
--> IBUD tablespace is adequate for the upgrade.
.... minimum required size: 1 MB
--> IEMD tablespace is adequate for the upgrade.
.... minimum required size: 5 MB
--> IEOD tablespace is adequate for the upgrade.
.... minimum required size: 4 MB
--> JTFD tablespace is adequate for the upgrade.
.... minimum required size: 135 MB
--> OKCD tablespace is adequate for the upgrade.
.... minimum required size: 34 MB
--> XDPD tablespace is adequate for the upgrade.
.... minimum required size: 7 MB
--> XNPD tablespace is adequate for the upgrade.
.... minimum required size: 7 MB
--> APPS_UNDOTS1 tablespace is adequate for the upgrade.
.... minimum required size: 849 MB
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
Note: Pre-upgrade tool was run on a lower version 64-bit database.
--> If Target Oracle is 32-Bit, refer here for Update Parameters:
WARNING: --> "compatible" must be set to at least 10.1.0
--> If Target Oracle is 64-Bit, refer here for Update Parameters:
WARNING: --> "compatible" must be set to at least 10.1.0
WARNING: --> "shared_pool_size" needs to be increased to at least 532 MB
WARNING: --> "java_pool_size" needs to be increased to at least 128 MB
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
--> optimizer_max_permutations 10.1 OBSOLETE
--> row_locking 10.1 OBSOLETE
--> undo_suppress_errors 10.1 OBSOLETE
--> max_enabled_roles 10.1 DEPRECATED
--> enqueue_resources 10.2 OBSOLETE
--> sql_trace 10.2 DEPRECATED
--> background_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
--> user_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
Components: [The following database components will be upgraded or installed]
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Real Application Clusters [upgrade] INVALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [install]
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Passwords exist in some database links.
.... Passwords will be encrypted during the upgrade.
.... Downgrade of database links with passwords is not supported.
WARNING: --> Deprecated CONNECT role granted to some user/roles.
.... CONNECT role after upgrade has only CREATE SESSION privilege.
WARNING: --> Database is using a timezone file older than version 14.
.... After the release migration, it is recommended that DBMS_DST package
.... be used to upgrade the 9.2.0.8.0 database timezone version
.... to the latest version which comes with the new release.
WARNING: --> Database contains INVALID objects prior to upgrade.
.... The list of invalid SYS/SYSTEM objects was written to
.... registry$sys_inv_objs.
.... The list of non-SYS/SYSTEM objects was written to
.... registry$nonsys_inv_objs.
.... Use utluiobj.sql after the upgrade to identify any new invalid
.... objects due to the upgrade.
.... USER ADWANIAH has 1 INVALID objects.
.... USER APPS has 34 INVALID objects.
.... USER CHAKKACHANSA has 1 INVALID objects.
.... USER FA_USER has 9 INVALID objects.
.... USER SYSSEL has 2 INVALID objects.
.... USER SYSTEM has 30 INVALID objects.
.... USER XXITDFINAD has 7 INVALID objects.
WARNING: --> SYSTEM schema default tablespace has been altered.
.... The SYSTEM schema default tablespace is currently set to TOOLS.
.... Prior to upgrading your database please reset the
.... SYSTEM schema default tablespace to SYSTEM using the command:
.... ALTER USER SYSTEM DEFAULT TABLESPACE SYSTEM;
WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
.... USER APPS has dependent objects.
Recommendations
Oracle recommends gathering dictionary statistics prior to
upgrading the database.
To gather dictionary statistics execute the following commands
while connected as SYSDBA:
EXECUTE dbms_stats.gather_schema_stats('CTXSYS',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('DBSNMP',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('MDSYS',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('ORDPLUGINS',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('ORDSYS',options=>'GATHER'
estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('OUTLN',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('SYS',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
EXECUTE dbms_stats.gather_schema_stats('SYSTEM',options=>'GATHER'
,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
,cascade=>TRUE);
Oracle recommends removing all hidden parameters prior to upgrading.
To view existing hidden parameters execute the following command
while connected AS SYSDBA:
SELECT name,description from SYS.V$PARAMETER WHERE name
LIKE '\_%' ESCAPE '\'
Changes will need to be made in the init.ora or spfile.
Oracle recommends reviewing any defined events prior to upgrading.
Changes will need to be made in the init.ora or spfile.
Oracle recommends reviewing any defined events prior to upgrading.
To view existing non-default events execute the following commands
while connected AS SYSDBA:
Events:
SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'
Trace Events:
SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'
Changes will need to be made in the init.ora or spfile.
SYSAUX Tablespace:
[Create tablespace in the Oracle Database 11.2 environment]
--> New "SYSAUX" tablespace
.... minimum required size for database upgrade: 500 MB
From above output script
1)SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 8546 MB
From system tablespace minimum required size means free space from system tablespace or total size of system tablespace?
i am going to use dbua utility for upgrade means does it alter tablespace as per output of scripts or we need to manually alter tablespace size as per requirement?
2)WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
.... USER APPS has dependent objects.
what is above warning and how can i configure ACL's for APPS User?
Thanks
With Regards
A-ZHi
oratst@ebsdevdb on /ebdbh/11g/data/cfgtoollogs/dbua/ebstest/upgrade1 # more Upgrade_Directive.log
Connected.
ODMA_DIRECTIVE:VERSION:9.2.0.8
ODMA_DIRECTIVE:MIGRATE_SID:
ODMA_DIRECTIVE:ORA:IGNORE:06512:
ODMA_DIRECTIVE:ORA:FATAL:00600:
ODMA_DIRECTIVE:ORA:FATAL:01012:
ODMA_DIRECTIVE:ORA:FATAL:01031:
ODMA_DIRECTIVE:ORA:FATAL:01034:
ODMA_DIRECTIVE:ORA:FATAL:01078:
ODMA_DIRECTIVE:ORA:FATAL:01092:
ODMA_DIRECTIVE:ORA:FATAL:01109:
ODMA_DIRECTIVE:ORA:FATAL:01119:
ODMA_DIRECTIVE:ORA:FATAL:01507:
ODMA_DIRECTIVE:ORA:FATAL:01722:
ODMA_DIRECTIVE:ORA:FATAL:03113:
ODMA_DIRECTIVE:ORA:FATAL:03114:
ODMA_DIRECTIVE:ORA:FATAL:07445:
ODMA_DIRECTIVE:ORA:FATAL:12560:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01650:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01651:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01652:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01653:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01654:
ODMA_DIRECTIVE:ORA:RECOVER_TBS:01655:
ODMA_DIRECTIVE:ORA:RECOVER_ROLL:01562:
ODMA_DIRECTIVE:ORA:RECOVER_INIT:04031:
ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catupgrd.sql:
ODMA_DIRECTIVE:BOUNCE_DATABASE:UPGRADE:
ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catuppst.sql:
ODMA_DIRECTIVE:SCRIPT:UPGRADE:sqlplus/admin/help/hlpbld.sql helpus.sql:
Thanks
With Regards
A-Z -
Oracle XE Western version not working on Windows XP pro
I have noticed that production version of the Oracle XE Western version does not work properly. The beta version created the database properly, the production version does not. I tried to install it on a Windows XP Pro version.
Below is the alert_xe.log
Dump file c:\oracle\xeprod\app\oracle\admin\xe\bdump\alert_xe.log
Thu Mar 30 11:38:32 2006
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 2
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:533M/1023M, Ph+PgF:2253M/2461M, VA:1945M/2047M
Thu Mar 30 11:38:32 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Shared memory segment for instance monitoring created
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
sga_target = 285212672
control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 94371840
MMAN started with pid=4, OS id=4092
PSP0 started with pid=3, OS id=4088
PMON started with pid=2, OS id=4084
DBW0 started with pid=5, OS id=2044
LGWR started with pid=6, OS id=1248
CKPT started with pid=7, OS id=200
SMON started with pid=8, OS id=2036
RECO started with pid=9, OS id=2012
CJQ0 started with pid=10, OS id=212
MMON started with pid=11, OS id=1924
Thu Mar 30 11:38:38 2006
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=380
Thu Mar 30 11:38:38 2006
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Thu Mar 30 11:38:42 2006
The input backup piece C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\CONFIG\SEEDDB\EXPRESS.DFB is in compressed format.
Thu Mar 30 11:39:10 2006
Full restore complete of datafile 4 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\USERS.DBF. Elapsed time: 0:00:26
checkpoint is 193065
Full restore complete of datafile 2 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\UNDO.DBF. Elapsed time: 0:00:27
checkpoint is 193065
Thu Mar 30 11:39:27 2006
Full restore complete of datafile 3 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\SYSAUX.DBF. Elapsed time: 0:00:45
checkpoint is 193065
Thu Mar 30 11:39:27 2006
Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_488.trc:
ORA-00600: internal error code, arguments: [krbrckhr_fail], [C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\CONFIG\SEEDDB\EXPRESS.DFB], [83], [128], [3], [9427], [], []
Thu Mar 30 11:39:29 2006
Create controlfile reuse set database "XE"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
Datafile
'C:\oracle\xeprod\oradata\XE\system.dbf',
'C:\oracle\xeprod\oradata\XE\undo.dbf',
'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
'C:\oracle\xeprod\oradata\XE\users.dbf'
LOGFILE
GROUP 1 SIZE 51200K,
GROUP 2 SIZE 51200K,
RESETLOGS
Thu Mar 30 11:39:29 2006
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Thu Mar 30 11:39:29 2006
Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_744.trc:
ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1503 signalled during: Create controlfile reuse set database "XE"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
Datafile
'C:\oracle\xeprod\oradata\XE\system.dbf',
'C:\oracle\xeprod\oradata\XE\undo.dbf',
'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
'C:\oracle\xeprod\oradata\XE\users.dbf'
LOGFILE
GROUP 1 SIZE 51200K,
GROUP 2 SIZE 51200K,
RESETLOGS...
Shutting down instance: further logons disabled
Thu Mar 30 11:39:29 2006
Stopping background process CJQ0
Thu Mar 30 11:39:29 2006
Stopping background process MMNL
Thu Mar 30 11:39:29 2006
Stopping background process MMON
Thu Mar 30 11:39:30 2006
Shutting down instance (immediate)
License high water mark = 1
Thu Mar 30 11:39:30 2006
Stopping Job queue slave processes
Thu Mar 30 11:39:30 2006
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Thu Mar 30 11:39:32 2006
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thu Mar 30 11:39:34 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
sga_target = 285212672
control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=756
PSP0 started with pid=3, OS id=796
MMAN started with pid=4, OS id=836
DBW0 started with pid=5, OS id=928
LGWR started with pid=6, OS id=152
CKPT started with pid=7, OS id=924
SMON started with pid=8, OS id=932
RECO started with pid=9, OS id=1212
MMON started with pid=10, OS id=1272
MMNL started with pid=11, OS id=1296
Thu Mar 30 11:39:35 2006
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Thu Mar 30 11:39:35 2006
Create controlfile reuse set database "XE"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
Datafile
'C:\oracle\xeprod\oradata\XE\system.dbf',
'C:\oracle\xeprod\oradata\XE\undo.dbf',
'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
'C:\oracle\xeprod\oradata\XE\users.dbf'
LOGFILE
GROUP 1 SIZE 51200K,
GROUP 2 SIZE 51200K,
RESETLOGS
Thu Mar 30 11:39:35 2006
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Thu Mar 30 11:39:35 2006
Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_1144.trc:
ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1503 signalled during: Create controlfile reuse set database "XE"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
Datafile
'C:\oracle\xeprod\oradata\XE\system.dbf',
'C:\oracle\xeprod\oradata\XE\undo.dbf',
'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
'C:\oracle\xeprod\oradata\XE\users.dbf'
LOGFILE
GROUP 1 SIZE 51200K,
GROUP 2 SIZE 51200K,
RESETLOGS...
Thu Mar 30 11:39:35 2006
Stopping background process MMNL
Thu Mar 30 11:39:36 2006
Stopping background process MMON
Starting background process MMON
Starting background process MMNL
MMON started with pid=10, OS id=580
MMNL started with pid=11, OS id=1288
Thu Mar 30 11:39:36 2006
ALTER SYSTEM enable restricted session;
Thu Mar 30 11:39:36 2006
alter database "XE" open resetlogs
ORA-1507 signalled during: alter database "XE" open resetlogs...
Thu Mar 30 11:39:36 2006
alter database drop logfile group 3
ORA-1507 signalled during: alter database drop logfile group 3...
Thu Mar 30 11:39:36 2006
ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oracle\xeprod\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
ORA-1109 signalled during: ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oracle\xeprod\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED...
Thu Mar 30 11:39:36 2006
ALTER SYSTEM disable restricted session;
Shutting down instance: further logons disabled
Thu Mar 30 11:39:37 2006
Stopping background process MMNL
Thu Mar 30 11:39:38 2006
Stopping background process MMON
Thu Mar 30 11:39:38 2006
Shutting down instance (immediate)
License high water mark = 1
Waiting for dispatcher 'D000' to shutdown
Waiting for shared server 'S000' to die
Waiting for shared server 'S002' to die
Waiting for shared server 'S003' to die
All dispatchers and shared servers shutdown
Thu Mar 30 11:39:39 2006
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thu Mar 30 11:39:42 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
spfile = C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 285212672
control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=1480
PSP0 started with pid=3, OS id=1484
MMAN started with pid=4, OS id=1488
DBW0 started with pid=5, OS id=576
LGWR started with pid=6, OS id=1492
CKPT started with pid=7, OS id=1496
SMON started with pid=8, OS id=1260
RECO started with pid=9, OS id=376
CJQ0 started with pid=10, OS id=824
MMON started with pid=11, OS id=244
MMNL started with pid=12, OS id=1636
Thu Mar 30 11:39:42 2006
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Thu Mar 30 11:39:42 2006
ALTER DATABASE MOUNT
Thu Mar 30 11:39:42 2006
ORA-00202: control file: 'C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Thu Mar 30 11:39:42 2006
ORA-205 signalled during: ALTER DATABASE MOUNT...
Thu Mar 30 11:41:54 2006
alter database mount
Thu Mar 30 11:41:54 2006
ORA-00202: control file: 'C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-205 signalled during: alter database mount
Thanks,
LucianI think the relevant error from the log file is as follows
ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1503 signalled during: Create controlfile reuse set database "XE
There are a couple of things to consider here
Why is this install going into c:\oracle\xeprod ? If should be going into C:\oraclexe. Did you do something to change the default install infrastructure ?
Secondly - sometimes we see this unable to open file error message if some other process is reading the file at the same time as the installer is trying to install it. Anti virus software and Google desktop have been culprits to date. -
Problem faced while creating database in oracle 10g
SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
1 create database db_test
2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
6 undo tablespace testundotbs
7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
8 default temporary tablespace test_temptbls
9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
10 character set WE8MSWIN1252
11* national character set AL16UTF16
12 /
create database db_test
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
ERROR at line 1:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
Message was edited by:
user525645i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
my init.ora file
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=db_test
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
# File Configuration
control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
Message was edited by:
user525645 -
Hi
One month before I stated the question
>
Why do I need the an alias spfileDBNAME.ora to *ASM-File +DATA/DBNAME/PARAMETER/spfile..*
>
in a RAC-Environment.
Levi Pereira gave me kindly the answer in the Thread:
Re: RAC Backup + Restore & Recover
But I can find now this answer in this Thread!
Can Levi or somebody else give me the answer again?
Thank in advance
hqt200475
Edited by: hqt200475 on Mar 7, 2011 5:41 AMhttp://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/admin.htm#CHDHFIGC says:
>
Oracle recommends that you do not use the default SPFILE names because all instances must use the same file and they all have different SIDs. Instead, store the SPFILE on Oracle ASM. If you store the SPFILE on a cluster file system, then use the following naming convention for the SPFILE: $ORACLE_HOME/dbs/spfiledb_unique_name.ora. Create a PFILE named $ORACLE_HOME/dbs/initsid.ora that contains the name SPFILE=ORACLE_HOME/dbs/spfiledb_unique_name.ora. -
Using ORADIM to create instance on Oracle 10g R2, windows platform
Please I used the below command to create database instance to startup at the same time as of the OS is starting up.
ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -PFILE C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA
But When I shutdown the all system at OS level, and restart it, the OracleServiceORCL shows up as Started Automatic in the services tool, but when trying to connect ot the database, the following message appears Connected to an Idle instance So I have to startup manually the database.
It's any thing wrong with my ORADIM command?
Thanks for your cooperationThanks,
Maybe I didn't explain exactly what I was expecting with the standby database, these steps are what I did, to resolve the issue
ENABLE THE STANDBY DATABASE TO STARTUP FROM SPFILE
Step 1: create a newly spfile from the current pfile
SQL> CREATE SPFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEORCL.ORA' FROM PFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA';
Step 2: Rename the INITORCL.ORA TO SAVE_DATE_INITORCL.ORA
Example: the C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA became
C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SAVE_24072007_INITORCL.ORA
Step 3: delete the former sid created
C:\ORADIM -delete -sid orcl
Instance deleted.
Step 3: Change the Oracle service to start when the OS start
C:\ ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -SPFILE
Instance created.
Now When I shutdown the whole system and start it up, the standby database startup. the only thing is that the standby database startup a read-only mode, defautl with oracle 10g this is fine for me, because the MRP is stopped but the log shipping is not stopped.
So eventhough the system admin shutdown the database server at OS level without letting me know, tha standby should continue receiving archived log files.
I'll just need to monitore the lop apply process and start it to apply archived log files received
Thanks -
Oracle Upgrade -- Pre-Upgrade 10.2.0.4 to 11.2.0.1
Hello,
I want to do an Oracle Upgrade to version 11.2g!
At this point I did some things (in Windows Server 2003 X64):
1-) Install Oracle 10.2.0.1 (DVD Media);
2-) Installation of Oracle patchset 10.2.0.4 (note 871735);
3-) Installation of interim / last generics patch (note 1137346);
4-) Installation of SAP ECC 6.0 SR3 by SAPInst
5-) After SAP installation I did all the corrections in Oracle parameters as it mentioned in note 830576.
As you see above, all the SAP system was well installed!
But now I want to do the Oracle Upgrade process to the last version, Oracle DB 11.2g (11.2.0.1)... and so I´m following the Upgrade guide "Upgrade to Oracle Database 11g Release 2 (11.2) Windows.pdf" with some SAP notes for Upgrade process.
So I´m at this point in planning chapter where is recommended to check so things in actual database, one of this checks are running some SQL-scripts to perform an Oracle database upgrade with DBUA to release 11.2 (as mentioned in note 1431793 - Oracle 11.2.0: Upgrade Scripts)
I ran two Pre-Scripts, the @pre_upgrade_status.sql and @pre_upgrade_tasks.sql but both outputs showed some warnings and they are worrying me... so what I ask to you is some kind of help in analyse of them and tell me if this issues are relevant for the upgrading process and if so, what you recommend me to do to correct their!
Next I will post here this two log scripts... they are long!!!PRE_UPGRADE_TASKS.log:
SQL> @pre_upgrade_tasks.sql
PRE-UPGRADE Tasks: === START ===
2010-08-05 18:24:13
Recompiling invalid objects
This reduces the number of invalid objects as much as possible.
COMP_TIMESTAMP UTLRP_BGN 2010-08-05 18:24:13
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
COMP_TIMESTAMP UTLRP_END 2010-08-05 18:24:15
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
0
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
0
Purging Recyclebin
This reduces the time needed for upgrading the database.
Truncating SYS.AUD$
This reduces the time needed for upgrading the database.
Gathering Oracle Dictionary Statistics
This reduces the time needed for upgrading the database.
Running Pre-Upgrade-Information Tool utlu112i.sql
This is a mandatory task for manual database upgrades.
This tool is also run in pre_upgrade_status.sql.
Oracle Database 11.2 Pre-Upgrade Information Tool 08-05-2010 18:24:45
Script Version: 11.2.0.1.0 Build: 003
Database:
--> name: PRD
--> version: 10.2.0.4.0
--> compatible: 10.2.0
--> blocksize: 8192
--> platform: Microsoft Windows x86 64-bit
--> timezone file: V4
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 905 MB
--> PSAPUNDO tablespace is adequate for the upgrade.
.... minimum required size: 84 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 210 MB
--> PSAPTEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
Flashback: OFF
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
Note: Pre-upgrade tool was run on a lower version 64-bit database.
--> If Target Oracle is 32-Bit, refer here for Update Parameters:
-- No update parameter changes are required.
--> If Target Oracle is 64-Bit, refer here for Update Parameters:
WARNING: --> "shared_pool_size" needs to be increased to at least 472 MB
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
--> remote_os_authent 11.1 DEPRECATED
--> background_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
--> user_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
Components: [The following database components will be upgraded or installed]
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Database is using a timezone file older than version 11.
.... After the release migration, it is recommended that DBMS_DST package
.... be used to upgrade the 10.2.0.4.0 database timezone version
.... to the latest version which comes with the new release.
Recommendations
Oracle recommends gathering dictionary statistics prior to
upgrading the database.
To gather dictionary statistics execute the following command
while connected as SYSDBA:
EXECUTE dbms_stats.gather_dictionary_stats;
Oracle recommends removing all hidden parameters prior to upgrading.
To view existing hidden parameters execute the following command
while connected AS SYSDBA:
SELECT name,description from SYS.V$PARAMETER WHERE name
LIKE '\_%' ESCAPE '\'
Changes will need to be made in the init.ora or spfile.
Oracle recommends reviewing any defined events prior to upgrading.
To view existing non-default events execute the following commands
while connected AS SYSDBA:
Events:
SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'
Trace Events:
SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'
Changes will need to be made in the init.ora or spfile.
PRE-UPGRADE Tasks: === FINISHED ===
SQL> spool off -
Hi,ALL
After I set patch on oracle 10.2.0.1.0,update to 10.2.0.4.0,it does not wrk at all. Error as below
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
When startup upgrade execute till to Redo Buffers ,it stopped.
I want to konow why startup upgrade stop ?
How can connect to orcale instance?
SQL> conn sys/system as sysdba
SQL> startup upgrade
Total System Global Area 167772160 bytes
Fixed Size 1295608 bytes
Variable Size 96471816 bytes
Database Buffers 62914560 bytes
Redo Buffers 7090176 bytesThanks!
Fri Jun 11 14:22:23 2010
ORACLE V10.2.0.4.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 2
CPU : 2 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:627M/1022M, Ph+PgF:1014M/1691M, VA:1925M/2047M
Fri Jun 11 14:22:23 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 71303168
__large_pool_size = 4194304
__java_pool_size = 20971520
__streams_pool_size = 0
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORACLE10.ORA
sga_target = 167772160
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 62914560
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS2
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=oracle10XDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\CDUMP
db_name = oracle10
open_cursors = 300
blank_trimming = TRUE
pga_aggregate_target = 16777216
PMON started with pid=2, OS id=2616
PSP0 started with pid=3, OS id=2884
MMAN started with pid=4, OS id=3040
DBW0 started with pid=5, OS id=760
LGWR started with pid=6, OS id=3900
CKPT started with pid=7, OS id=4880
SMON started with pid=8, OS id=3072
RECO started with pid=9, OS id=3144
CJQ0 started with pid=10, OS id=1664
MMON started with pid=11, OS id=2156
Fri Jun 11 14:22:25 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=3224
Fri Jun 11 14:22:25 2010
starting up 1 shared server(s) ...
Fri Jun 11 14:22:25 2010
alter database mount exclusive
Fri Jun 11 14:22:30 2010
Setting recovery target incarnation to 2
Fri Jun 11 14:22:31 2010
Successful mount of redo thread 1, with mount id 2453315617
Fri Jun 11 14:22:31 2010
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Jun 11 14:22:31 2010
alter database open
Fri Jun 11 14:22:31 2010
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Fri Jun 11 14:22:32 2010
Started redo scan
Fri Jun 11 14:22:33 2010
Completed redo scan
1 redo blocks read, 0 data blocks need recovery
Fri Jun 11 14:22:33 2010
Started redo application at
Thread 1: logseq 884, block 2, scn 12004491273
Fri Jun 11 14:22:33 2010
Recovery of Online Redo Log: Thread 1 Group 1 Seq 884 Reading mem 0
Mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\REDO01.LOG
Fri Jun 11 14:22:33 2010
Completed redo application
Fri Jun 11 14:22:33 2010
Completed crash recovery at
Thread 1: logseq 884, block 3, scn 12004511275
0 data blocks read, 0 data blocks written, 1 redo blocks read
Fri Jun 11 14:22:35 2010
Thread 1 advanced to log sequence 885 (thread open)
Thread 1 opened at log sequence 885
Current log# 2 seq# 885 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\REDO02.LOG
Successful open of redo thread 1
Fri Jun 11 14:22:35 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Jun 11 14:22:35 2010
SMON: enabling cache recovery
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\udump\oracle10_ora_5440.trc:
ORA-00704: ????????
ORA-39700: ??? UPGRADE ???????
Fri Jun 11 14:22:37 2010
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_lgwr_3900.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_dbw0_760.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_ckpt_4880.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_pmon_2616.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_reco_3144.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:37 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_smon_3072.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:40 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_psp0_2884.trc:
ORA-00704: bootstrap process failure
Fri Jun 11 14:22:41 2010
Errors in file d:\oracle\product\10.2.0\admin\oracle10\bdump\oracle10_mman_3040.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 5440
ORA-1092 signalled during: alter database open...
Fri Jun 11 14:22:43 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 71303168
__large_pool_size = 4194304
__java_pool_size = 20971520
__streams_pool_size = 0
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORACLE10.ORA
sga_target = 167772160
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE10\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 62914560
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS2
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=oracle10XDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORACLE10\CDUMP
db_name = oracle10
open_cursors = 300
blank_trimming = TRUE
pga_aggregate_target = 16777216
PMON started with pid=2, OS id=5088
PSP0 started with pid=3, OS id=5092
MMAN started with pid=4, OS id=4748
DBW0 started with pid=5, OS id=5468
LGWR started with pid=6, OS id=1240
CKPT started with pid=7, OS id=5024
SMON started with pid=8, OS id=2464
RECO started with pid=9, OS id=5676
CJQ0 started with pid=10, OS id=5100
MMON started with pid=11, OS id=4832
Fri Jun 11 14:22:44 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=5104
Fri Jun 11 14:22:44 2010
starting up 1 shared server(s) ...
Fri Jun 11 14:22:44 2010
ALTER DATABASE MOUNT -
Hi,
is it possble to create an spfile in oracle 8i? or to convert the pfile generated in 8i to spfile?
regards,The concept of spfile came in 9i - so no you can't create an spfile in 8i
Maybe you are looking for
-
How to upload excel file in application server??
Hi, How to upload an excel file into internal table in background mode from application server? Thanks
-
GL Account Line Items-Qty Field not showing credit sign for credit postings
The instance is ECC 6.0 We are using new GL. The issue is happening for WA doc types. For the credit postings, the Qty is not coming with the credit sign(-) in the line items details report (FAGLL03) for the GL account. When the same document is dis
-
LSO Content Player Error - HTTP Error 404 - File or directory not found
Hi All Please could you assist. I have published a course to my ISS CMS and configured the links in both ECC and J2EE lsm/mediator. Result Username='username', SystemName='HRD', Client='030', Host='22.22.22.22', Language='EN', SystemNumber='00', Enab
-
I'm on a Mac. I've downloaded the CS3 trial. The shortcuts don't work, I've tried editing them on options and they still don't work?? I am also unable to put any actions on any buttons, why? Has it got anything to do with the trial?
-
Stacks for implementing back command!
This here is my Game class, everything works, but im trying to implement a back command by using stacks. I have imported stacks in and all that...The problem im having is that when i go into another room it adds the room in, but im trying to pop it f