Missing Primary Indexes

Hi,
I have observed that Primary Indexes are missing for Master data Infoobject 'P' table.
any advise ?
Ellora

Dear Eric,
Im curious to know the reason for such error ? Can u pls share with me ?
What necessary actions to be taken in these scenarios ? Primary indexes to the extent of my knowledge cannot be created like the way we create Secondary indexes in BW.
How to avoid this in Future ?
Your inputs are valuable.
Regards
Ellora

Similar Messages

  • Missing primary index

    Hi All
    In db02 under diagnostics we can see the missing table and indexes. I just want to know the which backend program actually triggers or from which tables is referring to finds out the missing primary indexes in database and particulary shows which object has an inconsistency of it.
    Thanks
    Siva

    Hi All
    In db02 under diagnostics we can see the missing table and indexes. I just want to know the which backend program actually triggers or from which tables is referring to finds out the missing primary indexes in database and particulary shows which object has an inconsistency of it.
    Thanks
    Siva

  • Urgent - Pls help - Missing Primary Indexes

    Hi All,
    When i check in DB02 -in BW, its showing
    10 Primiary indexes are missing.
    I have tried to copy the table name to find our, where the indexes are actually missing . But, there is not table with that name.
    ( Earlier it was showing that, 26 secondary indexes are missing but, once we have fixed it, now its showing that 10 Primary indexes are missing )
    Thanks
    Nisha

    When you check in DB02, you will also find tables which are missing..probably you need to create these tables prior to creating the missing primary indexes.
    Regards
    Manga

  • Primary indexes missing

    Hi friends,
    In transaction DB02 I am getting 7 primary indexes missing,please tell me how to correct this error.
    Regards,
    Vish.

    Hi Vish,
    There are several SAP notes on this depending on the kind of database you use. Have a look at them as well. It should give you idea.
    Regards.

  • Primary Index is not Active in Database

    Dear Experts,
       I have created a ztable and transported it to production server. But in Production server the primary index is missing. When i checked in it in development and quality server it exist there but not in production. I have tried to activate through SE14 but it is not activating . Can you please suggest a procedure to activate it. Waiting for your suggestion.
    Regards,
    Venkat.

    posted in abap dictionary

  • Query to return list of all missing primary key ids from table T1

    I found this query online that returns a start and stop for a range of all missing primary key id values from table T1. However i want to rewrite this query to return a whole list of all the missing primary key ids and not a start and stop range. any help plz?
    select strt, stp
    from (select m.id + 1 as strt,
    (select min(id) - 1 from T1 x where x.id > m.id) as stp
    from T1 m left outer join T1 r on m.id = r.id - 1 where r.id is null)x where stp is not null

    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level missing_id
      from  (
             select  id id_start,
                     nullif(lead(id) over(order by id) - 1, id) id_end
               from  t
      start with id_end is not null
      connect by prior id_start = id_start
             and prior dbms_random.random is not null
             and level <= id_end - id_start
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.Or:
    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level - 1 missing_id
       from  (
              select  min(id) id_start,
                      max(id) id_end
                from  t
       connect by level <= id_end - id_start
    minus
    select  id
       from  t
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.SY.

  • Difference between primary key and primary index

    Dear All,
             Hi... .Could you pls tell me the difference between primary key and primary index.
    Thanks...

    Hi,
    Primary Key : It is one which makes an entry of the field unique.No two distinct rows in a table can have the same value (or combination of values) in those columns.
    Eg: first entry is 111, if you again enter value 111 , it doesnot allow 111 again. similarly for the strings or characters or numc etc. Remember that for char or numc or string 'NAME' is not equal to 'name'.
    Primary Index: this is related to the performance .A database index is a data structure that improves the speed of operations in a table. Indices can be created using one or more columns, providing the basis for both rapid random lookups and efficient ordering of access to records. The disk space required to store the index is typically less than the storage of the table (since indices usually contain only the key-fields according to which the table is to be arranged, and excludes all the other details in the table), yielding the possibility to store indices into memory from tables that would not fit into it. In a relational database an index is a copy of part of a table. Some databases extend the power of indexing by allowing indices to be created on functions or expressions. For example, an index could be created on upper(last_name), which would only store the uppercase versions of the last_name field in the index.
    In a database , we may have a large number of records. At the time of retrieving data from the database based on a condition , it is a burden to the db server. so whenever we create a primary key , a primary index is automatically created by the system.
    If you want to maintain indices on other fields which are frequently used in where condition then you can create secondary indices.
    Reward points if helpful.
    Thanks,
    Sirisha..

  • Primary index does not exist in database but shows in SE14?

    I added a couple of key fields to a Z table and activated it. Every thing went well - adjusted it with SE14 also.
    When I checked the Runtime object - it is OK.
    When I checked Database Object, it is showing that the Primary Index does not exist in Database but SE14 says that the Priamry Index exists in Database.
    Please advise how to correct this. I saw another psoting when I searched per this error message: "Indexes: Inconsistent with DDIC source" . It tells to create this index at Database but need to know the steps.
    pl advise.
    (reposting here)
    Edited by: Venkatabby on Mar 26, 2008 4:05 PM

    hi,
    To create a index for a table,
    go to se11->click on Indexes tab and create  a primary index.
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The system automatically creates the primary index. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE.
    If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE.
    reward points if useful.
    regards
    sandhya

  • Creation of primary index

    Dear experts,
    A standard sap table does not have primary key index. I assume there was a problem with installation.
    Please let me know if there is a way to create the primary index? BDCP~0? Can I do it the same way as I would if I created another index?
    Thank you in advance,
    Roxani

    Hi,
    The primary key index will create the system. .
    The BDCP table contains the primary index "BDCP~0"
    We can view the primary index in the following way
    Tcode :  se11 --> table name (ex:BDCP) --> Display --> Utilities --> Database Object -->
      Database Utility (Click on) --> Extras --> Databse objects --> Display (click on)  here we can find the table fields and Primary index.
    If you want to create a Secondry indexes,
    Click on Indexes --> Click on Create --> Creare indexe --> give the index name -> hit the enter --> give the shart description and field name (on which field you want to create Secondary index) --> Save --> Check --> Activate.
    Thank you,
    Sekhar.

  • Data deletion on primary index and secondary index

    Hello, I have a question regarding data deletion in BDB-JE.
    Suppose I have an Entity class which has a primary index and a secondary index, the secondary key does not have outer related entity. So when I want to delete this entity, is it correct we only need to remove the entity from primary index? or I also need to do it for secondary index or just remove it from secondary index and internally BDB_JE will remove it from primary index?
    Thanks
    Anfernee

    You can delete an Entity using the delete method for primary index or the secondary index. When an entity is deleted, secondary index records are automatically deleted. The primary and secondary indices are always kept in sync.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Create a fast refresh materialized view with partitioned primary index

    Hi,
    I have a materialized view that is based on a table with primary key.
    I want to create a materialized view with a partitioned primary index . do you have any way of doing it?
    I tried to create a materialized view with rowid and then I created a partitioned primary index on it.
    It did not work as what I expected. I could not perform a fast refresh on it. the materialized view can only complete refresh
    thank you

    Hi,
    Here is some info from the Oracle Documentation.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmview.htm
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10810/basicmv.htm
    Determining the Fast Refresh Capabilities of a Materialized View
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmview.htm#BABEDIAH
    Regards,

  • Primary index

    Hi,
    I have created one table(internal table) in se11 and also have assigned some fields are as primary keys.I know that when we define primary key for one field the system will create primary index for that as ' 0 '.now my question is how to see and use that key.
    Regards,
    Krishna.

    Hi..
    Primary Index is Created on the Primary key fields of the Table automatically when the Table is Activated.
    Whenever we use the Select.. where clause on Primary key the Primary index is used by the system. We can't explicitly use indexes.
    To Check whether a query is using index or not we can use SQL Trace ST05.
    <b>reward if Helpful.</b>

  • Primary Index to create

    Hi Experts,
    In BW 3.5, in DB24 there's a missing_index warning for a transparent table /BIC/Fxxxx (xxxx is not the name of the infocube)
    In SE14, it says thaht this primary index /BIC/Fxxxx-0 must not be created on the database.
    First of all, what kind of table is this one ? /BIC/F : partitionned F-Fact table ?
    Second, should I create this index or not ?
    Regards,

    Hi again,
    Thanks for your answers.
    But so why brconnect sends a missing_index error, and only for this table ? There are other fact tables whitout primary index, and brconnect does not send any error.
    regards,

  • Reoccuring missing secondary indexes in BI systems

    Hi Gurus,
    I'm been experiencing the problem of missing secondary indexes for some time, and I would like to get to the bottom of this problem.
    These are a few of the missing indexes (from DB02):-
    /BIC/F100294-900
    /BIC/F100365-900
    /BIC/F100366-900
    /BIC/F100368-900
    /BIC/F100369-900
    /BIC/F100386-900
    /BIC/FZCFIGRLP-900
    /BIC/FZCGLECRD-900
    /BIC/FZCGLECRD2-900
    /BIC/FZCGLECRD3-900
    TSP03-1
    TSP03L-A
    Any idea what could be causing this???
    And how do I solve this problem??? And how can I prevent these from reoccuring again???
    Thanks.
    Cheers,
    KeatSeong

    I see missing indexes on DB02 as well and ran SAP_INFOCUBE_INDEXES_REPAIR and I just have a couple more questions that I think is relevant to this chain:
    1) It repaired some fact indexes like /BIC/F* and dimension indexes like /BIC/D* but in the report showed as follows for those cubes:
    0  ZPP_C008     :          0  secondary indexes repaired.
    2) I had some other dimension indexes like /BIC/D* that did not get repaired and I'm wondering why. See 4) below for how I repaired those.
    3) I ran RSRV and these missing indexes like /BIC/D* do not show up as being an issue
    4) When I run RSDU_INFOCUBE_INDEXES_REPAIR on that missing index like /BIC/D* I get E_REPAIRED = 0 and system error: RSDU_INFOCUBE_INDEXES_REPA_ORA but when I refresh DB02 the index is gone. When I go to RSDU_INFOCUBE_INDEXES_REPA_ORA and run it I got e_reparied - 11
    Thanks for all your help.
    Mike
    Edited by: Michael Hill on May 26, 2010 6:49 PM

  • Missing secondary indexes

    Hello Gurus,
       Hope you are doing good !  I have few missing secondary indexes. I have corrected them in rsrv with the correct error option but still most of them seem to be back in DB02. Warnings have occured for few cubes being : Oracle:Index/BI0/SDOC_NUMBER~0 has possible degenareted.
    I checked in the process chains but the indexes are successfully built. Any sugestions pls let me know.
    Kind Regards,
    Sunitha

    Hi Sunitha,
    Try checking these indices from cube/DSO Performance tab and try with the repair option available there.
    Sometimes, it might be possible to the tablespace problem to build the indices. Check those too also from DB02.
    Regards,
    Srinivas.

Maybe you are looking for

  • Synonyms of sequences not shown in Database-studio 7.7.06.09.

    We use two databaseschema's OWNER + USER. We create the tables and sequences as OWNER. We grant the tables and sequences as schema-user OWNER to the schema-user USER. Then as schema-user we create a synonym for every table and sequence which belongs

  • Reclaiming a skype online number that has been por...

    I recently purchased a cell phone and requested to use for it the number that used to be my skype number. That worked fine, except the skype number suddenly became inactive. I had been assuming that the number could be simultaneoulsy used by skype an

  • Need your support - Important

    Hi Experts, As I am new to this field. Please provide me few documents for SAP Fico so that i can cope up with the challenge to fulfill my job. Need your support and understanding Regards Vikas Kumar Moderator: The most important is to respect the wo

  • TDS_Capability packet difference between 12.5.4 and 15.7

    (SAP Incident 914404 / 2014 ) Hello, We migrated a 12.5.4 server to 15.7 but had to return to 12.5.4 because of different behaviour of the server. We have a query that selects a char(4) column with content 'OK' using JConnect (jconn4). In 12.5.4 the

  • HT5219 Using 'Thunderbolt' cables

    Hi I am a 'new' Apple user who is trying hard to quickly transfer old data onto my Apple systems. I have moved all my data onto the iMac (Christmas) and now want to do the same on the macbook I just got as my mobile device. The 'Thunderbolt' port and