| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
|  |  | |||
Home -> Community -> Usenet -> c.d.o.server -> Re: INIT initial Extend For Primary Key Index ??
Markus Korn wrote:
> 
> try:
> create table ....
> ...
> ..
> constraint pk_table primary key
>           using index pctfree 10
>             tablespace index
>             storage (initial 60k next20k ...)
> )
> STORAGE (INITIAL 48825 NEXT 6180 MINEXTENTS 1 MAXEXTENTS 10 PCTINCREASE
> 0 )
> ;
> 
> 
> John Lescaut wrote:
> >
> > I'd like to set the initial extend of a primary key index,
> >
> > For exemple :
> >
> > Create table Table1
> >  (
> >      test1  varchar2(12) NOT NULL,
> >      test2  varchar2(12) NOT NULL,
> >      test3  varchar2(15),
> >      test4 varchar2(15),
> >      DATE_test  Date
> > )
> > STORAGE (INITIAL 48825 NEXT 6180 MINEXTENTS 1 MAXEXTENTS 10 PCTINCREASE 0 )
> > ;
> >
> > Alter table  Table1  Add constraint  PK_Table1  primary key ( test1 ,
> >  test2 );
> >
> > I'd like to set the initial extend ok PK_Table1 at 60k for exemple,
> > but the command :
> > Alter Index PK_Table1 STORAGE (INITIAL 60k) isn't working, how can I manage
> > to do something similar ??
> >
> > Thanks,
> >
> >  John
I'd recommend PCTFREE 0 on indexes since a block won't get re-used until its totally empty anyway...
Cheers
-- 
"Some days you're the pigeon, and some days you're the statue." Received on Mon Aug 02 1999 - 09:15:10 CDT
|  |  |