DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: ora 54 resource busy

Hybrid View

  1. #1
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    How about a different approach, of setting the index unusable, "alter session set skip_unusable_indexes=true", load, then rebuild the indexes? I find it more robust myself, as changes to index properties (tablespace etc) do not have to be stored outside of the existing index definition.

    Are you using direct-path loads, by the way? If so, have you evaluated loading with enabled indexes in place? If not, I would strongly advise that you use direct and not conventional-path inserts
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    I am using sql based inserts and not a direct part insert.But its a bulk insert uisng Pro *C array features.

    I did not understand about the skip unusable indexes=true.How do i do that ?

    And also the ora 54 occurs when i am trying to set the parallel degree for the index not when i am rebuilding the index.

    Do you mean something like

    alter session set skip_unusable_indexes=true;
    alter index myindex unusable;
    alter index myindex rebuild;

    regards
    Hrishy

    regards
    Hrishy
    Last edited by hrishy; 09-24-2005 at 08:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width