Hi,

This is an offside comment rather than a direct reply to Sinard's question. Oracle has 
made many config parameters tuneable and this makes the software both flexible and 
complex. On the other hand MS's SQLServer only has a small number of
config parameters that could be changed by DBA (about 5 or so in SQLServer 7) which 
makes the software easier to manage but not very tuneable. I woule prefer to see 
s'where in the middle where Oracle could reduce the number of config
parameters so its environment is easier to manage. For example it is all good to have 
pctfree and pctused  parameters to play with, but I just wonder what is the percentage 
of developers who have actually thought about these in advance and
set them up "appropriately" for their applications. And also once they have set the 
values for pctused and pctfree, did they actually monitor the space usage to see if 
the values used are in fact appropriate? Why don't Oracle work more
intelligent and manage space smartly without the requirement of developers setting 
these parameters. Another example is the pinning of dbms_standard package. If it is 
commonly used then Oracle should pin it automatically every time the db
is started up instead of leaving this decision in the hand of DBAs.

My 2c comments.

What do you reckon?

Long

-----Original Message-----
Sent: Monday, 18 February 2002 11:38 PM
To: Multiple recipients of list ORACLE-L


Hello Sinardy

PCTUSED means that:
After a block was filled with records and the free space in the block
is less then pctfree the block is no longer available for further inserts.
If however, the data falls beneath PCTUSED the block became again 
available for inserts.

In your example, block will never again became available, even if empty,
because: After a data block becomes full as determined by PCTFREE, Oracle
does not consider the block for the insertion of new rows until the
percentage of the block being used falls below the parameter PCTUSED. 


Yechiel Adar, Mehish Computer Services
[EMAIL PROTECTED]

> -----Original Message-----
> From: Sinard Xing [SMTP:[EMAIL PROTECTED]]
> Sent: Mon, February 18, 2002 11:08 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      8i Concept PCTFREE & PCTUSED are 0
> 
> Hi all,
> 
> Oracle 8i (81600)
> 
> I create user Panadol and give unlimited quota on TBS.
> 
> as Panadol I create 1 table like this:
> 
> SQL> CREATE TABLE mytable(
>   2     col1 char(3),
>   3     col2 char(4),
>   4     col4 varchar2(4)
>   5  )
>   6  PCTFREE 0
>   7  PCTUSED 0
>   8  STORAGE (
>   9    INITIAL 20K
>  10    NEXT 20K
>  11    PCTINCREASE 0
>  12    MAXEXTENTS 10
>  13  )
>  14  ;
> 
> Table created.
> 
> SQL> insert into mytable values('abc', 'abcd', 'a');
> 
> 1 row created.
> 
> SQL> commit;
> 
> 
> I don't understand That table PCTUSED is 0 ????? where Oracle keep those
> data ?
> 
> Look at this:
> 
> SQL> select * from mytable;
> 
> COL COL2 COL4
> --- ---- ----
> abc abcd a
> 
> 
> 
> Sinardy
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Sinard Xing
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  This e-mail was scanned by the eSafe Mail Gateway 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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