Oracle 11g EE migration to SE1
Hi,
We are planning to migrate Oracle 11g Enterprise Edition to Standard one edition. Right now OS is Solaris. New server will have Linux. I want to know:
1. What are the issues when migrating from 11g EE to SE?
2. What are the issues when migrating from Solaris to Linux?
Thanks
Do you mean the issues with the features or issue with the migration process?
If its about process then check this
Converting An Enterprise Edition Database To Standard Edition (Doc ID 139642.1)
If this is about features, check this
Oracle Database Editions
Similar Messages
-
MS Access to Oracle 11g data migration
Hi All,
I've been trying to migrate the data. I've even tried the Northwind and it succeeded. The problem now is, the Tools->Migration->Microsoft Access Exporter (MS Access 2000 exporter) doesn't export the entire data from tables. I've some 20 records in one table and it exported only 6. There are few tables which don't get any data exported at all. The message shows export completed successfully.
I'm using SQL Developer 3.2. Please help.
Thanks,
WasimWasim,
To try and get some idea of why you have problems what happenms if you try the following for one of the tables that gives the problem -
- export - do all the rows get put into the export file ?
- copy to Oracle - does this copy all the rows or give any errors /
Regards,
Mike -
Which Oracle 11g R2 Database Editions support Fusion Middleware?
I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!Straggler wrote:
I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!
>I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!
software can be obtained from http://otn.oracle.com
documentation can be found at http://tahiti.oracle.com; including Installation Guides -
Upgrade JRE version of Oracle 11g database
Hi all.
I need to upgrade the version of the JRE installed on a Oracle 11g database, migrating from 1.5 to 1.6.
Any suggestions or practical guides that i can follow ?
Thanks
A.Pl post exact OS and database versions. Are you wanting to upgrade the Java version in the database ? If so, that is not possible.
Is It Supported to Update /Upgrade the Default JDK/JRE in Oracle Home? [ID 1449674.1]
OracleJVM Install and Upgrade FAQ [ID 825306.1]
Java update of the JDK and JRE Installed In Oracle Database Home [ID 418399.1]
Master Note for Oracle JVM [ID 1098505.1]
Re: update jdk from Oracle 11g? (version is > EOL)
HTH
Srini -
Migrating from MySQL to Oracle 11g
can u tell me the steps to migrating database from MySQL to Oracle using SQL Developer?
I have installed Oracle 11g(11.1.0.6.0) in server and SQl Developer in my local system.
I connected to MySQL and Oracle in SQL Developer and tried to MIgrate everything in MySQL to Oracle using Quick Migrate option.
it took one and half day but didn't work at last...
is there any pre tasks that i need to do before migrating to oracle from MySQL?
and also when i export the MySQL data to Oracle using SQL Developer,it is giving data type mismatch errors like (date, boolean etc...).
please give a reply what i need to do and any refferences also very much appreciated.hi Turloch ,
I followed the steps mentioned above.
When I right click my MySQL server db Connection and click "Capture MySQL server", it just shows a dialog with "Close" enabled.
after clicking the close button, it gives following error messages.
oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
the same error is coming no of times.
Kindly help me in this regard. -
Urjent help !!!Error during running script root.sh for oracle 11g migration
Dear All,
My databse is Oracle 9.2.8.0 and i am migrating it into oracle 11g.
During installation of oracle 11g (with software only option) , it asked me to run the script root.sh in another terminal,
During running i got the below error.
What i should do now. shall i continue with the error...............
Kindly help ? It's urjent....
Script Output :
[root@cmssbigt dbhome_1]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/product/11.2.0/dbhome_1
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
/bin/mkdir: cannot create directory `/opt/ORCLfmap': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/etc': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/log': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputl': No such file or directory
/bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputlhp': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/etc': No such file or directory
[root@cmssbigt dbhome_1]#
You have new mail in /var/spool/mail/rootBiswa wrote:
If u have any problem with urjent word then mention in the forum during regestration that , only who having 5 to 6 days of time can only post. Because the issues will be solved within this time interval.
Ok ..........No. It is NOT okay to claim that everyone else here that posted problems need to be ignored and your problem be given priority attention because you deem it to be urgent. You have not a single valid excuse for claiming your posting is more important on OTN that other postings.
It is not acceptable. Learn some basic etiquette please when posting online! -
Oracle 11g Migration performance issue
Hello,
There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
INSERT INTO TABLE_XYZ
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
While looking at cost in Explain plan :
on 10g --> 62567
0n 11g --> 9879652356776
Strange thing is that
Scenario 1: if I issue just query as shown below, will display rows immediately :
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
Scenario 2: If I create a table as shown below, will work correctly.
CREATE TABLE TABLE_XYZ AS
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?Table:
CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
"PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
"PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
"PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
"PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
"PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
"CURRENTEXPIRYCOUNT" NUMBER,
"CURRENTRENEWEDCOUNT" NUMBER,
"PREVIOUSEXPIRYCOUNT" NUMBER,
"PREVIOUSRENEWEDCOUNT" NUMBER
SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
TABLESPACE "XYZ" ;
Explain Plan(With Insert Statement and Query):_
INSERT STATEMENT, GOAL = ALL_ROWS Cost=9110025395866 Cardinality=78120 Bytes=11952360
LOAD TABLE CONVENTIONAL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS
NESTED LOOPS OUTER Cost=9110025395866 Cardinality=78120 Bytes=11952360
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=115 Cardinality=78120 Bytes=2499840
VIEW PUSHED PREDICATE Object owner=ODS Cost=116615788 Cardinality=1 Bytes=121
SORT GROUP BY Cost=116615788 Cardinality=3594 Bytes=406122
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=116615787 Cardinality=20168 Bytes=2278984
SORT GROUP BY Cost=116615787 Cardinality=20168 Bytes=4073936
NESTED LOOPS OUTER Cost=116614896 Cardinality=20168 Bytes=4073936
VIEW Object owner=SYS Cost=5722 Cardinality=20168 Bytes=2157976
NESTED LOOPS Cost=5722 Cardinality=20168 Bytes=2097472
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW PUSHED PREDICATE Object owner=ODS Cost=4 Cardinality=1 Bytes=20
FILTER
SORT AGGREGATE Cardinality=1 Bytes=21
TABLE ACCESS BY GLOBAL INDEX ROWID Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=4 Cardinality=1 Bytes=21
INDEX RANGE SCAN Object owner=ODS Object name=PK_AVN_F_TRANSACTIONS Cost=3 Cardinality=1
VIEW PUSHED PREDICATE Object owner=ODS Cost=5782 Cardinality=1 Bytes=95
SORT GROUP BY Cost=5782 Cardinality=2485 Bytes=216195
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=5781 Cardinality=2485 Bytes=216195
SORT GROUP BY Cost=5781 Cardinality=2485 Bytes=278320
HASH JOIN Cost=5780 Cardinality=2485 Bytes=278320
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=925 Cardinality=1199 Bytes=73139
SORT GROUP BY Cost=925 Cardinality=1199 Bytes=100716
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=4854 Cardinality=75507 Bytes=3850857
SORT GROUP BY Cost=4854 Cardinality=75507 Bytes=2340717
VIEW Object owner=ODS Cost=4207 Cardinality=75507 Bytes=2340717
SORT GROUP BY Cost=4207 Cardinality=75507 Bytes=1585647
PARTITION HASH ALL Cost=3713 Cardinality=75936 Bytes=1594656
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3713 Cardinality=75936 Bytes=1594656
Explain Plan(Only Query):_
SELECT STATEMENT, GOAL = ALL_ROWS Cost=62783 Cardinality=89964 Bytes=17632944
HASH JOIN OUTER Cost=62783 Cardinality=89964 Bytes=17632944
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=138 Cardinality=89964 Bytes=2878848
VIEW Object owner=ODS Cost=60556 Cardinality=227882 Bytes=37372648
HASH GROUP BY Cost=60556 Cardinality=227882 Bytes=26434312
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=54600 Cardinality=227882 Bytes=26434312
HASH GROUP BY Cost=54600 Cardinality=227882 Bytes=36005356
HASH JOIN OUTER Cost=46664 Cardinality=227882 Bytes=36005356
VIEW Object owner=SYS Cost=18270 Cardinality=227882 Bytes=16635386
HASH JOIN Cost=18270 Cardinality=227882 Bytes=32587126
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=13445038
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522
VIEW Object owner=ODS Cost=26427 Cardinality=227882 Bytes=19369970
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=18686324
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=26427 Cardinality=227882 Bytes=18686324
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=25294902
HASH JOIN Cost=20687 Cardinality=227882 Bytes=25294902
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=12826 Cardinality=34667 Bytes=2080020
HASH GROUP BY Cost=12826 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=7059 Cardinality=227882 Bytes=11621982
HASH GROUP BY Cost=7059 Cardinality=227882 Bytes=6836460
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=6836460
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522 -
How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer
Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
KevinHi Kevin,
user13531850 wrote:
Hi Turloch,
When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
I have not used this recently.
Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
uses bcp + files + scripts + sqlldr.
online: for small (amount of data) databases (easier),
uses (Java) jdbc.
The view is likely to be broken - recompiling it may help.
The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
>
Kevin-Turloch
SQLDeveloper Team -
Migrating Sybase code to Oracle 11g
Hi All,
We have to migrate Sybase code to Oracle 11g.
When we are doing a SELECT .. INTO in Sybase , even if the query is returning more than 1 row , sybase selects 1 of the rows and populates the variables.
But while migrating this code to oracle, we are getting TOO_MANY_ROWS Exception.
We need to migrate the code from SYBASE to ORACLE without disturbing the logic.
Can someone please tell me the logic applied by SYBASE to pick up the record?
And if someone has faced this issue, then what can be done to resolve this.
Regards,
Riddhisha KhamesraThe result 3 is the last entered record (not the amount of records..).
So the first approach to write a dummy procedure that will select all records in Oracle like:
CREATE OR REPLACE PROCEDURE last_record
v_arg1 OUT NUMBER
AS
BEGIN
SELECT col1
INTO v_arg1
FROM tt_tmp ;
END;
and hopefully returns only the last record will fail with:
SQL> variable outvar number
SQL> exec last_record (:outvar)
BEGIN last_record (:outvar); END;
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYSTEM.LAST_RECORD", line 9
ORA-06512: at line 1
One possible approach to get the last (and only the last) record that was entered into the table is to use rownum:
The select might look like "select col1 from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;"
So the procedure can be coded as:
CREATE OR REPLACE PROCEDURE last_record
v_arg1 OUT NUMBER
AS
BEGIN
SELECT col1
INTO v_arg1
from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;
END;
Now calling it in SQL*Plus:
SQL> variable outvar number
SQL> exec last_record (:outvar)
PL/SQL procedure successfully completed.
SQL> print :outvar
OUTVAR
7
The value 7 is the last record I've inserted into my tt_tmp table:
SQL> select * from tt_tmp;
COL1 COL2
1 1
2 2
8 8
7 7 -
Oracle 10g reports migration to Oracle 11g migration
I have migrated oracle 10g reports to Oracle 11g reports and generated REP file. But when we execute REP file using RWRUN.EXE I am getting below error.
ERR REP-50125: rwbuilder.conf:java.lang.NullPointerException
ERR java.lang.NullPointerException
to avoid this I tried below work arround which was posted in "https://forums.oracle.com/forums/thread.jspa?threadID=2365028" URL. but not success.
1. Go to C:\Oracle\Middleware\asinst_1\config\FRComponent\frcommon\tools\admin
2. Make a backup of the file 'cauprefs.ora'
3. Open up the file in a text editor:
--In the file, look for:
Reports.PluggableDataSourceFactories =
("oracle.reports.plugin.datasource.xmlpds.XMLDataSourceFactory",
"oracle.reports.plugin.datasource.jdbcpds.JDBCDataSourceFactory",
"oracle.reports.plugin.datasource.textpds.TextDataSourceFactory")
--Replace the value to: Reports.PluggableDataSourceFactories = ()
4. Save the file and try running Reports Builder again. Data Model should open up without crashing.
Could you please help me to resolve this issue.When I use rwrun.bat report is not invoking i use below command line. I am executing rwrun.bat from C:\Oracle\Middleware\asinst_1\config\reports\bin path.
rwrun.bat report="C:\Program Files\prnsrv\advices\01\bcacuchq.rep" userid=dbuserid/[email protected] desformat=pdf DESTYPE=file DESNAME="c:\temp\test.pdf" TRACEFILE="C:\TEMP\test.LOG" PRM_BRCH_CODE=781 PRM_PROD_CODE=BC PRM_PROD_REF_ID=BC11100142 PRM_ORDER_COL=DELIVERY_MODE PRM_CHQ_RPT=Y
and log is generating as below
===========================
LOG :
Report: C:\Program Files\prnsrv\advices\01\bcacuchq.rep
Logged onto server:
Username:
*** Starting up the JVM ***
JVM CLASSPATH variable is:
C:\Oracle\Middleware\Oracle_FRHome2\reports\jlib\rwbuilder.jar;C:\Oracle\Middleware\Oracle_FRHome2\reports\jlib\rwrun.jar;C:\Oracle\Middleware\Oracle_FRHome2\jlib\zrclient.jar
*** JVM started successfully ***
==================================== -
MS SQL Server system stored procedures can't be migrated into Oracle 11g
During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END;During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END; -
Link/checklist for migrating applications from Oracle 9i to Oracle 11g?Help
Hi all,
We need to perform an impact analysis on migratiing an application from Oracle 9i to Oracle 11g. Does any of you have a detailed checklist to follow, in terms of queries, PL/SQL statements, optimizer etc. etc., when attempting this migration. We require something more specific from the application point of view rather than a DBA point of view.
Additionally, we have queries written extensively with rule hints. Should there be a special consideration for the same since now we are moving to CBO in 11g
Even if any one has a link, that would help. Thank you so much!Hi Nikhil,
Thanks Xaheer,You're welcome :)
I'm going through the link: http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/toc.htm
But it still mentions stuff from a DBA angle. I need from an application angle.
Do I need to change my queries taht are current written with RBO? Do I need to change Pl/SQL blocks ?Please refer tech below notes:
*1)TROUBLESHOOTING: Server Upgrade Results in Slow Query Performance -- 160089.1*
*2)TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER -- 562899.1*
Before upgrading your production database, please perform upgrade of test database and do complete testing.
Hope helps
Regards,
X A H E E R -
Vb6 ODBC - Syntax error or access violation in oracle 11g migration
Hi,
We have VB6 application with Oracle 10g and the same is working fine.
Now, we are migrating to Oracle 11g now and we have updated the odbc drivers too.
{ call M_FR(?, ?, ?, ?, ?, ?, ?, ?) }
L_ID = 890083
V_ID = 1
SUB_ID = 6955141
SUB_SEQ = 1
P_CODE = 1
L_SUP_TYPE = 1
L_REF_NO = 1
DELETE_REASON_CODE = 1
When calling the above sp in oracle 11g getting error: [Microsoft][ODBC driver for Oracle]Syntax error or access violation.
But user has all the right and no issue with access. Also no syntax error. In SQLplus the same is working fine.
Kindly help us to resolve this issue.
Regards,
SathiyaTry downloading the latest version of the 8.1.6 driver off OTN.
That sounds like a bug that was fixed a while ago.
Justin -
Primavera 6.2 SQL Database to Oracle 11g migration
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,user11108903 wrote:
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,I have not seen that specifically but it appears that not all of the grants were correctly applied.
I would suggest running the schema validation tool which can be found on the knowledgebase as Solution ID: prim75459 as this will tell you what is missing/invalid.
Once you know that, you can pull the neccesary grants from the create scripts located in the cd1\install\database\scripts folder. -
Hi,
We are migrating the siebel database from DB2 to Oracle 11g.
While doing the migration, the following values are found for the siebel related tables on DB2.
for example:
CREATE TABLE S_SERVICE_SCRPT (
ROW_ID NVARCHAR2(15) NOT NULL,
CREATED TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
CREATED_BY NVARCHAR2(15) NOT NULL,
LAST_UPD TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
LAST_UPD_BY NVARCHAR2(15) NOT NULL,
MODIFICATION_NUM DECIMAL DEFAULT 0 NOT NULL,
CONFLICT_ID NVARCHAR2(15) DEFAULT gx'00030' NOT NULL,
NAME NVARCHAR2(75) NOT NULL,
PROG_LANG NVARCHAR2(30) NOT NULL,
REPOSITORY_ID NVARCHAR2(15) NOT NULL,
Please can anybody provide inputs how to get the equivalent for these gx___ values on Oracle 11g.
Many thanks in advanceFound a suitable link at IBM:
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.sqlref/db2z_sql_declareglobaltemptable.htm
gx is the hexadecimal graphic string constant - which is similar to our unistr function.
Not sure which character is representated by 00030, but here's a method you can use to simply figure out the Oracle equivalent code point.
First you need to figure out the DB2 character represented by the default value - let's assume it is '@'
Assuming the NCHAR character set is UTF8 and the NLS character set is WE8MSWIN1252, then you can execute:
select ascii('@') from dual;
ASCII('@')
64
in SQL*Plus and you'll get the code point 64.
Convert the 8bit code point to unicode using:
SQL> select dump(convert(chr(64),'UTF8','WE8MSWIN1252'),16) from dual;
DUMP(CONVERT(CH
Typ=1 Len=1: 40
and you can create the table with the default value represented by the hex value 0040:
SQL> create table abc (col1 varchar2(20) default '@',
2 col2 nvarchar2(20) default unistr('\0040'));
Table created.
SQL> insert into abc values (default,default);
1 row created.
SQL> select * from abc;
COL1 COL2
@ @
Maybe you are looking for
-
Hi, I am getting error while doing listing. "Manual module selection and checking procedure not possible at present. Please advise the resolution and root cause of the error. Regards prawmu
-
help
-
Role or Profile with Full Authorization in DISPLAY MODE
Hi all, Can anyone help me or tell me if there is any standard role or profile which has full authorization in display mode. I wanted to assign this to all our support team for the PRD server who shud only have the display auths so that the pre-produ
-
An unwanted toolbar showed up in Firefox. How do I get rid of it?
I was looking for restaurant menu and this shop at home.com toolbar installs itself. How do I get rid of it? I hid it by clicking on view ---> toolbars ----> unchecking shop at home, but I want to permanently delete it.
-
Hi, While i m doing the Delivery system shows the Error there is no stock in the Storage location but stock is there. cycle is Order related Billing & Order related Delivery What are all settings is required for Sales Document Type (OR), Item Categor