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: Partition by day of week.

Re: Partition by day of week.

From: jaromir nemec <jaromir_at_db-nemec.com>
Date: Mon, 6 Dec 2004 23:32:43 +0100
Message-ID: <007001c4dbe3$827b6300$3c02a8c0@JARAWIN>


Hi,

if there are queries using between on partition key the range partitioning is more suitable; with list partitioning you are forced to use IN lists. You may also consider exchange partition to perform refresh instead of truncating the oldest partition (and inserting new data).

regards,

Jaromir D.B.Nemec
http://www.db-nemec.com

we had a day_no column in the table, from 1 - 8, we ranged partitioned on that column and truncated it as needed - was fine for us

On Mon, 6 Dec 2004 14:10:54 -0500, rishi.jain_at_verizonwireless.com <rishi.jain_at_verizonwireless.com> wrote:
>
> Hi All,
>
> I need to partition a table by day of week. We need to keep 7 days worth
of
> data and then we can truncate the oldest partition and start over again.
> has someone done so earlier ? What would be a better idea [Range or List
??]
>
> If someone has an example that would be great .
>
> Rgds
> --
> http://www.freelists.org/webpage/oracle-l
>

--
http://www.freelists.org/webpage/oracle-l



--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 06 2004 - 16:39:35 CST

Original text of this message

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