Ora Upgrade from 8i to 10G
Hi,
I am migrating application from ora 8i to 10g. so i recompiled all my codes. but in 10G one of the files i got error DWORD not found. but in 8i it compiled fine.so i changed dword to sword then i compiled it.does SWORD create any probelm in 10G?. basically i am not aware of dword and sword. could some one please help.
srinath
Let's start with the basics.
- What language is your application written in? What API are you using? I'm guessing some variant of a C/ C++/ C# application possibly using OCI?
DWORD and SWORD probably represent different data types. A DWORD would normally be an unsigned integer, a SWORD would normally be a signed integer. Whether that causes any problems for your particular application will depend on the possible values this variable can have in your application. If you expect to store values in the upper half of the unsigned range, you'll probably have issues.
Of course, I assume that you will be doing thorough regression testing as part of the upgrade.
Justin
Similar Messages
-
Issue in oracle upgrade from 9i to 10g.
Hi,
I have an MS access application running on oracle database.Recently database is upgraded from 9i to 10g.
After upgrade application is facing the conversion problem.it is throwing an error on varchar and time stamp field showing invalid timestamp message.NLS setting of both the version is same.Please suggest.Thank you,
Here are the answers of your queries.
Yes,This is affecting only MS access application because no other application is accessing this database.
No,No other component of the application is changed or upgraded it is only database which is upgraded.
The error is ORA-06502:PL/SQL:numeric or value error:Character to number conversion error.(In the application the value of this field is defind as Double and in database table it is VarChar and the system was working fine untill database upgrade after upgrade it is giving above error.)
For another field it is giving the error "No valid timestamp" although the same was working fine before upgrade.
No I have not traced the actual sessions but from the backup of 9i I have checked NLS setting and compared it with 10g and found that both are the same.
Hope I have not confused you. -
Report upgraded from 6i to 10g not displaying data.
Hi,
I upgraded one report from 6i to 10g,
When I'm running the report for the same set of data.
After changing the layout for few fields in the subframe.
first time it has shown the data in the report output but now same report with same data is not displying the output.
I'm sure this is due to some layout problem.(may be due to upgradation from 6i to 10g)
Please guide me to resolve this problem.Hello,
How do you execute your Reports ?
Do you execute it from the Builder ?
If you execute it from the Builder, do you use Run Web Layout or Run Paper Layout ?
(If you have upgraded a Reports From 6i, there is no web layout , so you have to use the Run paper Layout
The web layout is something new that appeared in Reports 9.0.2)
Regard -
Steps to upgrade from 9i to 10g
How to upgrade from 9i to 10g?
i dont have any ideaChoose an Upgrade Method
http://download.oracle.com/docs/cd/B10501_01/server.920/a96530/migprep.htm#1006935
10g Upgrade Companion: Doc ID: Note:466181.1
https://metalink.oracle.com/metalink/plsql/f?p=130:14:3420297705404971166::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,466181.1,1,1,1,helvetica
Adith -
Steps to upgrade from 8i to 10g
i look for some documents about this topic 'steps to upgrade from 8i to 10g' but i couldn't find in the site...
would you mind tell me where can i find a complete document , or if you can tell me in details please.
thanks alot in advancehttp://download-west.oracle.com/docs/cd/B14117_01/server.101/b10763/toc.htm
Nicolas. -
Sorting issue after upgrade from 9i to 10g
Dear all,
It is found that the sorting behavior is different after upgrade from 9i to 10g.
In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
Thanks for your help,
M.T.903714 wrote:
Dear all,
It is found that the sorting behavior is different after upgrade from 9i to 10g.
In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
Thanks for your help,
M.T. This is expected behavior in 10g. Oracle will not order the dataset for you unless and until you explicitly specify it.
So without using order by clause in 10g, oracle doesn't guarantee that rows will be ordered.
To go back to old behavior like 9i, you can set a workaround by
alter session set "_newsort_enabled"=false;
Also see MOS - Order Of Data Retrieval Differs after upgrading 9i To 10g [ID 456707.1] -
Tag not being created after upgrade from 9i to 10g
We're upgrading from 9i to 10g - about time - and we've hit some "unexpected behaviour".
If I run
SELECT xmlelement("TestMsg",
XMLFOREST(m.tx_id "MsgNum",
m.tx_type "MsgTyp"
) MESSAGE -- this is the alias for the XMLFOREST item
) ut_xml
FROM (select 1 tx_id, 'test' tx_type from dual) mon my 9.2.0.4 database I get
<TestMsg>
<MESSAGE>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</MESSAGE>
</TestMsg>- an extra tag is created based on the alias of the XMLFOREST item.
on my 10.2.0.4 database I get
<TestMsg>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</TestMsg>no MESSAGE tag.
Some of the XML parsing we have is taking account of this MESSAGE tag and hence is now breaking.
I guess my question is whether we've messed up the install of XMLDB or whether the 9i behaviour was incorrect and we should amend the parsing to the 10g behaviour.Behavior change...?
SELECT xmlelement("TestMsg",
xmlelement("MESSAGE",
XMLFOREST(m.tx_id "MsgNum",
m.tx_type "MsgTyp"
)) ut_xml
FROM (select 1 tx_id, 'test' tx_type from dual) m
will give output in 10.2.0.4.0 EE
UT_XML
<TestMsg>
<MESSAGE>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</MESSAGE>
</TestMsg>Edited by: Marco Gralike on Mar 29, 2011 1:07 PM -
Database upgrade from 8i to 10g using exp/imp
Dear Friends,
Please provide the steps to upgrade from 8i to 10g using exp/imp.
Thanks,
RathinavelHi;
Please also see cold backup option
How to migrate from 8i to 10g to new server using cold backup [ID 742108.1]
Also see:
Upgrading from 8i to 10g with import utility
http://searchoracle.techtarget.com/answer/Upgrading-from-8i-to-10g-with-import-utility
Regard
Helios -
Can a direct upgrade from 8i to 10g is possible?
OR
Do we need to upgraded from 8i to 9i , before we upgrade to 10g?
If we can migrate from 8i to 10g , directly please suggest me the metalink note number.
Thanks
NaveenDear Naveenanand,
I Agree with Jaffy!,
You can direct upgrade only if the current version is 8.1.7 or up. If this is not your case, you will need Upgrade to an intermediate Oracle Database release before you can upgrade to the new Oracle Database 10g release.
Here is a example:
8.0.n -> 8.1.7.4 -> 10.2
8.1.n -> 8.1.7.4 -> 10.2
All information you will need, you can found in this link:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#i1007718
Best Regards,
Francisco Munoz Alvarez
www.oraclenz.com -
Does anyone upgrade from 9iAS to 10g?
Dear all,
Does anyone upgrade from 9iAS to 10g only? The EBS version (11.5.8) and the oracle database version (9.2.0.4) are still same.
Best Regards,
AmyYou can upgrade 9i database to 10g in Ebusiness suite using metalink note
Note:362203.1 Oracle E-Business Suite Release 11i with Oracle Database 10g Release 2 (10.2.0)
Note:369693.1 Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 2
But for the application server components you can follow
Note:125767.1 Upgrading Developer 6i with Oracle Applications 11i
But Application server itself should be upgraded from 9iAS to 10gAS if you are planning to move your oracle applications Ebusiness suite to release 12.
Check the following metalink note
Note:403339.1 Upgrade R11i to R12
Sami Malik -
Upgrading from 9i to 10g on OS X?
Has anybody successfully upgraded from 9i to 10g on OS X?
I am stuck with Mac OS X 10.2.6 Jaguar for the next several weeks until I can upgrade to 10.3.4 Panther. According to the Oracle 10g on OS/X Oracle Installation Errata Information and Tools ( see http://www.crispdata.com/oracle_osx/ ), 10.3.4 is required for 10g installation.
In the meantime, I would prefer to experiment with 9i to learn more about Oracle database technology, and then upgrade to 10g after upgrading the OS to 10.3.4.
Has anybody already done this? Is this feasible?
-- Benjamin L. Russell
[email protected] (previously OTN Member, Since: Jul, 2000--just created new OTN account because of change in e-mail address)Would it be sufficient to just set the passwords to expired? In this case generated the needed statements on your source DB and apply them on your destination DB, i.e.
select 'alter user ' || username || ' password expire;' from dba_users where account_status like 'EXPIRED%';
You might also consider other status values. Possible values are
OPEN
EXPIRED
EXPIRED(GRACE)
LOCKED(TIMED)
LOCKED
EXPIRED & LOCKED(TIMED)
EXPIRED(GRACE) & LOCKED(TIMED)
EXPIRED & LOCKED
EXPIRED(GRACE) & LOCKED
e.g.
select 'alter user ' || username || ' account lock;' from dba_users where account_status like '%LOCK%'; -
The optimizer changed after upgrade from 8i to 10g
I have upgraded my Oracle database from 8i (8.1.7.3) to 10g (10.2.0.3). After upgraded, there's some SQLs are with performance issue that the response time is very slow. The SQL can run very fast (around 1 seconde) in the pre-upgrade environment. Also, after generating the execution plan, there's different from the original enivronment (8i) which the query using some full table scan instead of index scan originally used in 8i.
The optimizer_mode of 8i is RULE and it's CHOOSE when upgraded.
My questions are:
1. Do I have any init.ora parameters setting in 10g environment which differ from 8i?
2. What method of analyzing tables is appropriate to use in 10g? Will this affect the performance like my case?
Thanks,
WaiPlease have a look to following threads:
Re: Optimizer Statistics collection after upgrade from 8i to 10R2
Re: DB upgrade from oracle 8.1.7 to oracle 10.2.0.2 -
Upgrade from 9i to 10g, solaris 8 listener problems now...
I recently upgraded some databases from 9i to 10g. In an attempt to punt
on the 9i listener - I attempted to start the 10g version of the listener
which is producing the following error:
-----paste
lsnrctl startLSNRCTL for Solaris: Version 10.1.0.2.0 - Production on 15-AUG-2004
15:13:03
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /data/oracle/app/oracle/product/10g/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 10.1.0.2.0 - Production
Log messages written to
/data/oracle/app/oracle/product/10g/network/log/listener.log
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.place.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-01114: LSNRCTL could not perform local OS authentication with the
listener
-----/paste
Looking into the logs I see:
-----paste
TNSLSNR for Solaris: Version 10.1.0.2.0 - Production on 15-AUG-2004
15:13:03
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Log messages written to
/data/oracle/app/oracle/product/10g/network/log/listener.log
Trace information written to
/data/oracle/app/oracle/product/10g/network/trace/listener.trc
Trace level is currently 0
Started with pid=524
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.place.com)(PORT=1521)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
15-AUG-2004 15:13:03 *
(CONNECT_DATA=(CID=(PROGRAM=)(HOST=host)(USER=oracle))(COMMAND=status)(ARGUM
ENTS=64)(SERVICE=LISTENER)(VERSION=168821248))
* status * 1189
TNS-01189: The listener could not authenticate the user
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
-----/paste
I've read on this list that it might be a shared_memory_pool problem, So I
think I've maxed out the mount of shared memory. This is a Sun Fire V240
with 8G RAM, so /etc/system has:
*set shmsys:shminfo_shmmax=268435456
*set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmax=8254455808
set shmsys:shminfo_shmmin=200
*set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmmni=1024
set shmsys:shminfo_shmseg=1024
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmns=2000
set semsys:seminfo_semmnu=500
set semsys:seminfo_semume=100
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semopm=100
set noexec_user_stack = 1
I am totally at a loss as to what the issue might be save some new tags
needed in listener.ora... Any pointers/help more than welcome...
Ianwell, oracle's path seems to see 10g's version of the listener:
hosts% which lsnrctl
/data/oracle/app/oracle/product/10g/bin/lsnrctl
I'm running this on the same host. ie loopback.
After the error, the listener seems to be in the process table - but nothing can talk to it:
oracle 856 818 0 20:05:06 pts/2 0:00 egrep lsnr
oracle 838 1 0 19:57:26 ? 0:00 /data/oracle/app/oracle/product/10g/bin/tnslsnr LISTENER -inherit
my listener.ora has:
# listener.ora Network Configuration File: /data/oracle/app/oracle/product/10g/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host.place.com)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = erdos)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = simora1)
(SID_DESC =
(GLOBAL_DBNAME = datamine)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = datamine)
(SID_DESC =
(GLOBAL_DBNAME = interpnt.place.com)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = interpnt)
tnsnames has:
DATAMINE.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = datamine)
EXTPROC_CONNECTION_DATA.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
INST1_HTTP.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
INTERPNT.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = interpnt.place.com)
ERDOS.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = erdos)
SCALES03 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = scales-a.place.com)(PORT = 1521))
(CONNECT_DATA =
(SID=SCALES03)
(SERVICE_NAME = SCALES03) -
Reports upgradation from 6i to 10g
Hi!
We are upgrading all our reports and forms from 6i to 10g.
I am facing the following problem.
In our 6i report, we were scheduling a report from the report server (frequency every hour).
Here the output pdf file we are storing in a folder on the server.
We are assigning the full pathname and file name to the Desname in the After Parameter form Report trigger.
Desname := directory path||filename.pdf
This command works in 6i. The output pdf file is generated in the respective folder. But however this command is not working in the 10g server.
If we dont assign the path and file name to the Desname parameter then the o/p file is generated. It is going to the default location.
Can anybody help me in solving this problem? Is there any other method to achieve the same result?Is there anybody who can help me on this? I need help urgently in this matter.
-
SQLException:Connection timed out- after upgrading from oracle9i to 10g
Hi,
Recently we upgraded from oracle 9i to 10g.
We are using Oracle JDBC Driver version - 10.1.0.5.0 .
In the application, when RMI server starts, the connectionpool (developed using stack) will be filled with 10 instances of fresh connections.
After keeping the RMI server idle for some time ( >24 hours ) , the first transaction sent to the Database (using the connection instance popped out from stack(connectionpool) ) terminates with following exception and from the second transaction onwards everything works normally.
Exception------
java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
at util.TextRequestImpl.presentText(TextRequestImpl.java:105)
at util.TextRequestServer.presentText(TextRequestServer.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
... 13 more
If am connecting to oracle9i(with Oracle JDBC Driver version - 9.0.2.0.0) ,everything works fine.
Can anyone help me out to solve this issue?I attempted several upgrades and we decided it was better to implement the content under 10g fresh rather than attempt an upgrade.
After 3-5 attempts through patching non of them provided us with re-produceable steps and we had different errors each time - mind you this was a few months back after initial release of upgrade patches.
Maybe you are looking for
-
Setting Up a Second Icon for a Second Email Address
My enterprise is dumping all of my email into the first mailbox on the BB. How do I go about getting it in its own icon? Like my other email account (gmail).
-
RFC to SOAP Scenario - WSDL-Import really needed?
Hey @all, we like to feed a webservice via SAP Backend. As middleware we use SAP PI 7.1. The planned scenario is RFC to SOAP. The wsdl of webservice (NON-SAP) has no filled soapAction-Parameter and the operation with name "process" occures three time
-
Creating Web Services using Netbeans GUI only
Hi all, Creating, deploying & testing simple web-services through Netbeans point-n-click interface is quite simple (demo at: http://download.java.net/javaee5/screencasts/hello-simple-glassfish/). The demo shows a very simple service creation scenario
-
How do I delete all the things on my used ipod
how do I delete all the things on my used ipod
-
500 Internal Server Error & cfhttp
Hello, I'm validating URLs using the following: <cfhttp url = "#form.ext_url#" resolveurl = 1 throwonerror = "No"></cfhttp> #cfhttp.statuscode# shows a 500 Internal Server Error. The URL that I'm validating exists and is valid. Why is this error comi