Read Only, Disaster Recovery Database

I currently have an 8i standby database that I need to open for read only access 24 hours a day. Using the Oracle facilities, I have to close the database to users to apply the arch redo logs from Live. Is there any tools out there that would allow me to get around this?

Usually you can open a standby db only for query purposes.
Bear in mind that doing this you would stop the log apply process.
Once finished your query activities, you should close again the standby db and apply the log "paused".
This is unnecessary only in version 11g.
Hope this helps.
Regs,
Acr

Similar Messages

  • How to replicate CDC on Disaster Recovery Database.

    I have a scenario here.
    In Case you have CDC installed on your main database. The changes are getting captured and you get the changes in the subscriber views.
    In case your main database goes down due to some reasons. You cannot access even a single table of the database now you are to take an export dump to be taken to a different database.
    In this case there is a disaster recovery database, wherein the tables and the number of records is same as the main database, since it is refreshed every now and then.
    Is it possible to replicate the change tables with the archived log files present??
    The mode of operation of CDC is Asynchronous Hotlog mode.
    Please suggest the alternative for replicating CDC on a separate database, if one database is gone, without any miss in the changes.
    Regards,
    Uravesh Vora

    moz44 wrote:
    Hi guys, happy thanksgiving day to you all.
    Some people say that it is possible to replicate a derby database running on one host to mysql running on another host. Has any of you have experience with that?That wouldn't be quite the same as for example replication on Oracle to Oracle.
    But the following claims that it does what you want. No reason to suppose it doesn't. Look at the license carefully (I didn't look at it at all.) It basically supports any jdbc driver (two one for each source.)
    [http://enterprise.replicator.daffodilsw.com/]
    I would expect more problems with more complicated databases. But that is true with databases that have built in replication as well.

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database

    Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
    Current Setup
    SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
    Configured to use AlwaysOn Availability groups for HA and DR.
    Installed on Windows 2012 Servers.
    This is all working and failover works fine and no issues. So…
    Requirement
    A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
    C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
    Solution - What I believe are available to me
    I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
    Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
    Any help on the best solution for this would be greatly appreciated.
    Thanks, Steve

    for always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
    Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above).  you can only do read only.
    IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
    also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
    Hope it Helps!!

  • Applying archivelogs to test disaster recovery database

    Database: 10.2.0.2
    OS: RHEL
    Goal: (1) To test the ability to rebuild a database using backupset and archivelogs.
    (2) To roll forward the test DR database by applying archivelogs from the production database.
    I am using rman but not a catalog.
    I restored and recovered the production database to a new, separate server, making a second database with the same DBID. I felt proud of myself for a moment.
    The production database now has archivelogs past the time of the backup that was restored and recovered to the test DR database. In a simulated production database failure, I want to apply those archivelogs to the DR database in order to roll forward the DR database to the point of failure in the production database. Everyone except me seems to know how to do this. I feel a lot less proud now.
    Yes I have read the rman manuals, all of them, and several times - yes, I have read through the forums and read asktom and metalink. I must be unintentionally overlooking some crucial info and concepts.
    My production database has generated archivelogs passed the last sequence known to my DR database. I don't know how to tell the DR database to recover these new archivelogs.
    Another post on this form directs one to use the command: "recover database until cancel". I get a syntax error. So I tried recover until time, which runs, but does not apply the new archivelogs. Must I update the DR database controlfile with a post-last-backup copy from the production database in order to apply these archivelogs? Must a catalog be used?
    Thank you for any assistance.

    What seems to work is:
    1) to restore the database using the controlfile from the backup,
    2) to issue the command 'alter database recover until cancel using backup control file' from sqlplus,
    3) to respond to each ORA-00279 with 'alter database recover continue default' also from sqlplus and until all the archivelogs have been applied, including archivelogs with sequences subsequent to the backup, then 'alter database recover cancel'.
    4) to issue the command 'alter database open resetlogs'.
    The above steps allow the available archivelogs to roll the database forward beyond the point in time recorded at the time of the hot backup.
    Metalink Note:161742.1 was helpful determining this information, yet it seems to conflict with Tom Kyte's statement that one should avoid using the backup controlfile whenever possible: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:894628342039#29824708782039
    Perhaps the conflict is due to the difference between a restore/recovery and a restore/recovery to a new server?
    Do the above steps seem to be the best practice for restoring/recovering a database to a new server?
    Thank you.

  • Database Read only

    Hi All,
    Can SAP application connect to read only SQL Server database ?
    We are trying to use secondary database of log shipping, for our operational adhoc reporting of production data.
    Please let me know.
    Thanks
    Mushtaq

    Hi Mushtaq,
    no, this is not possible. Even if you do not run any reports/transactions which you know will write to the database, the SAP system will run its internal processes and they'll write to the database. For this reason it's not possible to use a read-only DB for an SAP system.
    Regards,
    Beate

  • Making sql server database read -write from read only

    hey guys
    i attached adventure works in sql server 2008 and it showing as read only ,
    so please guide me to make it read write or remove read only tag from database
    thanks in advance
    sujeet software devloper kolkata

    Hi,
    Is there an error message while you attach (Or restore) the database if so please provide it.
    If no Right click on your database choose properties -> go to options -> scroll to end then change read only option to false
    I hope this is helpful.
    Elmozamil Elamir
    MyBlog
    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    http://elmozamil.blogspot.com

  • Read Only SQL 2012 Replica DB on a SQL 2014 box

    I have set up a data availability group between two SQl 2012 boxes on my windows cluster. they are failing over fine and synchronized as expected.
    I want to add an additional read only replica on my SQL 2014 box which is also included in my windows cluster (so i can use this replica for reporting with 2014 In Memory features) the fail-over is still between the two 2012 boxes. 
    Problem is even tho i have set this replica to read only - yes, the database is always in - Synchronized / In recovery - so i can never connect to it.
    Is this scenario possible?

    Thanks David
    Yes the whole point of this was to get access to real time data from within 2014, but the more i think about it the linked server still would not give me what i want as I belive the in memory is defined at table creation level.
    With the tables being created in 2012 that would be a problem.
    Thanks for the info mate.

  • How can we make SAP system READ ONLY !!!!!

    Hi, we have an SAP R/3 4.6 C Application. We need to take the system for read only state means we don’t want the users to allow any update for the system but they should be able to view the data what they have created. Mean while we don’t want the database to be taken in read only mode as we the administrators or the users might want to update their password information.
    It would be a big help if some one can through some tips on how we achieve this.
    Thanks much in advance.
    Guru

    Hi
             Please make the database in READ ONLY MODE. This will help. If it is an oracle database then.
    Open a Database in Read-Only Mode
    You can open any database in read-only mode to prevent its data from being modified by user transactions. Read-only mode restricts database access to read-only transactions, which cannot write to the datafiles or to the redo log files.
    Disk writes to other files, such as control files, operating system audit trails, trace files, and alert files, can continue in read-only mode. Temporary tablespaces for sort operations are not affected by the database being open in read-only mode. However, you cannot take permanent tablespaces offline while a database is open in read-only mode. Also, job queues are not available in read-only mode.
    Read-only mode does not restrict database recovery or operations that change the database's state without generating redo data. For example, in read-only mode:
    Datafiles can be taken offline and online
    Offline datafiles and tablespaces can be recovered
    The control file remains available for updates about the state of the database
    One useful application of read-only mode is that standby databases can function as temporary reporting databases
    Opening a Database in Read-Only Mode
    Opening a database in read-only mode enables you to query an open database while eliminating any potential for online data content changes. While opening a database in read-only mode guarantees that datafile and redo log files are not written to, it does not restrict database recovery or operations that change the state of the database without generating redo. For example, you can take datafiles offline or bring them online since these operations do not effect data content.
    If a query against a database in read-only mode uses temporary tablespace, for example to do disk sorts, then the issuer of the query must have a locally managed tablespace assigned as the default temporary tablespace. Otherwise, the query will fail. This is explained in "Creating a Locally Managed Temporary Tablespace".
    Ideally, you open a database in read-only mode when you alternate a standby database between read-only and recovery mode. Be aware that these are mutually exclusive modes.
    The following statement opens a database in read-only mode:
    ALTER DATABASE OPEN READ ONLY;
    You can also open a database in read-write mode as follows:
    ALTER DATABASE OPEN READ WRITE;
    However, read-write is the default mode.
    Regards

  • Read only user

    how can we create read only user in database.i mean he can view what ever he wants in the datbase.
    thankx

    >>
    how can we create read only user in database.i mean he can view what ever he wants in the datbase.
    thankx
    >>
    You mean, can read data from any scheam?
    You mean, he can also view data dictionary views?
    It depends which privilege you wanted to give.
    For reading data from another schema, you can always give SELECT ANY TABLE/VIEW privilege to the user.
    Jaffar

  • DBFS in read-only tablespace as LOB archive solution

    I am trying to come up with an architecture to solve the following requirement
    1. transactions will have LOB attachments
    2. Transactions will be live for short period of time, after which they will be 'closed'
    3. all transaction details, including LOBs must be kept for minimum of 7 years
    4. want to minimise backup requirements, so that we aren't backing up large amounts of basically static data.
    Here is my proposed solution
    1. table for the LOBs will be in the 'live' part of the database.
    2. There will be a DBFS created in the database as DBFS SecureFiles Store
    3. The tablespace holding the DBFS_SFS will be read-only.
    4. Periodically (monthly?) the DBFS_SFS will be made read-write, the LOBs from closed transactions will be moved from the 'transactional LOB table' to the DBFS_SFS and replaced with DBFS Link
    5. DBFS_SFS will be made read-only, and full database backup performed
    6. subsequent backups will skip read-only, until the next iteration
    have I missed anything that may prevent this from working?
    phil

    Thanks for the reply
    Firstly, the app availability is expected to be 12x5, so the plan would be the full backup would be during the weekend, but I appreciate the issue re backup timing
    What I would really like is if there were some way to have the DBFS SFS in a separate database, and register it as a hierarchical store, but there doesn't seem to be a way to do that. Even if I was able to write the appropriate DBFS Store Provider (a la the DBFS sample store at http://www.oracle.com/technetwork/database/application-development/522110) , you run up against the 32K limit of dealing with LOBs in a remote database (unless I have missed something somewhere)
    Phil.

  • Disaster Recovery steps for BO

    BO XI R2 SP 1
    Oracle10g
    Windows 2003
    We would like to do a drill for BO recovery and need to know what proper steps would be required.
    This is so far I understand; if I'm missing something then please advise.
    Take backups of Prod CMS, PMDB and Data warehouse schemas
    Restore all these schema's in the DR (disaster recovery) database
    Now the issue is when we restore CMS; it shows Prod server information and Infoview doesn't let you log in.
    Appreciate any assistance. Thanks

    Hi Tim - Thanks for sharing the guide; it was very helpful.
    I still have one question;
    suppose we take the backup of schemas from production database server connecting to production BO server, say BOPRODmachine.domain.com
    and then we restore all schemas in disaster recovery server database and file store on disaster recovery BO server, say BODRmachine.domain.com
    How will the restored CMS data recognized this new disaster recovery BO server?
    We tried to do that and BODRmachine shows that all servers are running on BOPRODmachine in CMC -> Servers
    When we tried to connect via Infoview, it didn't let us as server name was different.
    Do we have to rebuild the database for CMS on disaster revocery environment before starting the CMS server?
    Please advise. Thanks

  • ODI Studio Read only user

    Hello
    Can you please let me know how to create ODI Studio Read only user ?

    >>
    how can we create read only user in database.i mean he can view what ever he wants in the datbase.
    thankx
    >>
    You mean, can read data from any scheam?
    You mean, he can also view data dictionary views?
    It depends which privilege you wanted to give.
    For reading data from another schema, you can always give SELECT ANY TABLE/VIEW privilege to the user.
    Jaffar

  • Difference between disaster recovery and cloning db

    hi,
    i have configured cloning of database through rman backup and write now i 'm going to configure disaster recovery database .
    please tell me the difference between both .
    thanks.

    can you provide me any link upon disaster recovery so i could learn much about ithttp://www.oracle.com/us/products/ondemand/collateral/disaster-recovery-exec-brief-069248.pdf
    http://www.oracle.com/technetwork/database/features/availability/dataguardoverview-083155.html

  • Read only permissions

    one of my testing team requested for read only permissions on database, so what are the permissions that i can grant to them. Just to see the database tables .....

    Well depending on how often you expect this type of request to come up people often create a role to handle the grants.
    Two things to consider.
    1. Do you care that they can access any table on the database...that includes the system tables?
    If not then you can grant them create session and select any table.
    However, I find this to extreme at times, but often the "easy" way out.
    2. You can grant them select on only that tables you will them to be able to read.
    grant select on owner.table_name to user_name;
    and of course the create session privilege.
    Now people often find this to be a pain because for each new table they have to grant the select again. However, you can probably search google or create your own script that selects the table name from dba_tables and have it create all the grant lines in another script that you can run. Something like
    set pagesize 0
    set linesize 200
    set echo off
    set feedback off
    spool /tmp/grantsql.sql
    select 'grant select on '||&tableOwner||'.'||table_name||' to '||&grantingTo||';' from dba_tables where owner='&tableOwner';
    spool off
    set echo on
    set feedback on
    @/tmp/grantsql.sql
    Regards
    Tim Boles

Maybe you are looking for