How to start a database by copying the files(tablespace, redo, ctl files)
Hi,
I have two databases called Q1 and Q2. I am planning to copy from a cold backup files from Q1 to Q2 database.
could anybody will provide the steps involved in how to copy from one database to another and how to rename the target database after copying and renaming the files in the target database to up and run?
Please help.
Thank you.
For Oracle version from 9i the steps are :
Perform Cold Backup of the Production database
1. Note down the datafile, controlfile and redologfile locations on proddb
2. Shutdown the production database Ensure clean shutdown.
3. Copy the database files (datafiles, logfiles, controlfiles and parameter file) into the clone destination.
4. Modify the parameter CONTROL_FILES in the pfile for clonedb to reflect
the new path of the control files.
1. Mount the database and rename the datafiles and redolog files.
export ORACLE_SID=clonedb
DB02> sqlplus / as sysdba
DB02> startup mount
DB02> alter database rename file '/u01/<path_to_proddb_files>/<filename>' to '/u01/<path_to_clonedb_files>/<filename>'
2. Rename the database with the dbnewid (nid) utility
3. Edit the pfile and update the new database name
Modify parameter DB_NAME to reflect the new database name.
also ensure you make necessary changes to the environment for ORACLE_SID, ORACLE_HOME
as needed.
4. Open the clone database.
Similar Messages
-
How to start a BPEL Process using the File Adapter
Hi
I would like to automatically start a BPEL Process when I store a file in a specific directory. Can this be done using the File Adapter?.
Regards,
Néstor BoscánYes, there are samples of how to do this in the BPEL samples directory.
-
I really need to copy and paste as I am uploading content onto my website through an online user panel, I dont have the know how to start re-writing coding as the help message stated when I try to copy some text, is there a simple solution to this everyday type task? Thanks in advance. Mark in Cheshire.
kaymarhar wrote:
Because it took me AGES to manually configure the text to wrap around my little pig friend there and I would be so bummed if I had to do it again
Next time, you can use the Text Wrap function, so you don't need to manually wrap the text. -
How i will run copy the file in oracle 7.3 ?
how i will run copy the file in oracle 7.3.
new version of oracle copy function is available in util_file but in oracle 7.3 this is not available.here i am using 7.3.
please help
Thanks
Deepak S.The technique used to be to send messages from your procedure to a waiting shellscript listener using DBMS_PIPE. You would write a script (could be ksh, Perl, Ruby etc) on the server with a loop in which it connects to the database and waits for DBMS_PIPE messages. When it gets one, it executes the command that was contained in the message and loops around to continue waiting again.
7.3 is really ancient though. If you're running it at all this far out of support it should really just be ticking over and not subject to new development. -
How can I copy my Itunes-library from Iphone to my new Mac, as I forgot to copy the files from the old PC, and now it is to late. I only have music on my Iphone4. Thank you.
gunnarfromhovikFor iTunes purchases only..
Connect the iPhone to your Mac, launch iTunes.
If you haven't done this yet, go to the iTunes menu bar click Store / Authorize This Computer
Now from the iTunes menu bar again, click File / Transfer Purchases From... -
How can I use Applescript to copy a file's icon to the clipboard?
Hello,
How can I use Applescript to copy a file's icon to the clipboard?
Thanks.
Lennoxthere is no way to do that that I know of. but you can extract an icon of a file to another file using command line tool [osxutils|http://sourceforge.net/projects/osxutils]. you can then call the relevant command from apple script using "do shell script".
-
How can we copy the file in to the importdp/exportdp location
How can we copy the file in to the importdp/exportdp location after doing the import and export activity.?
How can we copy the file in to the importdp/exportdp location after doing the import and export activity.?use Operating System command; like COPY or cp.
-
How to give the reference to the path to copy the file to the server?
hi all
i am developing a page in jsp , in which i will open tiff image or autocad drawing,
i get a file from one CMS, through JSP i login into CMS and get the file reference, till that i am successfull.
but after that to open a file i have to copy that file into local pc or to the server(where my jsp page runs) and then try to open it.
could any one know how to give the reference to the path if i have to copy the file to the server or my Local PC from CMS.
Regards
Oersla Afroze Ahmedhi Deepu,
Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
Regards,
Santosh -
When using i-Cloud PAGES with another shared person who is a collaborator, how to you shift ownership control of the file to the shared person who started as a collaborator and needs to take over file ownership responsibilities?
Thanks, but I have searched here but have not found or heard a direct answer to my question as stated above...
-
How to start MDM?what is the starting lession of MDM?
how to start MDM?what is the starting lession of MDM?
Hi,
MDM Topics:
MDM Course Curriculum
1. MDM Console:
History Of MDM
MDM Overview
MDM Performance
MDM Components
u2022Server Components
u2022Client Components
u2022Admin Components
Console Introduction
Repository structures
Creating Repository
Working with different types of tables
u2022Taxonomy
u2022Hierarchy
u2022Flat
u2022Qualifier
u2022Special tables
u2022Object tables
Console Settings
u2022Creating Users & Roles
u2022Change tracking
u2022Remote systems
Console Security
u2022Repository Level
u2022Server Level
Repository Administration
Duplicating Repository
Backup and Restore
Compacting Repository
Working with master/slave Repository
2 Data Manager:
Data Manager Overview
MDM Modes:
u2022Record Mode
u2022Hierarchy Mode
u2022Taxonomy Mode
u2022Match Mode
Validations & Workflow
Matching Mode
Transformations
Rules
Strategies
Match & Merge
Working with Qualifier tables
Browser Embedding
Relationships
Family Mode/Layout and Publish
3. MDM Import Manager:
u2022Import Manager Overview
u2022Configure Import Manager
u2022Import Map File
u2022Pre-requisites for Data Import
u2022Monitoring Import Status
u2022Performing Data Import
u2022Transformations
u2022Table Joins and Lookup
u2022Splitting fields
u2022Building Hierarchy
u2022Partitioning Fields
u2022Field Mapping/Value Mapping
u2022Value Conversion
u2022Pivot and Reverse pivot
u2022Batch processing
4. MDM Syndicator
u2022Syndicator Overview
u2022Exporting into diff file formats
u2022Record Suppression
u2022Syndication Map
u2022Maps and Map properties
u2022Item Mapping
u2022Destination Items
u2022Custom Items
u2022Merge Items
u2022Syndication Records
5. Overviews:
Master data harmonization
Rich Product Content Management RPCM
Global Data Synchronization
6. Integration Scenarios:
u2022XI Integration
u2022R/3 Communication
Regards
Mahesh -
hi all,
i'm using the last version of iPhoto and i save my library on a western digital external USB drive; the drive is formatted in NTFS; i usually use tuxera to access and browse the files.
Unfortunately, i don't know why, i access this drive in read only mode, so iPhoto doesn't accept the library any more; i tried to copy the library on the iMac but the copied file is really smaller (54 gb instead on the 78 on the drive), and iphoto doesn't accept it.
i need to find a solution and to recover my library, i've no other copies?!
tuxera doesn't open any other ntfs drive i think the problem is there, but i have to finf other solutions to recover my photos.
thank you all for any suggestion.This problem is entirely due to this:
the drive is formatted in NTFS
iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos.
Do you get any error messages when you try and copy the file back to your Mac?
Do you have a back up? -
Photo library gone during copying the file...
I bought a new Mac and wanted to import the library into my new computer. So I started to copy the file onto my external hard drive wth the idea to connect that drive to my new computer and use if from there to imported into my new iPhoto 11.
However, the copying was going to take 256 hours accoring to my G5 because the file was 25 GB big, so I cannceled it to try something else. After canceling, the copied file showed a size of 500 mb and the original file was gone! I checked everywhere, but it seems that I lost my comlete iphoto library. This is rerrible, how can a file dissapear only because I canncels a copy, (not a cut and past).
Does someone has suggestions?
AndréHow did you go about trying to copy the library from the G5 to the EHD? Did you just click and drag it to the EHD?
Or did you use the Move method? That is hold down the Command+Shift key and drag the file from the G5 to the EHD. This method copies the file to the destination and delete it from the source when the copy is done. If you did use the move method and cancelled the "move" when you did it might have deleted the source file and left you with just the partial file on the EHD. The "move" feature was an issue a while back as I recall. -
To copy the files I had to remove the hard drive and direct copy them to an expansion drive on another machine. ITunes recognized the copied files and operates correctly on the computer. I was able to download additional songs to ITunes on the computer without problem. The IPod however will not recognize the new songs, does an abreviated sync process and gives a message that the IPod cannot sync because files are being used by another application. It is also does not want to accept the disconnect command. Any suggestions on how to solve the sync problem?
how did you save the songs? can you play the songs? have you restarted the computer?
-
i had created a frame in which iam getting a source file and then copies the file to certain location...the problem is when i copy a large file it is doing well for the first time but when the second time while iam copying exception occurs like this
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
iam using the code
public static void copy(File source, File dest) throws IOException {
FileChannel in = null, out = null;
try {
in = new FileInputStream(source).getChannel();
out = new FileOutputStream(dest).getChannel();
long size = in.size();
MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
out.write(buf);
} finally {
if (in != null) in.close();
if (out != null) out.close();
}how to solve thisDo you simply want to copy the file. Try, not using many non-instrictive data types, because these use many extra variables and you end up using a lot more memory than you would have req.
Eg-
public void copy(File source,File dest) throws IOException{
FileInputStream fins=new FileInputStream(source);
byte[]b=new byte[(int)fins.length()];
fins.read(b);
fins.close();
FileOutputStream fos=new FileOutputStream(dest);
fos.write(b);
fos.close();
}This is code is not a solution, because here i am reading all file at once. This is basically to show you a method.
In real situation you can set the size of byte[]b to 1024, and loop util read(b); method returns -1. -
Hi All,
I need to use "Microsoft.TeamFoundation.WorkItemTracking.Common, Version=11.0.0.0" dll in my code.
But when I try to build my application I get the below error.
"Could not copy the file "C:\Microsoft.WITDataStore.dll" because it was not found."
And when I try to include version 12 of the same dll , code gets build successfully. And when I try to consume the code(which uses the dll) I get
'Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified."
how do I go ahead with this..??
Thanks
Uma.KHi Uma,
You might check whether the version 11 of the assembly is referenced or added into soruce control. When use the referenced files, please use the relative path for building. If the version 11 of the assembly is not added, please add it to source control and
make sure it's referenced correctly.
It would be better to let us know the TFS version that you're using. And you can also use version 12 if the assembly works fine. If you have any other concerns, elaborate your scenario with more details.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Modificar Plano de Contas B1 versão 8.82
Boa tarde, Estamos com uma necessidade na empresa de modificar o plano de contas atual, para entrar nos padrões internacionais. Porém não posso criar uma nova base de dados para isso. Preciso importar esse novo plano de contas, manter o antigo para h
-
Importing music back in with statistics, updated ID3 tags, etc.
Hi there, I want to format my computer however I have over 8gb of music that I will burn to DVD and then after I have formatted import back into iTunes. However, I was wondering if there was a way that I could keep my statistics such as Top 25 and ea
-
Hard drive can't be seen all of a sudden?
I am still on a G5 Dual 2gig and I have a Maxtor One Touch which is a terabyte drive. All of a sudden it won't come up on the desktop. But when I check About this mac I see it listed. At first I thought it was the power supply but ruled that out. The
-
Integrating reports into form builder
When I created a form menu to display different reports, (and set the destination type to screen) I thought I was flying. After getting all my reports to be displayed in runtime, I then tried to set the destination type to printer, I set the destinat
-
Invitee in Calendar is not working~
Hi, I would like to seek assistance in resolving a problem that I'm encountering. My iPhone 4 is currently running on iOS 5.1.1 and email is not sent out to invitees even when the entry is successful. Using Gmail as default email. iCloud for calend