I managed to emulate Don Burleson's problem:

SQL> create table test_table
  2  (c1 number)
  3  storage (pctfree 20 pctused 30);
storage (pctfree 20 pctused 30)
         *
ERROR at line 3:
ORA-02143: invalid STORAGE option

But when I read the error message, and
corrected the error that was reporting,
the statement worked:

create table test_table(c1 number)
pctfree 20 pctused 30;

Table created.

=========================

Richard was kind enough to refrain from
posting the next paragraph in the tip:

<quote>
This could be a serious issue for the Oracle professional unless they
remember that locally-managed tablespaces with automatic space management
ignore any specified values for NEXT and FREELISTS.

<end quote>

There is another error here.
For a bonus 10 points can anyone spot it ?

Hint - try the following in a tablespace
which is locallally managed, with automatic
space management, and either system managed
or uniform sized extents of no more than 1 M.

create table test2(n1 number)
storage (initial 1M next 2M pctincrease 100 minextents 3);

Regards

Jonathan Lewis
http://www.jlcomp.demon.co.uk

  The educated person is not the person
  who can answer the questions, but the
  person who can question the answers -- T. Schick Jr


One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html


Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK___November


The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html


----- Original Message ----- 
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 1:14 PM


again, what is so bad with what burleson said about the pctfree and pctused?

>
> >> >
> >> > From: "Richard Foote" <[EMAIL PROTECTED]>
> >> > Date: 2003/12/11 Thu AM 06:39:26 EST
> >> > To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> >> > Subject: Little competition
> >> >
> >> > Little competition for you all :)
> >> >
> >> > It's a two part question:
> >> >   a..     What's wrong with the following piece of expert analysis ?
> >> >   b..     Which well know "Oracle Guru" published this (and continues
to
> >> display it on his web-page) ?
> >> >
> >> >
> >> > "Sadly, Oracle9i doesn't allow you to specify the value for PCTFREE
if
> >> you're using automatic space management. This is a serious limitation
because
> >> Oracle9i can't know in advance about the amount of VARCHAR expansion in
a
> >> table row, leading to excessive row chaining and poor access
performance."
> >> >
> >> > SQL> create table
> >> >   2   test_table
> >> >   3   (c1 number)
> >> >   4  tablespace
> >> >   5   asm_test
> >> >   6  storage
> >> >   7   ( pctfree 20 pctused 30 )
> >> >   8  ;
> >> >
> >> >    ( pctfree 20 pctused 30 )
> >> >      *
> >> > ERROR at line 7:
> >> > ORA-02143: invalid STORAGE option
> >> >
> >> > However, here's an important point. While Oracle9i rejects the
PCTFREE and
> >> PCTUSED parameters with locally managed tablespaces with automatic
space
> >> management, it does allow you to enter invalid settings for NEXT and
> >> FREELISTS settings"
> >> >

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jonathan Lewis
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to