No question at this time
The DBA-Village forum
as RSS feed
Site StatisticsEver registered users | 48742 | Total active users | 1337 | Act. users last 24h | 1 | Act. users last hour | 0 | Registered user hits last week | 108 | Registered user hits last month | 471 |
|
Go up
Copying a partitioned table and all of its global/local indexes
Subject: |
Copying a partitioned table and all of its global/local indexes |
Author: |
BenBart BartBen, Philippines |
Date: |
Sep 08, 2015, 06:00, 2825 days ago |
Os info: |
Solaris |
Oracle info: |
Oracle8 :( |
Message: |
Hi,
Is there a quick way to copy a partitioned table and all of its global/local indexes?
I need to test doing exchanging partition, drop/restore partition and transportable export/import of the tablespaces used by a partitioned table.
I want to copy an existing partition table and indexes that is on the same database.
Currently generating the DDL using Toad :-) and then doing INSERT into.
Thanks in advance for any reply/feedback.
|
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
Subject: |
Re: Copying a partitioned table and all of its global/local indexes |
Author: |
Philip Wisse, Netherlands |
Date: |
Sep 08, 2015, 09:20, 2825 days ago |
Message: |
Hi BB,
I would use CTAS with APPEND PARALLEL hint.
http://docs.oracle.com/cd/A84870_01/doc/server.816/a76992/hints.htm#19039
Regards, Philip |
Your rating?: |
This reply is Good Excellent |
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
Subject: |
Re: Copying a partitioned table and all of its global/local indexes |
Author: |
Philip Wisse, Netherlands |
Date: |
Sep 08, 2015, 09:29, 2825 days ago |
Score: |
       |
Message: |
Hi BB,
These hint may not be combinable.
https://ksadba.wordpress.com/2011/01/04/insert-append-vs-ctas-%E2%80%9Ccreate-table-as-select%E2%80%9D-to-copy-data/
Regards, Philip |
Your rating?: |
This reply is Good Excellent |
Goto: |
Reply - Top of page |
If you think this item violates copyrights, please click here
|