Migrate data from PostgreSQL 7.2 to oracle 9i on Linux
Kindly guide me on how to migrate data from PostgreSQL 7.2 to oracle 9i on Linux. Please provide me a performance comparision between Orcle 9i on Linux and on windows 2000
thanks
Hi Geo
We do not currently have tools to support Postgres to SQL migration. However, there are tools currently under developement which may help you in the future. In the meantime, there are some useful articles on postgres.org web site. See http://archives.postgresql.org/pgsql-sql/2002-10/msg00352.php
We do not have comparison docs bertween Oracle on UNIX and Oracle on Windows as the the main code base is identifical. There are some artchitectural changes on windows where Oracle background processes have been implemented as threads and are installed as Windows services. More information on the architectures on both platforms can be found on the following sites:
Oracle on Windows
http://otn.oracle.com/tech/windows/index.html
Oracle on Linux
http://otn.oracle.com/tech/linux/index.html
http://oss.oracle.com
cheers
Jan
Similar Messages
-
How to only migrate data from SQL Server 2008 to Oracle 11?
According to our requirement, We need to only migrate data from a SQL Server database to an existed
Oracle database user.
1) I tried to do it with SQL Developer 3.0.04 Migration Wizard, But find an issue.
My SQL Server database name is SCDS41P2, and my Oracle database user name is CDS41P2;
When I used SQL Developer to do offline move data by Migration Wizard, I found all oracle user
name in movedata files which gotten by run Migration Wizard
is dbo_SCDS41P2. If the Oracle user name is not the same as my existed Oracle user name,
the data can't be moved to my existed Oracle user when I run oracle_ctl.bat in command line window.
So I had to modify the Oracle user name in all movedata files, but it's difficult to modify them because there are many tables in
databases. So could you please tell me how to get the movedata files which the oracle user name in them is my
expected Oracle user name?
2) I also tried to use the 'copy to Oracle' function to copy the SQL Server database tables data
to the existed Oracle database user. When clicked 'copy to Oracle', I selected 'Include Data' and 'Replace' option
But I found some tables can't be copied, the error info is as below:
Table SPSSCMOR_CONTROLTABLE Failed. Message: ORA-00955: name is already used by an existing object
Could you please tell me how to deal with this kind of error?
Thanks!
Edited by: 870587 on Jul 6, 2011 2:57 AMHi,
Thanks for you replying. But the 'copy to oracle' function still can't be work well. I will give some info about the table. I also search 'SPSSCMOR_CONTROLTABLE' in the target schema, and only find one object. So why say 'name is already used by an existing object'? Could you please give me some advice? Thanks!
What is the 'Build' version of your SQL*Developer ?
[Answer]:
3.0.04
- what does describe show for the SPSSCMOR_CONTROLTABLE in SQL*Server ?
[Answer]:
USE [SCDS41P2]
GO
/****** Object: Table [dbo].[SPSSCMOR_CONTROLTABLE] Script Date: 07/18/2011 01:25:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SPSSCMOR_CONTROLTABLE](
[tablename] [nvarchar](128) NOT NULL,
PRIMARY KEY CLUSTERED
[tablename] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
- what does describe show for the SPSSCMOR_CONTROLTABLE in Oracle ?
[Answer]:
-- File created - Monday-July-18-2011
-- DDL for Table SPSSCMOR_CONTROLTABLE
CREATE TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE"
( "TABLENAME" NVARCHAR2(128)
) 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)
TABLESPACE "USERS" ;
-- DDL for Index SYS_C009547
CREATE UNIQUE INDEX "CDS41P2"."SYS_C009547" ON "CDS41P2"."SPSSCMOR_CONTROLTABLE" ("TABLENAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
-- Constraints for Table SPSSCMOR_CONTROLTABLE
ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" MODIFY ("TABLENAME" NOT NULL ENABLE);
ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" ADD PRIMARY KEY ("TABLENAME")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE;
Edited by: 870587 on Jul 18, 2011 1:42 AM -
Reg. Migrating data from SQL Server 2000 to Oracle
Hi All,
I need to migrate a same data from SQL Server 2000 to Oracle 9i.In sql server Export option is there, but the problem is some 30 tables have More than one LONG datatype column in a table. That's why oracle not allow to import.
Could you guys find any tool for the same.
Please do the needful.
Thanks & Regards,
Prathaphi dermot,
it's very urgent now. Can you please give any solution for this.
and also i tried the SQL developer tool. But i got an below error,
Error starting at line 2 in command:
CREATE USER dbo_testdatalatest IDENTIFIED BY dbo_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:2 Column:45
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 3 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO dbo_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 4 in command:
CREATE USER epm_testdatalatest IDENTIFIED BY epm_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:4 Column:45
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 5 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO epm_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 6 in command:
CREATE USER lportal_testdatalatest IDENTIFIED BY lportal_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:6 Column:49
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 7 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO lportal_testdatalatest
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Error starting at line 8 in command:
connect dbo_testdatalatest/dbo_testdatalatest;
Error report:
Connection Failed
Commit
Regards,
Prathap.R -
Migrating data from Informix 7.2 to Oracle RDBMS
I've got several applications running on an Informix 7.2 database and I need to migrate this data to an Oracle 8.1.7.4 database. Is there a gateway product available to aid with getting this data migrated. We tried Oracle Migration Workbench but Informix 7.2 is not supported. Any help with getting this done is appreciated. I don't want to keep these apps on Informix!!!
You can use Generic Connectivity. It is a free feature of the database available on Windows, HP, AIX and Solaris and Linux (v10g).
There is also the transparent gateway for Informix however it is not certified with Informix 7.2. It is certified with 7.3 and higher. -
Migrating data from .dbf and excel to Oracle 9i
I have a large amount of data in in .dbf files and excel worksheets can anyone suggest a way to transfter the data to Oracle database, is it possible? are their any tools? or any migration technique?
please give your comments.
Thanks,
Imran Ahmed.I have a perl script that generates SQl file to create suitable tables in oracle schema .. no indexes however, dumps dbf files for sqlloader and prepares sql loader control file
Another script generates hige .sql file that is doing the same thing without sql loader int consist of
drop table ...
create table ...
insert
insert
insert...
commit;
mail me at nivanchev 'at' icygen.com if interested. I will send you the code (perl, requires Xbase module) -
Migrate PostgreSQL 7.2 to oracle 9i on Linux
Kindly guide me on how to migrate data from PostgreSQL 7.2 to oracle 9i on Linux. Please provide me a performance comparision between Orcle 9i on Linux and on windows 2000
thanksHi Geo
We do not currently have tools to support Postgres to SQL migration. However, there are tools currently under developement which may help you in the future. In the meantime, there are some useful articles on postgres.org web site. See http://archives.postgresql.org/pgsql-sql/2002-10/msg00352.php
We do not have comparison docs bertween Oracle on UNIX and Oracle on Windows as the the main code base is identifical. There are some artchitectural changes on windows where Oracle background processes have been implemented as threads and are installed as Windows services. More information on the architectures on both platforms can be found on the following sites:
Oracle on Windows
http://otn.oracle.com/tech/windows/index.html
Oracle on Linux
http://otn.oracle.com/tech/linux/index.html
http://oss.oracle.com
cheers
Jan -
What methods are available to migrate Data from MS SQL to Oracle DB 11g.
Hi,
Need to know the No of ways/ Techniques via we can Migrate data from MS SQL Server to Oracle DB 11g.
Thanks ,
NLhi,
i came across this link in oracle demos :
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
the migration process using sql developer
br,
mrak -
Shifting data from PostgreSQL database to Oracle database
hello folks,
as i want to have an environment of many database servers of PostgreSQL databases on linux redhat 8.0 and one main database server of Oracle 8.1.7.0.0 on linux redhat 8.0;so that transections may go on PostgreSQL databases and Oracle database server would be used as a central repository to facilitate our data warehousing needs,I want to know how to shift data from PostgreSQL database to an Oracle database at the end of the day.What to do? From where can i get its documentation.
Any suggestion would be highly appreciated.
Regards.
Muhammad Umar Liaquat.Since you're going to want to move the data regularly, I'd suggest looking into the Oracle Transparent Gateways (Heterogenous Services). This should let you create database links in Oracle that connect to each of the PostgreSQL databases. Then, you just have to write the appropriate select/insert statements.
Justin -
Migrate data from orcle to oracle
Hi ,
A) Using oracle workbench tool can we migrate data from oracle 9i to oracle 10g ?
B) Is this tool used only for migrating data from non-oracle source to Oracle db ?
regards
thiruDear Barry
Thanks for the valuable information provided, it had answered few of my doubts.
i am much thankful to you if you can help me in this regards.
Does Oracle own any GUI based tool similar to Microsoft-DTS to Extract & transform data from one Oracle DB to other Oracle DB ?
The source DB (oracle 9i) is not properly normalized , the data from source is moved to a Normalized 10g DB with new attributes(based on new requirements) added to these tables . Some tables from source are splitted into 2 or more in target (oracle 10g) database. I have scenarios like
My text below quotes "SOURCE" AS UNNORMALIZED DB & "TARGET" as new DB which is NORMALIZED.I need to migrate data from SOURCE to TARGET
1) A single row in SOURCE be migrated to multiple rows across one or more
tables in TARGET.
2) A multiple rows in single column in SOURCE be migrated to single row and
multiple columns in TARGET.
For the above mentioned scenario sql*loader /external table/export & import or transportable tablespaces can be used as mentioned by you. but considering the ease of use and the complexity is there any GUI tool which oracle has for data migration from oracle db to oracle db.
your advice will be much help to me.
Thanks
Thirumaran -
Migration data from SAP DB2 to Oracle 10g
Hi , I am assigned to migrate data from SAP system which is using DB2 to Oracle 10g.I not very familiar with SAP. I hope someone can help me., especially for those familiar in SAP.
Please help me.
thanks
jebatcoHello,
just migrating a DB2 database to Oracle 10g might be an easy task. The Oracle Migration Workbench is the tool for such a migration:
http://www.oracle.com/technology/tech/migration/workbench/index.html
I have no idea about SAP, and that might complicate the picture. But there exist specialists for this task:
Oracle Expertise in the SAP environment
The Solution Center SAP Support and Service – located in Walldorf – offers SAP
customers the following services:
• Advanced Customer Services (ACS)
• Performance Analysis and Tuning
• Development of concepts for Backup/Restore/Recovery, and High Availability,
Administration
• Security concepts
• Optimizing of ABAP/4 programs (performance improvement)
• Migration service for customers, who want to use Oracle as the database for SAP
applications (from Informix, MaxDB, DB2, or SQL Server to Oracle).
• Migration services from “Oracle to Oracle” (e.g. Tru64 to HP_UX)
• Integration-Products and –Services
• Oracle Database: The Database of Choice for Deploying SAP Solutions
This is taken from http://www.oracle.com/newsletters/sap/docs/ora4sap-db-of-choice.090213.pdf
Best regards
Wolfgang -
How can I migrate data from SQL Server 6,5 to Oracle 8?
We have a web site based on Microsoft SQL Server 6.5.Now we plan
to migrate the database to Oracle 8.
We have redesigned the tables structure and created tables under
Oracle 8, so we only need to migrate data from SQL Server.
We've exported data from SQL Server to text files.
How can we import data from files and restore to Oracle tables.
Is there a solution which let us to import data for particular
table columns,not all columns?
We'll be appreciated if somene can give suggestions.
Regards
Michael
nullThank you for your reply.
I'll try the Oracle sqlloader utility first.
Regards
Micahel
Oracle Migration Workbench Team wrote:
: Michael,
: Oracle sqlloader is user for this sort of operation, see
: Oracle8i Utilities
: Release 8.1.5
: A67792-01
: available online through Oracle Technology Network.
: The Oracle Migration Workbench can be used to create bcp and
: sqlloader scripts, though since you have altered the schema
these
: scripts would need to be altered by hand after generation.
: Some thought has been put into redesigning table structures in
: the Oracle Migration Workbench, but currently it looks like
this
: reengineering will be left to be done by other tools, eg
Oracle
: Designer, once the SQLServer database has been duplicated with
as
: little change as possible onto Oracle.
: Hope that helps,
: Turloch
: Oracle Migration Workbench Team
: Michael (guest) wrote:
: : We have a web site based on Microsoft SQL Server 6.5.Now we
: plan
: : to migrate the database to Oracle 8.
: : We have redesigned the tables structure and created tables
: under
: : Oracle 8, so we only need to migrate data from SQL Server.
: : We've exported data from SQL Server to text files.
: : How can we import data from files and restore to Oracle
tables.
: : Is there a solution which let us to import data for
particular
: : table columns,not all columns?
: : We'll be appreciated if somene can give suggestions.
: : Regards
: : Michael
: Oracle Technology Network
: http://technet.oracle.com
null -
Migrating data from Oracle 9i to SQL Server 2005
I am new to both. I need to first migrate data from oracle to sql server. After this I need to create a daily nightly batch process to insert new records from oracle to sql server into that table.
As my knowledge in SQL server is zero. Can somebody help me how I can accomplish this.
Somebody told me that I can use sql server import/export to do initial data dump into sql server and after that I can create a link in in oracle to do new iserts for new records. does any one have some example on this. I will really apprecite this if someone can give me step by step example. ThanksI have been to SQL Server training, but my SQL server databases are off the shelf system, so I don't have to muck with them. Anyway, Sql Server is just MS Access on steroids, so some of the same concepts apply. You need to create an external table links to oracle. The following tidbits I found by googling might help you.
http://www.sqlmag.com/Article/ArticleID/22264/sql_server_22264.html
http://www.lazydba.com/sql/1__152.html
http://www.sswug.org/see/35034
http://decipherinfosys.wordpress.com/2007/07/16/linked-servers-in-sql-server/
Some of the above require subscriptions (free and or paid). Hope this helps. -
Faster way to migrate data from SQL Server to Oracle 10g
We have to migrate data from SQL Server to Oracle 10 g.
One particular table on SQL Server has records around 1.25 millions.
We tried moving data using DTS package, but looks it will take hours with current speed of 300 records/minute.
This table has TEXT column, which has XML strings stored. I am not sure, if this is the reason for slow migration.
Would you please suggest better options to migrate it faster?
Thanks in advance !!!Have you tried Migration work bench?
-
Issues Migrating Data from SQL Server to Oracle
Good morning, I'm currently trying to migrate data from a SQL Server 7 Database to Oracle 11GR1.
I've followed the steps outlined in the guide that's on OTN and for the most part it worked well, the Data Model Capture, transformation and generation worked fine but when i try to do an online data migration the parallel DataMove threads stop working, i have no errors at all on the migration log they just don't pickup new tables to migrate data.
After looking at the last tables they tried to migrate i noticed that this happens when the table has a text, timestamp or image column on Sql Server which translate to CLOB, RAW[50] and BLOB columns on Oracle.
I'm i missing something here or just flat out doing something wrong with these datatypes?
Oh btw i'm using SQL Developer 2.1 December Edition plus the jtds 1.2.5 drivers for SQL Server.As you don't have an error message it is difficult to diagnose. You could perform the offline data load for those failiing tables and continue to use the online method for all others.
Another option would be to log a service request and to provide some demo data to analyse the root cause. -
Migrating data from oracle to sql server
I have two databases(Oracle and Sql Server) in my company.
I want to migrate some data on daily basis from Oracle to Sql Server.
what are the best methodologies used to perform this task?
Can we schedule this task on daily basis?
please help me guysSalma,
First and foremost, you need to understand that there are architectural difference between Oracle and SQL Server (with the major one being the difference between Oracle's PL/SQL and Microsoft's Transact-SQL) thus, it will not be an easy task to migrate data from Oracle Database to SQL Server. As far as the use of tools is concerned, you can utilize the following tools (third party tools not recommended) to achieve this:
Microsoft SQL Server Migration Assistant (Oracle to SQL)
http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
Oracle SQL Developer Migration Workbench (SQL to Oracle)
http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
But before proceeding with anything, I would recommend you to read through the following post as it lists down the primary compatibility resources and migration guidelines:
Migrating from Oracle to SQL Server
http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm
Hope this helps.
Regards,
Naveed.
Maybe you are looking for
-
Can't see 0ven_purorg(vendor number - purchasing view) in the AWB
Hi Experts, I used the 0ven_purorg_attr & 0ven_purorg_text master datasources & loaded the master data into 0ven_purorg infoobject. I started the proceedure from the source system replicated the data sources on the BW side & assigned the BC infosourc
-
Hi I am using a macbook pro 13" and an eternal monitor running lion Opened cs6 then dragged it to the external monitor (no more free floating wondows??). Com/n brought up the new doc dialog. Upon click OK the whole viewer screen tried to replicate di
-
A valid bill of material could not be found for material
Hi, Our's is SAP release 605. While doing sales order cost estimate (CK51N) we are getting following error message: A valid bill of material could not be found for material 1000000012 Message no. C2223 Diagnosis Material 1000000012 is marked as a pha
-
How can I best use my iPhone 3Gs in New Zealand?
How can I best use an iPhone while in New Zealand?
-
ObjectName conventions for multi-classloader, clustered environments
I've been reading a number JMX documents, including these best practice articles [1] [2], but I've run into a question about the practical application of the ObjectName conventions within a multi-classloader and/or clustered environment. The general