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: 8i Concept PCTFREE & PCTUSED are 0

RE: 8i Concept PCTFREE & PCTUSED are 0

From: Sinard Xing <sinardyxing_at_bcs-ach.com.sg>
Date: Mon, 18 Feb 2002 18:53:19 -0800
Message-ID: <F001.00412B0D.20020218185319@fatcity.com>


Hi Long,

Do you mean Oracle should come with AI capability ? then Oracle will be very buggy and Oracle Concept Doc will be the last SOS. With current version I think Oracle is good in general but certainly not ready for AI.

Sinardy

-----Original Message-----
Long.Nguyen_at_CSIRO.AU
Sent: 19 February 2002 09:54
To: Multiple recipients of list ORACLE-L

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
adary_at_mehish.co.il

> -----Original Message-----
> From: Sinard Xing [SMTP:sinardyxing_at_bcs-ach.com.sg]
> 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: sinardyxing_at_bcs-ach.com.sg
>
> 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: ListGuru_at_fatcity.com (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: adary_at_mehish.co.il

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: ListGuru_at_fatcity.com (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: Long.Nguyen_at_csiro.au

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: ListGuru_at_fatcity.com (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: Sinard Xing
  INET: sinardyxing_at_bcs-ach.com.sg

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: ListGuru_at_fatcity.com (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).
Received on Mon Feb 18 2002 - 20:53:19 CST

Original text of this message

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