Click here to Skip to main content
15,886,873 members
Home / Discussions / Database
   

Database

 
QuestionTime calculation Pin
AVPRF4-Jul-16 20:37
AVPRF4-Jul-16 20:37 
AnswerRe: Time calculation Pin
Mycroft Holmes4-Jul-16 21:01
professionalMycroft Holmes4-Jul-16 21:01 
GeneralRe: Time calculation Pin
AVPRF5-Jul-16 19:47
AVPRF5-Jul-16 19:47 
GeneralRe: Time calculation Pin
Mycroft Holmes6-Jul-16 12:40
professionalMycroft Holmes6-Jul-16 12:40 
GeneralRe: Time calculation Pin
AVPRF6-Jul-16 19:02
AVPRF6-Jul-16 19:02 
QuestionHow to Search for names in MySQL Pin
Jassim Rahma2-Jul-16 13:06
Jassim Rahma2-Jul-16 13:06 
AnswerRe: How to Search for names in MySQL Pin
Mycroft Holmes2-Jul-16 14:10
professionalMycroft Holmes2-Jul-16 14:10 
QuestionNeed guidance: duplicate oracle db to another Pin
Foothill30-Jun-16 10:48
professionalFoothill30-Jun-16 10:48 
I am having serious difficulties in my attempt to duplicate a production db to a test instance on the same server.

Using these examples has not helped:
Duplicate a database
Duplicate
Duplicating a database
Duplicating a database using RMAN
and there's more. All attempts with all these materials still end in failure.

Additionally, the lack of in-depth examples for Oracle administration available on the internet (indexed by Google/Bing) is concerning.

Okay, here's the closest that I have been able to get

1. Create test database with the Database Configuration Assistant
2. Create minimal SPFile {DB_Name=XXXX}
3. Shutdown test database
4. Start test database with NOMOUNT and minimal SPFile
5. With RMAN, connect to prod db (target)
- connect to test db (auxiliary)
- ran this command
RMAN> duplicate target database to XXXX
2> from active database
3> password file
4> DB_FILE_NAME_CONVERT '/oracle/oradata/prod/','/oracle/oradata/test/';
6. It ran for a minute then died with a lot of these errors
RMAN-05001: auxiliary file name D:\ORACLE\ORADATA\DCDI\CATALOGTBS.DBF conflicts with a file used by the target database

I have found some info with a 'you need to add this: CONFIGURE AUXNAME ....' but I have no clue where to add these lines and no example was provided.

By this point, the SPFile and Control file are in an invalid state. No clue how to get them back to try again. I've dropped and recreated the test database several times.

I have no clue what I am doing and I cannot find any example on how to do this properly. I've been working on this for about a day and a half and getting nowhere fast.

Can somebody help walk me through this or point me to a good example. I have no experience with Oracle admin and I'm reaching the end of my wits here. Dead | X|
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

AnswerRe: Need guidance: duplicate oracle db to another Pin
Chris Quinn30-Jun-16 21:26
Chris Quinn30-Jun-16 21:26 
GeneralRe: Need guidance: duplicate oracle db to another Pin
Jörgen Andersson30-Jun-16 22:02
professionalJörgen Andersson30-Jun-16 22:02 
GeneralRe: Need guidance: duplicate oracle db to another Pin
Foothill1-Jul-16 3:16
professionalFoothill1-Jul-16 3:16 
AnswerRe: Need guidance: duplicate oracle db to another Pin
Jörgen Andersson30-Jun-16 22:21
professionalJörgen Andersson30-Jun-16 22:21 
GeneralRe: Need guidance: duplicate oracle db to another Pin
Foothill1-Jul-16 3:14
professionalFoothill1-Jul-16 3:14 
GeneralRe: Need guidance: duplicate oracle db to another Pin
Jörgen Andersson1-Jul-16 6:11
professionalJörgen Andersson1-Jul-16 6:11 
QuestionDB backup initiated by NT AUTHORITY\SYSTEM Pin
SreeDBA24-Jun-16 10:07
SreeDBA24-Jun-16 10:07 
Rant[REPOST] DB backup initiated by NT AUTHORITY\SYSTEM Pin
Richard Deeming27-Jun-16 3:58
mveRichard Deeming27-Jun-16 3:58 
QuestionDatabase backed up type virtual device- not mainteance job Pin
SreeDBA24-Jun-16 10:04
SreeDBA24-Jun-16 10:04 
Rant[REPOST] Database backed up type virtual device- not mainteance job Pin
Richard Deeming27-Jun-16 3:56
mveRichard Deeming27-Jun-16 3:56 
Questioncall sql scripts from others folders Pin
MrKBA19-Jun-16 23:43
MrKBA19-Jun-16 23:43 
QuestionRe: call sql scripts from others folders Pin
CHill6020-Jun-16 1:41
mveCHill6020-Jun-16 1:41 
AnswerRe: call sql scripts from others folders Pin
MrKBA20-Jun-16 2:30
MrKBA20-Jun-16 2:30 
AnswerRe: call sql scripts from others folders Pin
Eddy Vluggen20-Jun-16 1:46
professionalEddy Vluggen20-Jun-16 1:46 
GeneralRe: call sql scripts from others folders Pin
MrKBA20-Jun-16 2:29
MrKBA20-Jun-16 2:29 
GeneralRe: call sql scripts from others folders Pin
Eddy Vluggen20-Jun-16 2:40
professionalEddy Vluggen20-Jun-16 2:40 
AnswerRe: call sql scripts from others folders Pin
CHill6020-Jun-16 3:41
mveCHill6020-Jun-16 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.