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'

Similar Messages

  • 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

  • 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.

  • Missing configuration entry for data - index relationship

    IN ST04 -> configuration -> Data Class
    all data classes are in yellow I'm trying to activate them and getting the following error
    "Missing configuration entry for data - index relationship"
    This is the result of  a system copy
    Thanks
    Kkhaldoun

    Hi All,
    Just an update, I was able to get around my problems by patching the 2004s media from sp6 to sp8, uninstalling my scs, and database and re-installing from the patched media.

  • 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 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 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

  • 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.

  • 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

  • Missing indexes in db02

    Hello,
    Checking DB02 i've found a list of missing primary indexes. I know that i can use SE14 to adjust the indexes but i found some decumentation that says that i should first check if double index for the primary index exist and elimenate them.
    Please Advice.
    David.

    hi David,
    oss note 157918
    BW: DB02 shows "missing indexes"  
    Symptom
    DB02 shows indexes of a fact table to be missing. Such indexes have names that start with prefixes /BI0/F or /BIC/F (BW 1.2, BW 2.x) or /BI0/E or /BIC/E (BW 2.x only).
    Additional key words
    Business Information Warehouse, InfoCube, Fact Table, Bitmap Indexes, Oracle, DB02, Unique Index
    Cause and prerequisites
    For BW 1.2, this only applies to Oracle-based systems. For BW 2.x, this might apply to any DB-platform.
    BW 1.2 and BW 2.x take advantage of certain DB-specific features which are not supported by the data dictionary of R/3 4.0, 4.5 or 4.6 base systems. Prominent examples are bitmap indexes on fact tables (Oracle-based BW systems), partitioned/fragmented indexes, nologging and parallel index building facilities etc. Such features are used in BW by triggering native SQL statements which bypass the data dictionary.
    While all these features improve performance of the BW system, there are, however, some other transactions that are also affected when the data dictionary is bypassed. Amongst these is DB02. It sometimes claims that certain indexes of infocube fact tables are missing while direct checks on the database level show that those indexes are not missing at all or substituted by equivalent indexes. The latter might happen in BW 2.x where the primary index on fact tables might be replaced by a non-unique index or simply skipped as it is not required. Therefore you can usually ignore those messages. Obviously, we are currently working on removing such inconsistent information. If you want to be sure on the indexing then check the solution section of this note.
    Solution
    For BW 1.2A systems (Oracle only):
    You have to ask your local DBA to check the state of the indexes directly by looking at the USER_INDEXES table on the Oracle database.
    For BW 1.2B systems (Oracle only):
    There are two alternatives to check the secondary indexes of infocube and aggregate cubes fact tables:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "InfoCube Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the indexes.
               (2) Use transaction RSRV. Go to the tabstrip "Database". Choose the item "Indices of an InfoCube and its aggregates" and insert the (technical) infocube name (e.g. 0BWTC_C01) in the input box at the bottom of the screen. Press F8 ("Analysis") and wait until a red, yellow or green light appears beside "Indices of an InfoCube and its aggregates", i.e. in the "Result" column. Then press F6 ("Results") in order to see a detailed report on the index situation of that cube.
               (3) Go to SE37 and do a "single test" for the function module RSDU_CHECK_SECONDARY_INDEXES. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter and 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE and STATUS columns. These should show 'BITMAP' and 'VALID' respectively.
    For BW 2.0A systems (all DB-platforms):
    For checking secondary indexes on individual infocubes the following methods can be applied, similar to the BW 1.2B solution:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "Manage". Choose the tabstrip "Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the (secondary) indexes.
               (2) same as (2) for BW 1.2B.
               (3) Go to SE37 and do a "single test" for the function module RSDU_INFOCUBE_INDEXES_CHECK. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter, leave the I_FACTTAB initial, use 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters and use 'U' in the I_DOUBLE_FACTTAB parameter. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE_CHECK, UNIQUE_CHECK, PARTITIONED_CHECK and STATUS_CHECK columns. These should show 'G' (= "green" = ok) respectively.
    If your BW 2.0A system is on patch level 11 Make DB02 consistent by running the report SAP_UPDATE_DBDIFF (via SE38), go to DB02 and press the "Refresh" button in order to synchronise the information in DB02 with the DBDIFF table. This should provide you with a consistent view.
    For BW 2.0B and BW 2.1C systems (all DB-platforms):
    DB02 should work consistently in BW 2.0B / BW 2.1C  with infocubes created in 2.0B / BW 2.1C. If you wish, you can still use the BW 2.0A approach. For infocubes that were created in BW 2.0A or BW 1.2 you need to adjust the index setup (on the facttables) by running the report SAP_INFOCUBE_INDEXES_REPAIR. The latter is available from BW 2.0B patch 3 onwards. It should be run in a background process as it might take a while to run through.
    You also might want to run the report SAP_UPDATE_DBDIFF once in order to update the table DBDIFF that lists database objects whose data dictionary setting do not correspond to the actual setup and that should therefore be omitted in DB02 checks.
    Source code corrections

  • DB13 warnings

    Hi,
    I'm getting following DB13 warnings :
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (table) SAPR3.ZJT01
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (table) SAPR3.ZJT01_TXT
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (table) SAPR3.ZWHMIST
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (index) SAPR3.ZJT01~0
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (index) SAPR3.ZJT01_TXT~0
    BR0970W Database administration alert - level: ERROR, type: MISSING_STATISTICS, object: (index) SAPR3.ZWHMIST~0
    BR0986W Index SAPR3.DBABL~0 is unbalanced - please rebuild the index
    BR0978W Database profile alert - level: WARNING, parameter: LOG_CHECKPOINT_TIMEOUT, value: 1800 (<> 0)
    Can anybody tell what 's these error about ....
    Regards
    Anju
    SAP basis

    Hi Anju,
    Hi,
    Just do a simple check whether your all letast patches are updated in oracle. Some times these type of error comes due to patches.
    Regards,
    Anil

Maybe you are looking for

  • Trying to update my iPhone 5 iOS 6.1.4 to the new iOS 7 and it says my software is up to date.

    Trying to update my iPhone 5 iOS 6.1.4 to the new iOS 7 and it says my software is up to date. Please help.  Are the servers just down?

  • Why is the iTunes Radio advertisement showing? I'm using the iTunes Match though.

    I joined the itunes match last April. It will be expired on next April. Until now, the itunes radio ads haven't been showed up while using the itunes match. But Since last week, I listen the ads on the radio like Nissan and so on. How do I remove the

  • Will this scenario work?

    Im looking to purchase a Time Capsule to use with Time Machine for my MBP. I will have an external HDD connected to the Time Capsule. On this external HDD, I have a folder called 'Movies' (where I create backups all my DVD collection so I dont have t

  • State Machine SubVI

    Can the attached VI statemachine be converted to a subvi ?  I have tried several variations but unsuccessful so far.  Would like to have a subvi icon with external connections SP, RO, and Overide.  I am creating other applications that will use multi

  • Sync with iphone problem

    I iphone 3GS will not sync with itunes. I keep getting an error message. It says it will delete all contents from itunes if I go forward with the sync. My version is out of date; I am trying to update it by syncing but I don't want to erase contents