Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Partition by day of week.
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-lReceived on Mon Dec 06 2004 - 16:39:35 CST
![]() |
![]() |