Automated Delete and Rebuild of BIA Indexes

We have several cubes that we will be loading into BIA that use non-cumulative key figures.  We have heard that it is necessary to periodically rebuild these indexes to keep the BIA performance high.  My question is how do we automate this process?  I don't see a process chain step or program for deleting an index. 
There is program RSDDTREX_AGGREGATES_FILL, but will this rebuild an index if it already exists?

Hi
Deleting and rebuilding the Cube indexes will improve the the loading performance.
It is very much required for for Full loads and Big loads.
When it comes to Delta loads or Small loads, then it depends upon the volume of data you are going to get.
Say like you are getting below 10000 records in daily delta's, then i think no need to delete and rebuild indexes.
If you know that you will get more than1 lack records, then it's good to go for deletion and rebuild of indexes.
Example : I load an Infocube once by week in full upload (3 millions of records) after deleting all the content of the previous week. Is it a good idea to add steps of deleting/rebuilding indexes in this case ?
In this case, it is required.
Note: 1) If you want you can test in your development system, run the same load first time by deleting indexes and second time without deleting the indexes. you will come to know the time difference.
2) Anyhow deletion and rebuilding of indexes step will take less than 2 or 3 mins time unless if you have huge volume of uncomressed data in your cube.
Regards,
Venkatesh.

Similar Messages

  • Incompatible PDB format in 'filename'; delete and rebuild

    Hi !
    I have installed VS 2012 , but i have VS 2010 also. After I open  VS 2010 projects with VS 2012 and  click "update", but while i debug it ,there is a error message:
    LINK : fatal error LNK1207: incompatible PDB format in 'C:\Users\Admir\Documents\Visual Studio 2010\Projects\nr.fjaleve.while\Debug\nr.fjaleve.while.pdb'; delete and rebuild.
    What can I do to solve this?
    verify

    Hi verify,
    It seems that it is not the VS debug issue.
    LINK : fatal error LNK1207: incompatible PDB format in 'C:\Users\Admir\Documents\Visual Studio 2010\Projects\nr.fjaleve.while\Debug\nr.fjaleve.while.pdb'; delete and rebuild.
    Please Clean and Rebuild your app under “Build” menu, check it again. If still no help, maybe you could delete it manually, and then rebuild it again. Hope it could help.
    Reference:
    Linker Tools Error LNK1207
    Best Regards,
    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Thank you Jack!
     I cleaned my app, ang rebuild it again, and it works.
    verify

  • Difference between "REBUILD ONLINE" and "REBUILD" while altering index

    Hi Everyone,
    Please go through this link.
    [http://docs.oracle.com/cd/B28359_01/server.111/b28310/indexes004.htm#i1006864]
    Now if Rebuilding online enables you to update base tables at the same time that you are rebuilding, then when the base table is getting updated while Rebuilding without online option?
    Regards,
    BS2012

    Hi,
    I believe it work like this way
    rebuild without online option => table and index is locked in exclusive mode preventing any translations on the table.
    With online index rebuild, transactions can still access the table and index.

  • Spotlight perferences damaged-delete and rebuild?

    Hello. It seems my Spotlight preferences are damaged. Symptoms are:
    – From System Preferences to open Spotlight preferences either doesn't work at all or takes very long
    - Spotlight menu keyboard shortcut / Spotlight window keyboard shortcut don't work, neither one chosen from the pulldown menu, nor one iserted manually. Any shortcut inserted manually doens't stick (doesn't appear when opening the opening the preferences pane next time).
    Spotlight.prefPane sits in System/Library/PreferencesPanes. Can I safely delete it and have it rebuild on restart? Or do I misinterpret the problem?
    Thanks a lot

    Hey, I believe we are running into more troubles.
    System Preferences don't show spotlight preferences item anymore
    This means that the Spotlight application was deleted from the system preferences pane. If you haven't emptied the trash from after removing the Spotlight.prefpane then open the trash and drag it back in. You will get the Spotlight back in the system preferences.
    Check the behavior of the System preferences pane and if the issue persists, consider a disk utility repair after booting from the disk. http://kb.wisc.edu/helpdesk/page.php?id=3810.
    I am on a research to find out a solution
    Regards

  • Deleting and Regenerate All Quickfinder Indexes

    Couple of questions on this. Haven't done this before so I want to get all the info I can.
    I know that this process can take a while since the POA can index between 10K and 30K documents per hour. That being said, best case I'm looking at 56 hours, worst case is 168 hours.
    While this process is running, will it 1) interfere with our backups and 2) will it slow down the POA and making working with messages difficult for my end users?
    Also, anyone mind chiming in on their experiences with this process? I would be most appreciative.

    Hi.
    On 02.05.2011 21:06, isutton wrote:
    >
    > While this process is running, will it 1) interfere with our backups
    Not in a serious ways. You may see a few more open files during the
    backup possibly, but that's about it. If the backup software does
    retries on open files, you should be fine.
    > and 2) will it slow down the POA and making working with messages
    > difficult for my end users?
    Hard to say without knowing the specs of your server, but *usually*
    (more then one CPU) not.
    > Also, anyone mind chiming in on their experiences with this process? I
    > would be most appreciative.
    Usually it's really straightforward. Of course, it might be prudent to
    do it weekends, but I've done it on weekdays too without complaints.
    CU,
    Massimo Rosen
    Novell Product Support Forum Sysop
    No emails please!
    http://www.cfc-it.de

  • How to delete BIA indexes - manually via program?

    Dear all
    We are currently facing the issue where our BIA indexes are growing at a tremendous rate, due to our use of Full Load and Delete Overlapping Requests activities. Checks shows that our fact indexes are 6999% above the Fact tables and growing by day.
    As per suggestion from the SAP Best Practice, we should be deleting and rebuilding the BIA indexes on a regular basis (we plan to do this everytime the loading completes). However, the SAP Best Practice only mention the program to initially activate and fill the BIA indexes (RSDDTREX_BIA_ACTIVATE_FILL), and fail to mention a program to delete the BIA indexes automatically.
    Since we are scheduling this activity, is there a program for us to delete the BIA indexes? We will subsequently rebuild it using the RSDDTREX_BIA_ACTIVATE_FILL program.
    We don't mind function module as well, as we will create a wrapper program around it.
    Thanks for the advise
    Chris

    Hi,
    See if these notes are of help.
    SAP Note 926609 - BIA index and metadata changes
    SAP Note 917803 - Estimating the memory consumption of a BIA index
    1012008 - BI accelerator index after activating the InfoCube
    There may be few related notes attached to these notes.
    check them also.
    Hope this helps.
    Thanks,
    JituK

  • How to track BIA delta index merge and rebuild

    Hi Gurus,
                 I have set up process chains which load the BIA delta index and full index rebuild in separate process chains.
    Is there any way to check if BIA is behaving as desired? I know to check RSDDSTATTREX table.
    Regards,
    Anil

    Not a reply from Guru..
    But I put my thoughts in and here are few take aways for you ,which you may wish to have a look in to..
    PS - BI Accelerator is quite a Virgin territory ..few documentations or persons worked with ..
    You can execute some performance checks with tcode - RSRV to validate the same.
    <b>BI Accelerator Performance Checks</b>
    1)Size of Delta Index
    If you have chosen delta mode for an index of a table, new data is not written to the main index but to the delta index. This can significantly improve performance during indexing. However, if the delta index is large, this can have a negative impact on performance when you execute queries. When the delta index reaches 10% of the main index, the system displays a warning.
    The system performs a merge for the index in repair mode. The settings are retained.
    2) Propose Delta Index for Indexes
    It is useful to create a delta index for large indexes that are often updated with new data. New data is not written to the main index, but to the delta index. This can significantly improve the performance of indexing, since the system only performs the optimize step on the smaller set of data from the delta index. The data from the delta index is used at the runtime of the query.
    The system determines proposals from the statistics data: Proposals are those indexes that received new data more than 10 times during the last 10 days. A prerequisite for these proposals is that the statistics for the InfoCube are switched on.
    Data in the main index and delta index should be merged at regular intervals (see test Size of Delta Index).
    In repair mode, the system sets the Has Delta Indexproperty for the proposed indexes. The delta index is created when the data is next loaded for this index.
    3)Compare Size of Fact Tables with Fact Index
    The system calculates the number of records in both fact tables (E and F tables) for the InfoCube and compares them with the number of records in the fact index of the BI accelerator index. If the number of records in the BI accelerator index is significantly greater than the number in the InfoCube (more than a 10% difference), you can improve query performance by rebuilding the BIA index.
    The following circumstances can result in differences in the numbers of records:
    &#9675;       The InfoCube was compressed after the BI accelerator index was built. Since the BI accelerator index is not compressed, it may contain more records than the InfoCube.
    &#9675;       Requests were deleted from the InfoCube after the BI accelerator index was built. The requests are deleted from the BIA index in the package dimension only. The records in the fact index are therefore no longer referenced and no longer taken into account when the query is executed; however, they are not deleted.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6b/cda64246c6c96ae10000000a155106/content.htm
    Hope it Helps
    Chetan
    @CP..

  • Effect of Cube Compression on BIA index's

    What effect does cube compression have on a BIA index?
    Also does SAP recommend rebuilding indexes on some periodic basis and also can we automate index deletes and rebuild processes for a specific cube using the standard process chain variants or programs?
    Thank you

    <b>Compression:</b> DB statistics and DB indexes for the InfoCubes are less relevant once you use the BI Accelerator.
    In the standard case, you could even completely forgo these processes. But please note the following aspects:
    Compression is still necessary for inventory InfoCubes, for InfoCubes with a significant number of cancellation requests (i.e. high compression rate), and for InfoCubes with a high number of partitions in the F-table. Note that compression requires DB statistics and DB indexes (P-index).
    DB statistics and DB indexes are not used for reporting on BIA-enabled InfoCubes. However for roll-up and change run, we recommend the P-index (package) on the F-fact table.
    Furthermore: up-to-date DB statistics and (some) DB indexes are necessary in the following cases:
    a)data mart (for mass data extraction, BIA is not used)
    b)real-time InfoProvider (with most-recent queries)
    Note also that you need compressed and indexed InfoCubes with up-to-date statistics whenever you switch off the BI accelerator index.
    Hope it Helps
    Chetan
    @CP..

  • Delete Full Requests from an InfoCube with a BIA index on it

    Hello all
    I need to delete certain random Full requests from a cube which has both DB indexd and BIA index on it?
    What will be the steps i should be following in regards to deleting/ rebuilding indexes ?
    Regards
    Sanjyot

    Thanks Vitaliy but I have multiple requests with huge amount of data to be deleted.
    So I was wondering if the following steps are correct
    1. delete DB indices
    2. delete BIA indices
    3. delete requests from cube
    4. rebuild DB indices
    5. rebuild BIA indices
    Are there any steps to ensure that indices are rebuilt correctly? 
    Regards
    Sanjyot

  • Initiate and Fill BIA Index Step Fails in Process Chain

    HI!
           In our weekend scenario for a cube, we refresh the data in a cube. What we do is, we delete BIA indexes before the data refresh in the cube, load the data, recreate the indexes using "Initialize and Fill BIA" step.
    Last run the filling process failed and in the log it showed this message:
    Lock for table 'table name'. Job will be restarted again later
    We have it for many tables and at the end of the log:
    FILLING_FAILED  >CHECK LOG!!!!!
    Please any advice in this?
    Thanks,
    Ghassan Matar

    HI!
        After the investigation, we found that the root cause of the lock is the ODS Activation. We have two ODS's activation jobs running at the same time we were initialize and fill BIA indexes. We tested that in Staging and it causes the lock as well.
    We implemented the Note 1223239 by setting the following parameters:
    WRITEINDEX =        180
    WAITTIME =            60
    This weekend, the ODS Activation step ended before the BIA Initialize and Fill step by 4 minutes. The step created the indexes for the cube tables but it didn't continue to fill any index and it failed.
    The Log is here.
    NEW INDEX: /BI0/SVTYPE                                                                                RSD_TREX        100          S
    NEW INDEX: /BI0/SSALESORG                                                                                RSD_TREX        100          S
    NEW INDEX: /BIC/SZREGION                                                                                RSD_TREX        100          S
    Event RSPROCESS with parameter 4L1CWG1AC7C479GIO3Z5A5GPH successfully triggered      RSMPC         090          S
    Job finished                                                                                00           517          S
    Also, after implementing the note: 1223239 with the parameters above, THE ODS Activation step was running in parallel with BIA Initalize and Fill step. the lock occured and after the completion of ODS Activation step all the locked tables get unlocked and filled properly except for 5 tables. It seems to me like kind of dead lock between these 5 tables. they take all the remaining time of the step and at the end BIA Initalize and Fill fails.
    If you will notice in our log, it is only 5 tables remaining and they are repeated every minute. At the end, the step failed.
    03:59:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
    03:59:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
    03:59:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
    03:59:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
    03:59:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
    04:00:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
    04:00:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
    04:00:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
    04:00:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
    04:00:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
    04:01:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
    04:01:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
    04:01:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
    04:01:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
    04:01:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
    04:01:26 FILLING_FAILED  >CHECK LOG!!!!!
    04:01:27 Entire chain now has status 'R'
    04:01:28 Process ABAP Program, variant Rebuild BIA Indexes - Daily Inventory - End of Pro has status Undefined (instance )
    Please advise.
    Thanks,
    Ghassan Matar

  • How to rebuild BIA index ?

    Hello,
    I wonder how to rebuild a BI Accelerator index, without deleting it previously ?
    I hope this is not a silly question, cause I do not find for the moment if it is really possible.
    Thank you very much for your help.
    Benjamin

    Hi Benjamin,
    The concept of rebuild of index is to initially delete the index completely and create again. So, there is no option to rebuild the index without deleting it.
    For eg: Based on the initial data volumes, if BIA had decided not to split a fact table on  BIA side, and over a period of time, if the data volumes have increased. BIA triggers an alert indicating the difference of volumes in percentage between BI and BIA. At this point of time, based on the difference, you are required to rebuild the index.
    It then deletes the whole structure of index on BIA and then recreates the index structure. Thereby, it can decide to split the Fact table index based on the new volumes. This is one of the benefit of deleting the whole index structure and then creating again.
    Regards,
    Srini

  • Error while deleting from BIA index

    HI EXPERTS GETTING BELOW ERROR PLZ GIVE CLARITY ON THIS:
         1.A communication error occured, with the TREX TcpIp     
         2.Error while deleting from BIA index; reconstruction required     
    THANKS &REGARDS,
    rAMESH,

    Dear Ramesh,
    Please check the connection with BIA. Please ask the Basis team to check the BW to BIA connection if they maintain it.
    YOu can go to rsddbiamon2 and check BIA connection availibility for more details.
    If that is right please try redoing the step at which you faced error and it should help.
    Please close the question if you have got the answer or solved it.
    Regards,
    Den

  • Deleting the BIA Indexes

    <Moderator Message: Search before posting>
    Hi,
    Can you explain how to delete BIA Indexes for a particular infocube?
    Thanks,
    Manohar
    Edited by: Siegfried Szameitat on May 5, 2009 1:13 PM

    Hi,
    See if these notes are of help.
    SAP Note 926609 - BIA index and metadata changes
    SAP Note 917803 - Estimating the memory consumption of a BIA index
    1012008 - BI accelerator index after activating the InfoCube
    There may be few related notes attached to these notes.
    check them also.
    Hope this helps.
    Thanks,
    JituK

  • What is the difference between the drop and create the index and rebuild index ?

    Hi All,
    what is the difference between drop and create index & rebuild index ? i think both are same...Please clarify if both are same or any difference...
    Thanks in Advance,
    rup

    Both are same. Rebuilding an index drops and re-creates the index. 
    Ref:
    SSMS - https://technet.microsoft.com/en-us/library/ms187874(v=sql.105).aspx
    TSQL - https://msdn.microsoft.com/en-us/library/ms188388.aspx
    I would suggest you to also refer one of the best index maintenance script as below:
    https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html

  • ABAP Routine for Deleting and creating index for ODS in Process chains

    Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.

    Hi Sachin,
    find the following ABAP code to delete ODS ondex.
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    To create index:
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    hope it helps....
    regards,
    Raju

Maybe you are looking for