Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Read Only Tables

Re: Read Only Tables

From: Juan Carlos Reyes Pacheco <juancarlosreyesp_at_gmail.com>
Date: Tue, 17 Jan 2006 11:12:02 -0400
Message-ID: <cd4305c10601170712h3d8c630byc125515719b6cbfa@mail.gmail.com>


Hi Jared
I thinks is better to move to a readonly tablespace, I think this helps Oracle to optimize its use, but definetively reduces backup size.

On 1/16/06, Jared Still <jkstill_at_gmail.com> wrote:
>
> The question "How do I make a table read only" has appeared more
> than once in this forum.
>
> The answer has always been "you can't".
>
> That answer appears to have been incorrect.
>
> This site has an ingenious and effective method for effectively
> making a table read only.
>
> http://oraqa.com/2006/01/09/how-to-set-a-table-in-read-only-mode/
>
> I saw this today on Tom Kyte's blog
> http://tkyte.blogspot.com/2006/01/new-questionanswer-site.html
>
> Here's a test:
>
> 11:11:41 SQL>create table dv ( id number(12));
>
> Table created.
>
> 11:11:41 SQL>
> 11:11:41 SQL>alter table dv add constraint dv_read_only check(1=1) disable
> validate;
>
> Table altered.
>
> 11:11:41 SQL>
> 11:11:41 SQL>insert into dv(id) values(1);
> insert into dv(id) values(1)
> *
> ERROR at line 1:
> ORA-25128: No insert/update/delete on table with constraint
> (JS001292.DV_READ_ONLY) disabled and
> validated
>
>
> --
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist
>

--
Oracle Certified Profesional 9i 10g
Orace Certified Professional Developer 6i

8 years of experience in Oracle 7,8i,9i,10g and developer 6i
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 17 2006 - 09:12:21 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US