Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Partitioning question

Re: Partitioning question

From: Daniel Morgan <damorgan_at_exesolutions.com>
Date: Wed, 05 Jun 2002 21:57:43 -0700
Message-ID: <3CFEEBC7.747EDE31@exesolutions.com>


SerGioGio wrote:

> Hi !!
>
> A little question about Oracle's partitioning system...
>
> We have to load on one table about 500,000 rows each day, that is to
> say approximately 2 GB.
> We want also to perform a "rolling window" mechanism : we keep rows
> until they become 1 year old, and then we want to delete them. So, in
> the table, at any given time, there are only 365 days of loaded rows.
> It looks a lot to me like a classical requirement ;)
>
> We are thinking of using one partition per day, but we are not aware
> of the drawbacks. Oracle documentation says it would speed up process
> (for exemple when deleting the 366 days old rows), but they also give
> an example where they would not use a partition per day in a daily
> load scenario but instead a partition per week (and then, update the
> partition every day). It looks a bit more difficult to set up. They
> are not very clear about why we shouldn't use one partition per day,
> so I would like to know what are your opinions about that ?
>
> Thanks in advance !!
>
> SerGioGio

My personal preference would be a partition per day I my intention was to have a one day floating window. Partition by week if I was going to have a one week window.

Daniel Morgan Received on Wed Jun 05 2002 - 23:57:43 CDT

Original text of this message

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