11g Move Repository Schema to New Database
Hi folks
There is a possibility that I will need to move the 11g repository schema from one database to another. Has anyone performed this and can offer any tips?
Regards
Paul
Thanks chaps...
At the moment this is still a 'what if' problem for my client. I am gathering as much information as I can before they decide whether to go ahead.
Daan, I can't believe Oracle won't support this - that's crazy. There will be hundreds of customers who will need to perform such a move. I think I will raise a SR to see if they will provide me the manual steps.
Saichand, nice idea. I will look and see what I can find. Glad to hear you like the blog - it's always nice to know people are reading it!
Paul
Similar Messages
-
Move OEM central repository to a new database
Hi,
We want to move the OEM central repository to a different machine, we would like to migrate the data from original database to the new database. What's the best way to do that and how to re-configure OMS to use the new database? Thanks!Hi,
Please follow the document below:
Grid Control Repository: Steps for Cross Platform Migration of the 10g Grid Control Repository (Doc ID 388090.1)
Best Regards,
Venkat -
Copy whole schema to new database
Hi...what is ther best way to copy whole schema (25GB) to new database.
ThanksHello,
Best way is to use either conventional export/import or datapump.
exp system/password owner=userA file=userA.dmp log=userA.log
Note: Make sure tablespace, any special roles or db-link exists before importing or cloning schema
imp system/password fromUser=userA toUser=userA file=userA.dmp log=userAimport.logSee following link for more infomation and examples to use datapump
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
Regards
OrionNet -
Can't move FederatedEmail mailbox to new database
I've searched other related threads but cannot locate the problem. I've recently moved all of our mailboxes out of the default mailbox and into 4 smaller db's. All the user mailboxes are moved, as well as Discovery and SystemMailboxes. But I cannot
get the FederatedEmail arbitration mailbox to move. Also, how many SystemMailboxes should I have? I noticed it reports I have more than one, but not one per database.
It seems to be barking about the default quota limit in the destination database, which is set to 1GB/1.25GB/1.5GB. However, it reports the size of the arbitration mailbox as being 1MB but it still says the target quota is 1MB. What am I missing?
[PS] C:\>get-mailbox -arbitration | select Name,database
Name
Database
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 Concord Database
SystemMailbox{1f05a927-85c5-4ba4-afbe-7a13721acdc1} AHG Database
SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} Concord1
[PS] C:\>get-mailbox -arbitration -Database "Concord Database" | New-MoveRequest -TargetDatabase "Concord1"
Mailbox size 1.023 MB (1,073,064 bytes) exceeds target quota 1 MB (1,048,576 bytes).
+ CategoryInfo : InvalidArgument: (domain.com...bf-00a95fa1e042:MailboxOrMailUserIdParameter) [New-M
oveRequest], RecipientTaskException
+ FullyQualifiedErrorId : F9CE6C4,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
[PS] C:\>Get-MailboxDatabase -identity "Concord1" | fl
RunspaceId : f49b4c42-0e4b-4a52-836d-54f866060163
JournalRecipient :
MailboxRetention : 30.00:00:00
OfflineAddressBook : \OAB 2010
OriginalDatabase :
PublicFolderDatabase : 2010 Public Folder Database
ProhibitSendReceiveQuota : 1.5 GB (1,610,612,736 bytes)
ProhibitSendQuota : 1.25 GB (1,342,177,280 bytes)
RecoverableItemsQuota : 30 GB (32,212,254,720 bytes)
RecoverableItemsWarningQuota : 20 GB (21,474,836,480 bytes)
IndexEnabled : True
IsExcludedFromProvisioning : False
IsSuspendedFromProvisioning : False
DumpsterStatistics :
DumpsterServersNotAvailable :
ReplicationType : None
AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore : False
BackgroundDatabaseMaintenance : True
ReplayBackgroundDatabaseMaintenance :
BackgroundDatabaseMaintenanceSerialization :
BackgroundDatabaseMaintenanceDelay :
ReplayBackgroundDatabaseMaintenanceDelay :
MimimumBackgroundDatabaseMaintenanceInterval :
MaximumBackgroundDatabaseMaintenanceInterval :
BackupInProgress :
DatabaseCreated : True
Description :
EdbFilePath : F:\Mailbox\Concord1.edb
ExchangeLegacyDN : /o=domain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Con
figuration/cn=Servers/cn=casarray.domain.com/cn=Microsoft Private M
DB
DatabaseCopies : {Concord1\FL2000-EXMBX001}
Servers : {FL2000-EXMBX001}
ActivationPreference : {[FL2000-EXMBX001, 1]}
ReplayLagTimes : {[FL2000-EXMBX001, 00:00:00]}
TruncationLagTimes : {[FL2000-EXMBX001, 00:00:00]}
RpcClientAccessServer : casarray.domain.com
MountedOnServer :
DeletedItemRetention : 14.00:00:00
SnapshotLastFullBackup :
SnapshotLastIncrementalBackup :
SnapshotLastDifferentialBackup :
SnapshotLastCopyBackup :
LastFullBackup :
LastIncrementalBackup :
LastDifferentialBackup :
LastCopyBackup :
DatabaseSize :
AvailableNewMailboxSpace :
MaintenanceSchedule : {Sun.1:00 AM-Sun.5:00 AM, Mon.1:00 AM-Mon.5:00 AM, Tue.1:00 AM-Tue.5:00
AM, Wed.1:00 AM-Wed.5:00 AM, Thu.1:00 AM-Thu.5:00 AM, Fri.1:00 AM-Fri.5:
00 AM, Sat.1:00 AM-Sat.5:00 AM}
MountAtStartup : True
Mounted :
Organization : domain
QuotaNotificationSchedule : {Sun.1:00 AM-Sun.1:15 AM, Mon.1:00 AM-Mon.1:15 AM, Tue.1:00 AM-Tue.1:15
AM, Wed.1:00 AM-Wed.1:15 AM, Thu.1:00 AM-Thu.1:15 AM, Fri.1:00 AM-Fri.1:
15 AM, Sat.1:00 AM-Sat.1:15 AM}
Recovery : False
RetainDeletedItemsUntilBackup : False
Server : FL2000-EXMBX001
MasterServerOrAvailabilityGroup : FL2000-EXMBX001
MasterType : Server
ServerName : FL2000-EXMBX001
IssueWarningQuota : 1000 MB (1,048,576,000 bytes)
EventHistoryRetentionPeriod : 7.00:00:00
Name : Concord1
LogFolderPath : E:\Mailbox\Concord1
TemporaryDataFolderPath :
CircularLoggingEnabled : False
LogFilePrefix : E04
LogFileSize : 1024
LogBuffers :
MaximumOpenTables :
MaximumTemporaryTables :
MaximumCursors :
MaximumSessions :
MaximumVersionStorePages :
PreferredVersionStorePages :
DatabaseExtensionSize :
LogCheckpointDepth :
ReplayCheckpointDepth :
CachedClosedTables :
CachePriority :
ReplayCachePriority :
MaximumPreReadPages :
MaximumReplayPreReadPages :
DataMoveReplicationConstraint : None
IsMailboxDatabase : True
IsPublicFolderDatabase : False
AdminDisplayName : Concord1
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=Concord1,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPD
LT),CN=Administrative Groups,CN=domain,CN=Microsoft Exchange,CN=Ser
vices,CN=Configuration,DC=domain,DC=com
Identity : Concord1
Guid : f9901c44-c975-428b-88e6-57ff96d4f89d
ObjectCategory : domain.com/Configuration/Schema/ms-Exch-Private-MDB
ObjectClass : {top, msExchMDB, msExchPrivateMDB}
WhenChanged : 9/5/2014 10:28:51 AM
WhenCreated : 8/13/2014 8:25:34 PM
WhenChangedUTC : 9/5/2014 2:28:51 PM
WhenCreatedUTC : 8/14/2014 12:25:34 AM
OrganizationId :
OriginatingServer : fl2000-dc003.domain.com
IsValid : True
Thanks!
JimHi
Open up that federated mailbox in AD.
Clear the Attributes on the account as per below:
mDBOverHardQuotaLimit
mDBOverStorageQuota
mDBUseDefaults
Try move the mailbox.
Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How to move a schema from one database to another on ASM?
Hi All
I have a schema in database A on ASM and I want to move the complete schema to database B on ASM . Both databases are on RAC and on the same server.
Please tell me the steps how to do it or if there is a script to do it.
Thank you.There is nothing special which you need to do for ASM instance. In this case too, you will be required to use export/import utility to do the same.
Cheers
Amit
http://askdba.org/weblog/ -
Not able to connect to APPS schema in 10g database after upgradation
We have upgraded our database from 9.2.0.6 to 10.2.0.1(E-Business suite database).We have upgraded our database using dbua and it was succesful(No invalid objects are there in the databe).Now we are trying to connect using apps username but it is not recognising the username.How do we link the old database schema with new database?
Hi,
Could you please elaborate "You should make sure that all referenced in the context files point to the new ORACLE_HOME and that AutoConfig complete successfully".This is covered in the same upgrade document (See "Step 26. Implement and run AutoConfig" for details).
I think you are referring the context file to xml file which contains parameters like "s_dbdomain". I think mistake lies at this point.Not only this variable, I am referring to any variable which points to the old 9i ORACLE_HOME. But, again this makes no sense if you cannot find the APPS schema in the upgraded database!
Regards,
Hussein -
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 -
TS datafile to move to new database
Hi Folks,
I have a datafile of my tablespace that contained all tables of my schema.
Say it was in Database "ORAPRDB"
Now when i just want to move this schema to a new database so I copied the datafile to a new database "TESTDB" recreate the control files and try to bring up the instance.
But this is complaining of the datafile not belonging of the right database. (possibly it is looking for ORAPRDB when I am trying to plug it in TESTDB ).
Is there a way to get this done.
I know there is a transportable tablespace functionality in 9i .. but In this case .. I do not think I will be able to use this.
TIA
Sunil ChoudharyHello,
You don't mention from which version to which version you are transporting your tablespace and is this transportation is cross platform. Beacuse cross platform transformation is started with 10g only. Also remember these points :
The source and target database must use the same character set and national character set.
You cannot transport a tablespace to a target database in which a tablespace with the same name already exists. However, you can rename either the tablespace to be transported or the destination tablespace before the transport operation.
Objects with underlying objects (such as materialized views) or contained objects (such as partitioned tables) are not transportable unless all of the underlying or contained objects are in the tablespace set.
For complete information follow this link and read the related section of Tablespace Transportation:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1267
I hope this will help you... -
TNS Protocol error in 11g when creating a new database
Hi,
I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
=====================================================
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
Time: 17-DEC-2009 10:30:52
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
=====================================================
Some excerpts from the trace is:
=====================================================
2009-12-17 11:14:38.776040 : nsopen:opening transport...
2009-12-17 11:14:38.776097 : ntpcon:entry
2009-12-17 11:14:38.776140 : ntpcon:toc = 1
2009-12-17 11:14:38.776196 : sntpcall:entry
2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
2009-12-17 11:14:38.796571 : sntpcall:exit
2009-12-17 11:14:38.796674 : ntpcon:exit
2009-12-17 11:14:38.796755 : nserror:entry
2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
2009-12-17 11:14:38.796861 : nsopen:unable to open transport
2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
=====================================================
In /etc/host i have added server ip with host name.
$ more /etc/host
172.26.171.57 sol11oracle-vm
The .profile of oracle user
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
export ORACLE_SID=TSG11G
export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
Please suggest.$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TSG11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TSG11G)
$ tnsping tsg11g
TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
OK (50 msec) -
How can I import schema to a different tablespace in a new database?
Hi,
I want to transport a schema "abc", which is on 'USERS" tablespace in the old database, to a new database using Data Pump. But on the new server, I want it on a different tablespace, say "TEST". How can I do that? I tried the following but it does not work:
1. Create a user "abc" on new database, assign "TEST" as its default tablespace;
2. use impdp to import the dmp file;
I found that on the new server, the imported tables are still on the "USERS" tablespace.
Can anyone tell me how to do it? thanks a lot.Use the REMAP_TABLESPACE option:
REMAP_TABLESPACE = source_tablespace:target_tablespace
Rick -
Creating new database schema in jdev
can I create new database schema in jdev.If yes how?
I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
Please help..I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
Database is required to be installed and a database instance created.
Oracle Database Software Downloads | Oracle Technology Network | Oracle </title><meta name="Title" co… -
Schema Diagram error when drop new database objects
Hi All,
I am following the document to ad database objects to the Schema Diagram using JDeveloper 11.1.1.4. But when I drag a view to the diagram, it gives me this error.
An error was encountered
CAR_REFERENCE_CODES_V.CODE
Name CODE is already in use.
Here CAR_REFERENCE_CODES_V is the name of my view and CODE is the column name in the view.
What should I do?
ThanksHello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How many domains can share a single set of database repository schemas?
How many domains can share a single set of database repository schemas (created by the RCU)?
What is the best practice in an environment with many domains/WLS servers/applications and a desire to manage minimum database MW repository schemas?Hi,
You can't share the same repository for multiple domains.
http://docs.oracle.com/cd/E23943_01/web.1111/e13716/understand_domains.htm#i1102627
(Please mark question as answered or helpful)
Arik -
Migrating reports to new database schema
Hi,
My company has numerous Crystal Reports .RPT files that work against the existing database schema, but we are moving to a new database with a significantly different schema.
Rather than have to manually recreate new RPT files for all the reports, it would be nice if it would be possible to automate the process.
I have looked through the documentation for the various Java APIs and am completely confused as to whether this is possible and, if so, the best way to do it.
Any help would be appreciated.
Thanks,
CarlI did have Crystal Reports version 9 installed, as well as version XI, but I uninstalled everything and only reinstalled Crystal Reports XI release 2, and I still have the same problem.
Here is the code I am running:
package reporting;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.sdk.occa.report.application.*;
import java.io.*;
import java.util.*;
public class TestReporting3 {
public TestReporting3() {
public static void main (String [] p_Args) {
try {
String path = "C:\\Samples\\Test3.rpt";
ReportAppSession ra = new ReportAppSession();
ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
ra.setReportAppServer("inproc:jrc");
ra.initialize();
ReportClientDocument clientDoc = new ReportClientDocument();
clientDoc.setReportAppServer(ra.getReportAppServer() );
clientDoc.open(path, 0);
ConnectionInfo info = new ConnectionInfo();
info.setKind(ConnectionInfoKind.SQL);
info.setPassword("client");
info.setUserName("client");
PropertyBag bag = new PropertyBag();
bag.put("Server Type", "JDBC (JNDI)");
bag.put("Database DLL", "crdb_jdbc.dll");
bag.put("Connection String", "Use JDBC=b(true);Connection URL=s(jdbc:derby://localhost:6652/agency;create=true);Database Class Name=s(org.apache.derby.jdbc.ClientDriver);Server=;User ID=s(client);Password=;JDBC Connection String=s(!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password})");
bag.put("Use JDBC", "true");
bag.put("Database Class Name", "org.apache.derby.jdbc.ClientDriver");
bag.put("Server Name", "jdbc:derby://localhost:6652/agency;create=true");
bag.put("URI", "!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password}");
info.setAttributes(bag);
clientDoc.getDatabaseController().replaceConnection((IConnectionInfo)clientDoc.getDatabaseController().getConnectionInfos(null).get(0), info, null, 0);
clientDoc.saveAs("NewTest3.rpt", "C:/Samples", 0);
System.out.println("Done");
} catch (Exception ex) {
ex.printStackTrace();
The exception is being thrown by the line clientDoc.getDatabaseController().replaceConnection(...);
Regards,
Carl -
Update physical layer - new database schema
Can the physical layer be updated with new database schema? (Has a new table column) If so, how?
userQHNHi,
If you import table which has changes you will get it ,if there is any new columns added.
Regards,
Somu
Maybe you are looking for
-
Sending Email with attachments from Desktop
Hi Experts, I have a situation where I need to create a SAP shortcut document on desktop and then I need to send this shortcut document as an email attachment . I have a solution where i can create shortcut documents but the challenge here is how
-
Is it possible to import songs from my iPod to my iTunes?
I have songs from my old computer - before marriage. now that i'm married, i want to put some songs which i got from my home computer onto the new computer. how do i do that? i tried to search the topic but it will only give me solutions for songs fr
-
Will ACR support the different RAW formats of digital cinema cameras like REDCODE or ARRIRAW?
Will ACR support the various formats produced by digital cinema cameras like REDCODE, ARRIRAW and the other ones? Support for Cineform RAW would be also welcome of course. The RAW converters supplied by the manufacturers are no comparison IMHO to wha
-
JHeadstart evaluating possible forms migration
Iv'e downloaded jheadstart and installed into my Jdeveloper home. However when I view the documentation it shows the following screen shot New Gallery -> Business Tier -> ADF Business Components -> Jheadstart Forms2ADF Generator however when I follow
-
It doesn't affect the home page, but it does to all others! Please help! Happy new year!