Source database in NOARCHIVELOG temporarily for maintenance

Hi all,
We have a big maintenance to run next week end. There will be mostly index rebuild, statistics gathered and so. We are using 10.2.0.3. Source database is a RAC one.
We would like to put our database in NOARCHIVELOG temporarily during this maintenance windows. This may sound like an easy task, but i rather consider it as a risky one - I need a 100% safe procedure!!
I wonderer, if there is arcticles in Oracle documentation or Metalink that could help.
I think I know several of the steps required:
- Stop the capture
- Put the database in NOARCHIVELOG mode
- Re-instantiate the tables using dbms_capture_adm.prepare_table_instantiation on the source database
- Ré-instantiate the tables using dbms_apply_adm.set_table_instantiation_scn on the destination database
- I think I will have to advance the SCN on the capture but I'm not sure if I have to change the FIRST_SCN or the START_SCN or both?
- Put the database back in ARCHIVELOG mode
- Start the capture
I'm not sure in wich order i have to do these tasks.
Thank you for any advice/link on that subjet!
Jocelyn

Thanks a lot Rijesh for your response,
In the meantime, I do my own search and came to the same conclusion.
I also experimented with note 471695.1 on Metalink (Required Steps to Recreate a Capture Process). It "almost" works! It recreates the capture correctly, but it does not carry the existing table rules... (the content of DBA_STREAMS_TABLE_RULES before dropping the capture).
So it's probably going to be much easier to recreate the whole thing from scratch (we have an existing procedure that is very mature).
Regards,
Jocelyn

Similar Messages

  • Finding source database table/column name for a column in a view

    Hi i need to be able to identify the original database table/column name for a column in a view.
    e.g. say i have a view like this
    create v1 as select a.name fname, b.name bname, c.name cname,......
    from u1.names a, u2.names b. u3.names c
    where .....
    Now I want to find out that the database table/column name for the fname, bname and cname columns in the view v1, which in this instance is u1.name.name, u2.names.name, u3.names.name.
    But i need to be able to do it for any view. Short of parsing the SQL is there an easy way of doing this?
    Now obviusly I can't do this for virtual columns but I will know my column is not virtual as it has an index on it.

    But i need to be able to do it for any view. Short of
    parsing the SQL is there an easy way of doing this?No, parsing the SQL is the only way. Good luck it is not something I would want to attempt.

  • Is mysql a free open source database or do you need a license for it in prd

    is mysql a free open source database or do you need a license for it in production.

    Hi,
    It should be free under GPL (General Public license).Usually it will comes with your operating system distribution (eg:RHEL)
    If you download it from Oracle site, it should have the commercial license tied to it, and you need to pay for that if it is in use for production.
    http://www.mysql.com/about/legal/licensing/index.html
    regards,
    mrak

  • ORA-26687: no instantiation SCN provided for ... in source database ...

    We are testing streams on Databases between our Main and Branch Campus. We set up the Capture, Propagation and the Apply for the databases and receive the error on the Apply process when doing an insert:
    ORA-26687: no instantiation SCN provided for [TABLE] in source database [DATABASE]
    We are running Oracle 10.2.0.2.0
    Thank you in advance for your help.

    At source, execute the following as strmadmin
    SELECT * FROM DBA_CAPTURE_PREPARED_TABLES;
    Get the SCN for the correspoing table and use at destination
    At destination:
    BEGIN
    DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN (
    source_object_name => 'schema.tablename',
    source_database_name => 'global db name of source',
    instantiation_scn => &iscn);
    END;
    Enter iscn that you got at souce.
    Retry the error. This will work.

  • Temporarily offline for maintenance.

    DW8, XP, check in, check out enabled.
    Customer updated the site from her local files. I downloaded
    everything to update my files.
    I updated the library item which is on each template page.
    Made changes to each template page. Updated the site, library and
    template items. Now the sitemap and search pages that are missing
    the editable content and in it's place it says "[this page] is
    temporarily offline for maintenance."
    Why did this happen? Can I change it back? How do I prevent
    it in the future?

    ePrint Center should be up and working now. I would cancel all jobs that are still pending at the site and resend them to see if they will now print off for you both. If not, I would refresh the printer at the site and power cycle the unit and then try the print jobs again. I hope that this helps. 
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • MDW Disk Usage for Database Report Error - A data source has not been supplied for the data source DS_TraceEvents

    Hello,
    On the MDW Disk Usage Collection Set report, I get the following error when I click on a database hyperlink.
    A data source has not been supplied for the data source DS_TraceEvents
    SQL profiler shows the following SQL statements are executed (I've replaced the database name with databaseX)
    1. exec sp_executesql N'SELECT
    dtb.name AS [Name]
    FROM
    master.sys.databases AS dtb
    WHERE
    (dtb.name=@_msparam_0)',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'databaseX'
    this returns zero rows as databaseX does not exist on my MDW central server, but is a database on a target server (i.e. one that is being monitored and uploaded into the MDW central server).
    2. USE [datatbaseX]
    this produces the following error:
    Msg 911, Level 16, State 1, Line 1
    Database 'databaseX' does not exist. Make sure that the name is entered correctly.
    why is the report looking for the database on my server?
    thanks
    Jag
    Environment: MDW (Management Data Warehouse) on SQL 2008 R2

    Hi Jag,
    Based on my test, while this database is offline, we will encounter this issue. This is because that while we click the certain database in “Disk Usage Collection
    Set” report, it will query some information with that certain database. If this database is offline, we will not access this database to acquire related information and generates this error.
    Therefore I recommend that you check the status of this database by using this system view:
    sys.databases. If it is not online, please execute
    the following statements in a new window to make this database to be online:
    USE master
    GO
    ALTER DATABASE <database name> SET ONLINE
    GO
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • Temporarily disable STMS/MPXIO for maintenance

    Hi-
    Looking for advice. I have six active/active arrays using STMS/MPXIO, Sun/Qlogic FC4 hbas and V40z's running S10_U3 x86. Each array has 84 LUNs, with 8 paths, presented to around 20 hosts. Periodically I need to bring down one of the arrays for maintenance (firmware upgrades). When the array is offline STMS/MPXIO generates lots of inquiriy traffic trying to get the paths back online. During a particulary nasty maintenance cycle, my Oracle RAC system (connected thru the same SAN) paniced since it was taking too long to get to the Oracle device.
    During my maintnenance cycles I'd like to disable MPXIO for the particular array, so that the retry/inquiry traffic is suppressed and will allow my other arrays to continue production.
    I think I could use luxadm disable /dev/rdsk/cXtYdZs2 for the mpxio devices of all luns in that array (create a sceript to do this) and follow up with an enable after the work is done.
    I'd like to know if anyone has done something like this and if it is also something I could do with the new mpathadm command that is/will replace the luxadm command.
    Thanks
    Dom Burns

    See Cloud Control Administrator’s Guide: 1.3.6 Blackouts
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473.pdf

  • Locks made against source database (SQLServer 6.5 to 9.0.1.2 migration)

    I was wondering if there is any information about the types of locks that OMWB will take out on the source SQLServer database in a migration. From what I can tell these locks occur on the source database while the table data is loaded in to the target Oracle database. Are they taken at any other time during the migration process? How does OMWB determine what locks to take?
    I need to migrate several production SQLServer 6.5 databases and I need to understand how OMWB will perform locks so I don't bottleneck our production SQLServer databases while they are converted to Oracle. Most of the migration work will be performed off hours, but I still would like some insight into the locking. In a related question, how does OMWB maintain consistency between tables during the migration process?
    Thanks in advance for your help.
    -Reid

    Hi,
    You will be able to migrate from 6.5 to 9.3.1, if the 6.5 version is on a seperate server from the planned 9.3.1 version then you can use the migration wizard to do so.
    If you want to migrate users and groups make sure the 9.3.1 version is still in native security mode, otherwise you will need to use esscmd/maxl to extract user information and then import.
    The migration wizard will not take the data so you should really export that from your source.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Running a physical standby database in noarchivelog mode

    Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
    Standby Database: single instance 11.2.0.2
    OS: AIX 7.1
    Hello,
    I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
    Thanks

    Hello again;
    If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
    For this :
    b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
    And for this :
    resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
    --- Will post a detailed example here in a moment.
    Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
    all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
    I did another switchover and it was done. I used TAF and none of the users even noticed.
    Best Regards
    mseberg

  • ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

    Hi All,
    Need help from the gurus.
    Currently we are in state unable to do anything.
    Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
    Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
    Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.

    Hemant,
    thanks for the reply.
    I tried the way you suggested and it threw an error.
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I searched and found that an additional tag of drop needs to be added to the command which you suggested.
    ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
    i don't know what will the drop command have an effect ?
    i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
    if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
    Thanks,
    Sachin
    I

  • Recover database in NOarchivelog mode :)

    Hi all. How to recover a database wich is in noarchivelog mode? B-)
    Suppose,
    I have 3 redolog groups (with two members in each, the second members are located on another drive ). When first redo log group was 1/2 full I took a full backup. Then there were 2 switches from first to second and from second to third. Now the currnet redolog group - 3 (just started). At this point we faced media failer. How to roll forward changes using backup + online redologs?
    Edited by: Junior Oracle DBA on Oct 16, 2008 1:53 PM

    Restore your database cold backup (excluding redo logs).
    Then issue this command :
    RECOVER DATABASE USING BACKUP CONTROLFILE
    provide the names of the last ACTIVE / CURRENT Redo Logs in the database when Oracle prompts for an ArchiveLog.
    When Oracle has finished recovery to a consistent point in time, it will return to the command prompt without any error.
    Now issue this command :
    ALTER DATABASE OPEN RESETLOGS
    You would have a Complete Recovery.
    This is provided that Oracle had NOT cycled through all the Online Redo Logs since the time when the Cold Backup was taken. (If Oracle had cycled through all the Online Redo Logs, it would have overwrriten the oldest log because it wasn't in ArchiveLog mode).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Changing database to noarchivelog mode during impdp

    Hi Guys,
    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production on RHEL5.
    I am in the middle on the impdp and I want my database to run on noarchivelog as it creates a lot of archivelogs.
    Will it be proper if I stop the import:
    e.g Import> STOP_JOB=IMMEDIATE
    and shutdown the database put the database on noarchivelog mode.
    then opne database and
    impdp hr/hr@mydb ATTACH=myfulljob Will these work fine?
    Or should I execute:
    alter system archive log stop;
    Please Help !!!!!!!!!!!

    Vinod Dhandapani wrote:
    Running the database in Noarchivelog mode means you should be ready to lose data incase there is any crash. I would recommend you to change the size of the redologs so that it will not create frequent archivelogs. Which does nothing about the space required for the archivelogs. If you are generating redo at the rate of 1gb/hour, you will consume archivelog dest space at the rate of 1gb/hour. Doesn't matter if those files are 10mb each or 100mb each.
    If space is the problem then use a shell script to move the archivelog to another location (Tape)....And hopefully that shell script is invoking rman to do the work, so that in the event of recovery, rman will know that backups were taken and where they are located.
    >
    Incase you want to convert the database from archivelog to noarchivelog, follow the steps provided in the following link.
    http://racadmin.blogspot.com/2011/06/convert-archivelog-mode-to-noarchivelog.html
    Thanks

  • Why am I getting  'Unable to signon to the Source Database.' just prior to 'Running the DBTSFIX Report' step.

    We are upgrading from Tools 8.53 to Tools 8.54 in HCM. I am receiving logging event 'Unable to signon to the Source Database.' just prior to 'Running the DBTSFIX Report' step. I found case 1545297.1 where it said to choose initial move as opposed to move

    For Tools only upgrades, while creating the jobs, you should choose 'Initial' and not 'Move to production'
    An excerpt from http://docs.oracle.com/cd/E56736_01/psft/acrobat/Getting_Started_on_Your_PeopleTools_Upgrade_08_2014.pdf is given below
    MTP indicates that this step runs only in Move to Production upgrade passes. The step is not applicable to the initial pass. This is not applicable for PeopleSoft PeopleTools-only upgrades.

  • The 'Third Party Connections' drop down box on the 'Source Database' step in the Migration Wizard is empty.

    Here are the environmental details:  
    SQLDeveloper 32-bit Version 3.2.20.09 (Build MAIN-09.87)
    Oracle Database:  12C single instance (no RAC)
    Oracle client:  12C 32 bit
    Windows 64 bit desktop
    I am attempting to migrate an MS Access application to Oracle.  I pick the ‘Migrate’ selection from the ‘Tools’ Menu SQL Developer.  This puts me into the Migration Wizard.  When I get to the ‘Source Database’ step of the migration wizard, the ‘Choose the Third Party database from which you are migrating’  drop-down box is not being populated with the current available connections. It is empty.  If I type a valid connection name into the box, SQL Developer takes it on this screen but does not keep it for the next screen/step.  It has no persistence.  I even tried to make sure that each connection was open/connected before beginning the migration process.
    Due to the fact that I am attempting to migrate an MSAccess application, I am mixing 32-bit and 64 bit software.  This may be the issue as to why the drop down is losing addressability.  I have not applied any patches to this version of SQL Developer.

    Hi,
    If you need easy way to migrate Microsoft Access to Oracle probably it is more reasonable to review some tools specially designed to this purpose. For example:
    Access to Oracle converter by Intelligent Converters
    Access to Oracle converter by SpectralCore
    Access to Oracle converter by Interface Computers
    Hope, this will help.
    Sincerely,
    Vlad

  • Multiple source databases

    Hello,
    I need to load data into dimensions and cube from multiple source databases. We have separate transaction databases for each country, but data must be loaded into common target schema. At the moment we have created mappings which loads data from one source database.
    What is the best way to populate, for example customers dimension from customers transaction tables (located in multiple source databases) if business identifiers can overlap?

    I would break this up into two pieces: the load from the source systems into the staging area, and then the load from the staging area into the target table, which you mentioned was a dimension.
    There is no reason you would have to use views or synonyms if you don't want to. You could approach this either with a SET operator, in this case a union, that brought all the sources together into the staging table. However, I would likely create multiple mappings for each source system. I would create a mapping for each table that you have to pull data from, and then create a separate process flow that controls all the tables being pulled from a particular source database. This allows you to schedule the extractions from the source systems independently of each other in case they need to run at different times. The end result of all of this will be a series of staging tables that are loaded from source tables from all the different locations. For each of the singular mappings, I would create a constant that defined the source of the data for this mapping, and load that constant into a column called SOURCE_SYSTEM, or perhaps COUNTRY, as you mentioned. Then, this SOURCE_SYSTEM/COUNTRY column + SOURCE_SYSTEM_ID would serve as the natural key.
    You can choose to persist these tables (as an ODS of sorts) or not... that is up to you and your requirements.
    Finally, I would create a single mapping that loads the final target table from the single staging table.
    Let me know if this doesn't make sense.
    Regards,
    Stewart Bryson

Maybe you are looking for

  • HT1420 If I have already deauthorized all this year, but need to deauthorize another computer which is no longer in my possession, how do I do so?

    I am no longer in possession of a computer that was authorized on my account and I cannot deauthorize all for several months still. I do not have access to the computer. I have changed my password, but would feel much better if it was deauthorized en

  • Using target mode and g4 to restore my time machine on my imac? help

    I have a imac 27" intel 10.6 that became  stuck on grey screen, Tried everything. problem dont have original cd install cd snow Leopard 10.6... so I used target mode from a g4 10.4 mac and erased data on my imac then went into the disk utility and dr

  • Image refreshing on a frame

    the project deals with images which have to be displayed on to a frame, however the images are not displayed properly.Initially only a band of the image is displayed... however on trying to resize the frame the image is entirely visible. Also we woul

  • Query take long time

    I m running a query taking more time more than 20 minutes. But if I am changing the values in the where clause, its doing fast. I am not changing the query , only i change the numeric value used in the where condtion. I thing its a factor of LOCK. Ho

  • How to add the backslash to the subject

    X500Principal p = new X500Principal("cn=test\xyzi"); I get this error Exception in thread "main" java.lang.IllegalArgumentException: improperly specified input name: cn=test\xyz      at javax.security.auth.x500.X500Principal.<init>(X500Principal.java