| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: read only database
On Thu, 22 Feb 2007 17:27:59 -0800, joel garry wrote:
> On Feb 22, 3:34 pm, leobo..._at_gmail.com wrote:
>> Can any body give full information about read only databases.
SQL> startup mount
ORACLE instance started.
Total System Global Area 239075328 bytes
Fixed Size 1261080 bytes Variable Size 130023912 bytes Database Buffers 100663296 bytes Redo Buffers 7127040 bytesDatabase mounted.
Database altered.
SQL>
SQL> connect scott/tiger
Connected.
SQL> select count(*) from emp;
COUNT(*)
14
SQL> delete from emp;
delete from emp
*
ERROR at line 1:
ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'
SQL> create table emp1 as select * from emp; create table emp1 as select * from emp
*
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 239075328 bytes
Fixed Size 1261080 bytes Variable Size 130023912 bytes Database Buffers 100663296 bytes Redo Buffers 7127040 bytesDatabase mounted.
Table created.
This is not a standby database. Any database can be open in read-only mode.
-- http://www.mladen-gogala.comReceived on Sat Feb 24 2007 - 15:23:04 CST
![]() |
![]() |