Database Open in Read Only Mode

Hi
I would like to open database in read only mode
like
SQL> startup mount
SQL> ALTER DATABASE OPEN READ ONLY
this will open database for read only mode for all user
i want to give read write access on database to one user
any idea how i can proccess
Thanks
Chetan

Hi,
Alter database open read only;
this should work fine and everything will be in read only mode. Hence if any auditing is going on and audit_trial=db then it fails to open the database in read only mode.
If you want to control only users to stop writing to it, you may remove tablespace quotas for those users. Also, you may control them through grants. Remove any current grants assigned to them or to roles through which the grants are assigned.
Several ways to do this. If you tell us the particular scenario then we might help in getting a solution.
Regards,
Vasu.

Similar Messages

  • Generating EXPLAIN PLAN on a database which is opened in READ-ONLY mode

    Hi,
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    Thanks in advance.
    Best Regards,
    oratest

    oratest wrote:
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    You can always do: "explain plan into some_table@remote_database" to avoid inserting into the local database. Unfortunately 10g added a sequence fetch to the "explain plan" code, and this is where the call would fail if you tried this remote approach on your version.
    Here's an idea I haven't tested. If you set up a database link from your production database to the read-only database, you could then do an "explain plan" in the production database for the SQL statement by changing every object reference in the SQL statement to "object@readonlydatabase". In most cases this will allow the optimizer to recognise the statement as "fully remote" and get the optimizer on the readonly database to create the execution plan - which would then be written to the production database.
    Regards
    Jonathan Lewis

  • Query faild against database that is opened in read only mode

    ORA-16000: database open for read-only access
    Hi ,
    I am quering against a database that been opened in read only mode (10g version)
    SQL> select controlfile_type,open_mode,database_role from v$database;
    CONTROLFILE_TYPE OPEN_MODE DATABASE_ROLE
    STANDBY READ ONLY PHYSICAL STANDBY
    Currently when selecting against this database
    i am getting the following error:
    SELECT PS_RF_PROVGRP_VW.SETID, PS_RF_PROVGRP_VW.PROVIDER_GRP_ID, PS_RF_PROVGRP_VW.NAME1,
    PS_RF_PROVGRP_VW.STATUS, PS_RF_PROVGRP_VW.SYNCID, PS_RF_PROVGRP_VW.SYNCDTTM
    FROM PS_RF_PROVGRP_VW
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-16000: database open for read-only access
    The owner of the object is PSSYS and i am running the queries as user INFORMIX.
    select owner,object_name,object_type from dba_objects where object_name ='PS_RF_PROVGRP_VW';
    OWNER OBJECT_NAME OBJECT_TYPE
    INFORMIX PS_RF_PROVGRP_VW SYNONYM
    PSSYS PS_RF_PROVGRP_VW VIEW
    User informix have "SELECT ANY TABLE" privilage
    In the source database (e.g: not the cloning one) the queries results are returning susseccfully ,
    and only in the clonning the database the problem exists.
    Does someone have an idea what the problem could be ?
    Thanks.

    Hi
    Object can become invalid, if the underlying objects are dropped/invalidated.
    So even if you create or validate the underlying objects these objects by themself do not become valid. You have to either make them valid or you should use it atleast one time as select/desc or any other query so that Oracle implicitly make it valid.
    Your source datatabase has valid synonym because after dropping/creating you must have selected that synonym atleast one, but this selection procedure would be after you copied your data to the target database.
    Regards

  • It is possible to apply redo while the standby is open in read only mode ?

    Hi,
    I am using Oracle 11g R2 (11.2.0.1.0)
    Step 1: Two node RAC is Configured.
    Step 2: One node Data Guard RAC is configured.( i,e Standby is one node RAC).
    Primary:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ WRITE PRIMARY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Standby:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Question:
    I have not purchased active dataguard license.
    In my case In Data Guard RAC it is possible to apply redo while the database is open in read only mode?
    Thanks
    Solaiman

    876149 wrote:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    "READ ONLY WITH APPLY" in V$DATABASE.OPEN_MODE means Active Data Guard is enabled.
    Oracle code cannot check if you have the right license: it is up to you to know which license you have for your database environments.

  • GPO settings - documents in sharepoint 2007 sometimes open in read-only mode - needs IE reset to fix

    Hi,
    We've got an intranet running on SharePoint 2007.
    We also enforce alot of group policies to our users.
    But there is a problem that keeps reoccuring:
    On random moments, when a user tries to edit a document on any random document library in SP 2007, it gets opened in read-only mode.
    The only temporary fix we found for this is resetting the IE settings in Internet Options -> 'tab' advanced -> Reset IE settings... and pressing Reset.
    We think it is some GPO setting that we have malconfigured or forgot to configure and we hope that someone could point us  in a direction to troubleshoot or even solve this.
    Thanks in advance for reading and providing help.
    Inkendaal

    Hello,
    I also suspect that there might be issue with IE plug-in so could you confirm that? you can also tell su what plug-in you see in IE.
    You might also want to look at this similar threads:
    http://stackoverflow.com/questions/19164313/sharepoint-opens-documents-in-read-only-mode-for-users-with-office-2010
    http://social.technet.microsoft.com/Forums/windows/en-US/a0849e73-d347-4d12-8424-9d5bb6bfb004/all-office-files-from-sharepoint-are-opened-read-only?forum=w8itproappcompat
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SP2013 and Project 2013 - project files open in read-only mode with no options to edit only Save As

    Hi all,
    Environment:
    SharePoint 2013 (15.0.4420.1017)  RTM
    Windows 8 - Project 2013 (15.0.4433.1506) 32Bit
    Issue details:
    When opening .mpp files stored within SharePoint they are opened successfully within Project 2013 however they are opened in Read-Only mode with no options to edit/check out only Save As.  The
    same outcome is experienced if you click the document link within SharePoint or you chose to edit from the document menu. 
    Opening the file through windows explorer also opens only in read-only mode.
    To date we’ve tested the following
    Windows 7 – Office 2010 = working as expected
    Windows 8 – Office 2010 = working as expected
    Windows 7 – Office 2013 = opening as read only, no prompt to edit
    Windows 8 – Office 2013 – opening as read only, no prompt to edit
    Current thinking is that it is an issue with either the SharePoint Office Documents Class ActiveX control or Project 2013 itself interacting with SharePoint 2013.
    We have tested this in multiple SP2013 environments with the same outcomes.
    The workaround therefore is to save locally and then upload again which is not ideal.
    Unable to find an exact issue match to this.
    Any help with this appreciated.

    Hi Dan,
    For us after investigating this further it was found that using the document menu to edit or checkout and then edit results in the project file being opened in read-only mode. 
    The same issue was present for Visio files.
    Using the FILES ribbon menu results in the document being opened in edit mode successfully in both Project and Visio.
    Please note that we found that this issue only exists within document libraries where checkout is required to edit which was our case.  If checkout is not required the document
    menu can also be used as expected.
    Cheers,
    Dan

  • Document will only open in read-only mode

    I created a .pdf document from a Word document in Adobe Acrobat Professional 10.1.1. When I open the .pdf it will only open in read-only mode.  I want to change the security settings to prevent editing before I send it out but the File>Properties>Security>>Security Method is greyed out and set to "No Security."  I have tried certifying and signing the document and even placing in a secure envelope with no luck.
    Help.
    Thanks in advance.

    Thank you Dave. 
    From MS Word, I am choosing Save as Adobe PDF.  In the Save window I reviewed the "Options..." and found PDF Options including
    Convert document information  (checked)
    Create PDF/A-1a:2005 compliant file  (not checked)
    Enable Accessibility and Reflow with tagged Adobe PDF (checked)
    Apply Security (not checked)
    Create Bookmarks (checked)
    Convert Comments (not checked)
    I checkmarked Apply Security and attempted to save the document, however, received the following error:
    PDFMaker cannot apply security when PDF/X or PDF/A compliant job option is selected.
    I do not have the Create PDF/A-1a:2005 compliant file box checked so I'm not sure why I'm getting that error.

  • Project files open in read-only mode

    project files open in read-only mode in ms project 2013.But in the case of MS Project 2007 it opens in READ\WRITE mode .what should i do so that project will opens in READ\WRITE mode by default in MS Project 2013

    In addition to John's excellent reply, I'd add that if you are talking about Project Server, this is by design that the projects in 2013 version open in read-only mode, in order to require an explicit operation to check-out the file. This prevents to have
    many checked out files by mistake.
    See this
    article on my blog.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Db Export when database is in read only mode

    Hi All,
    I have to perform a full database export when database is in read only mode. My db version is 9i.
    Kindly let me know whether that export file is valid enough to do full import in new database and make database oprational.
    Thanks.

    rajaryan wrote:
    Hi All,
    I have to perform a full database export when database is in read only mode. My db version is 9i.
    Kindly let me know whether that export file is valid enough to do full import in new database and make database oprational.
    Thanks.Check the log file, if you haven't got any error, then it's valid
    BTW - Why you've taken full export of the database? Why not using RMAN?
    See the following video tutorial:
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

  • Database open for read-only access ORACLE

    while building a universe with a dblink betweens oracle databases, i try to create a derived table in the form
    select field1 from table@db_to_db2
    but i get the following message:
    Exception: DBD, ORA-16000: database open for read-only acces State N/A.
    I understand the statement "Set Transaction for read only"  must be set before any transaction during the session, but still dont know how to trigger it in bo universe designer.
    Can someone know how to solve it?

    I suggest you fill-in the BEGIN_SQL parameter on the Universe to turn on the read-only transaction.
    Here is an excerpt from the Universe Designer guide:
    The BEGIN_SQL parameter allows you to prefix SQL statements with the same parameters each time a SQL statement is generated.
    1. Open the "Universe Parameters" dialog box in Designer.
    2. Click the Parameter tab.
    3. In the "Parameter" list, select the BEGIN_SQL parameter and enter the
    appropriate prefix commands.
    4. Save the settings.
    5. Save the universe.

  • ZForm only opens is 'read only" mode - but WDR_TEST_ADOBE, runs fine

    Dear readers,
    I am working on an Adobe form, now ZForm only opens is 'read only" mode - but when i run WDR_TEST_ADOBE, it runs fine and it is interactive and I am able to click on the buttons.
    I compared the form from WDR_TEST_ADOBE, and changed the layout to ZC1, and run the Web dynpro script. After activating and running the webdynpro, I see that it is still acting strange and none of the input fields are accepting input.
    There seems to be nothing wrong with the ADS or live cycle designer.
    Some setting in my Webdynpro is preventing this form from being displayed correctly.
    When I attach the form - "WDR_TEST_ADOBE_SIMPLE" from the WD - WDR_TEST_ADOBE, and test my WD, The form is being displayed as read only.
    which again leaves to the conclusion that the something is not right in the WD.
    ~Any suggestions are appreciated, thanks

    Also in the interface properties under sfp,
    when I change the interface type from
    "ABAP dictionary based interface" to
    "XML schema based interface".
    All the entries under Form interface->Import parameters get wiped out, and I have to enter them again.
    Also below is the system information.
    Software   ComponRelease   Level  Highest SupportShort Description of Software Co
    SAP_ABAP           700        0017     SAPKA70017     Cross-Application Component
    SAP_BASIS          700       0017     SAPKB70017     SAP Basis Component
    SAP_HR            600        0040     SAPKE60040     Human Resources
    and I am doing development on HR box, could this be causing trouble, bcos as per below link
    http://help.sap.com/saphelp_nw70/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm from here goto: WebDynpro ABAP Development in Detail->Integration->Integrating Forms->Forms with ABAP Dictionary Based Interface. 
    As of NetWeaver 7.0 SPS10 we strongly recommend you use ZCI forms with an XML interface only. Because additional central features have been added in subsequent SPs (input help and dropdown list boxes), we generally recommend that you always use the most up-to-date Support Package for Web Dynpro ABAP.
    Edited by: Neha Sharma on Feb 1, 2010 11:21 AM
    Edited by: Neha Sharma on Feb 1, 2010 11:25 AM
    Edited by: Neha Sharma on Feb 1, 2010 11:27 AM

  • Dedicated client opening in read only mode

    Hi
    This is my dedicated client and yes this is the fresh installation .I have only applied 8.1..1.9 patches on my dedicated client for open ui.
    I did not apply any QF for this .I have already checked the logs but it is still showing in read only mode after doing upgradation and all changes.
    Thanks

    Hi,
    a new upgrade local database version is available to local database. You need start a Siebel Remote session to retrieve the upgrade kit, or you need rextract a new database with the new upgrade.
    Regards.

  • How Real Time Apply works while physical standby is open in Read Only mode

    Hi,
    With Active data guard option, we can open physical standby DB in read only mode, while redo log are being applied. (Real Time Query)
    Standby Redo log (SRL) enables Real Time Apply (with "USING CURRENT LOGFILE" clause in recover database command on standby DB)
    I am interested to know, how Real Time Query works ?
    What is the mechanism with allows us to open physical standby DB in read only mode while redo logs are being applied continuously ?
    Regards,
    Sujit

    Dear user7419391,
    That is a new feature in Oracle Database 11g. MRP can use the real time apply in 10g but the concept here is different.
    Taken from the following document;
    http://www.ascent.co.za/documents/oracle/Oracle%20databse%2011g%20Active-Data-Guard%20datasheet.pdf
    *Unique Advantages of Oracle Active Data Guard*
    +Active Data Guard is an evolution of Data Guard technology, providing unique+
    +performance advantages while leveraging all other enhancements included in Oracle+
    +Data Guard 11g. For example, any Data Guard 11g physical standby database can+
    +be easily converted to a Snapshot Standby. A Snapshot Standby is open read-write+
    +and is ideally suited as a test system, able to process transactions independent of the+
    +primary database. A Snapshot Standby maintains protection by continuing to receive+
    +data from the production database, archiving it for later use. When tests are+
    +complete, a single command discards changes made while open read-write and+
    +quickly resynchronizes the standby database with the primary.+
    The other link in the previous post is excellent and you really have to read it to understand the active data guard aspects.
    Regards.
    Ogan

  • Database opens as read only

    I have installed the application of mine to the my computer and the other computer that are running on Windows 7 64 bit and all of the function are worked fine (adding the data to the database through system, delete a single data or clear all of the data from
    the database through system, edit the data in the database through system and look at whether the user has correct login username and password from the database through system).
    But, when I installed the application of mine to the other computer that are running on Windows 7 32 bit, all of the functions not worked (object reference not set to the instance of the object when I want to adding the data to the database), but the user can
    login to the system (look at whether the user has correct login username and password from the database through system), but all of the functions except that (login to the system), are not worked, and when I open the database, the database has been opened
    as read-only. This problem has been bugged me, because I have been searching what's is the problem and cannot find the problem at all.
    Anyone know what is the problem? Is it the operating system that restricted the database to be accessed by 64 bit only?
    Thank you very much!
    Your answer much appreciated!

    Hi,
    Change the database to
    Read-write mode.
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Access Database Opens in Read Only for Users

    I just moved an Access Database to a new server (from Server 2003 to Server 2012). From the server, using Office 2010, I can open the database without issue but, if a user try's to open the same database from either a shortcut or mapped with Office 2010,
    they get the message that the database is Read Only. Did I miss a step in moving the database to the new server? Thanks

    Hi,
    Did your user get the error message "You are trying to open a read-only database..."? If it was, please try the following method:
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Resource:
    http://support.microsoft.com/kb/324666/en-us (It also applies to Access 2010)
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • Receiving an export file error: wrong type

    I have created a movie several times in FCP and then exported the movie to QT without any problems. Now all of a sudden, I can't get the movie to export correctly. After the 2 hour export, I'll check on FCP to find that the program has shut down with

  • PDF doc

    after opening a PDF doc , how do I edit and export i ?

  • Transfer of files not possible!!!

    I just bought a new Imac core duo. I am following the instructions re: transfering files from my old computer (g4 os10.2.8) during the set up. I connected the two cpus using firewire, restart the old one pressing t and I get a message from the imac s

  • HitTest in As3.0

    Hi All, I have a square object in the middle of circle. and i  can move square object using up, down, left, riht arrow keys. I need script for when square object touches circle, then it goes to back, I have use for this below code : var myobjdim:Arra

  • "Versions" menu doesn't appear

    According to:  OS X Lion: About Auto Save and Versions, when I click the document name in the title bar of a Mavericks app, I should see a Versions menu with options such as Lock, Duplicate, and Browse All Versions. I don't.  For example, in Text Edi