Re: DBMS_REDEF - How online is it, really?

From: Jinwen Zou <zjworacle_at_gmail.com>
Date: Wed, 12 Feb 2014 10:00:43 +1100
Message-ID: <CAOEQsP+Juq3sBMDqi-7tqjVG8nDdx_CQ=Zh7kdXKKi8AmQiHjg_at_mail.gmail.com>



Online redefinition works well. We used it to partition table (around 200-300G, but not TB size) if I remembered correctly. To speed up the sync temp tab and finish the redef, we force parallel DML in session level , and cut over in maintenance window for the lock mentioned.

Regards,
Jinwen Zou

On Wed, Feb 12, 2014 at 3:42 AM, Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk
> wrote:

>
>
> I forgot to mention - there's a short blog that gives you a clue about a
> lock-timing issue that gets addressed in 12c - worth checking to see if
> there's a backport.
>
>
> http://askdba.org/weblog/2013/07/12c-specifying-lock-timeout-for-finish_redef_table/
>
>
>
> Regards
> Jonathan Lewis
> http://jonathanlewis.wordpress.com
> _at_jloracle
> ------------------------------
> *From:* oracle-l-bounce_at_freelists.org [oracle-l-bounce_at_freelists.org] on
> behalf of Uzzell, Stephan [SUzzell_at_MICROS.COM]
> *Sent:* 11 February 2014 16:03
> *To:* oracle-l_at_freelists.org
> *Cc:* Uzzell, Stephan
> *Subject:* DBMS_REDEF - How online is it, really?
>
> 11.2.0.3.7 on OEL 6, in case that matters.
>
>
>
> We've been looking into partitioning some large tables (5 trillion rows,
> 1TB) so that we can better manage them (drop old data, &c.). Right now I'd
> say dbms_redefinition may be the leading candidate, because Oracle says it
> is an online operation. I've been burned by Oracle's idea of "online"
> operations before - alter index rebuild online, if the code is optimized /
> hinted to use that index, may be online as far as Oracle is concerned, but
> it sure wasn't for the end users.
>
>
>
> So I'm wondering - has anyone used dbms_redefinition to partition large
> tables? Is it truly online? Can Oracle keep up with inserts in the meantime?
>
>
>
> We are thinking about using RAT to try to play back a typical workload,
> but before we open another can of Oracle worms, I figured a question to the
> list might be a good place to start.
>
>
>
> Thanks!
>
>
>
> *Stephan Uzzell*
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 12 2014 - 00:00:43 CET

Original text of this message