How to Reorganize a Table in Streams Environment (Doc ID 1307686.1)

Last updated on SEPTEMBER 12, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.8 and later
Information in this document applies to any platform.

Goal

What are the steps to be followed if we want to reorganize a source table being replicated by streams.

Reorganization steps include the below changes in NOARCHIVELOG mode.


1. CREATE TABLE A_TEMP
AS
SELECT * FROM A;

2. DROP TABLE A;

3. ALTER TABLE A_TEMP RENAME TO A;

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms