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

Home -> Community -> Usenet -> c.d.o.misc -> Tables Partitioned by Range and Updating Data

Tables Partitioned by Range and Updating Data

From: Brad Murray <BradMurray_at_SeeSigIfThere.com>
Date: 1998/01/05
Message-ID: <MPG.f1b2b5fde20069f989853@news>#1/1

We have a database layout where we have a separate schema into which we load our data so it can be validated and manipulated before it gets moved into production. Right now these are totally separate tables in different schemas so the movement of records back and forth can be slow. If I create a table partitioned by range with the range being a flag to put the production data in one partition and the staging data in another I have the ability to keep my data in distinct areas which is an integrity issue according to the higher-ups and I also have the ability to deal with both of them as one table and still be able to use my indices. Currently I have to union the two tables together which would automatically not use the indices and is basically not usable.

My main question is that if I do this, when I change the flag (for example to move data from staging to production) will the data actually move from one partition to the other? If it does, will it be a slow transaction because Oracle will be basically inserting into the one partition and deleting from the other under the covers?

Please respond by e-mail to the below address as well as to the group.

Cheers,

        Brad



 Bradley S. Murray Princeton Computer Consulting (609) 730-9100  BradMurray(-at-)usa.net Pennington, NJ 08534-3612 Fax: 275-5651 Received on Mon Jan 05 1998 - 00:00:00 CST

Original text of this message

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