Imp from 11g to 10g db
Hi all,
I am importing an expdat.dmp which is an output of 11g to lower 10g db.
So I am using a 11g client to import it to 10g. But I can not understand why some tables got imported while others were not :(
The error said that the table already exist, when in fact is it not yet there.
Have you encountered this kind of issue?
Or how do I import a dump from 11g to 10g?
Thanks a lot,
Yxz
Edited by: yxes2013 on 17.2.2013 20:02
sb92075 wrote:
yxes2013 wrote:
Hi all,
I am importing an expdat.dmp which is an output of 11g to lower 10g db.
So I am using a 11g client to import it to 10g. But I can not understand why some tables got imported while others were not :(
The error said that the table already exist, when in fact is it not yet there.
Have you encountered this kind of issue?
Or how do I import a dump from 11g to 10g?
Thanks a lot,
Yxz
Edited by: yxes2013 on 17.2.2013 20:02export MUST be taken or done using the LOWER version utility.
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL870
Wouldn't an export from the 11g Data Pump client work with a 10g database, as long as the dumpset was created with VERSION=10.x?
-Justin
Similar Messages
-
Data pump import from 11g to 10g
I have 2 database: first is 11.2.0.2.0 and second is 10.2.0.1.0
In 10g i created database link on 11g
CREATE DATABASE LINK "TEST.LINK"
CONNECT TO "monservice" IDENTIFIED BY "monservice"
USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = port))) (CONNECT_DATA = (SID = sid)))';
And execute this query for test dbLink which work fine:
select * from v$[email protected];
After it i try to call open function:
declare
h number;
begin
h := dbms_datapump.open('IMPORT', 'TABLE', 'TEST.LINK', null, '10.2');
end;
and get exception: 39001. 00000 - "invalid argument value"
if i remove 'TEST.LINK' from the arguments it works fine
Edited by: 990594 on 26.02.2013 23:41Hi Richard Harrison,
result for import from 11g to 10g:
impdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
ORA-39001: invalid argument value
ORA-39169: Local version of 10.2.0.1.0 cannot work with remote version of 11.2.0.2.0
result for export from 11g to 10g:
expdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing option
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-04052: error occurred when looking up remote object SYS.KUPM$MCP@TEST_LINK
ORA-00604: error occurred at recursive SQL level 3
ORA-06544: PL/SQL: internal, error, arguments: [55916], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from TEST_LINK
ORA_39097: Data Pump job encountered unexpected error -4052 -
[Urgent]How to import odi procedure from 11g to 10g.
Hi All,
I am trying to import odi code(interface/procedure) from 11g to 10g but gettting xml error.
Please reply as soon as possible.
ThanksForward compatibility for importing odi artifacts is not supported.
-
Exporting schema from 11g to 10g
how can i export full schema(suppost scott) from 11g to 10g both are on different machines and i dont know much about db side, if any body can suggest some queries.
thanks and regards
Abbaswhen i run the expdp it gives me following error
Export: Release 10.1.0.4.2 - Production on Wednesday, 27 April, 2011 11:43
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
what can be wrong
Regards
Abbas -
Deployment from 11g to 10g connection string cannot get provider error.
Hi, I'm doing a deployment from oracle client 11g to 10g. Is this possible? there are yes and no answer I have try out from the forum. All did not workout with any of the configuration setup.
For development I am using VS2012, MVC 4. EF 4. Oracle 11g
The server is currently running Oracle 10g with Oracle.Dataaccess.dll 10.2.0.100
This is my connection string setup at the server.
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="OraAspNetConnectionString" connectionString="Data Source=dtsr;User Id=ids;Password=pwd;" providerName="Oracle.DataAccess.Client"/>
<add name="OraAspNetConnectionString2" connectionString="Data Source=dtsr;User Id=ids;Password=pwd;" providerName="Oracle.DataAccess.Client.OracleConnection"/>
</connectionStrings>
<!--<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>-->
<appSettings>
<add key="webpages:Version" value="2.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="PreserveLoginUrl" value="true"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
</appSettings>
<system.data>
<DbProviderFactories>
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory,Oracle.DataAccess,Version=4.112.3.0,Culture=neutral,PublicKeyToken=89b483f429c47342" />
</DbProviderFactories>
</system.data>
<system.web>
<compilation targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<httpRuntime/>
<authentication mode="Windows"/>
<identity impersonate="true"/>
<pages controlRenderingCompatibilityVersion="4.0">
<namespaces>
<add namespace="System.Web.Helpers"/>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Web.WebPages"/>
</namespaces>
</pages>
<sessionState mode="InProc" timeout="20" cookieless="false"/>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
</handlers>
<security>
<authorization>
<add accessType="Allow" users="?"/>
</authorization>
</security>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<!--<dependentAssembly>
<assemblyIdentity name="Oracle.DataAccess, Version=10.2.0.100, Culture=Neutral," publicKeyToken="89b483f429c47342" />
<bindingRedirect oldVersion="10.2.0.100" newVersion="4.112.3.0"/>
<publisherPolicy apply="no" />
</dependentAssembly>-->
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
</entityFramework>
</configuration>
I get this error when page trying to connect to database.
[ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.]
System.Data.Entity.ModelConfiguration.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection) +163
System.Data.Entity.ModelConfiguration.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) +39
System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) +46
System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) +62
System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input) +117
System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +453
System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +18
System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +56
System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +15
System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +37
I have check the
1. Enviroment Variables path is set to the 10.../client_1/
2. Tnsname.ora already configured.
3. machine.config did not define the connection string path, as it is define in the web.config
4. Oracle.Dataaccess.dll is in the bin of my application website (v4.112.3.0).
5. In my application web bin folder also include additional dlll.
mfc71.dll
msvcr71.dll
oci.dll
ociw32.dll
orannzsbb11.dll
oraocci11.dll
oraociicus11.dll
OraOps11w.dll
Anyone please help.. Thanks in advance..
Edited by: 976886 on Dec 13, 2012 7:46 PM976886 wrote:
I want to know, it is possible to migrate the application from oracle 11g to 10g? such that the component are supported across?
Because in the development, all goes well, no error on the oracle connection.
OR did I miss out anything that causes it not working on my server deployment?yes
yes
yes
how can we reproduce what you claim? -
Move HR schema from 11g to 10g
I have oracle 10g installed on my sun box and I have oracle 11g installed on my other system. I would like to know how to move HR schema from 11g to my 10g.
please advise me in steps as I am new to oracle.Ok, didn't know that.
Why not take the file from your 11g installation and run it against your 10g?
If you don't want ro do that, you can use CTAS over dblink or look into COPY command from SQL*Plus.
Regards
Peter -
Hi to all,
I am having a catalog DB in 11g and database in 10g. Can I take backup of 10g from 11g catalog database.
When I try to connect to the rman, I am getting the below error.
rman catalog=rman/rman@catalogdb target=sys@db10g_58
Catalog DB is in 11g
TargetDB in 10g
OS: Windows 2003 Server on both the servers.
Kindly post the suggestions.
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06429: TARGET database is not compatible with this version of RMAN
Regards,
Vijayaraghavan KGo to this link
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/compat002.htm
Regards
Asif Kabir -
I am trying to create a database link from the 11g database to the 10g database using:
create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>;
It Returns
Database link created.
select sysdate from dual@ORCL10R2 returns error:
ERROR at line 1:
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
Please let me know what changes I need to make to tnsnames and listener at both servers.11g database: 10.1.1.10
10g database: 10.1.1.12
TNSNAMES.ORA at 10.1.1.10
XYZ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
LISTENER.ORA at 10.1.1.10
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
what needs to be modified here?
Edited by: 944558 on 5 Jul, 2012 12:27 AM -
RPC through DB Link from 11g to 10g doesn't work
Guys,
I am unable to make simple RPC to an Oracle 10g database (Running on Unix Server) from Oracle 11g database (Running on XP Professional).
But RPC Call from 10g to 11g works fine.
Any idea?
C:\temp>sqlplus /nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 24 10:13:50 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
-- Login into 10g Database and create the procedure
SQL> conn scott/tiger@ORA10G;
Connected.
ORA10g> SET SERVEROUTPUT ON
ORA10g>SELECT * FROM V$VERSION;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
ORA10g>CREATE OR REPLACE PROCEDURE TEST AS
2 L_CNT NUMBER;
3
4 BEGIN
5 SELECT 1 INTO L_CNT FROM DUAL;
6 DBMS_OUTPUT.PUT_LINE('10G SYSDATE = ' || SYSDATE);
7
8 END;
9 /
Procedure created.
ORA10g>EXEC TEST;
10G SYSDATE = 24-JAN-08
PL/SQL procedure successfully completed.
-- Login to 11g Database and create the DB Link and call the procedure
ORA10g>conn scott/tiger@ORA11G;
Connected.
ORA11g>SELECT * FROM V$VERSION;
BANNER
Personal Oracle Database 11g Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
ORA11g>create database link DB_LINK connect to SCOTT identified by TIGER using 'ORA10G';
Database link created.
ORA11g>SELECT * FROM DUAL@DB_LINK;
D
X
ORA11g>exec test@DB_LINK;
BEGIN test@DB_LINK; END;
ERROR at line 1:
ORA-04052: error occurred when looking up remote object SCOTT.TEST@DB_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [],
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from ORA10G
ORA11g>exitHello
Did u get the issue resolved after applying the patch 10.2.0.3?
I am also having the same problem with RPC and using 10g version 10.2.0.3 and 11g version 11.1.0.6
Thanks
Banu -
How to Downgrade Rpd From 11g to 10g???
Hi all,
I want to know how to downgrade rpd from obiee 11.1.1.5 to obiee 10.1.3.4.
please share the valuable links.
Thanks.First, you will have to completely uninstall 11g, see steps below:
http://obiee911.blogspot.com/2013/01/uninstalling-obiee-11g-instance-on.html
This should be followed by installing 10g, and then applying 10g patches to reach 10.1.3.4.1 version. I hope you have all the right 10g installation files available. Im not sure if you can download them from Oracle anymore, please check before proceeding. -
How to convert this package from 11g to 10g (still using dbms_sql) ?
create or replace package pkg_test is
type tab_t is table of ra_analista%rowtype;
function pipeValues return tab_t pipelined;
function selValues return sys_refcursor;
end;
create or replace package body pkg_test is
function pipeValues
return tab_t pipelined is
cr sys_refcursor;
tab tab_t;
cnt int;
cmd pls_integer := dbms_sql.open_cursor;
begin
dbms_sql.parse(cmd, 'select * from RA_Analista', dbms_sql.native);
cnt := dbms_sql.execute(cmd);
cr := dbms_sql.to_refcursor(cmd);
fetch cr bulk collect into tab;
if tab.count > 0 then
for i in tab.first .. tab.last loop
pipe row(tab(i));
end loop;
end if;
return;
end;
function selValues return sys_refcursor is
c1 sys_refcursor;
begin
open c1 for select * from table(pipeValues);
return c1;
end;
end;Create Or Replace Package Body Pkg_Test Is
Function Pipevalues Return Tab_t Pipelined Is
Cr Sys_Refcursor; Tab Tab_t; Cnt Int; Cmd Pls_Integer := Dbms_Sql.Open_Cursor;
Begin
Dbms_Sql.Parse(Cmd, 'select * from RA_Analista', Dbms_Sql.Native); --**there in 10g**
Cnt := Dbms_Sql.Execute(Cmd); --**there 10g**
Cr := Dbms_Sql.To_Refcursor(Cmd); --**no need to use ref cursor here....if you want to use it go for open for instead of dbms_sql**
Fetch Cr Bulk Collect Into Tab;
If Tab.Count > 0 Then For i In Tab.First .. Tab.Last Loop Pipe Row(Tab(i));
End Loop;
End If; Return;
End;Edited by: Nicloei W on Sep 16, 2008 6:26 PM
Edited by: Nicloei W on Sep 16, 2008 6:26 PM
Edited by: Nicloei W on Sep 16, 2008 6:27 PM -
Hi Guru's,
I have a query regarding clonning DB from 11g o 10g.
Machine A is on linux with DB Version 11g and machine B is on windows with DB Version 10g. Is it possible to clone DB 11g which is on Linux machine to DB 10g which is on Windows machine.
Kindly advice over the sameBy definition a clone is an exact copy, so if you clone your 11g DB you will have another 11g DB. The only way to make it 10g is to change it in some way. Downgrade, for example.
Have you already read through the Oracle docs?
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmxplat.htm#CHDFHBFI
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564
I very much doubt RMAN will allow you to downgrade the DB while duplicating it. -
Hi David,
I would need to export 11G database tables and import them to 10G database. I have exported from 11G using exp command. The command I have used is:
exp scott/tiger file=emp.dmp tables=emp,dept;
Now I need to import emp.dmp in Oracle 10G. Would the imp command for Oracle 10G work in this case? Is the command I need to use as given below?
imp scott/tiger file=emp.dmp full=yes
Can you please help me in this regard.
Thanks as always,
ChDDavid,
Thanks. This has been helpful. I am having some questions working with AWM.
In my case I am having the following dimensions:
Positon Dim
Positon Dim Hierarchy (Nation--> Region--> District --> territory)
Product Dim
Product Dim Hierarchy (Market --> TA --> Brand --> Item)
Customer Dim.
Now in my reports I am shwing the Product and Positions from Hierarchies (not from the Dimensions). In this case do I need to specify aggregation based on the Position/Product Dims or on Position/Product Hierarchies only?
Again, I am having some reports based on the Customer Dim. But Customer Dim has no Hierarchy. So do I need to aggregate the data based on the Customer Dim at all?
Also please tell me whether I need to follow any specific order of dimensions in case of aggregation (or that is something AWM would itself take care)?
Lastly, there are a lot of Calculations in the Aggregation drop down. Should I use 'Sum' while aggregating in this case and rolling up data based on Hierarchies?
Thanks in advance.
ChD -
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 -
Importing the dump into 10g which exported from 11g server
hi
can i import the dump into 10g which exported from 11g server?
thanks
nidhiknidhi wrote:
hi
can i import the dump into 10g which exported from 11g server?
thanks
nidhiHi Nidhi,
No, if you want to use an 11g export dump and import it using 10g utilities to a 10g database.
Yes, if you use 10g export utility to extract 11g database data, and use 10g import utility to import in 10g database.
For more information on export/import compatibility, please check:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/exp_imp.htm#
HTH
Regards,
Z.K.
Maybe you are looking for
-
Saving pdf's so recipients can read it
I downloaded an application, filled it out, saved and sent it but the recipient could not open it. It opens correctly and filled out on my computer.
-
Display Planning data (for demand planning) in another UoM
Hi All, The Planning area UoM is in "L". We have products whose base UoM is KG and some in L. In BW we convert all to L and load into Planning area. The Product master is CIFed to APO and has the conversion between L and KG. we have a requirement to
-
How to convert text values acceses from jsp page into an xml file?
/* this is the jsp page which i want to convert it into an xml file please help me , i thank in advance*/ <html> <head> <title> xml test</title> </head> <body> <form action="testxml2.jsp" method = post> <ul> <li> <ul>NAME: <br> <li>First Name:<INPUT
-
Process order- PI Cat type destination
Hi,How to set the PI Cat type destination? How it is related with control recipe destination? Pls advise.
-
When i updated my userid at apple web site using my laptop, my i touch still showing "old" userid and will not accept "old" or new password even after sync.