Backing Up Read-Only Databases
Below Link looks like applies to SQL2008 and 2008R2,
https://technet.microsoft.com/en-us/library/ms190374(v=sql.105).aspx
Will that be the same case for all the SQL2012 also ?
Thanks in Advance.
Regards,
Ram.
ramakrishna
https://technet.microsoft.com/en-us/library/ms190374(v=sql.105).aspx
Will that be the same case for all the SQL2012 also ?
Hi Ram,
Yes. It will be the same case for SQL Server 2012. For more details about
backing up Read-Only databases in SQL Server 2012, you can also review the following articles.
Partial Backups (SQL Server)
https://msdn.microsoft.com/en-us/library/ms191539(v=sql.110).aspx
Differential Backups (SQL Server)
https://msdn.microsoft.com/en-us/library/ms175526(v=sql.110).aspx
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support
Similar Messages
-
Run Preclone merge in read only database
HI ,
I have a production database is reserved for normal clone ( multi node clone ) . I have a new assignment that need to merge a appltop for a single node clone . so we choose a DR database as source , which is a read only database . When I run perl adpreclone.pl merge and enter apps password It return “ORA-01033: ORACLE initialization or shutdown in progress
Is any have any idea how to get around this problem so that I can continue my preclone merge ?
Thanks
FelixThis is DR site . It is a data guard server . so this database is not open . Below is messgae I get .
/oracle/prod/db/prodcomn/admin/scripts/PROD_usla1-vts-mgr-1$ perl adpreclone.pl appsTier merge
Running adgenhfver.pl with command...
perl /oracle/prod/db/prodappl/ad/11.5.0/bin/adgenhfver.pl isPrimary=y applsysusr=APPLSYS tempdir=/oracle/prod/db/prodcomn/temp
Please enter the APPS User [APPS]:
Please enter the APPS password: XXXXXXX
This is the merge Primary node:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Do you have any idea how do I get around this problem so that I can finish preclone ?
Thanks
Felix -
Scheduling workbooks in read only database
We have a standby server for our OLTP and it is read only database. Read only database is not allowing to schedule discoverer reports. Can anyone suggest how to handle this?
Its a replication of OLTP. Every day night OLTP logs are applied into this read only database. We cannot change anything in EUL. Whatever the changes we do in OLTP EUL it gets reflected in the read only database.
-
Should I rebuild my read only database every time I launch my server?
I'm getting into web development, and I'm trying to get a grip on databases.
In an app I want to make, there is a read only database that will be filled up with a large amount of data, which will be the heart of the application, and also a lot of work to put in.
I'm uncomfortable with putting all this data into the database, as the database is "separate" from my web app code. I feel like I should rather write my data in code somewhere, and then have my application put the data into the database for me.
This way I would have my entire project written in code, and not an integral part of my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer.
But is this a sensible way to do this, however? Should I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?
Is this the wrong way to go about it? Would it cause considerable overhead? How do people do this?Why are you uncomfortable in separating the data into a database? Don't you follow a modular approach when it comes to coding and separate the UI layer and the business layer? The data you are referring to, that many legacy applications will have at least
some of it embedded in the code in the form of constants, is an ideal lookup table data that should be stored in a database.
>>>"This way I would have my entire project written in code, and not an integral part of
my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer."
You can locate your database centrally and connect to it from any computer. The maintenance of your read only data in your DB is much more easier than embedding it in
the code
>>>"Should
I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?"
This is totally unnecessary. If you will be entering a lot of read only data into your DB, you can have
a small utility program that provides an interface to enter the data into a DB - if you are uncomfortable with using the SSMS UI or TSQL to enter the new data. Also, reloading the data every time will only make your application look very slow and unacceptable.
To summarize, store your data in a DB. Even it if is small application, you can start with SQL Express
edition to store the data as you will most likely need a proper DB in future if not now as your application functionality grows.
Satish Kartan www.sqlfood.com -
Using Session Beans on a read only database
Hi,
i am working on a weblogic 6.1 server and have to access a read only database
using session beans. The transaction attributes of all session beans (we are using
no entity beans) are set to NOT_SUPPORTED but every time a method is accessed
an error message is thrown
BEGIN TRANS in read only database .....
Is there a way to avoid this?
Regards
EdmundI guess it is NotSupported. If not try Never.
--Jay
www.architectslobby.org
An exclusive community for Enterprise Architects -
Using BC4J on a read-only database?
Is it possible too configure BC4J to run against a read-only database?
I only have query-based view objects (no Entity objects) and the data is updated by another application. The user I use to atatch to the DB only has read-only access, and when trying to run my BC4J app I get the following errors:
Error Message: JBO-28006: Could not create persistence table PS_TXN
Error Message: ORA-01950: no privileges on tablespace 'USERS'
Is this PS_TXN table required even if I only want read-only transactions?
thanks
BrigetteThanks Shay,
In conjunction with http://otn.oracle.com/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html (which showed me how/were to set the property), this has solved the problem!
keep smiling
Brigette -
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.
-
Hello, I hope the experts here can advise me on which development approach for a new .net web application that I am to begin development shortly. I have the back end stored procedures complete and now I will build a .net front end.
This front end will be 95% populating custom html5/css3/jquery pages from c# DataSets which are themselves populated from calls to oracle stored procesures. There will be no updating - this is read-only querries of OLTP prpared tables off of a data
warehouse schema. I am a verteran at the back end stuff but my web app development skills are new so I hope to get a recommendation form the experts on what approach I should persue to build the front end. From what I have seen I might start
with MVC5 framework and build the web pages with RAZOR embedded c# code looping through the DataSets to create the html. I need to the ability to create very custom div elements throughout, so I understand I should not use some high level code generation
tool. Thanks so much for the feedback.Hello Jay,
This forum is discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
>>I hope the experts here can advise me on which development approach for a new .net web application.
From this message, you are doing web applications, you will need to post this thread to Asp.Net forum for some advices. For MVC issues, please post
Here. Thanks for your understanding.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
[POL-3267] read-only database or critical section not allowed
After each execution of the application, the base is left in state read-only, which produces error POL 3267 in the following execution.
Which could be the reason?
How can it be solved?
Thanks,
German Gioia
[email protected]
ANGRAS SRLNever mind, I am answering my own thread.
The code posted by Balaji Rathakrishnan
from SQL Server dev team no longer works on SQL 20012, without additional annotation:
Here is the fix: (add DataAccess = .....Read etc) as below
[SqlFunction(FillRowMethodName = "FillRow", TableDefinition = "FileContents varbinary(max)", DataAccess
= DataAccessKind.Read)]
public static IEnumerator GetFile(String FileName)
return new SingleFileLoader(FileName);
All is well now.
Yuri Budilov
Yuri Budilov -
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 ?
thanksYou 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. -
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? ThanksHi,
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. -
Starting database in Read only mode
hi,
i am using oracle 8i, we want to copy the Production database to other machine, but on starting that m/c database should be opened in read only mode without DBA interaction what to do for that. pl tell
thanx in advanceSQL> STARTUP MOUNT
ORACLE instance started.
Total System Global Area 177281688 bytes
Fixed Size 453272 bytes
Variable Size 150994944 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
SQL> ALTER DATABASE OPEN READ ONLY;
Database altered.
SQL> DELETE FROM SCOTT.EMP;
DELETE FROM SCOTT.EMP
ERROR at line 1:
ORA-16000: database open for read-only access
kuljeet pal singh -
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,
oratestoratest 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 -
MS Access database opens read only
An Access application with linked databases opens read only, but sometimes is editable. The system was developed in Access 10 on a Win 7 machine and migrated to a standalone laptop running Win 8 and Office 365.
The Access 10 has no problem in operating the application. The Win 8 laptop randomly opens the application read only. I have reviewed Trust settings and there is no difference between the different laptops and systems.
Is this a common problem? Is it associated with Win 8? Is it associated with Access form Office 365? The application is crucial to the business and we are getting way behind because we don't have a reliable or useful system. Last year the same application
ran satisfactorily on Win 7 and Access 10.
I would welcome some thoughts leading too a solution.Hi,
Did you get the error message like "You are trying to open a read-only database". If yes, this issue may be due to the permission of the Access database. If we migrate the Access database from Access 2010 to Access 2013, the user/account's permission
may be changed with different Windows operation system. We need the full control permission of the Access database. To workaround this issue, follow these steps:
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.
Please note: Make sure the user has full control of the root folder.
If no, please tell us the whole error message, we'd like to do further troubleshooting.
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. -
Outlook 2013 and read only IMAP database.
We use GFI Mailarchiver's IMAP Server to give our employees access to their archived items. The IMAP server is read only mode as no one should be changing their archived mail. This worked flawlessly under Outlook 2010 and prior.
We have now deployed our first 2013 client and have now found that it is trying to write to the read-only database when forwarding or replying to a message that was found in the archive. My thoughts are that Outlook 2013 is try to modify the message in
the archive with the "you forwarded theis message on September 11, 2014 at 2:15pm" this causes Outlook to give the message "You cannot make changes to contents of this read-only folder.". The message seems like a nuisance only
but when you dismiss the message and try to close the forwarded or replied to message, you the the same message again and the only choice is to kill Outlook from the task manager.
Has anyone used Outlook 2013 in a read-only IMAP environment? Is there a setting to turn of the updates that Outlook is trying to make to the mail store?
Rob...Hi,
Since you are using GFI Mailarchiver's IMAP Server, I'm not able to reproduce the issue or provide accurate suggestions in this case.
Melon Chen
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
-
HELP... Ipod not recognized. USB device has "malfunctioned"
I think I've tried everything posted on every discussion thread. When I plug my ipod into my computer, it detects an unknown device. Then I get an error message that says the USB device connected to the computer has "malfunctioned" and needs to be re
-
Photoshop Elements 9 - user interface brightness
WTF? Where is an option to change a brightness of PE's interface? This is really annoying to work again with dark interface. I hate it. Hey. Adobe! Please make quickly an upgrade to this option. I feel I am very dissapointed with this upgrade and all
-
Can I use PGP WDE on a wireless time machine drive?
I have a new MacBook Pro with PGP WDE that has just been installed. On my old MacBook Pro I have been using Time Machine to wirelessly back up to an external hard drive attached to my airport express; so, the backups have been performed over Wi-Fi. I
-
Dynamic select too big for varchar2
Greetings, I'm creating a dynamic sql query that in most cases will be larger than a VARCHAR2's size following the idea in this thread: Manual Tabular Form - APEX_ITEM I haven't found anything on Apex Documentation about using CLOB as return value fo
-
Why won't a blackberry receive a photo from my iphone
I can receive pictures from a Blackberry, but the Blackberry won't receive pictures from my Iphone ?