Migrate database oracle 9i to oracle 10g
Hi,
How to migrate oracle database from oracle 9i to oracle 10g
DUPLICATE POST
PLS REFER
how to migrate oracle 9i to oracle 10g
CHeers
Similar Messages
-
SQL Server 2005 Migration to Oracle 10g
Does anyone have any idea if a Migration Workbench beta plug-in exists for SQL Server 2005 to Oracle 10g. I have a production system waiting to be moved over to Oracle and the users are getting impatient.
If there is nothing yet, does anyone have an alternate procedure to migrate a small schema (20 tables + 10 stored procedures) with a large amount of data?Probably late in the day for this but
The workbench cannot handle SS2K5 directly at the moment. However as long as no new SS2K5 functionality has been used with a few tweaks this can be achieved.
1. Firstly use the SS2K offline capture scripts to build the directories for the database(s) you want to capture.
2 Secondly edit
(a) SS2K_SYSLOGINS.dat and take out long SS2K5 user records
(b) SS2K_SYSINDEXES.dat change FIRST ( forth column) to a value (say hex 1).
(c) SS2K_SYSUSERS.dat change ROLES (sixth column) to a value (say hex 1).
This should now load into the workbench. If it does not check the error.log file in <OMWB HOME>\log. -
Error on clone database, oracle 10g release 2 for windows server 2008
Hi,
OS: Windows Server 2008 X64
Oracle: oracle 10g release r2 for windows server 2008
An error occurred when creating a database, stop at last step, Screenshot:
[http://temp.wsria.com/oracle_create_db.png|http://temp.wsria.com/oracle_create_db.png]
the trace log content:
[main] [9:56:35:982] [CommandLineArguments.process:563] CommandLineArguments->process: number of arguments = 32
[main] [9:56:35:982] [CommandLineArguments.process:738] CommandLineArguments->process: Create Database argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:910] CommandLineArguments->process: template Name argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:960] CommandLineArguments->process: db name argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:3074] CommandLineArguments->process: in Operation Type is Creation/GenerateScripts Mode condition
[main] [9:56:35:997] [CommandLineArguments.process:3298] CommandLineArguments->process: Successfully process command line arguments
[main] [9:56:36:668] [Host.checkOPS:2055] Inside checkOPS
[main] [9:56:36:668] [Host.checkOPS:2067] Trying to check cluster existence
[main] [9:56:36:715] [Library.getInstance:97] Created instance of Library.
[main] [9:56:36:715] [Library.load:197] Loading orauts.dll...
[main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orauts.dll
[main] [9:56:36:715] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orauts.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:715] [Library.load:197] Loading MSVCRT.dll...
[main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Library.load:197] Loading orawsec10.dll...
[main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Library.load:197] Loading orasrvm10.dll...
[main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Version.isPre10i:189] isPre10i.java: Returning FALSE
[main] [9:56:36:731] [WindowsSystem.regKeyExists:1006] WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Ocr
[main] [9:56:36:746] [WindowsSystem.getCSSConfigType:1163] configType=null
[main] [9:56:36:746] [Host.checkOPS:2073] cluster existence:false
[main] [9:56:36:746] [Host.checkOPS:2111] Cluster installed=false
[main] [9:56:36:902] [InitParamHandler.endElement:506] CustomSGA flag: false
[main] [9:56:36:902] [InitParamHandler.endElement:507] Database Type: MULTIPURPOSE
[main] [9:56:36:918] [InitParamHandler.endElement:508] Mem Percentage: 40
[main] [9:56:36:918] [InitParamHandler.endElement:526] distributing Memory: 13737443328
[main] [9:56:36:918] [MemoryCalculator.calculateMemory:122] Setting SGA to MAX_SGA 1610612736
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=2
[main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1]
[main] [9:56:36:918] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=3
[main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[1]=2
[main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1, 2]
[main] [9:56:36:933] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
[main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1477] See for any transportable datafiles in TemplateManager.....
[main] [9:56:36:933] [TemplateManager.isInstallTemplate:2178] Selected Template by user:=General Purpose
[main] [9:56:36:933] [TemplateManager.isInstallTemplate:2185] The Message Id to be searched:=GENERAL_PURPOSE
[main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1489] create new clone data file for tp file.......
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7184] setupOIDCommandlineParameters:
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7185] m_regWithdirService: false
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7186] m_unregWithdirService: false
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7187] m_updateDirService: false
[main] [9:56:36:933] [Verifier.processRawConfigFile:3523] StorageType == 0
[main] [9:56:36:933] [Verifier.setOradataDest:4349] setOradataDest:dfDest=D:\oracle\product\10.2.0\oradata
[main] [9:56:36:933] [TemplateManager.updateDatafileDestination:1957] updateDatafiles:datafileDir=D:\oracle\product\10.2.0\oradata
[main] [9:56:36:933] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=1
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo01.log
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=2
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo02.log
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=3
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo03.log
[main] [9:56:36:965] [ProgressOnlyHost.performOperation:162] processRawConfigFile=false
[main] [9:56:36:965] [Verifier.validateTemplate:1629] StorageType == 0
[main] [9:56:36:965] [ProgressOnlyHost.performOperation:178] validateTemplate=true
[main] [9:56:36:965] [OracleHome.isRacEnabled:149] bRacOn = false
[main] [9:56:36:980] [Verifier.validateTemplate:1629] StorageType == 0
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.getControlfFileSizes:3001] No. of Control files:=3
[main] [9:56:37:105] [Host.executeSteps:4044] Executing steps....
[main] [9:56:37:105] [Host.setUpForOperation:2920] setUpForOperation: Mode = 128
[main] [9:56:37:121] [Host.executeSteps:4186] setupForOperation returned: true
[main] [9:56:37:121] [Host.createStepSQLInterface:5948] sid =ora10g
[main] [9:56:37:136] [SQLEngine.initialize:242] Execing SQLPLUS/SVRMGR process...
[main] [9:56:37:136] [SQLEngine.initialize:270] m_bReaderStarted: false
[main] [9:56:37:136] [SQLEngine.initialize:274] Starting Reader Thread...
[Thread-4] [9:56:37:355] [StepContext$ModeRunner.run:2478] ---- Progress Needed:=true
[Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
[Thread-4] [9:56:37:464] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
[Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
[Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : INSTANCE_CREATION
[Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
[Thread-4] [9:56:37:479] [InitParamAttributes.sortParams:3532] m_sortOn:-1 sortOn:4
[Thread-4] [9:56:37:620] [OracleHome.isRacEnabled:149] bRacOn = false
[Thread-4] [9:56:37:667] [Host.noEntryinOratab:5115] Check made for oratab arg passed............
[Thread-4] [9:56:37:667] [Oradim.getAddEntryCommand:353] AddEntry=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -new, -sid, ORA10G, -startmode, manual, -spfile]
[Thread-4] [9:56:38:899] [Oradim.getEditEntryCommand:422] getEditEntry cmd=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -edit, -sid, ORA10G, -startmode, auto, -srvcstart, system]
[Thread-4] [9:56:39:55] [Oradim.addSidToRegistry:871] oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb10g_home1
[Thread-4] [9:56:39:117] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@c73f0d8
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:217] Instance Creation went fine..........
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:224] db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:227] db_recovery_file_dest_size=2147483648
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1750] old Spool = null
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1751] Setting Spool = D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\ora10g\CloneRmanRestore.log
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1752] Is spool appendable? --> true
[Thread-4] [9:56:39:991] [CloneRmanRestoreStep.executeImpl:320] starting with pfile=D:\oracle\product\10.2.0\admin\ora10g\pfile\init.oraCheck your SQLNET.AUTHENTICATION_SERVICES settings in sqlnet.ora file.
ORA-28547 : Connection to server failed, probable Net8 admin error
thanks
http://swervedba.wordpress.com/ -
Creating database oracle 10g express edition
1. can we create more than one database in oracle 10g express edition?
2. can we rename database name default "XE" in Oracle 10g express edition?>
1. can we create more than one database in oracle 10g express edition?
>
No you cannot.
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
>
3.2 Oracle Database XE Installation and Execution Restrictions
<li>On a single computer, only one installation of the Oracle Database XE software can be performed.</li>
<li>In addition, users can run only one instance of the Oracle Database XE database on each individual computer.</li>
To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
>
>
2. can we rename database name default "XE" in Oracle 10g express edition?
>
Yes you can. Please see the link below for details.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:963124000346653522
XE questions are best answered here {forum:id=251}
Regards,
Phiri -
Row chaining and row migration in Oracle 10g R2/11g R2
Hi,
Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
Thanks for your helpneemin wrote:
Hi,
Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
Thanks for your helpIt depends.
what you do observe after TESTING against the Development DB? -
SQL Server 2000 Migration to Oracl 10g
Hi,
We are plannig to migrate the SQL Server 2000 to Oracle 10g. I have following queries.
1. Does the Oracle SQL Developer tool is the one that to be used? (Previously OWMB used to support SQL Server 2000, but it is no longer supporting.)
2. When I tried to migrate using Oracle SQL Developer tool, there were some errors for @@spid and the tool did go further?
3. In OMWB it used to provide the details like how many DB objects migrated successfully and how many failed, how to generate similar reports in Oracle SQL Developer?
Please let me know.
ThanksMake sure you use
Oracle SQL Developer Migration Workbench
http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html -
Hello.
i am new in Oracle...
i have database file which i have to import in oracle 10g. please tell me step wise, i will be thankful to you.
Thanks.
Regards.Hi,
Consider the documentation for Oracle 10g:
http://www.oracle.com/pls/db102/homepage
Also please post Oracle source and destination version. Whether regular export/import or datapump is used ?
Regards,
Sve -
Designer 6i / Database Oracle 10G / Metadata on Oracle 9. Is that possible?
Dear all,
Please give me a suggestion here! We have the Developer tools 6i and will want to bring a new Oracle 10G database into Designer 6i and the metadata to be stored in 9i database. Please let me know if this is possible or should we go for higher versions of Designer.
Cheers
Sarma.Sarma,
I assume you want to install Des6i in a 9i database: that's possible.
Then you want to capture the database(definitions) from a 10g database into that Des6i version: also that's possible.
But I think it is not a supported combination...
HTH
Roel -
Database migrated from Oracle 10g to 11g Discoverer report performance issu
Hi All,
We are now getting issue in Discoverer Report performance as the report is keep on running when database got upgrade from 10g to 11g.
In database 10g the report is working fine but the same report is not working fine in 11g.
The query i have changed as I have passed the date format TO_CHAR("DD-MON-YYYY" and removed the NVL & TRUNC function from the existing query.
The report is now working fine in Database 11g backhand but when I am using the same query in Discoverer it is not working and report is keep on running.
Please advise.
Regards,Pl post exact OS, database and Discoverer versions. After the upgrade, have statistics been updated ? Have you traced the Discoverer query to determine where the performance issue is ?
How To Find Oracle Discoverer Diagnostic and Tracing Guides [ID 290658.1]
How To Enable SQL Tracing For Discoverer Sessions [ID 133055.1]
Discoverer 11g: Performance degradation after Upgrade to Database 11g [ID 1514929.1]
HTH
Srini -
Migration of Database oracle 10g from solaris to linux
Hi,
I need to migrate a DB from solaris to linux without shutdown the solaris DB.I would like to know the backup using RMAN Transportable tablespace in solaris and migrate it to dest(Linux).
Kindly share ur ideasI need to migrate a DB from solaris to linux without shutdown the solaris DB.I would like to know the backup using RMAN Transportable tablespace in solaris and migrate it to dest(Linux).
Kindly share ur ideasIt is very much possible. In fact I transfered DB from sunos to Windows. But this is not a backup process using RMAN. RMAN is used to change the endianness of datafile so that it is in format which is required by Windows format. This transfer is possible using the data pump utility(IMPDP). There are many threads on the forum for this topic. Seek help from other threads.
Regards
Virendra -
Manually Migrating from Oracle 10g to 11g
Hello, I'm currently a student in an Oracle DBA class. I'm totally new to the Oracle world.
One of our final assignments concerns upgrading Oracle instances without the use of DBUA.
I've currently got Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and am trying to upgrade to 11.1.0.7.0
This is all inside of VirtualBox, running Windows Server 2008. I've been using 10g with absolutely no issues for the duration of this class.
I successfully installed 11g, choosing to install the software only and not use dbua.
I changed my environment variables to point towards the 10g installation; ORACLE_HOME, ORACLE_SID, PATH, and LD_LIBRARY_PATH.
Then logged into 10g's SQLPlus and ran utlu111i.sql, which ran successfully. I issued a shutdown immediate and exited SQLPlus.
Changed my environment variables to point towards the 11g home and set ORACLE_SID as the 10g database name. I was able to log into 11g's SQL plus, was told I was connected to an idle instance, which I expected. I issued a startup upgrade command, and then attempted to run catupgrd.sql, but got an error stating that I had to run the script from 11g.
If I don't set the environment variables then when I try to log into 11g's sqlplus, I get an ORA-12560: TNS:protocol adapter error... I've tried reinstalling 11g from scratch, but to no avail. My instructor and I have been emailing back and forth frequently over the past few days but we have not been able to reach a solution, so I thought I would see if I could pick your brains.
Here's all of the terminal output from the process:
C:\Users\Administrator>sqlplus
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 29 20:15:09 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter user-name: connect /as sysdba
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?
SP2-0310: unable to open file "C:\270Oracle.sql"
SQL> @C:\NewCIS270\product\11.1.0\db_1\rdbms\admin\utlu111i
Oracle Database 11.1 Pre-Upgrade Information Tool 04-29-2011 20:16:16
Database:
--> name: KYLMAN
--> version: 10.2.0.3.0
--> compatible: 10.2.0.3.0
--> blocksize: 8192
--> platform: Microsoft Windows IA (32-bit)
--> timezone file: V4
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 729 MB
.... AUTOEXTEND additional space required: 249 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 417 MB
.... AUTOEXTEND additional space required: 352 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 455 MB
.... AUTOEXTEND additional space required: 215 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
.... AUTOEXTEND additional space required: 33 MB
--> EXAMPLE tablespace is adequate for the upgrade.
.... minimum required size: 78 MB
Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No update parameter changes are required.
Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
--> "background_dump_dest" replaced by "diagnostic_dest"
--> "user_dump_dest" replaced by "diagnostic_dest"
--> "core_dump_dest" 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
--> Oracle Workspace Manager [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Data Mining [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Database contains stale optimizer statistics.
.... Refer to the 11g Upgrade Guide for instructions to update
.... statistics prior to upgrading the database.
.... Component Schemas with stale statistics:
.... SYS
.... OLAPSYS
.... SYSMAN
.... CTXSYS
.... XDB
WARNING: --> Database contains schemas with objects dependent on network
packages.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
PL/SQL procedure successfully completed.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>set ORACLE_HOME=C:\NewCIS270\product\11.1.0\db_1
C:\Users\Administrator>set ORACLE_SID=KYLMAN
C:\Users\Administrator>set PATH=%ORACLE_HOME%\bin
C:\Users\Administrator>sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Apr 29 20:22:49 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade;
ORACLE instance started.
Total System Global Area 440401920 bytes
Fixed Size 1291072 bytes
Variable Size 146803904 bytes
Database Buffers 289406976 bytes
Redo Buffers 2899968 bytes
Database mounted.
Database opened.
SQL> @?
SP2-0310: unable to open file "C:\NewCIS270\product\11.1.0\db_1.sql"
SQL> @?/rdbms/admin/catupgrd
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The first time this script is run, there should be no error messages
DOC> generated; all normal upgrade error messages are suppressed.
DOC>
DOC> If this script is being re-run after correcting some problem, then
DOC> expect the following error which is not automatically suppressed:
DOC>
DOC> ORA-00001: unique constraint (<constraint_name>) violated
DOC> possibly in conjunction with
DOC> ORA-06512: at "<procedure/function name>", line NN
DOC>
DOC> These errors will automatically be suppressed by the Database Upgrade
DOC> Assistant (DBUA) when it re-runs an upgrade.
DOC>
DOC>#######################################################################
DOC>#######################################################################
DOC>#
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the user running this script is not SYS. Disconnect
DOC> and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
no rows selected
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database server version is not correct for this script.
DOC> Shutdown ABORT and use a different script or a different server.
DOC>######################################################################
DOC>######################################################################
DOC>#
SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
ERROR at line 1:
ORA-01722: invalid number
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>
Edited by: 855732 on Apr 29, 2011 6:59 PMHi,
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
Your instance is started from the 10g ORACLE_HOME. You mentioned you started it from the 11g ORACLE_HOME but it's not the case.
Here is an example with a 10gR2 database started from a 11gR2 ORACLE_HOME :
SQL> startup upgrade pfile =/u01/app/oracle/product/10.2.0/db_1/dbs/initP102.ora
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 167387136 bytes
Fixed Size 1335248 bytes
Variable Size 88080432 bytes
Database Buffers 75497472 bytes
Redo Buffers 2473984 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNotice the Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 part.
In your case it was Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
To solve the issue follow the official documentation, you have specific actions with oradim etc. to do (it's always a bit more complicated than with Unix/Linux but it's documented) :
http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#insertedID8
Best regards
Phil -
Activate 3Gb option in Windows Database Oracle 10g
Hi
We are facing ORA 4030 - Oracle Out of memory issues after upgrade to Oracle 10.2.0.4 (32 Bit Machine).
We want to activate the 3GB option in Windows by adding /3GB at the end of boot.ini file.
We will make sure to take the backup of boot.ini file.
But
One of the prerequisite is
An additional prerequisite for using 3GB of address space is a corresponding indicator in the header of the executable. You use this indicator to signal to NT that the application (ORACLE.EXE) can work with
3GB of address space. If this indicator is not set, this means that only 2GB is available to the application, even though you are using the 3GB option and the NT Enterprise Edition.
1. How can we put the corresponding indicator in the header of the executable?
2. And in which Executable?
Much appreciate the response..
RegardsHello Rajesh,
you don't havt to changa any executable.
You just have to add the entries /PAE /3GB to your boot.ini.
The user account under which Oracle Database runs (SAPSERVICESID), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
DB_CACHE_SIZE
DB_2K_CACHE_SIZE
DB_4K_CACHE_SIZE
DB_8K_CACHE_SIZE
DB_16K_CACHE_SIZE
DB_32K_CACHE_SIZE
To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
For more details please see ...
SAP Note 441663 - USING > 3 GB of memory for Oracle on WINDOWS platforms
or
http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/architec.htm#i1005826
Regards
Sascha -
How to connect database(oracle 10g) and retreive values using poral 10
can anyone help me how to connect to database and retreive values in detail and also please post the sample code if u have any.
Hello
Thanks for your reply
I tried to connect and here is the result: see below
[oracle@ebstailin 11.1.0]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jul 17 15:35:31 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> CONNECT apps/apps
Connected.
SQL>
But still cannot connect using ORACLE SQL Developer
thanks -
I would like to practise on the same environment/system as my works at home using sql developer.
My works database has around 10GB of data and i believe there are over a couple of hundred tables.
What i would like to do is copy the structure of the tables so that i can import them into my test oracle database at home. If possible i would like to copy not only the database tables but also the first record in every table in order that i can see what data the table holds without having to do a DESC. Therefore i could look at the data in sql developer.
Can anyone instruct me on the best way to achieve my goal.
Any assistance greatly appreciated.I would like to practise on the same
environment/system as my works at home using sql
developer.
My works database has around 10GB of data and i
believe there are over a couple of hundred tables.
What i would like to do is copy the structure of the
tables so that i can import them into my test oracle
database at home. If you are using SQLDeveloper, then you can use the "Database Export" menu item (Tools -> Database Export) to create a SQL script with the DDL statements of all table structures in it.
Alternatively, you could use the "exp" command with "rows=n" option to create a dump file that contains just the table structures.
...If possible i would like to copy
not only the database tables but also the first
record in every table ...I don't think this will work, it could error out due to foreign key violations.
... in order that i can see what
data the table holds without having to do a DESC.But DESC was never meant to show you the data the table holds anyway.
DESC is meant to show you the table structure, and not the data in it.
Not sure how loading 1 record in each table would help you avoid using DESC.
Therefore i could look at the data in sql developer.
Can anyone instruct me on the best way to achieve my
goal.
If you are trying to get a minimal set of data to work on, then tough luck. You will have to know your data very well to figure out how to extract it that way.
You cannot apply a blanket rule of "where rownum = 1" (which you can actually specify in SQL Developer) and expect all that data to be loaded without foreign key violations.
HTH
isotope -
Physical Standby database Oracle 10g Standard Edition
Hello,
I open a new question about testing a standby database a because of this:
I realize that my standby database is 10g Standard and not Enterprise and not 11g.
Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
In this scenario, the only way that I think is:
On Standby
- Shutdown database
- Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
- Open database, test and modify data
- When test is finished, shutdown database
- Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
- Open database as standby and apply all archived redo logs needed.
Would be it work without problem or should I copy other files?user521219 wrote:
Hello,
I open a new question about testing a standby database a because of this:
I realize that my standby database is 10g Standard and not Enterprise and not 11g.
Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
In this scenario, the only way that I think is:
On Standby
- Shutdown database
- Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
- Open database, test and modify data
- When test is finished, shutdown database
- Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
- Open database as standby and apply all archived redo logs needed.
Would be it work without problem or should I copy other files?yes, It will work.
it comes under Refresh of database, use --> cleanup --> restore.
If its enterprise edition , you can use procedure mentioned in this note How To Open Physical Standby For Read Write Testing and Flashback [ID 805438.1]
Edited by: CKPT on Jul 5, 2012 11:01 PM
Maybe you are looking for
-
How can i sync my iPod to my new iTunes
I have just got a macbook air and I'm very new to apple, i have 1000+ songs on my old iTunes account on my sony laptop I've plugged the iPod in and it pops up saying to sync device all music will be deleted ? is this ok? or is there another way to sy
-
Is there a way to sync videos with iTunes?
Umm I used Videora to convert a movie (mpeg) file and it came out kinda wrong. Is there a way to sync it with iTunes? any help is appreciated
-
Burning DVD's from .avi files
What exactly do I have to do to use iDVD 6 to make a DVD from .avi files?
-
New Apple User - Trouble with External Hard Drive
I am not very good with computers so hopefully this is a simple task. I just purchased my first mac, a MacBook for college. I bought a Seagate FreeAgent 160 GB drive with the intent of using it for time machine back ups and also for storing my music.
-
Error message too many redirects when logging into wifi hotspot
Getting an Error Opening Page message when trying to login to wifi hotspot - too many redirects occurred