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: Little competition

Re: Little competition

From: Tim Gorman <tim_at_sagelogix.com>
Date: Thu, 11 Dec 2003 04:59:25 -0800
Message-ID: <F001.005D98C8.20031211045925@fatcity.com>



Re: Little competition


>> I can cut 45 minutes off my load times by shrinking the data file?

And how much overhead gets added to DML statements as blocks madly shift on and off the freelists with each operation?  Priorities, priorities, priorities...

If you’re using 9i or above, the table COMPRESS feature might be a more effective mechanism?



on 12/11/03 5:44 AM, ryan_oracle@cox.net at ryan_oracle@cox.net wrote:

hopefully i wont sound like a complete idiot, but what is wrong with wanting to be able to handle your own pctfree and pctused. Ok oracle handles the next and initial extent sizes...(which causes fragmentation).

I use transportable tablespaces and in order to increase the time it takes to copy these datafiles, I use pctused 99 and pctfree 1 in order to compact the tables. I can cut 45 minutes off my load times by shrinking the data file?
>
> From: "Richard Foote" <richard.foote@bigpond.com>
> Date: 2003/12/11 Thu AM 06:39:26 EST
> To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
> 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"
>
>
>
> You've gotta love it !!
>
> Sorry no clues ....
>
> Cheers ;)
>
> Richard
>
>


Little competition for you all :)

It's a two part question:

 
"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"

 
 
You've gotta love it !!

Sorry no clues ....

Cheers ;)

Richard


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tim Gorman
  INET: tim_at_sagelogix.com

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: 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 Thu Dec 11 2003 - 06:59:25 CST

Original text of this message

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