How many SECONDARY INDEXES are created for CLUSTER TABLES?

how many SECONDARY INDEXES are created for CLUSTER TABLES?
please explain.

There seems to be some kind of misunderstanding here. You cannot create a secondary index on a cluster table. A cluster table does not exist as a separate physical table in the database; it is part of a "physical cluster". In the case of BSEG for instance, the physical cluster is RFBLG. The only fields of the cluster table that also exist as fields of the physical cluster are the leading fields of the primary key. Taking again BSEG as the example, the primary key includes the fields MANDT, BUKRS, BELNR, GJAHR, BUZEI. If you look at the structure of the RFBLG table, you will see that it has primary key fields MANDT, BUKRS, BELNR, GJAHR, PAGENO. The first four fields are those that all cluster tables inside BSEG have in common. The fifth field, PAGENO, is a "technical" field giving the sequence number of the current record in the series of cluster records sharing the same primary key.
All the "functional" fields of the cluster table (for BSEG this is field BUZEI and everything beyond that) exist only inside a raw binary object. The database does not know about these fields, it only sees the raw object (the field VARDATA of the physical cluster). Since the field does not exist in the database, it is impossible to create a secondary index on it. If you try to create a secondary index on a cluster table in transaction SE11, you will therefore rightly get the error "Index maintenance only possible for transparent tables".
Theoretically you could get around this by converting the cluster table to a transparent table. You can do this in the SAP dictionary. However, in practice this is almost never a good solution. The table becomes much larger (clusters are compressed) and you lose the advantage that related records are stored close to each other (the main reason for having cluster tables in the first place). Apart from the performance and disk space hit, converting a big cluster table like BSEG to transparent would take extremely long.
In cases where "indexing" of fields of a cluster table is worthwhile, SAP has constructed "indexing tables" around the cluster. For example, around BSEG there are transparent tables like BSIS, BSAS, etc. Other clusters normally do not have this, but that simply means there is no reason for having it. I have worked with the SAP dictionary for over 12 years and I have never met a single case where it was necessary to convert a cluster to transparent.
If you try to select on specific values of a non-transparent field in a cluster without also specifying selections for the primary key, then the database will have to do a serial read of the whole physical cluster (and the ABAP DB interface will have to decompress every single record to extract the fields). The performance of that is monstrous -- maybe that was the reason of your question. However, the solution then is (in the case of BSEG) to query via one of the index tables (where you are free to create secondary indexes since those tables are transparent).

Similar Messages

  • How many secondary index you can create on table

    hi,
    how many secondary index you can create on table?
    thanks,
    raj

    Hi,
    Maximun number of indexes for a table can be 9.
    check this FAQ
    http://www.sap-img.com/abap/important-abap-faq.htm
    Regards,
    Vinodh

  • I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod?

    I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod? More specifically special education apps.
    Thanks

    Keep in mind as well that not all apps are "created equal".  Some are really good, and others are not very good.  You might also want to look at some education sites for recommendations.  An example of a general iPads in education forum is
    http://ipadeducators.ning.com/
    but I imagine some exist for special education needs as well.  Our healthcare organization is using some apps for working with autistic children and find them very helpful. 

  • Can we create secondary indexes in pooled and cluster table?

    hello all
    can we create secondary indexes in pooled and cluster table?

    Hi,
    Yes, you can.
    Refer the below links
    [http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm|http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm]
    [http://help.sap.com/saphelp_40b/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm|http://help.sap.com/saphelp_40b/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm]
    Regards,
    SB

  • How many concurrent users are allowed for an Azure Virtual Machine?

    How many concurrent users are allowed for an Azure Virtual Machine?
    Please share the details with the Azure VM size. Currently I have Standard VM of size D13(4 cores, 28GB RAM)

    Hi SanPSK,
    Thanks for posting here.
    I suggest you to check this article for Azure VM size
    https://msdn.microsoft.com/en-us/library/azure/dn197896.aspx
    For the concurrent users on VM - A maximum of 2 concurrent connections are supported, unless the server is configured as a Remote Desktop Services session host.
    Girish Prajwal

  • How many primary key fields  allowed for one table?

    hi,
    when i creating a table , how many primary key fields are allowed for one table.
    please any one give ans
    thanks

    Just checked it,  Its 255, not 155.  You can have as many key fields as you want, but you can not go over the 255 byte length for the total of all key fields.  You will get a warning for over 120, as it says that there is limited functionality with a key over 120 in length.
    Again, this is a total length of all key fields.
    Regards,
    Rich Heilman

  • IUUC_REPL_CONTENT - How to apply filters and replicate for Cluster tables BSEG/CDPOS

    Hello Friends,
    I have replicated the transparent tables by applying filters in IUUC_REPL_CONTENT but I know it's different for Cluster tables.
    Does anyone replicated the BSEG or CDPOS ?
    I need some inputs on this folks.
    Thanks in advance.
    Regards
    Raja

    May be this is helpful - http://scn.sap.com/community/replication-server/blog/2014/02/25/how-to-filter-on-the-initial-load-parallelize-replication

  • How many portal roles are needed for multi-country ESS?

    we are implementing ESS for multiple countries.
    has anybody tried to use one portal role for all countries?
    the new ESS business package comes with one ESS portal role that has content for all countries. I was wondering if we can use this role as-is (after making a copy of course) to present content for all countries, instead of creating one portal role for each country.
    Regards,
    Tiberiu

    in Employee Self-Service > General Settings > Homepage for Self-Services > Resources> Define Resources
    did you have to enter the PCD path to the country-specific iView?
    In that path you associate any resource to a Portal Page. Just change the PCD Path for custom Pages only.
    Only the services are "country-specific" (because they have assigned a MOLGA). Follow the path from my previous answer to add any country-specific app.
    the standard installation does not have the PCD path populated, it has the name WebDynpro application component instead
    This is common issue. Depending on how the installation/upgrade was performed, the resources table is populated or not. But if is not populated, the "URLof PCD Page" property is taken from client 000. In my last implementation, i expected this issue, but i not populate manually this property and everything works fine.
    Kind regards

  • How many routes shoud i create for synch senario ?

    Hello expert!
    When i try to create a synch senario with receiver rfc ( file ---> rfc  ),   how many communication channle i need? shoud i creat a back route for the message get from rfc ?
    if i need to create a rfc sender cc to trnsfer the exporting value get from the rfc to send back to the file dir?
    i'm really confused about the synch senario, any help is appreciated !
    thanks !!
    BR,
    ShengJun

    Could not get the link...
    From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
    Steps:
    Integration Repository
    The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
    Integration Directory
    This is where a few differences lie, so let me take some time.
    1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
    2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
    3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
    4. We need to add a few modules in the Sender File Adapter.
    Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
    Number - ModuleName - Type - ModuleKey
    1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3
    Parameters
    ModuleKey - ParameterName - ParameterValue
    1 - passThrough - true
    3-receiverChannel - Receiver File Adapter Name
    3-receiverService - Receiver Business Service/ System
    This is from one of the posts the Bhavesh has posted some time back.
    VJ

  • How many TO need to create for Quality inspection material

    Dear all,
    When we do GR's ,TR is created & material is goes for quality inspection .
    So after UD, PCN is created so for this PCN we need to Create & Confirm TO.
    So my question is what we do for open TR which was created after GR posting.
    DO we have to create TO for this TR.
    I mean how TO get's created in this process?
    Please help me out.
    Regards,
    Rock

    what do you do physically?
    a) do you keep the stock in goods receipt area until it is released from the Q status
    b) or do you putaway that stock into its destination bins before it is released from Q-status
    in both cases you use the TR that was automatically created during goods receipt to create the TO.
    in case a) you just execute LU04 to process the posting change notice to change the stock status from Q to unrestricted  prior to creation of the TO.
    in case b) you create the TO directly and process the PCN in LU04 later when the usage decision was made.
    part B can create some difficulties (especially if you setup automatic processing) as you may get several quants because the material need more than one destination bin, while you just have 1 quant in the GR area 902.  So SAP may not be able to determine the quant that needs to be released from Q status by itself, and user has to select those quants manually.

  • How many partitions will be created for range 1998-2000

    hi experts,
    i have created partition on a infocube with range as 1998 to 2000 im able to see 37 partitions only in DB02 transaction.
    i read  in saphelp document that 38 partitions will be created.
    i.e <1998 and >2000
        3 x 12 = 36 +2 = 38
    but for me all records < 1998 are placed in partition 199801 and max value partition is created i.e >2000.
    so please can anyone explain why this is happening.
    Regards,
    Venu Gopak.K

    Hi Venu,
    Found note 385163 - Partitioning on ORACLE since BW 2.0.
    This has the following logic for creation of partitions. You can see that the first partition "/BIC/EPART_BSP200001" is created to take in the values of Jan 2000 and below (less than Feb 2000).
    The table "/BIC/EPART_BSP" is created as follows:
    CREATE TABLE "/BIC/EPART_BSP" ( ..... , SID_0CALMONTH , .... )
                  storage ( INIT , ...., ....... )
                  partition by range ( SID_0CALMONTH )
           PARTITION "/BIC/EPART_BSP200001" VALUES LESS THAN (200002),
           PARTITION "/BIC/EPART_BSP200002" VALUES LESS THAN (200003),
            PARTITION "/BIC/EPART_BSP200211" VALUES LESS THAN (200212),
    PARTITION "/BIC/EPART_BSP200212" VALUES LESS THAN (200213), PARTITION "/BIC/EPART_BSPMAXVALUE" VALUES LESS THAN (MAXVALUE)
    Interesting...the help docu says there will be 2 additional partitions. The note suggests there will only be 1 additional partition.

  • How many ssl modules are needed for a redundant configuration?

    Hi, apologies but I can't seem to find a definite answer for this question. I have two css 11506's set up using vip/virtual interface redundancy (active/standby). Each css 11506 has a single ssl module.
    Is this adequate for ssl redundancy? I've read in this forum that if an ssl module fails, the css will reboot causing failover to the standby css so ssl connections will simply reset and as long as I have ASR set up on the back end http content, users will not notice the failover.
    Am I correct in this thinking or do you recommend using two ssl modules in each css? Thinking there is that if one ssl module fails, there will still be a 2nd module to handle ssl traffic and the css's will not failover.
    Thanks
    -Dan

    there is no need for 2 modules.
    You would use 2 modules if you need more power [handle more connections].
    However, your assumption is incorrect.
    Nowadays, there is no device in the worl [cisco and non-cisco] that can do SSL ststeful failover.
    In other words, upon failure, all SSL users will have to restart their connection.
    Gilles.

  • How many hard drives are needed for optimizing Premiere Pro performance?

    My work just setup a Mac Pro with a 250 gig ssd and Premiere Pro CC, After Effects CC. I can only hookup external drives with the Mac Pro. What is the minimum number of drives needed for video, audio previews etc...

    Note the real-world sustained transfer rates on externals ... eSATA definitely a HUGE preference over USB3.
    Hmmm ... surely they can spring for a second internal? One of the other options that would be spendier but fast for having all your material on "one" drive is a RAID of SSD drives, but needs to be large ones. Even just a second internal HDD and an external eSATA would be a big uptick over a single drive.

  • How many versions ca be created

    Sir,
    In version control for po how many versions can be created for a po
    regards
    amey

    As many as you want.

  • Create a counter(in a query) by how many unique items are in a document num

    Hi,
    Is there a way for me to create a counter(in a query) by how many unique items are in a document number?
    If you look at the bold amounts below they have two unique item numbers 3 & 11. Because of that data is being duplicated in the InfoSet. The Subtotal needs to be 13500 instead of 27000. The two subtotals above are correct. I was thinking if I can create a create a counter(in a query) by how many unique items are in a document number (in this case it would be 2). And then if i divide Quantity by that counter, i shall get the correct value of 13500.
    How can i do this?
    Thanks
    Doc Num                  Item #       Quantity
    5900001759     11     2,700
    5900001759     11     5,400
    5900001759     11     2,700
    5900001759     11     2,700
    5900001759          13,500
    5900001890     7     2,700
    5900001890     7     5,400
    5900001890     7     2,700
    5900001890     7     2,700
    5900001890          13,500
    5900002176     3     2,700
    5900002176     11     2,700
    5900002176     3     5,400
    5900002176     11     5,400
    5900002176     3     2,700
    5900002176     11     2,700
    5900002176     3     2,700
    5900002176     11     2,700
    5900002176          27,000          
                             54,000

    Create a New Calculated Key Figure
    From the context menu for the Formula Variable, choose New Variable
    Choose the Processing type as Replacement Path
    In the next screen, select the Characteristic Info Object based on which the number of documents is to be displayed in the report (For example: Document Number / Order Number).
    Choose Next.
    In the Replace Variable with drop down box, choose Attribute Value.
    In the Attribute drop down, select Characteristic Reference (Constant 1).
    Choose Next.
    On the Save Variable page, an overview of the settings made for the variable will be displayed.
    Confirm the entries and Choose Finish.
    Open the formula variables directory and use Drag & Drop to transfer the formula variable
    To avoid the warning message, the formula variable is multiplied by 1
    The most important step here is to set the Time of Calculation to After Aggregation in the KF properties.
    (by Default the Time of Calculation is set to After Aggregation)
    The new calculated key figure is available under Calculated Key Figure in the Key Figure directory, and can be included in the query definition using Drag & Drop.
    Hope this help
    Rgds

Maybe you are looking for