Invalid XMLIndex after a series of ALTER INDEX.

I was unable to drop my SPECVALUETEST table or drop the IDX_1_NODE XMLIndex after I performed a series of ALTER INDEX on IDX_1_NODE.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> drop table specvaluetest;
drop table specvaluetest
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 2
ORA-30967: operation directly on the Path Table is disallowed
SQL> alter index idx_1_node parameters ( 'PATHS (INCLUDE REMOVE (ALL))' );
alter index idx_1_node parameters ( 'PATHS (INCLUDE REMOVE (ALL))' )
ERROR at line 1:
ORA-29869: cannot issue ALTER without REBUILD on a domain index marked FAILED
SQL> alter index idx_1_node REBUILD parameters ( 'PATHS (INCLUDE REMOVE (ALL))' );
alter index idx_1_node REBUILD parameters ( 'PATHS (INCLUDE REMOVE (ALL))' )
ERROR at line 1:
ORA-29874: warning in the execution of ODCIINDEXALTER routine
ORA-29960: line 1, ORA-30980: Invalid Input.
SQL> alter index idx_1_node REBUILD;
alter index idx_1_node REBUILD
ERROR at line 1:
ORA-29858: error occurred in the execution of ODCIINDEXALTER routine
ORA-30980: Invalid Input.
SQL> drop index idx_1_node;
drop index idx_1_node
ERROR at line 1:
ORA-29856: error occurred in the execution of ODCIINDEXDROP routine
ORA-30980: Invalid Input.
SQL> drop index IDX_1_NODE force;
drop index IDX_1_NODE force
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-30967: operation directly on the Path Table is disallowed
What I did was:
SPECVALUETEST has 50916 rows of XML documents.
create index idx_1_node on SPECVALUETEST(xmldata) INDEXTYPE IS XDB.XMLINDEX PARAMETERS ( 'PATHS (INCLUDE (/SPEC_10000))');
alter index idx_1_node REBUILD PARAMETERS ( 'PATHS (INCLUDE ADD ( /SPEC_1/FIELDS/FIELD_1 /SPEC_2/FIELDS/FIELD_1 /SPEC_3/FIELDS/FIELD_1 /SPEC_4/FIELDS/
FIELD_1 /SPEC_5/FIELDS/FIELD_1 /SPEC_6/FIELDS/FIELD_1 /SPEC_7/FIELDS/FIELD_1 /SPEC_8/FIELDS/FIELD_1 /SPEC_9/FIELDS/FIELD_1 /SPEC_10/FIELDS/FIELD_1 /SP
EC_11/FIELDS/FIELD_1 /SPEC_12/FIELDS/FIELD_1 /SPEC_13/FIELDS/FIELD_1 /SPEC_14/FIELDS/FIELD_1 /SPEC_15/FIELDS/FIELD_1 /SPEC_16/FIELDS/FIELD_1 /SPEC_17/
FIELDS/FIELD_1 /SPEC_18/FIELDS/FIELD_1 /SPEC_19/FIELDS/FIELD_1 /SPEC_20/FIELDS/FIELD_1))');
alter index idx_1_node REBUILD PARAMETERS ( 'PATHS (INCLUDE ADD ( /SPEC_21/FIELDS/FIELD_1 /SPEC_22/FIELDS/FIELD_1 /SPEC_23/FIELDS/FIELD_1 /SPEC_24/FIE
LDS/FIELD_1 /SPEC_25/FIELDS/FIELD_1 /SPEC_26/FIELDS/FIELD_1 /SPEC_27/FIELDS/FIELD_1 /SPEC_28/FIELDS/FIELD_1 /SPEC_29/FIELDS/FIELD_1 /SPEC_30/FIELDS/FI
ELD_1 /SPEC_31/FIELDS/FIELD_1 /SPEC_32/FIELDS/FIELD_1 /SPEC_33/FIELDS/FIELD_1 /SPEC_34/FIELDS/FIELD_1 /SPEC_35/FIELDS/FIELD_1 /SPEC_36/FIELDS/FIELD_1
/SPEC_37/FIELDS/FIELD_1 /SPEC_38/FIELDS/FIELD_1 /SPEC_39/FIELDS/FIELD_1 /SPEC_40/FIELDS/FIELD_1))');
alter index idx_1_node REBUILD PARAMETERS ( 'PATHS (INCLUDE ADD ( /SPEC_41/FIELDS/FIELD_1 /SPEC_42/FIELDS/FIELD_1 /SPEC_43/FIELDS/FIELD_1 /SPEC_44/FIE
LDS/FIELD_1 /SPEC_45/FIELDS/FIELD_1 /SPEC_46/FIELDS/FIELD_1 /SPEC_47/FIELDS/FIELD_1 /SPEC_48/FIELDS/FIELD_1 /SPEC_49/FIELDS/FIELD_1 /SPEC_50/FIELD
S/FIELD_1 /SPEC_51/FIELDS/FIELD_1 /SPEC_52/FIELDS/FIELD_1 /SPEC_53/FIELDS/FIELD_1 /SPEC_54/FIELDS/FIELD_1 /SPEC_55/FIELDS/FIELD_1 /SPEC_56/FIELDS/FIELD_1
/SPEC_57/FIELDS/FIELD_1 /SPEC_58/FIELDS/FIELD_1 /SPEC_59/FIELDS/FIELD_1 /SPEC_60/FIELDS/FIELD_1))');
alter index idx_1_node REBUILD PARAMETERS ( 'PATHS (INCLUDE ADD ( /SPEC_61/FIELDS/FIELD_1 /SPEC_62/FIELDS/FIELD_1 /SPEC_63/FIELDS/FIELD_1 /SPEC_64/FIE
LDS/FIELD_1 /SPEC_65/FIELDS/FIELD_1 /SPEC_66/FIELDS/FIELD_1 /SPEC_67/FIELDS/FIELD_1 /SPEC_68/FIELDS/FIELD_1 /SPEC_69/FIELDS/FIELD_1 /SPEC_70/FIELDS/FI
ELD_1 /SPEC_71/FIELDS/FIELD_1 /SPEC_72/FIELDS/FIELD_1 /SPEC_73/FIELDS/FIELD_1 /SPEC_74/FIELDS/FIELD_1 /SPEC_75/FIELDS/FIELD_1 /SPEC_76/FIELDS/FIELD_1
/SPEC_77/FIELDS/FIELD_1 /SPEC_78/FIELDS/FIELD_1 /SPEC_79/FIELDS/FIELD_1 /SPEC_80/FIELDS/FIELD_1))');
alter index idx_1_node REBUILD PARAMETERS ( 'PATHS (INCLUDE ADD ( /SPEC_81/FIELDS/FIELD_1 /SPEC_82/FIELDS/FIELD_1 /SPEC_83/FIELDS/FIELD_1 /SPEC_84/FIE
LDS/FIELD_1 /SPEC_85/FIELDS/FIELD_1 /SPEC_86/FIELDS/FIELD_1 /SPEC_87/FIELDS/FIELD_1 /SPEC_88/FIELDS/FIELD_1 /SPEC_89/FIELDS/FIELD_1 /SPEC_90/FIELDS/FI
ELD_1 /SPEC_91/FIELDS/FIELD_1 /SPEC_92/FIELDS/FIELD_1 /SPEC_93/FIELDS/FIELD_1 /SPEC_94/FIELDS/FIELD_1 /SPEC_95/FIELDS/FIELD_1 /SPEC_96/FIELDS/FIELD_1
/SPEC_97/FIELDS/FIELD_1 /SPEC_98/FIELDS/FIELD_1 /SPEC_99/FIELDS/FIELD_1 /SPEC_100/FIELDS/FIELD_1))');
The last ALTER INDEX failed.
What can I do to drop this index or drop the table if needed? I tried DROP INDEX IDX_1_NODE FORCE, but it didn't work.
Thank you very much.
Peter

Hmmm, after quick scan through your code, it sounds as valid statements.
I would Oracle support have a look at this.
Is your system recyclebin enabled? Do you have recyclebin objects in your schema. Try cleaning up via a purge and try the drop index again...

Similar Messages

  • ORA-02243:invalid ALTER INDEX or ALTER MATERIALIZES VIEW option

    Hi, Friend,
    I am changing all the index to another tablespace of one of my schema.When I run the DDL script,got the error:
    ORA-02243:invalid ALTER INDEX or ALTER MATERIALIZES VIEW option
    I checked the metalink, got nothing.Anyone can help? Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I also googled some info,like:
    Oracle Error :: ORA-02243
    invalid ALTER INDEX or ALTER MATERIALIZED VIEW option
    Cause
    An option other than INITRANS, MAXTRANS,or STORAGE is specified in an ALTER INDEX statement or in the USING INDEX clause of an ALTER MATERIALIZED VIEW statement.
    Action
    Specify only legal options.
    But I still can't find the clue.

  • Problems creating/altering index with certain Word docs

    Hello,
    I am having an odd problem when attempting to drop/create or alter my index after entering certain MS Word docs in my table.
    Has anyone run into this? Does anyone have any insight as to which features in Word docs (e.g. macros, etc.) might cause this problem?
    The errors are listed below (they also cause GPFs when extproc.exe runs). Thanks for your help.
    Mike
    alter index blobdoc_idx rebuild online parameters ( 'sync' )
    ERROR at line 1:
    ORA-29863: warning in the execution of ODCIINDEXCREATE routine
    SQL> CREATE INDEX BLOBDOC_IDX
    2 ON BLOBS(DOC_BLOB) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('FILTER ctxsys.INSO_FILTER STORAGE
    INTERMEDIASTORE LEXER INTERMEDIALEXER');
    CREATE INDEX BLOBDOC_IDX
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    ORA-28579: network error during callback from external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1

    Additional information: error message found in CTXSYS.DR$INDEX_ERROR TABLE:
    DRG-10595: ALTER INDEX BLOBDOC_IDX failed
    ORA-28579: network error during callback from external procedure agent
    Mike
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michael Hoekstra ([email protected]):
    Hello,
    I am having an odd problem when attempting to drop/create or alter my index after entering certain MS Word docs in my table.
    Has anyone run into this? Does anyone have any insight as to which features in Word docs (e.g. macros, etc.) might cause this problem?
    The errors are listed below (they also cause GPFs when extproc.exe runs). Thanks for your help.
    Mike
    alter index blobdoc_idx rebuild online parameters ( 'sync' )
    ERROR at line 1:
    ORA-29863: warning in the execution of ODCIINDEXCREATE routine
    SQL> CREATE INDEX BLOBDOC_IDX
    2 ON BLOBS(DOC_BLOB) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('FILTER ctxsys.INSO_FILTER STORAGE
    INTERMEDIASTORE LEXER INTERMEDIALEXER');
    CREATE INDEX BLOBDOC_IDX
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    ORA-28579: network error during callback from external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    <HR></BLOCKQUOTE>
    null

  • Invalids Objects after DB Migration

    Hi,
    I got lot of invalid objects after DB migration, Before export i droped apps/edw db links in source, after import in new target system i can see lot of invalid objects
    alter VIEW APPLSYS.AQ$WF_CONTROL compile;
    alter VIEW APPLSYS.AQ$_WF_CONTROL_F compile;
    alter VIEW APPS.EUL5_B080110101824Q8V1 compile;
    alter VIEW APPS.EUL5_B080110140308Q1V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q1V1 compile;
    alter VIEW APPS.EUL5_B080110142754Q5V1 compile;
    alter VIEW APPS.EUL4_B050720090637Q1V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q5V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q7V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q8V1 compile;
    alter VIEW APPS.EUL4_B050225111630Q1V1 compile;
    alter VIEW APPS.EUL5_B080827104717Q2V1 compile;
    alter VIEW APPS.EUL5_B080827104041Q1V1 compile;
    alter VIEW APPS.EUL5_B080825171948Q1V1 compile;
    alter VIEW APPS.EUL5_B080827104041Q3V1 compile;
    alter VIEW APPS.EUL4_B070517133406Q3V1 compile;
    alter VIEW APPS.EUL4_B060516094902Q1V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q2V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q7V1 compile;
    alter VIEW APPS.EUL4_B040914132829Q1V1 compile;
    alter PACKAGE APPS.ENG_CHANGE_TEXT_UTIL compile;
    alter VIEW APPS.EUL5_B080110105519Q6V1 compile;
    alter VIEW APPS.EUL4_B070517133406Q1V1 compile;
    alter VIEW APPS.EUL4_B041230091230Q1V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q4V1 compile;
    alter VIEW APPS.EUL4_B050720092221Q1V1 compile;
    alter VIEW APPS.EUL4_B050225111545Q1V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q5V1 compile;
    alter VIEW APPS.EUL4_B070108141912Q1V1 compile;
    alter VIEW APPS.EUL5_B080110142754Q4V1 compile;
    alter VIEW APPS.EUL5_B080110142754Q1V1 compile;
    alter VIEW APPS.EUL5_B080110142754Q2V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q4V1 compile;
    alter PACKAGE APPS.EGO_ITEM_TEXT_UTIL compile;
    alter package APPS.CS_WF_ACTIVITIES_PKG compile body;
    alter package APPS.CS_SR_ADDR_SYNC_INDEX_PKG compile body;
    alter package APPS.BOMPKMUD compile body;
    alter package APPS.ICX_POR_INTERMEDIA_INDEX compile body;
    alter package APPS.CS_KB_CONC_PROG_PKG compile body;
    alter package APPS.OF_PA_PKG compile body;
    alter package APPS.AD_PARALLEL_UPDATES_PKG compile body;
    alter package APPS.CE_BANK_PURGINGS compile body;
    alter package APPS.OE_CREDIT_CARD_MIGRATE_UTIL compile body;
    alter package APPS.OKS_CCENCRYPTION_PKG compile body;
    alter package APPS.OKC_RISK_EVENTS_PKG compile body;
    alter package APPS.OKC_REP_CONTACT_ROLES_PKG compile body;
    alter package APPS.JTF_TASK_IDX_UTL compile body;
    alter package APPS.ENI_DENORM_HRCHY compile body;
    alter package APPS.EGO_ITEM_TEXT_PVT compile body;
    alter package APPS.EGO_ITEM_TEXT_UTIL compile body;
    alter package APPS.EDW_POA_LN_TYPE_M_C compile body;
    alter package APPS.EDW_POA_SPLRITEM_M_C compile body;
    alter package APPS.EDW_GEOGRAPHY_M_C compile body;
    alter package APPS.RA_CUSTOMER_TEXT_PKG compile body;
    alter package APPS.OPI_EDW_UOM_CONV_F_C compile body;
    alter package APPS.EDW_OPI_PRDL_M_C compile body;
    alter package APPS.EDW_OPI_LOT_M_C compile body;
    alter package APPS.EDW_OPI_ACTV_M_C compile body;
    alter package APPS.EDW_OPI_OPRN_M_C compile body;
    alter package APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C compile body;
    alter package APPS.OPI_EDW_OPMCOGS_F_C compile body;
    alter package APPS.OPI_EDW_OPM_JOB_DETAIL_F_C compile body;
    alter package APPS.OPI_EDW_OPM_JOB_RSRC_F_C compile body;
    alter package APPS.OPI_EDW_COGS_F_C compile body;
    alter package APPS.EDW_MTL_INVENTORY_LOC_M_C compile body;
    alter package APPS.ISC_EDW_BOOK_SUM1_F_C compile body;
    alter package APPS.FND_OID_DIAG compile body;
    alter VIEW APPS.EUL5_B090911130003Q2V1 compile;
    alter VIEW APPS.EUL5_B090911130003Q1V1 compile;
    alter VIEW APPS.EUL5_B090910161600Q2V1 compile;
    alter VIEW APPS.EUL5_B090910161600Q1V1 compile;
    alter VIEW APPS.EUL5_B090910090134Q2V1 compile;
    alter VIEW APPS.EUL5_B090910090134Q1V1 compile;
    alter VIEW APPS.EUL5_B090701170823Q3V1 compile;
    alter VIEW APPS.EUL5_B090701170823Q2V1 compile;
    alter VIEW APPS.EUL5_B090701170823Q1V1 compile;
    alter VIEW APPS.EUL5_B090701170628Q3V1 compile;
    alter VIEW APPS.EUL5_B090701170628Q2V1 compile;
    alter VIEW APPS.EUL5_B090701170628Q1V1 compile;
    alter VIEW APPS.EUL5_B090701162946Q3V1 compile;
    alter VIEW APPS.EUL5_B090701162946Q2V1 compile;
    alter VIEW APPS.EUL5_B090701162946Q1V1 compile;
    alter VIEW APPS.EUL5_B090629085441Q1V1 compile;
    alter VIEW APPS.EUL5_B080109163823Q5V1 compile;
    alter VIEW APPS.EUL5_B081014161934Q1V1 compile;
    alter VIEW APPS.EUL5_B080827104041Q2V1 compile;
    alter VIEW APPS.EUL5_B080826171658Q1V1 compile;
    alter VIEW APPS.EUL5_B080827104717Q1V1 compile;
    alter VIEW APPS.EUL5_B080827091711Q1V1 compile;
    alter VIEW APPS.EUL5_B081014085038Q1V1 compile;
    alter VIEW APPS.EUL5_B080826171630Q1V1 compile;
    alter VIEW APPS.EUL5_B080827091711Q2V1 compile;
    alter VIEW APPS.EUL5_B080110101824Q6V1 compile;
    alter VIEW APPS.EUL4_B040903135303Q1V1 compile;
    alter VIEW APPS.EUL5_B080109163823Q4V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q1V1 compile;
    alter VIEW APPS.EUL5_B080110105519Q2V1 compile;
    alter VIEW APPS.EUL5_B080110142754Q6V1 compile;
    alter package APPS.ICX_CAT_INTERMEDIA_INDEX_PVT compile body;
    alter package APPS.ARP_STAX_88 compile body;
    alter package APPS.ARP_STAX_82 compile body;
    alter package APPS.ARP_STAX_86 compile body;
    alter package APPS.ARP_STAX_85 compile body;
    alter package APPS.ARP_STAX_84 compile body;
    alter package APPS.ENG_CHANGE_LINE_UTIL compile body;
    alter package APPS.ENG_CHANGE_ACTIONS_PKG compile body;
    alter package APPS.ENG_LAUNCH_ECO_OI_PK compile body;
    alter package APPS.EDW_MRP_PLAN_M_C compile body;
    alter package APPS.EDW_MRP_FORECAST_M_C compile body;
    alter package APPS.EDW_MRP_DM_CLS_M_C compile body;
    alter package APPS.CS_SR_SYNC_INDEX_PKG compile body;
    alter package APPS.OKE_DELIVERABLE_UTILS_PUB compile body;
    alter package APPS.OKE_DELIVERABLE_UTILS_PKG compile body;
    alter package APPS.EDW_ORGANIZATION_M_C compile body;
    alter package APPS.EDW_HR_MVMNT_TYP_M_C compile body;
    alter package APPS.HR_EDW_WRK_CMPSTN_F_C compile body;
    alter package APPS.EDW_HR_RQN_VCNCY_M_C compile body;
    alter package APPS.EDW_HR_REASON_M_C compile body;
    alter package APPS.EDW_HR_REC_ACT_M_C compile body;
    alter package APPS.EDW_HR_PRSN_TYP_M_C compile body;
    alter package APPS.EDW_HR_POSITION_M_C compile body;
    alter package APPS.EDW_HR_SERVICE_M_C compile body;
    alter package APPS.EDW_HR_GRADE_M_C compile body;
    alter package APPS.EDW_HR_JOBS_M_C compile body;
    alter package APPS.EDW_HR_ASSGNMNT_M_C compile body;
    alter package APPS.EDW_HR_AGE_BAND_M_C compile body;
    alter package APPS.EDW_HR_ASG_CHNG_M_C compile body;
    alter package APPS.FII_PA_BUDGET_F_C compile body;
    alter package APPS.FII_PA_REVENUE_F_C compile body;
    alter package APPS.FII_PA_UOM_CONV_F_C compile body;
    alter package APPS.FII_PA_COST_F_C compile body;
    alter package APPS.FII_AR_E_REVENUE_F_C compile body;
    alter package APPS.FII_AR_TRX_DIST_F_C compile body;
    alter package APPS.FII_AP_SCH_PAYMTS_F_C compile body;
    alter package APPS.FII_AP_INV_LINES_F_C compile body;
    alter package APPS.FII_AP_INV_PAYMTS_F_C compile body;
    alter package APPS.FII_AP_INV_ON_HOLD_F_C compile body;
    alter package APPS.FII_AP_HOLD_DATA_F_C compile body;
    alter package APPS.HZ_PURGE compile body;
    alter package APPS.AR_CMGT_DATA_POINTS_PKG compile body;
    alter package APPS.AR_CMGT_AGING compile body;
    alter package APPS.ENG_CHANGE_TEXT_PVT compile body;
    alter package APPS.ENG_CHANGE_TEXT_UTIL compile body;
    alter package APPS.AP_WEB_MANAGEMENT_REPORTS_PKG compile body;
    alter package APPS.OKC_REP_RELATIONSHIPS_PKG compile body;
    alter package APPS.AZ_R12_TRANSFORM_CASCADE compile body;
    alter package APPS.AZ_COMP_REPORTER compile body;
    alter package APPS.IRC_POSTING_CONTENT_API compile body;
    alter package APPS.IRC_DOCUMENT_API compile body;
    alter package APPS.HZ_PARTY_STAGE compile body;
    alter package APPS.HZ_DQM_SYNC compile body;
    alter package APPS.OKE_AGREEMENT_PVT compile body;
    alter package APPS.OKC_TEMPLATE_KEYWORD_PVT compile body;
    alter package APPS.OKC_DELIVERABLE_PROCESS_PVT compile body;
    alter package APPS.OKC_ARTICLE_KEYWORD_PVT compile body;
    alter package APPS.OKC_TERMS_COPY_GRP compile body;
    alter package APPS.INVPOPIF compile body;
    alter package APPS.IBC_IMT_PUB compile body;
    alter package APPS.FND_IMUTL compile body;
    alter package APPS.ENG_ECO_UTIL compile body;
    alter VIEW CLM.CLM_CLMRMCM1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMMS1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMVS1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMUS1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMSG1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMRS1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMRP1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMRG1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMPT1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMPO1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMOW1_VIEW compile;

    alter VIEW CLM.CLM_CLMRMGM1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMFS1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMFN1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMFD1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMDF1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMCP1_VIEW compile;
    alter VIEW CLM.CLM_CLMRMCL1_VIEW compile;
    alter VIEW CONV.TEST_1 compile;
    alter VIEW DMUSER.GL_JE_LINES_V compile;
    alter VIEW DMUSER.GL_JE_CATEGORIES_TL_V compile;
    alter VIEW NOETIX.NOETIX_SEARCHBY_CANDIDATES compile;
    alter package OBT_AA.PA_EXPENDITURE_INQUIRY compile body;
    alter package OBT_AA.PO_CORE_S compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_PURGEUTL_PVT compile body;
    alter package OBT_AA.PO_INQ_SV compile body;
    alter package OBT_AA.PA_PROJECT_PUB compile body;
    alter package OBT_AA.PA_PROJECT_PVT compile body;
    alter package OBT_AA.PA_CONTROL_API_PVT compile body;
    alter package OBT_AA.PA_CONTROL_API_PUB compile body;
    alter package OBT_AA.PA_PROJECT_CHECK_PVT compile body;
    alter package OBT_AA.RCV_QUANTITIES_S compile body;
    alter package OBT_AA.PA_RESOURCE_PUB compile body;
    alter package OBT_AA.PO_VALIDATE_CAI compile body;
    alter package OBT_AA.OF_PA_PKG compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_PROCS compile body;
    alter package OBT_AA.ARP_STAX_88 compile body;
    alter package OBT_AA.ARP_STAX_86 compile body;
    alter package OBT_AA.ARP_STAX_82 compile body;
    alter package OBT_AA.ARP_STAX_84 compile body;
    alter package OBT_AA.ARP_STAX_85 compile body;
    alter package OBT_AA.EGO_ITEM_TEXT_UTIL compile body;
    alter package OBT_AA.ENG_CHANGE_TEXT_UTIL compile body;
    alter package OBT_AA.PA_EVENT_PVT compile body;
    alter package OBT_AA.PA_EVENT_PUB compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_AP_PURGE_PKG compile body;
    alter package OBT_AA.PA_INTERFACE_UTILS_PUB compile body;
    alter package OBT_AA.OF_ID_PKG compile body;
    alter package OBT_AA.AP_INVOICES_PKG compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_RCV_PURGE_PVT compile body;
    alter package OBT_AA.AP_INVOICES_UTILITY_PKG compile body;
    alter package OBT_AA.GBLWF_PO_AG compile body;
    alter package OBT_AA.AP_INVOICE_PAYMENTS_PKG compile body;
    alter package OBT_AA.FND_GFM compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_PURGE_PVT compile body;
    alter package OBT_AA.GL_CI_REMOTE_INVOKE_PKG compile body;
    alter package OBT_AA.OBTPA_AP_PO_FLEX_PURGE_GRP compile body;
    alter package OBT_AA.FND_ATTACHMENT_UTIL_PKG compile body;
    alter package OBT_AA.POLOAD_CAI compile body;
    alter package OBT_AA.POLOAD2_CAI compile body;
    alter package OBT_AA.POLOAD1_CAI compile body;
    alter package OBT_AA.OBTPA_CUSTOM_APPO_FLEX_PROCS compile body;
    alter VIEW OBT_AA.PO_REQUISITION_HEADERS_REQ_V compile;
    alter VIEW OBT_AA.RCV_VRC_TXS_VEND_V compile;
    alter VIEW OBT_AA.ICX_POR_SES_REQS_V compile;
    alter VIEW OBT_AA.ADI_WEB_FILES_VL compile;
    alter VIEW OBT_AA.POR_ATTACHMENTS_SUMMARY_V compile;
    alter VIEW OBT_AA.WIP_OPERATION_INSTRUCTIONS_V compile;
    alter VIEW OBT_AA.WIP_ENTITY_COMMENTS_V compile;
    alter VIEW OBT_AA.WIP_COMMENT_CODES_V compile;
    alter VIEW OBT_AA.XLA_OKL_AEL_GL_TRX_V compile;
    alter VIEW OBT_AA.XLA_OKL_AEL_GL_QTE_V compile;
    alter VIEW OBT_AA.XLA_OKL_AEL_GL_CTR_V compile;
    alter VIEW OBT_AA.OKL_AEL_GL_QTE_V compile;
    alter VIEW OBT_AA.OKL_POOL_SRCH_V compile;
    alter VIEW OBT_AA.CE_CP_DISC_V compile;
    alter VIEW OBT_AA.OKL_POOL_SRCH_PAYFREQ_V compile;
    alter VIEW OBT_AA.XLA_OKL_AEL_GL_AST_V compile;
    alter VIEW OBT_AA.OKL_AM_ASSET_RETURNS_UV compile;
    alter VIEW OBT_AA.IGI_EXP_DUS_V compile;
    alter VIEW OBT_AA.OKL_AEL_GL_TRX_V compile;
    alter VIEW OBT_AA.OKL_AEL_GL_CTR_V compile;
    alter VIEW OBT_AA.CE_CP_DISC_SURPLUS_V compile;
    alter VIEW OBT_AA.CUN_ITEM_NETWORK_UNITS_V compile;
    alter VIEW OBT_AA.PA_FCST_PERIODIC_HDR_V compile;
    alter VIEW OBT_AA.PA_FCST_PERIODIC_DTL_V compile;
    alter VIEW OBT_AA.OTA_FINANCE_LINES_V compile;
    alter VIEW OBT_AA.PA_ADW_LOWTSK_ACT_CMT_V compile;
    alter VIEW OBT_AA.OKL_EBIZ_KHEADERS_V compile;
    alter VIEW OBT_AA.OKL_CURE_RFND_VND_DTLS_UV compile;
    alter VIEW OBT_AA.OKL_CURE_CONTRACT_UV compile;
    alter VIEW OBT_AA.OKL_BPD_RECEIPT_ASSET_UV compile;
    alter VIEW OBT_AA.OKL_BPD_RECEIPT_APPLIC_UV compile;
    alter VIEW OBT_AA.CUN_ASSET_ADDITIONS_UNITS_V compile;
    alter VIEW OBT_AA.ICX_PO_ACTION_HISTORY_PK_V compile;
    alter VIEW OBT_AA.CST_PAC_WIP_TXN_V compile;
    alter VIEW OBT_AA.PO_RELEASE_XML compile;
    alter VIEW OBT_AA.PO_RELEASE_ARCHIVE_XML compile;
    alter VIEW OBT_AA.PO_LINE_LOCATIONS_XML compile;
    alter VIEW OBT_AA.PO_LINE_LOCATIONS_ARCHIVE_XML compile;
    alter VIEW OBT_AA.PO_LINES_XML compile;
    alter VIEW OBT_AA.PO_LINES_ARCHIVE_XML compile;
    alter VIEW OBT_AA.PO_HEADERS_XML compile;
    alter VIEW OBT_AA.OTFV_FINANCE_LINES compile;
    alter VIEW OBT_AA.PO_HEADERS_ARCHIVE_XML compile;
    alter VIEW OBT_AA.OKL_BPD_AP_DISB_DTL_LN_UV compile;
    alter VIEW OBT_AA.OKL_BPD_AP_DISBURS_SMRY_UV compile;
    alter VIEW OBT_AA.OKL_ACCOUNT_BALANCES_V compile;
    alter VIEW OBT_AA.OKL_AEL_GL_AST_V compile;
    alter VIEW OBT_AA.CUN_PROJECT_SHIPMENT_V compile;
    alter VIEW OBT_AA.PO_POS_ALL_V compile;
    alter VIEW OBT_AA.PA_PROJ_COMMITMENT_STATUS compile;
    alter VIEW OBT_AA.OKL_VP_AGREEMENT_UV compile;
    alter VIEW OBT_AA.OKL_TRX_HEADER_UV compile;
    alter VIEW OBT_AA.OKL_FA_DIST_UV compile;
    alter VIEW OBT_AA.PO_DOCUMENT_HEADERS_VIEW compile;
    alter VIEW OBT_AA.PO_ACTION_HISTORY_V compile;
    alter VIEW OBT_AA.OKL_BPD_AP_DISB_DTLS_UV compile;
    alter VIEW OBT_AA.MRP_SR_VIEW_REC_V compile;
    alter VIEW OBT_AA.CUN_TRANSACTION_HIST_V compile;
    alter VIEW OBT_AA.CUN_ITEM_SUMMARY_V compile;
    alter VIEW OBT_AA.CE_CP_DISC_CLOSE_V compile;
    alter VIEW OBT_AA.PA_RPT_PRJ_SUMMARY compile;
    alter VIEW OBT_AA.PA_RPT_CUST_SUMMARY compile;
    alter VIEW OBT_AA.PA_PROJECT_LISTS_PORTLET_V compile;
    alter VIEW OBT_AA.PA_FCST_PROJECT_HDR_V compile;
    alter VIEW OBT_AA.PA_FCST_PROJECT_SUM_V compile;
    alter VIEW OBT_AA.PA_FCST_PROJECT_DTL_V compile;
    alter VIEW OBT_AA.PA_FCST_PERIODIC_SUM_V compile;
    alter VIEW OBT_AA.PA_ADW_TOPTSK_ACT_CMT_V compile;
    alter VIEW OBT_AA.OKL_CURE_REFUNDS_DTLS_UV compile;
    alter VIEW OBT_AA.OKL_OUTSTANDING_CURE_UV compile;
    alter VIEW OBT_AA.OKL_CURE_RULE_UV compile;
    alter VIEW OBT_AA.OKL_AP_TRX_LINE_UV compile;
    alter VIEW OBT_AA.OKL_AP_DIST_UV compile;
    alter VIEW OBT_AA.CUN_ASSET_UNITS_V compile;
    alter VIEW OBT_AA.GMS_COMMITMENT_TXNS_V compile;
    alter VIEW OBT_AA.GMS_STATUS_PROJ_GENERIC_V compile;
    alter VIEW OBT_AA.CE_CP_DISC_NET_V compile;
    alter VIEW OBT_AA.XLA_WIP_AEL_SL_V compile;
    alter VIEW OBT_AA.XLA_AP_AEL_SL_V compile;
    alter VIEW OBT_AA.WIP_EAM_REQUIREMENTS_ALL_V compile;
    alter VIEW OBT_AA.XLA_WIP_AEL_SL_PAC_V compile;
    alter VIEW OBT_AA.XLA_PSA_PO_ENC_BC_GL_V compile;
    alter VIEW OBT_AA.PA_STATUS_COMMITMENTS_V compile;
    alter VIEW OBT_AA.XLA_WIP_AEL_GL_V compile;
    alter VIEW OBT_AA.XLA_WIP_AEL_GL_PAC_V compile;
    alter VIEW OBT_AA.XLA_REQ_ENC_AEL_GL_V compile;
    alter VIEW OBT_AA.XLA_PSA_REQ_ENC_BC_GL_V compile;
    alter VIEW OBT_AA.XLA_PO_ENC_AEL_GL_V compile;
    alter VIEW OBT_AA.XLA_PO_AEL_SL_V compile;
    alter VIEW OBT_AA.XLA_PO_AEL_SL_PAC_V compile;
    alter VIEW OBT_AA.XLA_PO_AEL_SL_MRC_V compile;
    alter VIEW OBT_AA.XLA_PO_AEL_GL_V compile;
    alter VIEW OBT_AA.XLA_PO_AEL_GL_PAC_V compile;
    alter VIEW OBT_AA.XLA_INV_AEL_SL_V compile;
    alter VIEW OBT_AA.XLA_INV_AEL_SL_PAC_V compile;
    alter VIEW OBT_AA.RCV_ENTER_RECEIPTS_V compile;
    alter VIEW OBT_AA.RCV_ENTER_RECEIPTS_SUP_INT_V compile;
    alter VIEW OBT_AA.PO_TAX_SHIPMENTS_DETAIL_V compile;
    alter VIEW OBT_AA.PO_TAX_CODES_SUMMARY_V compile;
    alter VIEW OBT_AA.RCV_ENTER_RECEIPTS_INTERNAL_V compile;
    alter VIEW OBT_AA.PO_RFQS_VAL_V compile;
    alter VIEW OBT_AA.PN_INDEX_EXCLUDE_TERM_V compile;
    alter VIEW OBT_AA.PO_RFQS_ALL_V compile;
    alter VIEW OBT_AA.PA_STATUS_PROJ_TOTALS_V compile;
    alter VIEW OBT_AA.PA_SST_VIEW_PROJECTS_TASKS_V compile;
    alter VIEW OBT_AA.PA_RPT_PRJ_SUMMARY_BASE_V compile;
    alter VIEW OBT_AA.PA_RPT_CUST_SUMMARY_BASE_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_SP_PA_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_SP_GL_V compile;
    alter VIEW OBT_AA.PA_INV_BURDEN_DETAILS_LM_V compile;
    alter VIEW OBT_AA.PA_ADW_R_ST_ACT_CMT_V compile;
    alter VIEW OBT_AA.PA_ADW_R_ACT_CMT_V compile;
    alter VIEW OBT_AA.PA_ADW_ACT_CMT_V compile;
    alter VIEW OBT_AA.OKL_REFUND_UV compile;
    alter VIEW OBT_AA.OKL_K_VENDOR_PROGRAMS_UV compile;
    alter VIEW OBT_AA.OKL_C_V_RULES_UV compile;
    alter VIEW OBT_AA.OKL_CS_PARTIES_TAB_UV compile;
    alter VIEW OBT_AA.OKL_CURE_VENDOR_PROGRAM_UV compile;
    alter VIEW OBT_AA.OKL_CS_ALL_PARTIES_W_AMOUNT_UV compile;
    alter VIEW OBT_AA.OKL_BPD_DISB_CONTRACT_LOV_UV compile;
    alter VIEW OBT_AA.GMS_STATUS_COMMITMENTS_V compile;
    alter VIEW OBT_AA.CUN_ITEMS_V compile;
    alter VIEW OBT_AA.CSP_REQUIRED_PARTS_V compile;
    alter VIEW OBT_AA.CSP_DC_PARTS_V compile;
    alter VIEW OBT_AA.MRP_SR_RECEIPT_ORG_V compile;
    alter VIEW OBT_AA.MRP_I2_RESCHED_PO_REQ_V compile;
    alter VIEW OBT_AA.RCV_RECEIVERS_UNORDERED_V compile;
    alter VIEW OBT_AA.JG_PO_REL_TAX_LINES_SUMMARY_V compile;
    alter VIEW OBT_AA.PN_TERM_TEMPLATES_V compile;
    alter VIEW OBT_AA.PJM_PROJECT_PROJ_SUMMARY_V compile;
    alter VIEW OBT_AA.PA_REQUIREMENTS_AMG_V compile;
    alter VIEW OBT_AA.PA_REP_RES_CAP_WKD_V compile;
    alter VIEW OBT_AA.PA_REP_RES_AVL_WK_V compile;
    alter VIEW OBT_AA.PA_PROJ_SUMMARY_AMOUNTS_V compile;
    alter VIEW OBT_AA.PA_PROJ_COMMITMENT_BASE_VIEW compile;
    alter VIEW OBT_AA.PA_REP_ASMT_DTS_V compile;
    alter VIEW OBT_AA.PA_PROJ_ASSIGNMENTS_AMG_V compile;
    alter VIEW OBT_AA.PA_PROJECT_OPEN_ASSNS_STAFF_V compile;
    alter VIEW OBT_AA.PA_PROJECT_OPEN_ASSNS_V compile;
    alter VIEW OBT_AA.PA_PROJECT_LISTS_USER_V compile;
    alter VIEW OBT_AA.PA_PROJECT_ASSIGNMENTS_V compile;
    alter VIEW OBT_AA.PA_FCST_PROJECT_LIST_V compile;
    alter VIEW OBT_AA.PA_PROJECTS_CUST_360_V compile;
    alter VIEW OBT_AA.PA_C_RES_DETAILS_V compile;
    alter VIEW OBT_AA.OKL_FUND_REQ_HEADERS_UV compile;
    alter VIEW OBT_AA.OKL_CURE_REFUNDS_SUMRY_UV compile;
    alter VIEW OBT_AA.OKL_CURE_VENDOR_SUMRY_UV compile;
    alter VIEW OBT_AA.OKL_BPD_DISB_LOV_UV compile;
    alter VIEW OBT_AA.AP_EXPENSE_REPORT_HISTORY_V compile;
    alter VIEW OBT_AA.OKC_K_ATE_V compile;
    alter VIEW OBT_AA.AX_MTL_MATERIAL_TRANS_CONV_V2 compile;
    alter VIEW OBT_AA.AHL_OSP_ORDER_LINES_V compile;
    alter VIEW OBT_AA.OKC_KOL_ATTACHMENTS_V compile;
    alter VIEW OBT_AA.AMW_EXPORT_PROCESS_V compile;
    alter VIEW OBT_AA.OKI_K_CONTACTS_V compile;
    alter VIEW OBT_AA.OKE_K_ALL_ACCESS_V compile;
    alter VIEW OBT_AA.OKC_KOL_SEARCH_KHEADERS_V compile;
    alter VIEW OBT_AA.ICX_REQ_SUPPLIERS_V compile;
    alter VIEW OBT_AA.ICX_REQ_DIST_HEADER_V compile;
    alter VIEW OBT_AA.ICX_PO_RFQ_LINE_LOC_V compile;
    alter VIEW OBT_AA.ICX_PO_REQ_HEADERS_V compile;
    alter VIEW OBT_AA.ICX_PO_REQS_BY_USERS_V compile;
    alter VIEW OBT_AA.ICX_AP_EXPENSE_LINES_V compile;
    alter VIEW OBT_AA.ICX_ENG_WEB_SCHEDULE_PO_V compile;
    alter VIEW OBT_AA.ICX_PO_OPEN_REQS_BY_USERS_V compile;
    alter VIEW OBT_AA.GMS_COMMITMENT_BURDEN_V compile;
    alter VIEW OBT_AA.GMS_1034_REPORT_V compile;
    alter VIEW OBT_AA.FV_ECS_PAYMENT_V compile;
    alter VIEW OBT_AA.FII_AP_IVSR_INV_SOURCE_LCV compile;
    alter VIEW OBT_AA.EAM_DIRECT_ITEM_RECS_V compile;
    alter VIEW OBT_AA.ECE_PO_PROJECT_INFO_V compile;
    alter VIEW OBT_AA.CST_PAC_AEL_SL_WIP_V compile;
    alter VIEW OBT_AA.CST_AEL_SL_WIP_V compile;
    alter VIEW OBT_AA.CE_REVERSAL_TRANSACTIONS_V compile;
    alter VIEW OBT_AA.CHV_SCHEDULERS_VAL_V compile;
    alter VIEW OBT_AA.CE_RECONCILED_TRANSACTIONS_V compile;
    alter VIEW OBT_AA.CE_AVAILABLE_TRANSACTIONS_V compile;
    alter VIEW OBT_AA.CE_FC_API_DISC_V compile;
    alter VIEW OBT_AA.AMW_EXPORT_AUDIT_PROCEDURE_V compile;
    alter VIEW OBT_AA.AP_AEL_SL_V compile;
    alter VIEW OBT_AA.MRP_SCATP_SOURCES_V compile;
    alter VIEW OBT_AA.MRP_I2_PROCUREMENT_V compile;
    alter VIEW OBT_AA.MRP_I2_PART_SUPPLIER_V compile;
    alter VIEW OBT_AA.IGI_CIS_PMT_VCH_V compile;
    alter VIEW OBT_AA.XTR_AP_OPEN_TRX_V compile;
    alter VIEW OBT_AA.WIP_OSP_REQS_POS_V compile;
    alter VIEW OBT_AA.WIP_ICX_OSP_WORKBENCH_V compile;
    alter VIEW OBT_AA.WIP_BIS_PROD_VAL_EMP_V compile;
    alter VIEW OBT_AA.REQ_ENC_AEL_GL_V compile;
    alter VIEW OBT_AA.RCV_VIEW_INTERFACE_V compile;
    alter VIEW OBT_AA.RCV_MSH_V compile;
    alter VIEW OBT_AA.RCV_AEL_SL_MRC_V compile;
    alter VIEW OBT_AA.RCV_ENTER_RECEIPTS_INVENTORY_V compile;
    alter VIEW OBT_AA.RCV_AEL_SL_V compile;
    alter VIEW OBT_AA.RCV_ENTER_RECEIPTS_INT_REQ_V compile;
    alter VIEW OBT_AA.RCV_AEL_GL_V compile;
    alter VIEW OBT_AA.PSA_REQ_ENC_GL_BC_V compile;
    alter VIEW OBT_AA.PO_REQEXPRESS_LINES_V compile;
    alter VIEW OBT_AA.PO_RFQ_HEADERS_PRINT compile;
    alter VIEW OBT_AA.PO_REQS_IN_TRANSIT_ALL_V compile;
    alter VIEW OBT_AA.PO_NOTIFICATION_DETAILS_V compile;
    alter VIEW OBT_AA.PO_HEADERS_PRINT compile;
    alter VIEW OBT_AA.PO_HEADERS_CHANGE_PRINT compile;
    alter VIEW OBT_AA.ITG_UPDEL_LINES_V compile;
    alter VIEW OBT_AA.ITG_UPDEL_HEADERS_V compile;
    alter VIEW OBT_AA.ITG_SP_REL_PART_SOLDTO_V compile;
    alter VIEW OBT_AA.ITG_SP_REL_LINE_PART_SHIPTO_V compile;
    alter VIEW OBT_AA.ITG_SP_REL_LINE_DIST_V compile;
    alter VIEW OBT_AA.ITG_SP_PO_PART_SOLDTO_V compile;
    alter VIEW OBT_AA.ITG_SP_PO_LINE_PART_SHIPTO_V compile;
    alter VIEW OBT_AA.ITG_SP_PO_LINE_DIST_V compile;
    alter VIEW OBT_AA.ITG_REQ_LINES_V compile;
    alter VIEW OBT_AA.ITG_REQ_HEADERS_V compile;
    alter VIEW OBT_AA.ITG_PO_LINE_LOC_ARCH_V compile;
    alter VIEW OBT_AA.ITG_PO_HEADER_ARCH_V compile;
    alter VIEW OBT_AA.ITG_PO_DISTRBN_ARCH_V compile;
    alter VIEW OBT_AA.INVFV_MOVEMENT_STATISTICS compile;
    alter VIEW OBT_AA.IGI_MPP_SELECTED_INVOICES_V compile;
    alter VIEW OBT_AA.IGI_MPP_EXP_RECOGNITION compile;
    alter VIEW OBT_AA.IGI_MPP_AP_DIST_MERGE_V compile;
    alter VIEW OBT_AA.IGI_MPP_AP_INVOICES_MERGE_V compile;
    alter VIEW OBT_AA.IGI_EXP_AVAILABLE_TRX_V compile;
    alter VIEW OBT_AA.IGI_EXP_DU_LINES_V compile;
    alter VIEW OBT_AA.IGC_CC_HEADERS_V compile;
    alter VIEW OBT_AA.ICX_SHIP_SCHEDULE_HEADERS_V compile;
    alter VIEW OBT_AA.ICX_RECEIPT_HEADERS_V compile;
    alter VIEW OBT_AA.ICX_RCV_TRANSACTIONS_V compile;
    alter VIEW OBT_AA.ICX_RCV_RETURNS_V compile;
    alter VIEW OBT_AA.ICX_RCV_REJECTED_ITEMS_V compile;
    alter VIEW OBT_AA.ICX_RCV_EARLY_LATE_RECEIPTS_V compile;
    alter VIEW OBT_AA.ICX_RCV_ACCEPTED_ITEMS_V compile;
    alter VIEW OBT_AA.POS_ACK_SELECT_V compile;
    alter VIEW OBT_AA.POR_VIEW_REQS_BY_GROUP_V compile;
    alter VIEW OBT_AA.POR_VIEW_REQS_BY_APPROVER_V compile;
    alter VIEW OBT_AA.POR_RECEIVE_ORDERS_V compile;
    alter VIEW OBT_AA.POR_RCV_RETURN_TO_VENDOR_V compile;
    alter VIEW OBT_AA.POR_VIEW_LINE_DETAILS_V compile;
    alter VIEW OBT_AA.POR_LINES_ALL_V compile;
    alter VIEW OBT_AA.PN_PAYMENT_TERMS_V compile;
    alter VIEW OBT_AA.PN_PAYMENT_TERMS_HISTORY_V compile;
    alter VIEW OBT_AA.PN_EXP_PAYMENT_ITEMS_V compile;
    alter VIEW OBT_AA.PA_TXN_ACCUM_V compile;
    alter VIEW OBT_AA.PA_TEMPLATE_REQUIREMENTS_V compile;
    alter VIEW OBT_AA.PA_STATUS_EI_V compile;
    alter VIEW OBT_AA.PA_STATUS_PROJ_V compile;
    alter VIEW OBT_AA.PA_STATUS_PROJ_GENERIC_V compile;
    alter VIEW OBT_AA.PA_REV_BURDEN_DETAILS_V compile;
    alter VIEW OBT_AA.PA_SECURED_PROJECTS_V compile;
    alter VIEW OBT_AA.PA_REP_RES_SCHHRS_WKD_V compile;
    alter VIEW OBT_AA.PA_REP_REQT_DTS_V compile;
    alter VIEW OBT_AA.PA_REP_RES_SCHHRS_PAD_V compile;
    alter VIEW OBT_AA.PA_REP_RES_SCHHRS_GLD_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_WKD_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_WK_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_PA_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_PAD_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_GL_V compile;
    alter VIEW OBT_AA.PA_REP_PROJ_REQHRS_GLD_V compile;
    alter VIEW OBT_AA.PA_QUERY_RES_LIST_MEMBERS_V compile;
    alter VIEW OBT_AA.PA_PRVDR_CC_ORG_REL_V compile;
    alter VIEW OBT_AA.PA_PROJ_UNBILLED_EXPEND_VIEW compile;
    alter VIEW OBT_AA.PA_PROJ_PARTIES_PROG_EV_V compile;

  • Question on fragmentation and ALTER INDEX REBUILD/REORGANIZE not effecting it

    The problem I ran into was troubleshooting a sporadically slow singleton lookup on a Clustered Index in a table with about 8 million rows, which is a separate issue I may need to submit for help. That aside, during that troubleshooting I noticed fragmentation
    on the Unique Clustered Index (it's a VARCHAR(20)), and then noticed the fragmentation in other indexes on this table. See sys.dm_db_index_physical_stats and DBCC SHOWCONTIG results below.
    SELECT
     substring(OBJECT_NAME(i.object_id),1,30) AS TableName,
     substring(i.name,1,40) AS TableIndexName,
     i.index_id, phystat.index_level,
     phystat.avg_fragmentation_in_percent 
    FROM
     sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, 'DETAILED') phystat inner JOIN sys.indexes i 
    ON i.object_id = phystat.object_id 
    AND i.index_id = phystat.index_id WHERE
    OBJECT_NAME(i.object_id) = 'CONSUMERS'
    TableName                      TableIndexName                           index_id    index_level avg_fragmentation_in_percent
    CONSUMERS                      UNI2K_CONSUMERS                          1           0      
        0.154827346202469
    CONSUMERS                      UNI2K_CONSUMERS                          1           1      
        35.2941176470588
    CONSUMERS                      UNI2K_CONSUMERS                          1           2      
        0
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           0           0.336078590685822
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           1           100
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           2           0
    CONSUMERS                      UNI1K_CONSUMERS                          3           0      
        0.156451316031658
    CONSUMERS                      UNI1K_CONSUMERS                          3           1      
        61.1510791366906
    CONSUMERS                      UNI1K_CONSUMERS                          3           2      
        0
    CONSUMERS                      IDX1_CONSUMERS                           4           0      
        0.215271389144434
    CONSUMERS                      IDX1_CONSUMERS                           4           1      
        40
    CONSUMERS                      IDX1_CONSUMERS                           4           2      
        100
    CONSUMERS                      IDX1_CONSUMERS                           4           3      
        0
    CONSUMERS                      IDX2_CONSUMERS                           5           0      
        0.222614710968834
    CONSUMERS                      IDX2_CONSUMERS                           5           1      
        38.6281588447653
    CONSUMERS                      IDX2_CONSUMERS                           5           2      
        75
    CONSUMERS                      IDX2_CONSUMERS                           5           3      
        0
    (17 row(s) affected)
    DBCC SHOWCONTIG('CONSUMERS') WITH ALL_INDEXES
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 1, database ID: 5
    TABLE level scan performed.
    - Pages Scanned................................: 70401
    - Extents Scanned..............................: 8827
    - Extent Switches..............................: 8843
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.51% [8801:8844]
    - Logical Scan Fragmentation ..................: 0.15%
    - Extent Scan Fragmentation ...................: 23.76%
    - Avg. Bytes Free per Page.....................: 47.2
    - Avg. Page Density (full).....................: 99.42%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 2, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 27077
    - Extents Scanned..............................: 3402
    - Extent Switches..............................: 3402
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.47% [3385:3403]
    - Logical Scan Fragmentation ..................: 0.34%
    - Extent Scan Fragmentation ...................: 11.88%
    - Avg. Bytes Free per Page.....................: 24.1
    - Avg. Page Density (full).....................: 99.70%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 3, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 54330
    - Extents Scanned..............................: 6803
    - Extent Switches..............................: 6805
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.79% [6792:6806]
    - Logical Scan Fragmentation ..................: 0.16%
    - Extent Scan Fragmentation ...................: 7.03%
    - Avg. Bytes Free per Page.....................: 50.3
    - Avg. Page Density (full).....................: 99.38%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 4, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 54350
    - Extents Scanned..............................: 6808
    - Extent Switches..............................: 6837
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.36% [6794:6838]
    - Logical Scan Fragmentation ..................: 0.22%
    - Extent Scan Fragmentation ...................: 7.17%
    - Avg. Bytes Free per Page.....................: 53.2
    - Avg. Page Density (full).....................: 99.34%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 5, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 54354
    - Extents Scanned..............................: 6804
    - Extent Switches..............................: 6846
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.24% [6795:6847]
    - Logical Scan Fragmentation ..................: 0.22%
    - Extent Scan Fragmentation ...................: 7.13%
    - Avg. Bytes Free per Page.....................: 53.8
    - Avg. Page Density (full).....................: 99.33%
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    This fragmentation I found shocking because I reorg nightly and have a weekly rebuild task running that I set up through the Maintenance Plan wizard (which I've verified has been running). So I attempted to reorg these manually (especially index ID: 1)
    and to my shock the fragmentation % did not change at all. I then took the SQL provided by the Maintenance Plan for rebuilding the indexes and found that after running that it didn't change the fragementation % at all either (commands run shown below).
    ALTER INDEX [IDX1_CONSUMERS] ON [dbo].[CONSUMERS] REBUILD PARTITION = ALL WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, ONLINE = ON, SORT_IN_TEMPDB = ON )
    GO
    ALTER INDEX [IDX2_CONSUMERS] ON [dbo].[CONSUMERS] REBUILD PARTITION = ALL WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, ONLINE = ON, SORT_IN_TEMPDB = ON )
    GO
    ALTER INDEX [UNI1K_CONSUMERS] ON [dbo].[CONSUMERS] REBUILD PARTITION = ALL WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, IGNORE_DUP_KEY  = OFF, ONLINE = ON, SORT_IN_TEMPDB
    = ON )
    GO
    ALTER INDEX [UNI2K_CONSUMERS] ON [dbo].[CONSUMERS] REBUILD PARTITION = ALL WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, IGNORE_DUP_KEY  = OFF, ONLINE = ON, SORT_IN_TEMPDB
    = ON )
    GO
    Fragmentation did not change until I performed a "CREATE ... DROP_EXISTING = ON" on the 4 non PK indexes and a manual rebuild of Primary Key offline not specifying any other parameters, which all seemed completely overkill to ensure the defragmentation
    actually got done. Final sys.dm_db_index_physical_stats and DBCC SHOWCONTIG results below.
    SELECT
     substring(OBJECT_NAME(i.object_id),1,30) AS TableName,
     substring(i.name,1,40) AS TableIndexName,
     i.index_id, phystat.index_level,
     phystat.avg_fragmentation_in_percent 
    FROM
     sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, 'DETAILED') phystat inner JOIN sys.indexes i 
    ON i.object_id = phystat.object_id 
    AND i.index_id = phystat.index_id WHERE
    OBJECT_NAME(i.object_id) = 'CONSUMERS'
    TableName                      TableIndexName                           index_id    index_level avg_fragmentation_in_percent
    CONSUMERS                      UNI2K_CONSUMERS                          1           0      
        0.0213458562356583
    CONSUMERS                      UNI2K_CONSUMERS                          1           1      
        11.2426035502959
    CONSUMERS                      UNI2K_CONSUMERS                          1           2      
        0
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           0           0.0460971112476951
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           1           14.2857142857143
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           2           0
    CONSUMERS                      UNI1K_CONSUMERS                          3           0      
        0.0225314031431307
    CONSUMERS                      UNI1K_CONSUMERS                          3           1      
        10.6194690265487
    CONSUMERS                      UNI1K_CONSUMERS                          3           2      
        0
    CONSUMERS                      IDX1_CONSUMERS                           4           0      
        0.0225318262045139
    CONSUMERS                      IDX1_CONSUMERS                           4           1      
        10.7296137339056
    CONSUMERS                      IDX1_CONSUMERS                           4           2      
        0
    CONSUMERS                      IDX1_CONSUMERS                           4           3      
        0
    CONSUMERS                      IDX2_CONSUMERS                           5           0      
        0.0225314031431307
    CONSUMERS                      IDX2_CONSUMERS                           5           1      
        12.0171673819742
    CONSUMERS                      IDX2_CONSUMERS                           5           2      
        0
    CONSUMERS                      IDX2_CONSUMERS                           5           3      
        0
    (17 row(s) affected)
    DBCC SHOWCONTIG('CONSUMERS') WITH ALL_INDEXES
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 1, database ID: 5
    TABLE level scan performed.
    - Pages Scanned................................: 56217
    - Extents Scanned..............................: 7029
    - Extent Switches..............................: 7028
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.99% [7028:7029]
    - Logical Scan Fragmentation ..................: 0.02%
    - Extent Scan Fragmentation ...................: 0.44%
    - Avg. Bytes Free per Page.....................: 32.4
    - Avg. Page Density (full).....................: 99.60%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 2, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 26032
    - Extents Scanned..............................: 3256
    - Extent Switches..............................: 3255
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.94% [3254:3256]
    - Logical Scan Fragmentation ..................: 0.05%
    - Extent Scan Fragmentation ...................: 0.31%
    - Avg. Bytes Free per Page.....................: 11.1
    - Avg. Page Density (full).....................: 99.86%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 3, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 53259
    - Extents Scanned..............................: 6659
    - Extent Switches..............................: 6658
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.98% [6658:6659]
    - Logical Scan Fragmentation ..................: 0.02%
    - Extent Scan Fragmentation ...................: 0.35%
    - Avg. Bytes Free per Page.....................: 40.5
    - Avg. Page Density (full).....................: 99.50%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 4, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 53258
    - Extents Scanned..............................: 6659
    - Extent Switches..............................: 6658
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.98% [6658:6659]
    - Logical Scan Fragmentation ..................: 0.02%
    - Extent Scan Fragmentation ...................: 0.53%
    - Avg. Bytes Free per Page.....................: 40.3
    - Avg. Page Density (full).....................: 99.50%
    DBCC SHOWCONTIG scanning 'CONSUMERS' table...
    Table: 'CONSUMERS' (645577338); index ID: 5, database ID: 5
    LEAF level scan performed.
    - Pages Scanned................................: 53259
    - Extents Scanned..............................: 6659
    - Extent Switches..............................: 6658
    - Avg. Pages per Extent........................: 8.0
    - Scan Density [Best Count:Actual Count].......: 99.98% [6658:6659]
    - Logical Scan Fragmentation ..................: 0.02%
    - Extent Scan Fragmentation ...................: 0.59%
    - Avg. Bytes Free per Page.....................: 40.5
    - Avg. Page Density (full).....................: 99.50%
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    For the record, here's the version I'm running:
    select @@VERSION
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) 
     Jun 17 2011 00:54:03 
     Copyright (c) Microsoft Corporation
     Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    In summary my question is - why didn't ALTER INDEX ... REBUILD/REORGANIZE modify the index_level 1 fragmentation as reported by sys.dm_db_index_physical_stats, nor would it correct the Extent Scan Fragmentation as reported by DBCC SHOWCONTIG?

    Hi Brian.cs ,
    SQL Server will not rebuild indexes that are not large enough. Could you please have a look a the
    fragment_count which is  one of the fields in the
    sys.dm_db_index_physical_stats view to check whether it is low or not ?
    Best Regards,
    Peja
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Peja, here's the information you requested, and of course this was after I dropped/recreated because rebuild didn't seem to actually address the fragmentation - the index I was most concerned about at index_level = 0 showed a fragment_count = 8922. FYI this
    table has over 8 million rows. And apologies for the delayed response, was on vacation over the near year.
    SELECT
     substring(OBJECT_NAME(i.object_id),1,30) AS TableName,
     substring(i.name,1,40) AS TableIndexName,
     i.index_id, phystat.index_level,
     phystat.avg_fragmentation_in_percent, fragment_count 
    FROM
     sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, 'DETAILED') phystat inner JOIN sys.indexes i 
    ON i.object_id = phystat.object_id 
    AND i.index_id = phystat.index_id WHERE
    OBJECT_NAME(i.object_id) = 'CONSUMERS'
    TableName                      TableIndexName                           index_id    index_level avg_fragmentation_in_percent
    fragment_count
    CONSUMERS                      UNI2K_CONSUMERS                          1           0        
      0.259780818806428            8922
    CONSUMERS                      UNI2K_CONSUMERS                          1           1        
      39.4190871369295             86
    CONSUMERS                      UNI2K_CONSUMERS                          1           2        
      0                            1
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           0           0.240887634434766    
           5182
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           1           80.3738317757009    
            84
    CONSUMERS                      PK__CONSUMER__7F6B0B8B286302EC           2           2           0          
                     1
    CONSUMERS                      UNI1K_CONSUMERS                          3           0        
      0.0661472879611936           8532
    CONSUMERS                      UNI1K_CONSUMERS                          3           1        
      53.4883720930233             86
    CONSUMERS                      UNI1K_CONSUMERS                          3           2        
      0                            1
    CONSUMERS                      IDX1_CONSUMERS                           4           0        
      0.192426334498663            8598
    CONSUMERS                      IDX1_CONSUMERS                           4           1        
      31.5315315315315             95
    CONSUMERS                      IDX1_CONSUMERS                           4           2        
      85.7142857142857             7
    CONSUMERS                      IDX1_CONSUMERS                           4           3        
      0                            1
    CONSUMERS                      IDX2_CONSUMERS                           5           0        
      0.189494094835184            8613
    CONSUMERS                      IDX2_CONSUMERS                           5           1        
      31.8840579710145             97
    CONSUMERS                      IDX2_CONSUMERS                           5           2        
      85.7142857142857             7
    CONSUMERS                      IDX2_CONSUMERS                           5           3        
      0                            1

  • What is the option of 'parallel' do in alter index.. ?

    In the alter index command the option of parallel is there ?
    alter index <indexname> parallel <integer>
    What exactly does it do ?
    PARALLEL integer : Specification of integer indicates the degree of parallelism,
    which is the number of parallel threads used in the parallel operation. Each parallel thread may use one or two parallel execution servers. Normally Oracle calculates the optimum degree of parallelism, so it is not necessary for you to specify integer.

    Parallel clause if used allows one to break-up a given SQL statement so that its parts can run simultaneously on different processors in a multi-processor machine. Uisng parallel while rebuilding indexes is a good option to fasten up things.But this parallelism should be change back to noparallel or to degree 1(both are same) after rebuilding.When you use parallel clause you can check in the V$session view , many (P000,P001,P002 etc) processes get started, to fasten the query. You can go through through the below link which would be helpful for you.
    Link: [http://www.orafaq.com/faqopq.htm#PERF]
    Re: Parallel degree for index
    HTH
    Anand

  • How to find the Invalid Pll after applying a Pacth

    Hi,
    How to find the Invalid Pll after applying a Pacth
    Thanks & Regards
    Sivaraman.G

    You can get the list of PLL files from the patch log file.
    To determine the invalid objects you have in the database, run the following:
    SQL> select owner, object_name, object_type
    from dba_objects
    where status = 'INVALID';To get the list of invalid packages:
    SQL> select owner, object_name, object_type
    from dba_objects
    where status = 'INVALID'
    and object_type like 'PACKAGE%';To compile invalid packages, issue the following:
    SQL> alter package <package name> compile; (to compile package header)
    SQL> alter package <package name> compile body; (to compile package body)

  • 'alter index rebuild' paralellism problem

    Hi,
    I have this problem described in example. I am using interMedia Text version 8.1.7 on Win32 platform ,
    Imagine two tables with the same structure, but in first there are big pdf files(size more than 1MB, lot of files) and in the second there are small files(less than 10KB, imagine few files).
    There are same preferences used for indexing( file_datastore, inso_filter..).
    If I run the alter index for first table, it usually takes long time. Than if I run the alter index for the second table, it always begin after the first will finish.
    Other combination work correctly :
    Running create index for first table and create index for second is done paralelly, runnig combination of create index and alter index (no matter for which table) is done paralelly too.
    The only problem is with runnig two alter indexes at the same time.
    The problem is about to index around 100 GB of documents by small steps - documents are added and indexed using alter index. Using create index is not possible, because whole system is backed up and switched off during night.
    So indexing process is interrupted.
    Thanks for every reply..
    Milan

    Please put your question in the Oracel text forumn for a quicker, more expert answer.

  • Alter index rebuild with online option

    I created a spatial index with the following statement:
    SQL> create index A3_IX1_A on A67(GEOMETRIE) indextype is mdsys.spatial_index parameters ('sdo_non_leaf_tbl=TRUE; sdo_dml_batch_size =
    2 1000');
    I want to rebuild the index with the next statement:
    SQL> alter index ttnl.A3_IX1_A rebuild online parameters ('index_status=cleanup;sdo_dml_batch_size=1000');
    the result is the next error message:
    alter index ttnl.A3_IX1_A rebuild online parameters ('index_status=cleanup;sdo_dml_batch_size=1000')
    ERROR at line 1:
    ORA-29871: invalid alter option for a domain index
    Can some one help me?

    Hi,
    This is only supported in the next release (11.x).
    In the release upto 10.2, this functionality is not supported for Spatial indexes.
    siva
    Message was edited by:
    sravada

  • Alter index ... rebuild was failing - getting corrupt blocks

    Database: 9.2.0.5
    OS: HPUX-ia64
    Hello,
    i rebuilded a index, announced from UpdatStats in DB13, and get a ORA-01114: IO error writing block to file 2045 (block # 319154) and
    ORA-27072: skgfdisp: I/O error in my sqlplus session.
    -> i do a alter index SAPR3."xxx~0" rebuild online parallel 4 nologging;
    -> System was up and running
    After that, the DBVerify marked some blocks corrupt, here one example:
    BR0398E DBVERIFY detected corrupted blocks in /oracle/XXX/sapdata22/btabi_95/btabi.data95
    We checked all corrupted blocks - all in free space.
    So we fixed that with creating a table with next extend size from the corrupted blocksize.
    I think we had not enough space in the tablespace where the index is, okay ... and what we also found, the PSAPTEMP datafiles was created as SPARSE files ...!!
    -> PSAPTEMP-Datafile: 10GB in the System - 2,5GB maximum on OS-Level, no more space.
    But my question is why i am getting corrupt blocks when a "alter index ... rebuild ..." is failing ?!?!
    Thank you for your support.
    Regards,
    Markus
    Edited by: Markus Dinkel on Oct 9, 2008 12:56 PM
    Edited by: Markus Dinkel on Oct 9, 2008 12:56 PM
    Edited by: Markus Dinkel on Oct 9, 2008 12:59 PM

    Thany you for the answer.
    I cant find any "cor" entries in the last DBVeriy log.
    I think (hope) we dont' have anymore corrupted blocks in the system.
    We get a response from SAP to update to 9.2.0.8.
    My customer wanna do a update to oracle 10 in march/april 2009, so he send me the question if we need a update to 9.2.0.8 ASAP or can we wait for the update to oralce10.
    But the important question from my customer and me is, why we get corrupt blocks after failing the alter index rebuild?
    Regards,
    Markus

  • Can any body explain me this query?   select 'alter index '||index_name||' monitoring usage' as index_monitor from user_indexes where index_name='EMP';

    Initially i've a put an index of emp table in monitoring state..
    later i've got this query
    select 'alter index '||index_name||' monitoring usage' as index_monitor from user_indexes where index_name='EMP';
    can any body explain me what is the meaning of this query...
    and how do that query in the strings of projection area works....
    i'm totally confused
    thank you in advance.

    This is referred to as SQL generating SQL.  It is most useful when you  need to generate SQL statements for all indexes or indexes for one user.  After generating the text you then would execute it in SQLPlus or the tool of your choice.  If you combine this with a spool statement, SPOOL MyGeneratedScript.SQL you can run it with @MyGeneratedScript in SQLPlus.  I combine this into a script which generates the file, calls the editor so you can look it over and then executes it.  Here is an example of moving indexes to a different tablespace.
    -- UTL_Move_Indexs_To_New_TableSpace_Script.SQL
    /* This script will grab all the tables out of the specified source tablespace
    ** and move them into the specified target tablespace.  Ensure the the target
    ** exists and has sufficient room.  You must be logged in as the table owner.
    ACCEPT v_source_tablespace_name PROMPT 'Enter source tablespace name: '
    ACCEPT v_target_tablespace_name PROMPT 'Enter target tablespace name: '
    SET HEADING OFF
    SET FEEDBACK OFF
    SET TERMOUT OFF
    SET ECHO OFF
    SPOOL _move_index.SQL
    SELECT    'ALTER INDEX '
           || ndx.owner
           || '.'
           || ndx.index_name
           || CHR (10)
           || 'REBUILD '
           || CHR (10)
           || 'TABLESPACE '
           || UPPER ('&v_target_tablespace_name')
           || ';'
             sql_statement
    FROM   dba_indexes ndx
    WHERE      ndx.tablespace_name = UPPER ('&v_source_tablespace_name')
           AND ndx.index_type <> 'LOB'
    ORDER BY ndx.owner,
             ndx.index_name;
    SPOOL OFF
    --Edit the move script
    EDIT _move_index
    --Reset parameters.
    SET TERMOUT ON
    PAUSE Hit Ctrl+C to ABORT, any key to CONTINUE,
    -- Run the move script
    SPOOL  Move_Indexs_To_New_TableSpace.LOG
    @_move_index
    SPOOL OFF
    --Reset parameters.
    SET TERMOUT on
    SET FEEDBACK on
    SET HEADING on
    Marcus Baocn

  • Altering index unuseable from a different schema.

    I'm sure I'm overlooking something.
    I was recently tasked with taking an existing ETL process that was in several different schemas and centralize it so the controlling procedures and functions are all in one schema, and the tables that are being loaded are in various schemas.
    We're using a dirrect load, with insert (/* append*/) which is much fast than any other method we've found to load the tables. The trouble I'm having is in disabling the indexes. It's used to be that the procedure that altered the indexes was owned by the same schema that owned the indexes. That was working fine.
    So,
    Schema 'A' owns the table and indexes.
    Schema 'B' owns the procedure that will alter the indexes to set them to unuseable.
    Schema B has been granted GRANT ALTER, INSERT, SELECT, UPDATE, DELETE to all tables in Schema 'A'
    I am logged in a Schema 'B' and I run the following command...
    ALTER INDEX A.PROC_DETAILS_ENC_ID_IDX UNUSABLE
    I get ....
    Index altered.
    However if I run the same thing in a function, I get ...
    ORA-01418: specified index does not exist
    That seems odd to me that I can run it from toad, but not in a function?

    user12221955 wrote:
    That seems odd to me that I can run it from toad, but not in a function?Check role-based vs direct grant privileges. PL/SQL does not like role-based privileges and tends to ignore them while running. Directly granted privileges are not so affected. Directly grant the privileges you want to the PL/SQL procedure owner.

  • Altering index command fails - because of ~ and ^ in index

    I have this weird issue when wanting to use a alter index command .  see below.  I cannot get it to work.  Please help.
    db2 -tvf another.sql
    connect to dbe
       Database Connection Information
    Database server        = DB2/AIX64 9.7.4
    SQL authorization ID   = DB2DBE
    Local database alias   = DBE
    ALTER INDEX "SAPDBE  "."SLGSK~0" COMPRESSION YES
    DB21034E  The command was processed as an SQL statement because it was not a
    valid Command Line Processor command.  During SQL processing it returned:
    SQL0104N  An unexpected token "COMPRESSION" was found following ""SAPDBE
    "."SLGSK~0"".  Expected tokens may include:  "COMPRESS".  SQLSTATE=42601

    Hi Anke,
    I think in this case, it is not related to the Index name.
    Try COMPRESS YES   .. instead of COMPRESSION YES.
    Hans-Juergen
    Edited by: Hans-Juergen Zeltwanger on Dec 8, 2011 12:09 AM

  • How to compile invalid object after 10.2.0.2 to 10.2.0.5 upgrade in EBS R12

    Hi,
    We have total 31000 invalid object after 10.2.0.2 to 10.2.0.5 upgrade in EBS R12. How we compile these objects?

    Ashish,
    if you are seeing PLS-00801: internal error [1041] when trying to compile a package that is invalid, you may need to run utlirp.sql against the instance and then the utlrp.sql script. You need to pay attention to the manner in which you run these scripts. To run the utlirp.sql script you need to:
    shutdown the instance
    restart instance in upgrade mode
    startup upgrade
    run the utlirp.sql script @utlirp or @?/rdbms/admin/utlirp
    shutdown the instance and restart normally
    run utlrp.sql @utlrp or @?/rdbms/admin/utlrp
    If you are running an auto-config instance, you can source the db environment, optionally switch to the $ORACLE_HOME/rdbms/admin folder and shutdown the instance:
    sqlplus 'as /sysdba'
    shutdown immediate
    startup upgrade;
    @utilrp
    shutdown
    startup
    @utlrp
    After compiling everything, I would shutdown the instance using the ./addbctl stop script and then restart it. As stated elsewhere, it can take time to compile the invalids--many hours in some cases. The utlirp.sql script may run for quite awhile before it completes since it is invalidating objects.
    Please make sure you read up on utlirp.sql and PLS-00801 if that's what you are encountering.
    Riley

  • Change next clause (alter index)

    Hello,
    We've an index created with a too much next value and we want to decrease it.
    Is there any wait to do it different to rebuild?
    Thanks in advance for your help.
    Regards,
    Carles

    Yes you can do with rebuild:
    ALTER INDEX indexname REBUILD storage(next 1m);
    Note: if the index resides in LMT with auto or uniform extent allocation, it will take tablespace default next extent size, rather the specified one.
    Jaffar

Maybe you are looking for

  • Just bought iTunes song and can't make a ring tone..??..

    I just bought a .99 cent iTunes song and when I right click on the song in iTunes it tells me that "This song cannot be made into a ringtone" "This ensemble can no longer be made into a ringtone" Anyone know or had this problem before? I only bought

  • ITunes album art screen saver

    Hi, recently when I use my iTunes album art work as a screen saver the albums have a purple tint to them. It hasn't always been like that so if anyone could help it would be greatly appreciated.

  • Usage Decision : Mov 102

    Hello. When i do an usage decision in inspection lot,  can i do movement 102 to return goods. ? I have a problem: when i receive goods from vendor, and i do migo to enter goods.. In QM will generate inspection lot. But after, the employes review good

  • Can't open outlook: error shows library is missing?

    My outlook disappeared from the doc. Anyone tell me why this happened, and how to fix? I went to launchpad and tried to pull the outlook icon to the doc. Instead, an error message came up (no number) that says, there is a message that says, Outlook c

  • Lightroom 4 and Topaz Labs

    I am able to see fusion express in the drop down under "Edit In", but not able to open. Does LR4 support Topaz Labs? Thanks, Jan Gemeinhardt