Missing Index issue.

Dears,
I am getting following error in DB02 in Missing index option.
Missing indexes. Check of 19.07.2008 07:04:31
       Indexes missing in the database
           Primary indexes                  1
               ZRECEIPTS-0
           Secondary indexes                6
               BSIS-ZCH
               BSIS-ZGL
               EKBE-M01
               GLPCA-BL
               MBEW-ZMK
               ZCND-CD
Please suggest how to resolve this issue.
Deepak

Hi,
I created Indexes maually but in one index its showing:
Request: Create Index ZCND-CD (ANKITG/19.07.08/10:19)
Process: MSLDEV_1
sql:
CREATE UNIQUE INDEX "ZCND~CD" ON "ZCND"
("MANDT",
"STATS")
PCTFREE 10
INITRANS 002
TABLESPACE PSAPDS1
STORAGE (INITIAL 0000000016 K
NEXT 0000000016 K
MINEXTENTS 0000000001
MAXEXTENTS UNLIMITED
PCTINCREASE 0000
FREELISTS 001)
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
DDL time(___1): ........43 milliseconds
The SQL statement was not executed
Index   could not be created completely in the database
Index ZCND-CD could not be created
Request for ZCND could not be executed
Please suggest.
Deepak

Similar Messages

  • Missing indexes after system copy

    Hi All
    we have around 70,000 missing indexes after the system copy
    offline export from
    source with sun solaris oracle
    To 
    Linux oracle
    but these appeared after we Run  SGEN , which took 60 hours for a 200 Gb database.
    and target system response is also slow , how to go ahead with this issue
    we have checked export and import logs , none of the packages were missed
    1 Why these missing indexes after SGEN , and why SGEN for 60 hours
    2  when we check the Tables which appeared in Missing indexes ,from SE14  it says In Consistency with Data dictionary
    3  and the other error , is  Index Missing in the database ,
    4  but we cant create all these manually.
    Regards

    Hi Matt
    Thanks for the response
    After sap suggestion  , we have done only import again, with 721 R3load same as export.
    but still the R3load.exe.log of import shows as done with 720 kernel.
    import R3load.exe log       //bas/720_REL/src/R3ld/R3load/R3ldmain.c#
    export R3load.exe log     //bas/721_REL/src/R3ld/R3load/R3ldmain.c#10 $ SAP
    But when we compare  the sapinst_dev and AGR logs both from export and import
    both are referring the same 721 R3load version ,
    //bas/721_REL/src/R3ld/R3load/R3ldmain.c
    still we have same missing indexes issue , after we did the import again.
    Are we making any mistakes in export  , Any suggestions are welcome
    hi all , kindly respond with your inputs , on this
    Regards

  • Missing Index for /BI0/A*

    My system has missing Indexes for
    /BI0/ABP_ID40-0
    /BI0/ABP_REL40-0
    /BI0/AFORM_DS140-0
    /BI0/AGN_CONV40-0
    /BI0/APERS_BOD40-0
    /BI0/APERS_VAR40-0
    /BI0/APERS_WTE40-0
    /BI0/ATCA_DS0140-0
    /BI0/ATCA_DS0240-0
    /BI0/ATCA_DS0340-0
    /BI0/ATCA_DS0440-0
    /BI0/ATCA_DS0540-0
    /BIC/AEFIO99AT40-0
    I ran a a program SAP_INFOCUBE_INDEXES_REPAIR which fixed my secondary Indexes. But the primary indexes doesn't work.
    What can I do to resolve this issue
    Regards
    Naziem Mahomed

    Hi,
    these looks like active tables of ODS/DSOs...
    You position you cursor on the missing object in DB02 and hit the create in DB button; better choose in background.
    Note that they will remain showing missing in DB02 until statistics are refreshed...
    After the background jobs are completed hit the dsplay definition button; you will be lead to the SE14 screen for this IDX; it should say that the index exists in the DB;
    Tomorrow your DB02 screen should be updated...
    hope this helps...
    Olivier.

  • DB statistic missing & Missing index for critical tables  after TDM refresh

    Hello SAP expert,
    We have completed our refresh using TDM, but after the refresh we encounter problem at the receiver system,
    Issue Encounter
    1. System too slow
    2. When running tcode it resulted to time_out dump
    3. Db statistics are missing
    4. missing index for critical tables
    Appreciate your help. How can we check tdm log if the data transfer really transferred or completed succesfuly.
    Thanks

    Thanks for your reply.
    We are looking the possible root cause of the issue, everything is fine in the target system before the refresh even the DB statistics update job is working fine before the refresh.
    is there a way we could find logs or report from tdms server if there something happen during the execution of the tdm jobs or data selection and transfer. as we only find logs of the latest run. let say we execute the data transfer 4 times where we could find a report or logs stating the error or execution logs from the 2nd or on 3rd run?
    thanks

  • Can not create missing index

    Dear all,
    This is about a  BW 3.5 system running Oracle 10.2.0.2 on Solaris 10
    After an online database reorganisation, I receive these messages in db13
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C02
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C05
    According to the logs, the tables above have been reorganised successfully.
    I see the missing indexes in db02 under Missing Indexes:
    Secondary indexes               13 
        /BI0/F0BWTC_C02-070            
        /BI0/F0BWTC_C02-060            
        /BI0/F0BWTC_C02-050            
        /BI0/F0BWTC_C02-040            
        /BI0/F0BWTC_C02-020            
        /BI0/F0BWTC_C02-010            
        /BI0/F0BWTC_C05-070            
        /BI0/F0BWTC_C05-060            
        /BI0/F0BWTC_C05-050            
        /BI0/F0BWTC_C05-040            
        /BI0/F0BWTC_C05-020            
        /BI0/F0BWTC_C05-010            
        /BIC/FZ_CPLN_00-900            
    If I try to select one and click on create in db, I get a short dump
    Runtime Error          RAISE_EXCEPTION                                                
    Date and Time          23.08.2007 11:12:13                                                                               
    ShrtText                                                                               
    Exception condition "STORAGE_NOT_DETERMINATED" raised.                                                                               
    What happened?                                                                       
         The current ABAP/4 program encountered an unexpected                             
         situation.                                                                               
    What can you do?                                                                     
         Print out the error message (using the "Print" function)                         
         and make a note of the actions and input that caused the                         
         error.                                                                               
    To resolve the problem, contact your SAP system administrator.                   
         You can use transaction ST22 (ABAP Dump Analysis) to view and administer         
          termination messages, especially those beyond their normal deletion             
         date.                                                                               
    is especially useful if you want to keep a particular message.                                                                               
    Error analysis                                                                       
         A RAISE statement in the program "SAPLSDB2" raised the exception                 
         condition "STORAGE_NOT_DETERMINATED".                                            
         Since the exception was not intercepted by a superior program                    
         in the hierarchy, processing was terminated.                                                                               
    173   else.                                                                      
    174      storage_source_hierarchy-dbr = 'X'.                                     
    175   endif.                                                                     
    176   storage_source_hierarchy-cmt = 'X'.                                        
    177   storage_source_hierarchy-cmp = 'X'.                                        
    178   if dbtabname ne space and dbtabname ne tabname.                            
    179     perform shdupg_get_index_storage tables storpar                          
    180             using dbsys prid tabname indexname storage_source_hierarchy      
    181                   dbindex_of_origtable dbprimindex_of_origtable              
    182             changing rc.                                                     
    183   else.                                                                      
    184     call function 'DB_STORAGE_GET'                                           
    185          exporting                                                           
    186               dbsys                = dbsys                                   
    187               prid                 = prid                                    
    188               tabname              = tabname                                 
    189               indexname            = indexname                               
    190               dbindex              = realname                                
    191               dbrefindex           = name_of_primidx                         
    192               source_hierarchy     = storage_source_hierarchy                
    193          tables                                                              
    194               storpar              = storpar                                 
    195          exceptions                                                          
    196               mapping_error        = 1                                       
    197               db_error             = 2                                       
    198               uncomplete_parameter = 3                                       
    199               others               = 4.                                      
    200     rc = sy-subrc.                                                           
    201   endif.                                                                     
    202   if rc ne 0.                                                                
    >>>>     raise storage_not_determinated.                                          
    204   endif.                                                                
    205                                                                         
    206 * Progamm generieren                                                    
    207   perform db_get_progname using 'SDB2F' dbsys changing sdb2fdbs.        
    208   refresh statements.                                                   
    209   perform gen_create_index in program (sdb2fdbs)                        
    210           tables ddfldnames storpar loc_stmt                            
    211           using  tabname indexname realname unique dbsys rc.            
    212   if rc <> 0.                                                           
    213 *KUGL-protocol-270694                                                   
    214     perform stdo_sam1                                                   
    215        using prid max_severity msgid '122' realname.                    
    216     raise program_not_generated.                                        
    217   endif.                                                                
    218   statements[] = loc_stmt[].                                            
    219                                                                         
    220   perform create_index_finish tables loc_stmt                           
    221                           using  tabname realname dbsys no_exec  rc.    
    222  if rc <> 0. raise program_not_generated. endif.                        
    Any ideas?
    Many thanks
    Andreas

    Hi,
    Please check following note:
    Note 703304.
    You may have to import correction against your release.
    Regards,
    Payal Patel

  • Missing Indexes in Database

    Hi,
    In tcode DB02, when seeing database statistics, i found that there were some missing indexes in database. ie., for some tables there are no indexes created.
    Please tell me whether we need to create indexes or not. Is there any serious effect of a table not having any index?
    Please suggest me a good solution for this.
    Thanks,
    Sailesh K

    Not necessarily.  You must decide if an index will assist in making a table scan faster. FULL table scans indicate that an index is not available.  Creating an index in this case, will improve preformance and prevent full table scans from occuring.
    Also, check oracle to see if the index exists.  Somestimes the Data Dictionary is unaware of the index due to how it ws created.
    In summary missing indexes are not a problem.  FULL table scans are problems and require new indexes to be created for performance reasons.
    Hope this helps.

  • Missing index problem

    Hi Gurus!
    I have a critical problem to solve.
    I have a table without data which is inconsistent because it doesn't have the primary index. When i see missing indexes at DB02, the system tells me that the index is created, but when i go to SE14 and select the primary index, it says the index does not exists on the database and the only option that is active is the one to create the index. If I try to create the index, i get an error saying: there is already a  an object named 'zmed_distr~0' ( my index name ).
    Can anybody help me?
    Thank you in advance.

    the tsystem does'nt create the index and give me this log:
    Request: Create Index ZMED_DISTR-0 (FORM05/11.12.07/19:06)                                                                        
    Process: BLADE04_0                                                                               
    sql:                                                                               
    ALTER TABLE [ZMED_DISTR]                                                                               
    ADD CONSTRAINT [ZMED_DISTR~0]                                                                               
    PRIMARY KEY CLUSTERED                                                                               
    ( [MANDT] ,                                                                               
    [ZUONR] ,                                                                               
    [GJAHR] ,                                                                               
    [KUNNR] ,                                                                               
    [ESTAB] ,                                                                               
    [TXT20] ,                                                                               
    [REPS] )                                                                               
    There is already an object named 'ZMED_DISTR~0' in the database.Could                                                             
    not create constraint. See previous errors.                                                                               
    DDL time(___1): .........3 milliseconds                                                                               
    The SQL statement was not executed                                                                               
    Index   could not be created completely in the database                                                                           
    Index ZMED_DISTR-0 could not be created                                                                               
    Request for ZMED_DISTR could not be executed

  • In - DB13 - warnings for missing indexes

    Hi
    I've noticed in the results of the DBCHECK job in DB13 that we have a number of warnings for missing indexes.
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/PCOSTELMNT
    The strange thing is that no missing indexes are picked up be DB02. In SE11 these tables cannot be found. Checked at Oracle level and the tables exist but the indexes do not.
    Does anyone know if these tables should have indexes?
    If so what would be the best way to create these?
    Thanks & Regards
    Shishir

    In DB02 they are probably showing under 'Optional Indexes' under 'not created'

  • Check Missing Indexes

    Hi All,
    We have a Database with many tables using foreign keys. Some of my queries from coldfusion are slow. We are using 11g version.
    It's a way to check for missing indexes?
    I would like to help the database to perform better, I know this is a huge topic but as new in oracle I need to start somewhere.
    Any links or comments will be appreciate it.
    Regards
    Johnny

    i have created a two step process for finding which Foreign key is not indexed
    1. create a table having the ddl of all indexes
    CREATE TABLE INDEX_TXT_TBD AS
    SELECT DBMS_METADATA.GET_DDL('INDEX',INDEX_NAME) TXT FROM USER_INDEXES WHERE INDEX_TYPE='NORMAL' AND INSTR(INDEX_NAME,'$') = 0
    2. create a table which will tell the tablename, columnname (FK) who are not indexed
    CREATE TABLE INDEX_TBD AS
    select distinct
         user_cons_columns.TABLE_NAME,
         user_cons_columns.COLUMN_NAME
    from
         user_cons_columns,
         user_constraints,
         INDEX_TXT_TBD,
    where
         user_constraints.CONSTRAINT_NAME=user_cons_columns.CONSTRAINT_NAME
         and CONSTRAINT_TYPE='R'
         AND INSTR(TXT,'"' || user_cons_columns.TABLE_NAME || '" ("' || user_cons_columns.COLUMN_NAME || '")') = 0

  • Creating Missing Indexes

    I find a missing Index when I do Database check
    This is the error message:
    "BR970W Database administration alert - level: ERROR, type: MISSING_INDEXES, object: (table) SAPR3.ZGMM0015"
    I executed Trx. DB02 - Missing Indexes - there I find
      --> Index missing under database
        --> primary index - 1
          --> Z..... --> I selected this and clicked on "Create in DB".
       Then it pops up a dialog box asking options like Online, Background .... (can I create this Index online)
       from here what I needs to do.     
    Gurus can some one guide me.
    Thanks in advance

    Looks like index is missing for the table.. When you get options like online, background, you may use online. It does not hamper the system.

  • Missing Index there Unknown indexes in ABAP Dictionary in DB02

    Dear All,
    I am getting error in T-code DB02 >Missing Index there Unknown indexes in ABAP Dictionary.
    Please  find the following details. 
    Unknown indexes in ABAP Dictionary
        DB indexes                      11
            MARA_MEINS
            MARA_ZER
            MCHA_VFDAT
            VBRP_ARKTX
            VBRP_CHARG
            VBRP_FKIMG
            VBRP_KZWI1
            VBRP_MATKL
            VBRP_MATNR
            VBRP_SPART
            VBRP_WERKS
    Please suggest how to correct them and can caution we have to take before creating the
    Index.
    The process creating the index form se11 table and there index>database utility and than create .The same process can be use .
    Regards,

    Hi,
    Please use the below procdure:
    - Goto transaction SE11
    - Enter table name and press view
    - Click button "Indexes..."
    Please alse check with the below links for more information.
    Index:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm
    Creating Secondary Index
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/1c/252640632cec01e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c7/55833c4f3e092de10000000a114027/frameset.htm
    Check with this also......[click here|Steps for creating a database index;.
    With Regards,
    Krishna.

  • Missing Indexes to be Repaired

    BW Gurus Please Advise on the Steps to repair missing Indexes via tc DB02

    Hi; I went to 1.tc db02> Diagnostics> Missing Tables and Indexes.
    The errors is this :
    " /BI0/HACN_EANUPC-PAR
    /BI0/HBPARTNER-PAR
    /BI0/HCOUNTRY-PAR
    /BI0/HCRM_PROD-PAR
    /BI0/HCUSTOMER-PAR
    /BI0/HDBDUNS_NUM-PAR
    /BI0/HIOBJNM-PAR
    /BI0/HMATL_GROUP-PAR
    /BI0/HPROD_HIER-PAR
    /BI0/HRF_FRECHAR-PAR
    /BI0/HRT_COLOR-PAR
    /BI0/HRT_SIZE-PAR
    /BI0/HSEM_CGCOMP-PAR
    /BI0/HSEM_CGPRCT-PAR
    /BI0/HVENDOR-PAR
    /BI0/KACCOUNT-001
    /BI0/KACN_EANUPC-001
    /BI0/KCOSTELMNT-001
    /BI0/KDBDUNS_NUM-001
    /BI0/KFUNCT_LOC-001
    /BI0/KGL_ACCOUNT-001
    /BI0/KSEM_CGCOMP-001
    /BI0/KSEM_CGPRCT-001
    /BI0/KVERSION-001
    /BI0/KWORKCENTER-001
    /BIC/KZSTATTRK-001
    /SOMO/JOSCHEDLT-1
    OCSCMPLOBJ-TA1
    Please advise how to correct this -

  • BIA index issues.

    Hi All,
    i have an  BIA-Index issue,The query-result is wrong when i executes  with BIA-Index in transaction RSRT .
    But when i checked the  master data of infoobject  is consistent. I have checked this in transaction RSRV.
    Could you please give any ideas how to correct this?
    Thanks,
    Vikram.

    Hi,
    Most likely you need to run an attribute change run. Attribute change run updates BIA index according to data stored in a InfoObject. You can do it from both a Process Chain or  manually through Administrator Workbench -> Tools -> Hierarchy/Attribute Changes.
    Regards,
    Adam

  • Generated index is missing indexed items

    Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?

    Thanks for input. All available updates have been applied. Long telcon with India so far has produced no cure but at last they are 'escalating' problem to find a solution. It seems to only happen in the 'Symbols' heading (non-alphabetic entries) of the index. Not only are items missing but reference page numbers are missing and/or scrambled. Looks like several indexed subjects are loosing page references and/or picking up page references from following index lines. If you can read the image attached you'll see what I'm talking about if you compare the index flyout lines with what shows up in the generated index. Quite a time consuming pain. It took me almost an hour on the phone to get India to the point they wanted to see this.

  • Missing indexes found in DB02

    Respected All,
    We found a huge number of missing indexes(primary and secondary both) in DB02.Is there any way to rebuilt or produce all these missing indexes in a mass or in a single step?? Thanks in advance for your supports

    Dear,
    You can create indexes as per your requirement. You can create by BRTOOLS as well as from SE14 t-code. After creating index you have to run Update statastics job.
    Regards,
    Charanjit

Maybe you are looking for

  • Multiple Select List does not Refresh with Dynamic Action

    All, Scenario: Using APEX 4.2.2, I have a Select List page item (P4_SPONSOR) set to allow multiple values which has a dynamic LOV to populate the list.  What I would like to do is highlight the display values based on another page item's value (P4_DR

  • Can RV 042 separate the use of its 2 DSL?

    Is the RV 042 capable of separating the 2 DSL lines? Problem: Cannot separate the 2 dsl lines for dsl1 = browsing/downloads/ streaming dsl 2 = games Can any body help me? Thank you

  • New Server Deployment

    Hi all, First time posting on the forums. Sorry if I get the etiquette wrong. I have a couple of questions to pose about deploying a server for the first time. The organisation I have moved in to are not very good with their IT. They have no server,

  • Safari extensions won't load, why?

    I had a number of extensions - now they are gone (in that they don't load and are not listed in the preferences list of extensions, though they are still in the library). Downloading and then reinstalling is not working - safari reports that they can

  • Terminal - make it exit after running a command

    I am looking for a way to exit terminal after executing a command. I have tried this sort of thing Open Terminal. File -> Save As... Save as "My Command FIle" Choose "Where". Desktop is easy to find. Move it later..... Under "Execute this Command", p