Dennis,
 Remember that you need to have a "catch all" partition to keep the
data that does not fall into the date ranges you specify for the
partitions. Someone will always enter a future date into a record if
they are allowed.
When It comes time to drop the old partitions and add a new year there
are specific steps that should be followed in creating the new partition
with the proper sizing needed.
Ron

>>> [EMAIL PROTECTED] 08/12/03 06:24PM >>>
Thanks all who replied. The purpose of this excercise is mainly #1
mentioned in Dennis W.'s e-mail. Because of the size of this table,
purging has been a challenge and we want to keep only 2 years data in
the table and periodically drop partitions to save space. 

Dennis

-----Original Message-----
Sent: Tuesday, August 12, 2003 4:19 PM
To: Multiple recipients of list ORACLE-L


Dennis
   What are you trying to achieve by partitioning? Generally I've seen
two
common goals, 1) break a large table into more manageable pieces, 2)
performance tuning, so a query only has to scan a small partition.
Sometimes
the two can be achieved simultaneously, sometimes they are at odds. If
you
had a year column, and partitioned on that column, you might have
manageability, but if none of your queries included that column,
Oracle
would probably do a full table scan on all partitions (maybe in
parallel if
you have the partitions on separate devices). On the other hand, I've
partitioned a table by week, which produces 52 partitions for each
year. Not
good for manageability, but it made the queries blazingly fast.

Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
[EMAIL PROTECTED] 


-----Original Message-----
Sent: Tuesday, August 12, 2003 11:04 AM
To: Multiple recipients of list ORACLE-L


I have worked with partitioning before but have yet encountered the
following challenge -
The table we are trying to partition is a large table with hundreds of
millions of rows, which is ok. But it does not have a month column,
although
it has dates. I would like to partition by month because this table
contains
years of data and partitioning by days will result in thousands of
partitions. Of course we can add a month column but I think that will
require extensive downtime which we can't afford and I suspect it will
cause
row-chaining as well. So anybody care to share with me any other
options/suggestions?

TIA

Dennis


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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Meng, Dennis
  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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: DENNIS WILLIAMS
  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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Meng, Dennis
  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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ron Rogers
  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