Steps for Refresh the Test Database with cold-backup
Hello everybody !
Can any body write me the steps to referesh the test db ( T1 -> already there) from the cold backup of production database ( P1 on another machine ) . all the datafiles are there available in the backup of production ..controlfile or redolog files are not available of production database. Both databases are 9.2.0.8 and are on different machines with same OS of AIX.
Thanks in advance !
Steps
1.) Before Shutting down P1 DB for cold back execute
alter database backup controlfile to trace;
2.) copy the created the trace file from udump to test server
3.) shutdown the P1DB and take cold backup containing all datafiles
4.) Copy dbf to test servers
5.) Edit trc file copied in step no 2
6.) As you are changing the name of db use option SET ( in place of REUSE)
7.)Also remove unwanted portion
8.) Change the name of trc file to <somthing>.sql
9.) Startup test db in nomount stage
10.) run the above created sql
11.) tHis will create controlfiles, place db in mount stage
12.) issue alter database open reset logs
13) add tempfiles to temp tbsp
regards
Pravin
Similar Messages
-
Can anyone give me the steps for moving the repository databases in 9.3.0?
We are in the 9.3.0 environment and I need to move the four repository databases for essbase, biplus and webanalysis/workspace to a new machine. I tested moving the databases and rerunning the config util, but I lost my sample reports I created earlier. Does anyone have a step by step procedure for moving the repositories?
Thanks,
-C.If you are moving reports why don't you bulk export them from workspace and then import them into your target.
Are you talking about migrating the repository across different shared services environments, if so then I doubt you will have much luck with trying to migrate the workspace repository as it pretty tied in with shared services.
Cheers
John
http://john-goodwin.blogspot.com/ -
Refresh the object associated with a Row in a Data Control?
I am using EclipseLink & have an issue with multiple updates of the same Row. During an update, a new instance of the entity is returned by the update method. The instance bound to the Row is not updated with this new version and subsequent updates fail with an optimistic locking exception since the entityVersion hasn't been updated.
Question: Is it possible to refresh the instance associated with a data control Row? I can remove rows, create rows, but it is not apparent to me how to update a row. I am trying to avoid doing a full retrieve on the bound iterator.Hi!
The issue here is, by my opinion, a gap between ADFm and EJB 3.0 in use-cases with large data sets. If you search this forum, you may find related thread by Pedja about problem of feasible "scrollable" af:table with large number of entities in EJB finder result list. Unfortunately, the ADFm "paged" fetching is in mismatch with EJB support for "paged" (or scrollable) results lists. The all results of EJB finder method are retrieved from data source, stored in memory (thus breaking the heap) and transferred to ADF datacontrol. Then, and only then, ADFm paged fetching and caching mechanisms are employed – but they are just cosmetics as the main data set is permanently stored in memory as List<?>. The workaround is, as Pedja discovered, to write completely proprietary TableCollectionModel which completely evades ADFm and is implemented by set of EJB Session methods for paged acces to datasource through TopLink and native database queries (enabling retrieval of particular range of rows instead a complete result set). Of course, this is very complex coding experience and I find it a not acceptable for efficient development of modern applications on ADF + EJB stack, especially as it brakes a technology independence promoted by EJB and EclipseLink and other standards-based technologies (as you have to use database-specific native query implementation for paged /scrollable access!).
What I want to say is that I have feeling that ADF support for EJB is not complete in full extend and that ADFm is still much better suited for BCs then for EJBs. I hope that this will be solved in future as this issue may pose a significant issue on application development in enterprise-level area where it is supposed that we are dealing with BROWSING also a large data sets.
Yes, I emphasize a BROWSING as I strongly oppose a dogmatic approach that SEARCHING is a solution for every use-case. From theory of information, the system SHOULD NOT limit the user in accessing ALL information (based on access rights, of course). So the idea that SEARCH forms should be used to bridge a architectural gap between a ADFm and EJB is not acceptable, as the search MAY limit the user in acquiring the information he (or she) is not able to describe in adequate manner based on search criteria offered by the developer. So, the developer may be responsible for misinformation of user, by limiting his access to information, jus for technology limitations of ADFm which forces a development of purely SEARCH-based functionalities.
I hope that development team would appreciate and consider this remarks, and invest effort in closing (not bridging!) the gap between ADFm and EJB.
Regards,
PaKo -
Refreshing a test database.
Hi guys
oracle 10g
hpux
i need to keep my test database in sync with production ( just a lag of one week is permitted).so i need to keep my test database refreshing every week. I need your suggestion with the folllowing.
1)Shall i do a complete restore from prod tapes to test every week
2) or just import and export of every schema.
3) If i do export and import then is there a workaround where i can import only those rows that were added/changed in the last week.
DB size is around 500GB.
ThanksHello,
As your database is rather large (500 GB) it's rather heavy to restore or import it every week.
You may think also on Oracle Stream Technology so as to keep the Test database synchronized
with the Production.
Please, find enclosed a link about Oracle Stream replication:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/ptrep_concepts.htm#i996787
Hope this help.
Best regards,
Jean-Valentin -
How can I print the test page with the Arabic type from the command line
Hi,
I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
button.
Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
Please check for me.Hello,
Thank you for your post.
Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
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. -
What is the best practice for using the Calendar control with the Dispatcher?
It seems as if the Dispatcher is restricting access to the Query Builder (/bin/querybuilder.json) as a best practice regarding security. However, the Calendar relies on this endpoint to build the events for the calendar. On Author / Publish this works fine but once we place the Dispatcher in front, the Calendar no longer works. We've noticed the same behavior on the Geometrixx site.
What is the best practice for using the Calendar control with Dispatcher?
Thanks in advance.
ScottNot sure what exactly you are asking but Muse handles the different orientations nicely without having to do anything.
Example: http://www.cariboowoodshop.com/wood-shop.html -
What are the steps for using the backup files to reload data to my blackberry curve (8310, i think)?
Connect BB to PC. On 'Desktop Manager'>Backup & Restore tab>Click Restore. Double click .ipd file (backup file created from Desktop Manager).
-
Steps for capitalising the AUC to Asset
Hi Guru's,
The user has already made the settlement of the internal order created for AUC (CWIP - Asset under construction). Still the amount is able to see in the AUC.
So what would be the reason for the amount lying in the AUC? and
what are the detail steps for transferring the AUC to Assets? (like internal order then its settlement and finally transferring to the Asset)Hi Govind
1. create asset master data
2. create Internal Order
3. Enter Budget for IO
4. Create Purchase Order
5. Account for GR
6. Post Invoice
7.Settlement of capex orders to AUC
8. Settlement of AUC to Final Asset
In your case you have completed steps till 7 . For finanl settlement, create final asset master and in the settlement rule specify this asset as settlement receiver for Finanl settlement. Now you might have created settlement rule only for AUC
Asha -
Need Steps for Configuring BI 7.0 with ECC 6
Hi All,
I need steps for configuring BI 7.0 with ECC 6, Please if anybody has material, Please share with me...
Regards,
Kiran TelkarHi,
regarding bi7 and ecc6.0 Configruration,pls chk this
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/e78a5148-0701-0010-7da9-a6c721c6112e [original link is broken] [original link is broken] ...
http://sheffield.gumtree.com/sheffield/57/13455557.html
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/e78a5148-0701-0010-7da9-a6c721c6112e [original link is broken] [original link is broken] ...
*pls assign points,if links useful*
regards,
CSM Reddy -
Time trigger for refreshing the screen
Hi all,
How to implement the time trigger for refreshing the screen after some time interval .
Thanks in advance .hello Naval ,
set the delay propert Eg : 10
in the on action of the Time trigger Ui
invalidate the node of table .
write the select query for retrivig the PO from table into Itab .
bind the internal table to the node ...
But for your requirement it will efficient if you implement POWL query .
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc238?quicklink=index&overridelayout=true]
Regards
Chinnaiya P -
Create New Test Database with all permissions
Hi all,
We have a Oracle9i database running on Linux platform . Currently 40 users working on it. Now i want to create another test database with giving all permissions to it. Give your valuable suggestions.
Regards,
SudarshanamThe answer to your question as I understand now would be,
grant DBA to <user>;
But I think you mean something else. Please be more clear -
Build standby database using cold backup on a different file system & host
Hi gurus,
The database version is 11.2.0.3. OS is HP UX Itanium 11.31
I am building a standby database using cold backup of primary. The primary mount points are (/p003/oracle, /p004/oracle) on HOST1 and the standby file system on HOST2 are (/s003/oracle,/s004/oracle). I am not using Data Guard to apply logs as we have a script that mounts the log location periodically to standby server and apply the logs to make it current. I am using cold backup as the database is small like 200G and can be taken down. Could someone help me with the steps to build standby using cold backup for a different file location in standby ?? My concern is I can copy the data files from /p003 to /s003. How will I build the controlfile ?
If it was same File system on both HOST 1 and HOST2 I can copy the cold backup to the standby server, build a standby control file on primary and copy and replace the standby control file and everything was set.
Thanks
Cherrish VaidiyanHello;
I have a note on this using a cold copy of the current files instead of a copy backup :
http://www.visi.com/~mseberg/data_guard_on_oracle_10_step_by_step.html
I will post SCP SQL in a moment.
Best Regards
mseberg
set heading off
set feedback off
set pagesize 100
set linesize 400
select 'scp '||a.name ||' server_name:' || a.name as newname from v$datafile a;
select 'scp '||a.name ||' server_name:' || a.name as newname from v$controlfile a;
select 'scp '||a.member ||' server_name:' || a.member as newname from v$logfile a;Edited by: mseberg on May 25, 2013 10:35 AM -
Recover database using cold backup
Hi All,
One of the table is delete by one of our DBA from PROD accidentally. We have a cold backup on one day before.
Now we are trying to restore it from the cold backup. PROD DB is in archivelog and all the archive is in tact.
The table got truncated today at 8 PM. Can we apply the database till 8 PM so that we can restore the truncated table using cold backup.
Please find the below steps which we are using to restore.
creating controlfile
starting the db in mount state
recover database;
Will it ask for latest archive log when we try to recover it.
ENV details -
DB - 11.2.0.1
Please suggest.
ThanksHi,
If you have doubts about the procedure to use to restore a backup to a point in time, then please take a look at the documentation first: Performing Flashback and Database Point-in-Time Recovery - 11g Release 2 (11.2)
After you specify the time when the recovery must end (UNTIL clause in rman), then the RECOVER command will try to use the archivelogs needed.
Before starting with this PITR operation, you should check if your database has flashback active, because it will be much easier to recover using it.
This is also explained on the same document linked above.
Regards.
Nelson -
Recover database from cold backup and add ol archivelogs....
Hello!
Scenarion : I have create in 1 january cold backup of my database. I have from 1 to 4 January all archive logs generated by my database. My database gone in 4 January.
Solution question : How can i restore database using cold backup a than add info from archivelogs to recovered database to do database consist from disaster day.
Regards... Marcin1. Kill current instance with SHUTDOWN ABORT.
2. Copy all control files and data files from your cold backup to original destination.
3. Make sure all archived redo logs from 01-JAN to 04-JAN are available in the database archive destination (LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_x).
4. Run as SYSDBA:
startup mount
recover database using backup controlfile until cancel;When prompted for something like
ORA-00279: change 864868 generated at 01/14/2010 09:30:10 needed for thread 1
ORA-00289: suggestion :
C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_22_%
U_.ARC
ORA-00280: change 864868 for thread 1 is in sequence #22enter:
AUTOWhen you get something like:
ORA-00308: cannot open archived log
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_29_
%U_.ARC'
ORA-27041: unable to open file
OSD-04002: ouverture impossible du fichier
O/S-Error: (OS 2) Le fichier spécifié est introuvable.run
alter database open resetlogs; -
Plz provide me some documents on how to clone a database using cold backup
Dear All,
Please provide me some documents on how to clone a database using cold backup which is in archive log.
Also, please can you provide me the document to install Oracle 9.2.0.6 on Aix 5L
Thanks,
MahipalPlease provide me some documents on how to clone a database using cold >backup which is in archive loghttp://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
please can you provide me the document to install Oracle 9.2.0.6 on Aix 5L
Oracle9i Installation Guide
Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris -
http://download.oracle.com/docs/html/A96167_01/toc.htm
Maybe you are looking for
-
Showing Duplicate records in a report with the count of their occurrence
Hi Members, I am novice to BI. i need your suggestion to achiever one of the functionality. A report is required to be built with columns Incident ID, Task ID, Task Name. The Original report is below:- In the above report I have to display only dupli
-
Limit Order Confirmation Reversal - Balancing Issues
Hello, We currently use SRM 5.5 and have an issue with the balances on our goods receipts and service entries for limit orders. We use ML81N to reverse off our service entry sheets but it is still leaving balances on the goods receipt which appears t
-
I cant get my mac to recognise the internal dvd drive on my imac
my mac is running hot to the touch and i cant get the imac to recognise any dvd i put in
-
Im using iphone5 but can't open the power what can i do?
i'm using iphone5 but i can't open the power what can i do i charge almost one hour stell can't open the power
-
Oracle 10G - Dynamic Decode Function - s it possible - How for CR ?
I will rephrase my question with a better example, then aks my question:- In the example below, we take the employee name (ename) and the department number (deptno) and display the salary of the employee by their department. SELECT * FROM (SELECT