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

Similar Messages

  • Make CA database read-only?

    Is it possible to make Firefox not accept any new Certificate Authorities without user interaction?
    Long story short, I have having a problem where Firefox is adding a CA to it's database that is hosing things up. The actual problem is with the cert that is being offered to me, and I am working with that system owner to fix the cert, but in the mean time I would like to have Firefox not ever load the CA into it's database. This new CA is added without the user being prompted at all. Simply visiting a specific website causes this new CA to be added to the list (but again, not trusted, just added to the list).
    By default when it is loaded the new cert has no permissions so it is not trusted, but the problem is the fact that the CA that is added is a duplicate name with another known good CA in my list and it causes things to go wacky when there are two with the same name (different signatures, different issuer, the only thing the same is the nickname).
    I know this isn't a problem with Firefox directly. In 99.9999% of cases when it adds an additional CA to the list it doesn't cause a problem at all because it is not trusted and it won't inherently allow the secure connection. But since fixing the real problem with the owner of the website is going to take a long time (weeks/months) I would like to put a band-aid on the symptom so that I can cut my maintenance of this topic down greatly.
    I am running Red Hat Enterprise Linux 5.9 with Firefox 10.0.12 (RHEL distributed Firefox).
    I could go into extreme detail to explain what is causing my problem, but the short question I have is "Is there a way to make the CA database read-only"?
    I have tried editing the permissions of cert8.db in ~/.mozilla/firefox/*.default/ to only be readonly (0400) vice read-write (0600) currently. However this causes Firefox to have kittens when I try to use anything that reads the CA list so I had to change it back.
    I have a hacky script to remove the CA using certutil, but since certutil uses the 'nickname' of the cert to decide which one to delete, and both the good cert and the bad cert have the same nickname I get worried I'll blow away the good one and not the bad one. So far it has consistently matched the bad cert, but I don't have enough confidence that it will do that every time to push it out to my users. If I could use certutil -D with something more specific than nickname (fingerprint, signature value, etc) I would be OK with that as well.
    I know there are options to restrict user changes to things like proxies and the such, is there a similar way to do it with CAs? about:config doesn't appear show anything that looks like it would do it.
    Can I have it prompt me when it tries to add a CA to the database and allow me to say yes/no?
    I am OK if the change is something that requires manual intervention if we do decide to add another CA to the list. Currently I am having to repair this problem multiple times a day and new CAs don't come all that often.
    Unfortunately, I can't simply upgrade to the latest Firefox as software restrictions are in place. I'm open to any ideas you may have.

    Seems unlikely two unrelated CA or sub-CA certs would have the exact same issuer name. Was the name too generic? If they actually related and I assume created by your organization perhaps you could simply add the "Integration CA 456" certificate to your root store -- assuming you trust it.
    Firefox validates certificate chains by looking up issuers, and in case of duplicates by default it grabs the one with the most recent "Not Before" date. There is a newer algorithm under development that won't stop at the first match but will continue to trying intermediate combinations until it finds a match or runs out of options. If you'd like to try it you need to add the boolean preference "security.use_libpkix_verification" and set it's value to true. This pref will not appear in about:config by default, but you can right-click in about:config to add it.

  • How to make database read only?

    Hi
    All,
    I have restored my production database to development. I want to make these database available only for reading purpose means nobody can make any changes to that database only thing is that they can see the data. Is there any feature available to achieve the same?
    Thanks,
    Vishal

    Hi,
    >>I am guessing: Use triggers not to allow insert, update or delete on that table.
    The easy trick is create a check constraint with disable validate state ... but you are not safe in case a drop statement is issued ...
    TEST@XE> create table t1 (id number);
    Table created.
    TEST@XE> alter table t1 add constraint chk_readonly check (1=1) disable validate;
    Table altered.
    TEST@XE> insert into t1 values (1);
    insert into t1 values (1)
    ERROR at line 1:
    ORA-25128: No insert/update/delete on table with constraint (TEST.CHK_READONLY) disabled and validated
    TEST@XE> truncate table t1;
    truncate table t1
    ERROR at line 1:
    ORA-25128: No insert/update/delete on table with constraint (TEST.CHK_READONLY) disabled and validated
    TEST@XE> drop table t1;
    Table dropped.Cheers
    Legatti

  • Opening database read only

    I am unable to open database in read only mode i used
    SQL> STARTUP NOMOUNT
    ORACLE instance started.
    Total System Global Area 101784276 bytes
    Fixed Size 453332 bytes
    Variable Size 75497472 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> ALTER DATABASE MOUNT;
    Database altered.
    SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-01187: cannot read from file 1 because it failed verification tests
    ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
    even
    SQL> shut
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup open read only
    ORACLE instance started.
    Total System Global Area 101784276 bytes
    Fixed Size 453332 bytes
    Variable Size 75497472 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01187: cannot read from file 1 because it failed verification tests
    ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
    this does'nt works though i am able to open read write
    SQL> alter database open;
    Database altered.

    I RENAMED FILE TO SYSTEM01.DBF ????
    why you relocate that file ?. That was not the file with problems.
    The file with problems is this one.
    'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
    I propose you to set offline the tablespace that is related to this file ( 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
    ) and try to open the database in read only mode if this get succesful, after we can try to relocate the another file.
    What is the tablespace that is related to that datafile ?
    Joel P�rez

  • Database read only and an ERP

    I have a great database of 2 T opened read write. To open it read only I do:
    alter database mount
    alter database open read only
    isn't it?
    When I open it in mode read only I try to connect at an ERP with a user who has also write rights. Can work?
    Thank you,
    Mihaela

    user588072 wrote:
    When I open it in mode read only I try to connect at an ERP with a user who has also write rights. Can work?Which ERP are you working on ?
    I know Peoplesoft, and because of a lot of internal stuff (i.e. audit) the frontend application, developement tools... cannot be open for business when the database is open in read-only mode.
    Indeed, when starting the application server, or process scheduler..., they needs to be registered against the database, and consequently, need to update tables... which obviously cannot be done in read-only mode.
    Because every single ERP is unique with their own properties, you should ask to your ERP vendor.
    Nicolas.
    Edited by: N. Gasparotto on May 21, 2009 1:22 PM

  • Error after starting a database read only

    I have a database Oracle 10 g Enterprise Edition:
    is started read write
    svrmgrl> shutdown immediate
    startup mount
    alter database open read only
    shutdown immediateDatabase closed
    Database dismounted
    ORA-03113 end-of-file on communication channel
    startup mountORA-24324 service handle not initialized
    ORA-01041 - internal error, hostdef extension does not exist
    Why?
    Thank you,
    Mihaela

    yes, of course I did:
    sqlplus "/as sysdba"
    from Windows Oracle 10g. I wanted to test those commands for an Oracle8 i database and par mistake I wrote svrmgrl.
    Thank you,
    Mihaela

  • SQL Server database (read-only mode) in Oracle SQL Developer

    Hello,
    I connected SQL server database with Oracle SQL Developer 3.2.10.09, everything looks good except i can only browse data, i cannot change data in tables cannot insert new or delete rows. Query is also disabled (i got message: Query Builder is not supported for this connection type.) I used Third Party JDBC Drivers - jtds-1.2.6.jar as my connection to SQL server. Is there a way to change data in tables?
    Thank you.

    AFAIK editing table data in the grid is only possible with an Oracle database. On MS SQL you'll have to use update statements in the worksheet.
    Hope that helps,
    dhalek

  • Using  Data Pump when database is read-only

    Hello
    I used flashback and returned my database to the past time then I opened the database read only
    then I wanted use data pump(expdp) for exporting a schema but I encounter this error
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "SYS.SYS_EXPORT_SCHEMA_05"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 863
    ORA-16000: database open for read-only access
    but I could by exp, export that schema
    My question is that , don't I can use Data Pump while database is read only ? or do you know any resolution for the issue ?
    thanks

    You need to use NETWORK_LINK, so the required tables are created in a read/write database and the data is read from the read only database using a database link:
    SYSTEM@db_rw> create database link db_r_only
      2   connect to system identified by oracle using 'db_r_only';
    $ expdp system/oracle@db_rw network_link=db_r_only directory=data_pump_dir schemas=scott dumpfile=scott.dmpbut I tried it with 10.2.0.4 and found and error:
    Export: Release 10.2.0.4.0 - Production on Thursday, 27 November, 2008 9:26:31
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39006: internal error
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-02054: transaction 1.36.340 in-doubt
    ORA-16000: database open for read-only access
    ORA-02063: preceding line from DB_R_ONLY
    ORA-39097: Data Pump job encountered unexpected error -2054
    I found in Metalink the bug 7331929 which is solved in 11.2! I haven't tested this procedure with prior versions or with 11g so I don't know if this bug only affects to 10.2.0.4 or 10* and 11.1*
    HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • Read only filesystem issues

    Hello! I installed Archlinux and I got to the part where I am installing sound and video and other goodies like that. I just rebooted and logged in and it said this:
    -- taylor: /home/taylor: change directory failed: No suh file or directory
    Logging in with home = "/"
    as soon as i saw that i though oh no thats my root! I cant do anything with that!
    then out of curiosity i tried anyway. I typed:
    sudo pacman -S alsa-utils
    It said:
    sudo: unable to mkdir /var/db/sudo/taylor: Read-only file system
    (then it says that lecture from SA stuff)
    error: failed to init transaction (unable to lock database)
    error: could not lock database: Read-only file system
    well, sadly, I know enough terminal to spot the problem, but, I cant fix it. Oh well, I guess I'll learn from you guys right now! thanks for the help.

    https://bbs.archlinux.org/viewtopic.php?id=39256
    Check fstab for correct mount options for / , and also the bootloader (usually there should be "ro" at the end, though im not sure)
    If there is no /home:
    sudo mkdir /home/yourname
    sudo chown yourusername /home/yourname
    Good luck.

  • Read only source duplicate

    Hi
    1-) If the source database is read only, do i still need recovery in the destination when i active duplicate ?
    2-) If i issue, "alter database read only", does system,undo tablespace become read only as well ? As far as i know, system tablespace can never become read only.
    3-) If I manually put all tablespaces to read only mode (except undo,system ) and active duplicate source database. Do i still neeed recover on destination ?
    Thanks

    Hi,
    >>1-) If the source database is read only, do i still need recovery in the destination when i active duplicate ?
    Please check the status of tablespace in database and decide.  If the database is opened in read only mode, why do you think it needs recovery ? did you try to corrupt some data files manually at OS level ?
    2-) If i issue, "alter database read only", does system,undo tablespace become read only as well ? As far as i know, system tablespace can never become read only.
    No, You can check the status of these files yourself as below:
    I have run this query on standby active database and result comes;
    select TABLESPACE_NAME, STATUS from dba_tablespaces where TABLESPACE_NAME in ('SYSAUX', 'SYSTEM', 'UNDOTBS1') ;
    TABLESPACE_NAME                STATUS
    SYSAUX                        ONLINE
    SYSTEM                        ONLINE
    UNDOTBS1                      ONLINE
    3-) If I manually put all tablespaces to read only mode (except undo,system ) and active duplicate source database. Do i still need recover on destination ?
    It is not clear, are you doing rman restore on the other side ?
    Pradeep

  • Incomplete Recovery and Read Only

    Ok, I seem to be missing something. I've performed an incoplete recovery to a specified SCN. Everything is great if I open the database with resetlogs. But, the documentation (see quote below) says I can open the database as read only to check the recovery before I do the "resetlogs". However, I get the error (RMAN-01009) when I try to open the database read only. Can anyone explain?
    Oracle Database Concepts (B14220-02) - 15 Backup and Recovery:
    Before using the OPEN RESETLOGS command to open the database in read/write mode after an incomplete recovery, it is a good idea to first open the database in read-only mode, and inspect the data to make sure that the database was recovered to the correct point. If the recovery was done to the wrong point, then it is easier to re-run the recovery if no OPEN RESETLOGS has been done. If you open the database read-only and discover that not enough recovery was done, then just run the recovery again to the desired time. If you discover that too much recovery was done, then you must restore the database again and re-run the recovery.
    The script I ran:
    run
    set until restore point r1;
    restore database;
    recover database;
    }

    To generate the exception RMAN-01009 it appears you are trying to open the database using RMAN ... try it with SQL*Plus ... and if you have a problem post the full error message not just your impression of it along with the corresponding section of the alert log and full version number.

  • Can a read-only snapshot site be refreshed from a read-only database?

    Hi,
    Here is the database configuration.
    Database 1: master site
    Database 2: has materialized views (read-only snapshot site)
    If DB1 becomes read-only, is it possible to refresh the materialized views in DB2? I was told that it is not possible because some m$log tables in DB1 need to be updated when the DB2 is refreshed . If it is DB1 is read-only, the meta data tables can not be updated so the refresh will fail.
    Does anybody have experience with a scenario like this?
    Thanks very much.

    Why do you need to put the database in read only mode anyway. Why not control "readability" through security, ie roles. Then it won't really matter.

  • Remove Standby/Read only mode for a database in sql server 2005

    Hi,
          I have a problem in sql sever . my database is showing standby/read-only mode. i want to remove that mode.please help me for the issue.

    HI
    Did you assign any DB read only user?
    check the administrator guide in your SAP Business one->Documntation->system setup->Administrator guide...
    but removing DB read only user is impossible.....

  • 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?

  • How to assign read only access for a database to a single user?

    Hi All,
    I have created a login for one of the user , and i used deny view to deny that user access to any of the databases to be shown.Now, he cannot see any databases in the explorer window.
    My question is now i want to give this user permission ( read-only) to a single database. How can i do that? I have googled around and found some solutions but nothing is working.
    Can someone please help me with any suggestions.
    Thanks a lot for your time and suggestions in advance.
    Thanks

    Hi Bhanu,
    Thanks for your reply, I am not sure i got it. I have a user created with the name of 'msam_test' and if i login into management studio with this userid and password i dont see any databases showing up because i used the DENY View command to hide which is
    working fine.Now i just want to see only 1 database named 'suresh3_test' with a read only access to this database.
    I tried using your code in the below way
    USE [suresh3_test]
    CREATE USER [<msam_test>] FOR LOGIN [<msam_test>] WITH DEFAULT_SCHEMA=[dbo]
     exec SP_ADDROLEMEMBER 'DB_DATAREADER','<msam_test>'
    But i receive an error saying
    Msg 15007, Level 16, State 1, Line 3
    '<msam_test>' is not a valid login or you do not have permission.
    Msg 15410, Level 11, State 1, Procedure sp_addrolemember, Line 75
    User or role '<msam_test>' does not exist in this database.
    Can you please help me on this.
    Thanks

Maybe you are looking for

  • Photoshop elements 6 help with making a clipping mask

    I have a button template (for a pinback) I put into elements. What I would like to do is make a country flag button. Right now the flag image is sitting ontop of the template. I would like to make a clipping mask (I think that's what's it's called) s

  • ITunes and other portable music players

    I have just bought a Rio 5GB MP3 player. I already have an iPod and love iTunes. It's taken me a long time to sort out the library the way I like it and I would like to transfer my songs from iTunes to my new MP3 player although I can't see any optio

  • Lost media Acrobat 9.0

    I have a valid license for Acrobat 9.0 WIN AOO License 5-pack. SKU nr. 540261179TS Adobe order nr. 132408831 Where can I download the software???? I can only download 9.0 Pro. Please help! Danny

  • HT1338 Uploading from Canon 400D to iPhotos

    I am experiencing a similar problem to many other current users. Blank thumnails, photos from previous albums layering over new album. I have been using iphotos since 2008. Since going to iCloud and having to upgrade to the latest Lion OS I seem to h

  • X240 power management driver for Windows 8.1

    Installed the power management driver for Win 8.1   I am using the registry to START and STOP my charging process with the following reg keys ( I am doing it this way since there is no Power Manager software): ChargeStartControl ChargeStartPercentage