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

Home -> Community -> Usenet -> c.d.o.tools -> Re: exchange partition in 8i

Re: exchange partition in 8i

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 23 Mar 2001 09:21:39 -0000
Message-ID: <985339447.26155.0.nnrp-10.9e984b29@news.demon.co.uk>

Yes, Yes and Yes.

I am a great believer in using PL/SQL wrappers to read and execute SQL statements from files, and a strategy I used quite often is:

    sql*load data into temp table
    sql to do bulk massage of data
    sql to rebuild data segment if smashed     sql to create indexes
    exchange partition

The last 4 stages would be designed as an anonymous PL/SQL block, to allow easy
and clean error trapping.

As far as speed is concerned on the EXCHANGE - you need to be aware of the effects of constraints and 'with/without validation' clause of exchange. This varies dramatically from 8.0 to 8.1 (and is described in my book).

--
Jonathan Lewis
Yet another Oracle-related web site:  http://www.jlcomp.demon.co.uk

Practical Oracle 8i:  Building Efficient Databases
Publishers:  Addison-Wesley

Reviews at: http://www.jlcomp.demon.co.uk/book_rev.html



Jay B. McCoy wrote in message <99asdm$q6j_at_ftp.ee.vill.edu>...

>Has anyone used exchange partition/insert into partition for performing
>large data warehouse loads? Were you able to automate the partition
>creation, index creation, constraints etc? Did you notice an improved
>performance over the typical drop index, extract data, transform and load
>data into fact table?
>
>
Received on Fri Mar 23 2001 - 03:21:39 CST

Original text of this message

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