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: archiving table-data

Re: archiving table-data

From: Shashi Aadipudi <aadipudi_at_erols.com>
Date: 1997/04/10
Message-ID: <334CE625.7242@erols.com>#1/1

bacher wrote:
>
> hello,
>
> I have a very large table (>2GB) containing measurement-data, now I want
> to archive all rows, which are older than n hours, to tape. anyone knows
> if there are some standard products existing for archiving data, or what
> is the best way to do that?
>
> thanks,
>
> --heiko--

If the table has a timestamp ( date ) field which is updated when the record is created ( set to default to SYSDATE ), then you can achieve this by:
1. select on the timestamp, format results ( thru' sqlplus )

   to either comma or space delimited format and spool the    results into a flat file. This file can be used later    by sqlldr to bring in data.
2. Copy above records into a temp table and export it.

Shashi Received on Thu Apr 10 1997 - 00:00:00 CDT

Original text of this message

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