Migration of data from the old platform to the new primary database, need advice.

I have physical standby facility and everything works now.

Next weekend, we will do the actual migration of the old platform to the new environment.

I have several issues of concern.

Migration will go to the primary database. I'll have to remove patterns and inside expdp dmp.

While I do all those, what data base waiting? should I disable it again apply?

What other concerns and precautions I need to take before I have to remove all data from primary school and do a migration?

Thank you in advance.

Hello;

My main concern would be the FRA (assuming you use it).

By doing all that generates a ton of archives, you have to worry about the space on both sides.

I would consider increasing my FRA on both sides.

I would not disable the recovery, but I look very close and be willing to adjust my space as needed.

As long as you don't miss space you should be fine. I had once a backup log files more than 250, and it took about 15 minutes to catch up.

Have a little prepared scripts in advance if you can increase the space or delete archive applied and it should be fine.

I also opened at least two terminals on the primary and Standby. Everyone look at space and the other to execute all what you need to adjust the space.

The rest is common sense, first do the smaller drawing if you have an idea what to expect. Decaying etc. as much as possible.

Best regards

mseberg

I have a shell script called 'quickcheck.sh' (use a separate but .env file it will send information vital back)

With a little work, you can do this in something that makes it easy to keep an eye on things.

#!/bin/bash
####################################################################
#

if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . quickcheck  "
exit 1
fi

#
# Set the Environmental variable for the instance
#
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
#
#

$ORACLE_HOME/bin/sqlplus /nolog <

and then a SQL file called quickaudit:

SPOOL OFF
CLEAR SCREEN
SPOOL /tmp/quickaudit.lst

--SELECT SYSDATE FROM DUAL;
--SHOW USER

PROMPT
PROMPT -----------------------------------------------------------------------|
PROMPT

SET TERMOUT ON
SET VERIFY OFF
SET FEEDBACK ON

PROMPT
PROMPT Checking database name and archive mode
PROMPT

column NAME format A9
column LOG_MODE format A12

SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking free space in tablespaces
PROMPT

column tablespace_name format a30

SELECT tablespace_name ,sum(bytes)/1024/1024 "MB Free" FROM dba_free_space WHERE
tablespace_name <>'TEMP' GROUP BY tablespace_name;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking freespace by tablespace
PROMPT

column dummy noprint
column  pct_used format 999.9       heading "%|Used"
column  name    format a16      heading "Tablespace Name"
column  bytes   format 9,999,999,999,999    heading "Total Bytes"
column  used    format 99,999,999,999   heading "Used"
column  free    format 999,999,999,999  heading "Free"
break   on report
compute sum of bytes on report
compute sum of free on report
compute sum of used on report

set linesize 132
set termout off
select a.tablespace_name                                              name,
       b.tablespace_name                                              dummy,
       sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )      bytes,
       sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
       sum(a.bytes)/count( distinct b.file_id )              used,
       sum(a.bytes)/count( distinct b.file_id )                       free,
       100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
               (sum(a.bytes)/count( distinct b.file_id ) )) /
       (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
from sys.dba_free_space a, sys.dba_data_files b
where a.tablespace_name = b.tablespace_name
group by a.tablespace_name, b.tablespace_name;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking Size and usage in GB of Flash Recovery Area
PROMPT

SELECT
  ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
  ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
  ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
  SUM(B.PERCENT_SPACE_USED)  AS PERCENT_OF_SPACE_USED
FROM
  V$RECOVERY_FILE_DEST A,
  V$FLASH_RECOVERY_AREA_USAGE B
GROUP BY
  SPACE_LIMIT,
  SPACE_USED ,
  SPACE_RECLAIMABLE ;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking free space In Flash Recovery Area
PROMPT

column FILE_TYPE format a20

select * from v$flash_recovery_area_usage;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking last sequence in v$archived_log
PROMPT

clear screen
set linesize 100

column STANDBY format a20
column applied format a10

--select max(sequence#), applied from v$archived_log where applied = 'YES' group by applied;

SELECT  name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE  DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;

prompt
prompt----------------Last log on Primary--------------------------------------|
prompt

select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

PROMPT
PROMPT Checking switchover status
PROMPT

select switchover_status from v$database;

PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT

SPOOL OFF

exit

The env file looks like this: (if the file would be PRIMARY.env)

ORACLE_BASE=/u01/app/oracle

ULIMIT=unlimited

ORACLE_SID=PRIMARY

ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2

ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

LIBPATH=$LD_LIBRARY_PATH:/usr/lib

TNS_ADMIN=$ORACLE_HOME/network/admin

PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.

export EXP_DIR=/u01/oradata/PRIMARY_export

export TERM=vt100

export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT

export ORACLE_HOME

export LIBPATH LD_LIBRARY_PATH ORA_NLS33

export TNS_ADMIN

export PATH

Published by: mseberg on December 9, 2011 18:19

Tags: Database

Similar Questions

  • I move from an old PC to a new PC and need to disable Adobe 8 and assets on a new machine

    the option to disable Adobe 8 has been grayed out on the old machine.  I installed on the new machine with serial number.  I couldn't save it because she couldn't make contact.  Adobe 8 works but I cannot print.  How I have adobe active 8 on the new MACHINE?  and register it?  I have reset my word of past, but couldn't connect, I get an error message that I couldn't display the page.

    Hi alva2801,

    On your old machine, open a PDF in Acrobat 8, then check if the option 'Disable' is available now or not.

    Also try to 'Repair the Installation' under the menu help.

    Let us know if problem still persists.

    Kind regards

    Meenakshi

  • migration of data from the Office of windows 7 2007

    Hello

    Keep transferring my files of Office 2007 (including Outlook e-mail) on a Windows 7 on my Macbook Air (El Capitan). I understand that I must buy Office for Mac and install first 2016. Does anyone have experience with these data migrations?

    I'm concerned about compatibility as both operating systems and two software packages are involved.

    Thank you.

    I use Office for Mac 2106 but does not move anything. You can post the same question in the Microsoft Office for Mac 2106 forum: http://answers.microsoft.com/en-us/mac/forum/macoffice2016?auth=1

  • Transfer the data from the Treo 270 to Centro?

    Hello. After almost 6 years of use, my Treo 270 valve broke! If I buy a Centro, can I transfer data (e.g. of the Agenda +, phone book, etc.) which it the Treo? Thank you

    Hello mrsammut and welcome to the forums of Palm.

    Yes, you will be abe to migrate your data from the Treo 270 Centro.  This Palm KB article tells you how to upgrade to the Centro.

    Alan G

    Message is about: Treo 755 p (Sprint)

  • Transfer of data from the old and new Mac

    Hi folks, I'm acquires a new iMac, PC (with Retina 4 K display 21.5 inch iMac) to replace my current iMac (21.5 inch, mid 2010). I sold my existing iMac and will have to ship power off before receiving the new unit, ergo, I won't be able to use the method of transfer of my data from the old to the new Mac.

    Accordingly, I am looking help form to advise me how can I do to preserve my existing Mac data so that I can install on the new Mac. In addition, how to delete all my data from the old Mac but preserve the OS X (El Capitan) and relevant applications.

    All of the advice and recommendations will be greatly appreciated

    1. create a Time Machine backup or clone bootable on an external drive, and then migrate your data from it.

    2. you need to remove El Capitan of the old Mac before send you it off and return it to the most recent of its original operating system or 10.6.8.

    (137493)

  • I bought an iPhone 6s and want to transfer the data from my old iPhone 4S with iTunes

    I bought an iPhone 6s and want to transfer the data from my old iPhone 4S with iTunes but it says "the"iPhone"iPhone cannot be used because it requires a newer version of iTunes. Go to www.itunes.com to download the latest version of iTunes. "

    I checked and the version of itunes is the latest AID!

    DooozySue wrote:

    I checked and the version of itunes is the latest AID!

    Most likely, what you found, is that the iTunes version is the latest available for your operating system.

    The latest version of iTunes is 12.4.3.  This version requires at least OS X 10.8.5 or later version, or Windows 7 or later version.

    If your iTunes version is earlier than 12.4.3, it will probably not recognize your 6s performance iPhone iOS 9.

    If you do not have the required operating system, get first.  Then download from iTunes

    http://www.Apple.com/iTunes/download

  • I need to transfer my history of the text and images from my old iPhone to my new iPhone, but have already moved all other data to my new phone via iTunes and spent time to organize.  How do I reset this transfer without any?

    I need to transfer my history of the text and images from my old iPhone to my new iPhone, but have already moved all other data to my new phone via iTunes and spent time to organize.  How do I reset this transfer without any?  I transfer a 5s to itself.

    For your photos, try importing them to your computer and their synchronization then back to the SE.

    Import photos and videos from your iPhone, iPad or iPod touch - Apple Support

    For your texts, they moved with the backup restore?

  • New iPad: restore the data from the old iPad, but...

    I got a new iPad. I have already backed up my old iPad to iTunes and wanted to put in place the new iPad to restore this backup data. BUT when I connected to iTunes, I've learned that I have to update the operating system first. He wouldn't let me NOT restore from backup! I had to set up as a new iPad.

    So, I did the installation of the new operating system. But I have a lot of applications and data from the old iPad I want on the new iPad. How can I quickly transfer these data? I have found no method to restore the backup of the old iPad now since. Frustrated!

    Follow the directions here: https://support.apple.com/en-us/HT203434

    Basically, now that iOS is updated you need to clear the iPad and then you can restore from a backup. -AJ

  • does "set up as new iphone" prevent later restore the data from the old iphone (iphone 4)

    refurb Iphone 4: if I use the option "set up as new iphone", I can retrieve later data from the old iphone from itunes? (macbook 10.6.8 don't dl latest version of itunes @ this time)

    You would be able to restore an old backup him later, but doing so will wipe everything that is currently on the phone. There is no way to combine.

  • Update hard drive and transfer data from the old disk

    I want to spend my hard drive in a 1 TB and the transfer of the data from my old drive again.

    Thank you teacher sounds like a good plan to me.

    Solutions & KUDO

  • importing data from the old system to the new system, key to the raw16 column

    Hi, experts,

    now I have a new system, the design of the system is to use raw (16) column as the key column in all tables of database.
    of course, when the new system goes live (in production), new records of transactions are written to the new database system.
    When the new system inserts new records, it manages itself to avoid any conflict of the raw key column value (16)


    Now, I'm dealing with this problem:

    I need to import data from the old system to the new system, I use sys_guid() to fill the column raw (16) into the new database system.
    How can I avoid conflicts of raw column value (16) between the old system data and the new data of database system?

    the sql code I write is very simple:

    insert into new_sys_table_a (key_column_raw_16,...,...)
    Select sys_guid(), old_sys_col_a, old_sys_col_b
    of old_sys_table_a;
    insert into new_sys_table_a (key_column_raw_16, col1, col2 )
    select key_column_raw_16, col1, col2
    from old_sys_table_a;
    
  • copy the data from the old HARD drive to a new HARD drive

    have old hard drive with data and op sys - must copy old hard drive data on the new hard drive WITHOUT copying op sys

    a simple way is the best way.

    Help, thanks

    Hello

    1. purchase a USB hard drive enclosure to put the old drive hard in > plug it into the new computer.

    Here is a video on how to do it:

    http://www.YouTube.com/watch?v=SLLQusrmzvI

    2 slave the old hard drive in the new computer, so a new office.

    http://www.WikiHow.com/configure-master-and-slave-in-BIOS-for-two-hard-drive-disk-in-a-single-system

    See you soon.

  • Migration of data from Thunderbird problems

    Hello

    I'm migrating to a new computer. I read the support pages that describe how to migrate a profile Thunderbird from one computer to the other. However, I'm having trouble. After that I copied my profile data to the new location, Thunderbird can see my account information (email address, the server settings, etc.), but it does not show the files and electronic mail that were in my old PC. I am sure that I saved the correct data. If anyone has encountered this before? Any ideas?

    Thank you
    Greg

    Thanks for the suggestion Gnospen. It appeared that everything was there, but it is possible that something in my backup was corrupted. I copied everything from the computer source again, and it works now. I'm not sure what it was, but everything seems to be good now. Thanks again!

  • Remove data from the HD Server?

    I've recently updated my OS to 10.12 Sierra and went to install Server.app. However, when trying to install Mac OS Server, I received the following message:

    "This the server version does not support upgrading the server from data on this volume. To upgrade your database server, you need to install an older version of the server and OS X."

    ***? In what universe would be an acceptable solution? Now, the fact is that I probably had installed Server.app before on a very old version of Mac OS (not sure which) and just never bothered to upgrade during the last major revision of OS X or more.

    What that is, how can I get rid of these old "data server" so I can install a new copy? Thank you.

    Wondering how to remove the data from the server that you had before the upgrade to Sierra? If so, delete the folder/Library/Server and the.app to / applications. Then go to the App Store and buy the latest version of the server. I'm guessing that your last purchase server had Yosemite and that's why try to install the server to the App Store / Shopping does not work. I did purchase the server from Yosemite.

  • I used windows easy Transfer to transfer data to the new laptop, but the Favorites do not show up. How do I get my old favorites?

    I used Windows easy transfer to move the data from the old to the new laptop. Bookmarks of Firefox has not been transferred. How can I get my old favorites for the new machine? Thank you

    http://support.Mozilla.com/en-us/KB/recovering+important+data+from+an+old+profile

    Your old profile is located here in Windows Vista and Win7:

    drive: \Users\Windows login user name\AppData\Roaming\Mozilla\Firefox\Profiles\profile_name

Maybe you are looking for

  • Strange connection with WRT54G2 problems

    As stated, I have a Linksys WRT54G2 (ver. 1).  The problem exists from the very beginning when I bought this router.  What is happening is that downstream data speeds slow down normal speed (11-15 Mbit/s) for barely more than 1 Mbps.  To temporarily

  • Cannot detect bluetooth speaker

    I cpuld fail to a bluetoothbox with my new xperia 5. With my old samsung 3 or 4 steps problrm... Also the people in the store could not help me Issue edited by Rickard

  • I want to upgrade Vista to Windows 7...

    My laptop came with Vista, and I have no disk for Vista. What I've read, it's that I'm going to need a Vista to help upgrade disc. My laptop is old and Microsoft does not update it more, and I installed Windows7 on my desktop, but once again no disc.

  • How to store and update the cache to the 2.3 OHC?

    We have a few dozen workflows (CPO 2.3 process) each triggered by a single event of the tide to start. Each workflow at the outbreak extracts digital data (two or three data double-digit like for example 15, 300) from one end of point plural web serv

  • Problem adding contacts to the directory blackBerry Smartphones

    Hello! I have a two year old curve 8520. Suddenly, I am facing a problem. I'm not able to add a new contact or edit existing contact. I rebooted my phone number of times but the problem persists. How can I solve this?