OLAP Statistics table RSDDSTAT is locked

I am working on BW 3.1C and my issue is:
The OLAP Statistics table RSDDSTAT is locked due to some data base rollback activities. When users execute the query, it is first hitting the statistics table and since it is already locked, I am getting -913 sql short dumps. In order to avoid this, I have used the following option:
RSA1 --> Tools --> BW Statistics for Infoprovider.
I have unchecked all data targets. When I ran the query in RSRT/RSRT2, the query gets successfully executed without hitting the statistics table.
But when I tried to execute the query from Web, it is hitting the statistics table which again causing me short dumps. Is there any Tcode where I can turn-off the statistics settings. Please mention that I am in 3.1C version and do not have T.code RSDDSTAT.
Please let me know how to resolve this issue?

Hi,
In BI 7 there's a table RSDDSTATOBJLEVEL which we can decide record statistics or not.. Can you try to whether it exist in your machine? I don't have BW 3.x system at hand.
Regards,
Frank

Similar Messages

  • Missing content of BI statistics table?

    Hi,
    Recently ( Two months back ) we have upgarded our BW system To BI 7.0 and also activated its Technical content!
    But the Table RSDDSTAT_OLAP has so many objects lists missing in its contents like infoprovider, Processchain, etc--
    How to activate these missing contents so that i cud see these entries in the table RSDDSTAT_OLAP??
    Raj

    Hi Raj,
    RSDDSTAT_OLAP db view is only relevant for front-end & olap statistics. Here is a list of all the source tables:
    OLAP Statistics
    - Front-end & OLAP Statistics: RSDDSTAT_OLAP (DB view)
    - Data Manager Statistics: RSDDSTAT_DM (DB view)
    WHM Statistics
    - Process Chain Statistics: RSPCLOGCHAIN, RSPCPROCESSLOG
    - DTP Statistics: RSDDSTATDTP, RSBKREQUEST
    - InfoPackage Statistics: RSDDSTATWHM
    WHM Status
    - BI Object Status: RSMDATASTATE_EXT
    - Process Status: RSPCPROCESSLOG, RSPCLOGCHAIN
    For more information you can refer also to this document (BI administration cockpit and BI statistics in SAP NetWeaver 7.0):
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50f95b21-7fb8-2910-0c81-f6935d4c654b
    Regards,
    Theodoros

  • Best approach to join multiple statistics tables into one

    I have read different approaches to join multiple statistics tables into one, they all have a column "productobjectid".
    I want to get all data for each product and put it to excel and output a jpg statistic with cfchart.
    How would you do this, the sql part?
    Thanks.

    A couple suggestions:
    1) when joining tables, its best to list both table/fields that you are joining in the FROM clause:
    FROM shopproductbehaviour_views INNER JOIN shopproductbehaviour_sails ON shopproductbehaviour_views.productobjectid = shopproductbehaviour_sails.productobjectid
    2) You add tables to a SQL join by placing another join statement after the SQL above:
    SELECT *
    FROM TableA INNER JOIN TableB on TableA.myField = TableB.myField
    INNER JOIN TableC on TableA.anotherField = TableC.anotherField
    3) If you have columns in the tables that are named the same, you can use column aliases to change the way they appear in your record set:
    SELECT TableA.datetimecreated 'tablea_create_date', TableB.datetimecreated 'tableb_create_date'
    4) Certainly not a requirement, but you might want to look into using <cfqueryparam> in your where clause:
    WHERE shopproductbehaviour_sails.productobjectid = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#all.productobjectid#">
     You might want to consider checking out one of the many tutorials on SQL available online.  Many of the questions you posed in your post are covered in pretty much every basic SQL tutorial.  Alternately, a good SQL book is worth its weight in gold for a beginning web applications developer.

  • Showing Zero values in OLAP Pivot Table for Excel 2007

    Hello,
    I needed a help to a problem. Is it possible to show the values with No sales in an Olap Pivot Table ??
    I have a sales Cube, and brwsing it via excel i wanted to filter on a Product Category and see how many products in this category had made no Sales. By default the Pivot table doesn't shows the empty values, so if i check the Showm empty rows option for
    Pivot Tables, i see the whole of the products populated with and without sales, and i can't filter further. Is there a way i can only get those which have no sales.
    Vinish Viswanathan

    Happy Holidays,
    I can slice on product categories in Excel 2013 with these settings for the Pivot Table:
    Activate "Show items with no data for rows and columns"
    Apply a value filter that says that the measure should filter on values = 0
    Have the product natural hierarchy on rows with levels product category->subcategory->product.
    Expand the levels below product category
    Use the product category attribute and not the hierarchy as the filter.
    I do not have Excel 2007 installed anymore.
    HTH
    Thomas Ivarsson

  • How can i find statistics tables in my database?

    code{
    Upgrade Statistics Tables Created by the DBMS_STATS Package
    If you created statistics tables using the DBMS_STATS.CREATE_STAT_TABLE procedure, then upgrade these tables by executing the following procedure:
    EXECUTE DBMS_STATS.UPGRADE_STAT_TABLE('SYS','dictstattab');
    In the example, 'SYS' is the owner of the statistics table and 'dictstattab' is the name of the statistics table. Execute this procedure for each statistics table.
    the above is one of the post upgrade step for 11gR2. How can i find statistics tables in my database?

    You need to read the complete context of this manual upgrade step:
    Step 33
    Upgrade Statistics Tables Created by the DBMS_STATS Package
    If you created statistics tables using the DBMS_STATS.CREATE_STAT_TABLE procedure, then upgrade these tables by executing the following procedure:
    EXECUTE DBMS_STATS.UPGRADE_STAT_TABLE('SYS','dictstattab');
    In the example, 'SYS' is the owner of the statistics table and 'dictstattab' is the name of the statistics table. Execute this procedure for each statistics table.You need to do this step for any statistics table that you created manually with DBMS_STATS.CREATE_STAT_TABLE.
    Marcus

  • Locked objects, Locked rows in a table, kind of locks

    Well, final question for the day.
    I created multiple session using sql plus, and in one session sql plus got lunch, it hour glasses and does nothing. I called up a DBA friend and he opined that it might be becasue one of my sessions has got a lock on a row in a table. I was also told that locks can be table level locks and row level locks.
    Please help me understand the below( I did try to read about locks, but atleast after first reading it is more confusing.. in order to update a row in a table why would oracle obtain a table level lock?)
    1. What are the different database objects which can get locked ?
    2. What are the different kinds of locks and what do they mean?
    3. When a row is locked by a session, can we identify that particular session and how ?
    4. What is the difference between pessimistic locking and optmistic locking ?
    5. Any scripts which I can use to get lock related info from database ?
    Gony

    1. What are the different database objects which can get locked ?There are locks which oracle acquire on any useful resource. We , as the users are most focussed on tables and their locks. But locks do happen in memory as well.
    2. What are the different kinds of locks and what do they mean?http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/dynviews_2.htm#REFRN30121
    3. When a row is locked by a session, can we identify that particular session and how ?Sure, there is a default script that comes up, utllockt.sql which can show you. Other than that, you can EM to do so as well. Read this,
    4. What is the difference between pessimistic locking and optmistic locking ?http://download.oracle.com/docs/cd/B28359_01/server.111/b28274/instance_tune.htm#sthref748
    5. Any scripts which I can use to get lock related info from database ?See #4 above.
    HTH
    Aman....

  • Dynamic table with header locked and vertical scrollbar problem.

    Hi,
    I have created a dynamic table with header locked.The sample code is as below.
    <div style="width:910px ; overflow-x : scroll">
    <h:panelgrid ...for header populated by binding to pagecode/>
    <div style="width:910px ; height:200px ; overflow-y : scroll">
    <h:panelgrid ...for data populated by binding to pagecode/>
    </div>
    </div>
    The above piece of code serves the purpose.
    There is an overflow in both x as well as y directions and scrollbars appear.But the y scrollbar can be seen only when the x-scrollbar is moved to the extreme right.
    Does anyone have a solution so that both the scrollbars can be seen as soon as the table loads without the need to move x to the extreme right to see y?

    wa_layout-grid_title = text-039.
        wa_layout-sel_mode = 'A'.
        APPEND wa_layout TO gs_layout.
        wa_layout-grid_title = text-039.
        wa_layout-sel_mode = 'A'.
        APPEND wa_layout TO gs_layout.
        wa_layout-grid_title = text-039.
        wa_layout-sel_mode = 'A'.
        APPEND wa_layout TO gs_layout.
      CALL METHOD gr_alvgrid1->set_table_for_first_display
          EXPORTING
            is_layout       = gs_layout
          CHANGING
            it_fieldcatalog = it_fieldcatalog1[]
            it_outtab       = <l_table>.
    i am using like but its not accepting more than one line header in is_layout, is there any possibility to take like this.
    Regards,
    Mallikarjuna.

  • Update Error: No access permission as table is already locked

    Hi All,
    I am trying to reload work order master data but keepp getting the update error "No access permission as table is already locked". I have looked at sm12 but no lock entries found.
    Pls advice.

    Hi Ola,
    Have you checked RS12 tcode for master data locks?
    Best regards,
    Eugene

  • MYSQL backup, mysql -e "FLUSH TABLES WITH READ LOCK" doesnt work

    I want to backup mysql locking tables first using flush tables with readlock, then do rsync and then unlock tables.
    I want to do it automatically using script.
    When I log in to mysql using: mysql -u root -p
    the command:
    FLUSH TABLES WITH READ LOCK;
    works and locks the tables...but when I create my.cnf with login information to mysql:
    [client]
    user=root
    password=xxx
    the command:
    mysql -e "SHOW DATABASES"
    works and shows the databases....
    but when I run this command:
    mysql -e "FLUSH TABLES WITH READ LOCK"
    it doesnt lock the tables...why?
    thanks

    Are calling the 'mysql -e' command as your user or as root? If you call it as root (typical for a backup script), then the .my.cnf file needs to be in /root instead of $HOME.
    Scott

  • Table or Record Locked

    Hi
         I am building a batch process (with INSERT and UPDATES), When I Did Test worked fine,
    but now others people testing, It is very slow, seem that some table/record is locked, is there some
    way for to out with exception when time is Elapsed
    thanks

    It can be any one of numerous problems and issues - ranging from a poor design, forcimg serialisation where not needed, to a badly written code or even a minor bug with major impact.
    Can you narrow down to where in the code is slow? If not, then consider using DBMS_PROFILER to profile the PL/SQL code - this will point you to the source code that is "the slowest".

  • Tip: Improving The Performance Of OLAP DML Table Inserts

    Quick Oracle OLAP Tip:
    If you need to write the contents of a variable, or a group of variables, to a relational table, you would normally use the SQL INSERT command. Normal practice is to loop round all of the variables' dimension values, inserting the variable values into the relational tables one by one, until the variable has been completely loaded into your database table.
    Oracle 9i OLAP however introduces two new commands, SQL PREPARE and SQL EXECUTE (http://download-west.oracle.com/docs/cd/B10501_01/olap.920/a95298/sql5.htm#1027902) , that allow us to prepare our INSERT statement in such a way that it uses bind variables to pass values to the Oracle tables. Bind variables are generally a 'good thing' and reduce the amount of time Oracle has to spend parsing your SQL insert statements. In addition, you can specify additional options with SQL PREPARE to specify 'direct path' insertions (quicker as they bypass the normal SQL engine and directly load data into Oracle blocks), nologging (to eliminate redo log generation), and to nominate individual partitions to load data in to. It's worth noting that there's an error in the current OLAP DML documentation that suggest that any OLAP DML insert operation into an Oracle table locks the entire table, preventing other AW processes from inserting into the table until you commit. This is actually incorrect, and full-table locking only occurs if you use the DIRECT=YES option, which locks the table in the same way that SQL*Loader locks the table as they both use the Direct Path API.
    However, an even better solution than using SQL EXECUTE and SQL PREPARE is to use the OLAP_TABLE feature in Oracle 9i (http://download-west.oracle.com/docs/cd/B10501_01/olap.920/a95295/olap_tab.htm#73729) to create a view against your AW variable, then use this view as the source for a "INSERT INTO table SELECT * FROM source" SQL statement, optionally using the /*+ INSERT APPEND */ option if you want to carry out direct path insertions. By using OLAP TABLE and having the SQL engine insert multiple variable values into our target table, rather than having an OLAP DML program loop through the variable and carry out multiple single-row insertions, we were able to increase our write performance by an order of magnitude compared to our earlier SQL INSERT command. One thing to bear in mind though is that, if you are running many copies of the program concurrently, using direct path insertions may well cause lock contention, as each process will obtain an exclusive table lock while the direct insertion takes place. In the case of concurrent processes, it may be better to use conventional path insertions (but still use SQL PREPARE and EXECUTE, or OLAP TABLE) as these only require row-level exclusive locks.

    you can use Execution plain
    http://stackoverflow.com/questions/7359702/how-do-i-obtain-a-query-execution-plan
    and add index.
    Index according to the fields you ask queries can improve performance greatly larger!
    You can use the statistics for building indexes:
    http://www.mssqltips.com/sqlservertip/2979/querying-sql-server-index-statistics/
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • Build index on olap's table

    Hi,
    I am on an OLAP application which has a table having millions of records, and the table doesn't have any index. When checking the data found one particular column has total less than 50 distinct values which likely to be a good candidate for building index against. Another column on the same table is composed of [fixed_character_string]_[random_value], e.g. BLABLABLA_000000001, BLABLABLA_000000002, etc. what kind of index should I build, normal index for the first one, and bitmap index for the second?
    Last, This is a partitioned table.
    Regards

    rac100g wrote:
    When checking the data found one particular column has total less than 50 distinct values which likely to be a good candidate for building index against. Not true.
    rac100g wrote:
    Another column on the same table is composed of [fixed_character_string]_[random_value], e.g. BLABLABLA_000000001, BLABLABLA_000000002, Sounds like you should have 2 columns and not one.
    In general, we're not going to be able to help you much with the level of detail you have given us.
    If you want to share DDL's for the tables, data volumes / distributions as well as the types of queries your application is going to be issuing then we may be able to get somewhere. You may also want to look at using enterprise manager / tuning pack (if your licensed for it), check the documentation for your version (which you should always mention when posting a question).

  • SQL*Loader job exits unexpectedly and causes table to be locked with NOWAIT

    I have a weekly report job that I run where I have to load about 48 logs with about 750k rows of data in each log. To facilitate this, we have been using a Java job that runs SQL*Loader as an external Process (using ProcessBuilder), one after the other. Recently however, this process has been terminating abnormally during the load which is causing a lock on the table and basically causes the process to grind to a halt until we can open a ticket with the DB team to kill the session that is hung. Is there maybe a better way to handle this upload process than using SQL*Loader or is there some change I could make in either the control file or command line to stop it from dying a horrible death?
    At the start of the process, I truncate the table that I'm loading to and then run this command line with the following control file:
    COMMAND LINE:
    C:\Oracle\ora92\BIN\SQLLDR.EXE userid=ID/PASS@DB_ID load=10000000 rows=100000 DIRECT=TRUE SKIP_INDEX_MAINTENANCE=TRUE control=ControlFile.ctl data=logfile.log
    CONTROL FILE:
    UNRECOVERABLE
    Load DATA
    INFILE *
    Append
    PRESERVE BLANKS
    INTO TABLE MY_REPORT_TABLE
    FIELDS TERMINATED BY ","
         filler_field1          FILLER char(16),
         filler_field2          FILLER char(16),
         time               TIMESTAMP 'MMDDYYYY-HH24MISSFF3' ENCLOSED BY '"',
         partne          ENCLOSED BY '"',
         trans               ENCLOSED BY '"',
         vendor          ENCLOSED BY '"' "SUBSTR(:vendor, 1, 1)",
         filler_field4          FILLER ENCLOSED BY '"',
         cache_hit_count,
         cache_get_count,
         wiz_trans_count,
         wiz_req_size,
         wiz_res_size,
         wiz_trans_time,
         dc_trans_time,
         hostname          ENCLOSED BY '"',
         trans_list          CHAR(2048) ENCLOSED BY '"' "SUBSTR(:trans_list, 1, 256)",
         timeouts,
         success ENCLOSED BY '"'
    Once all of the logs have finished loading, I rebuild the indexes on the table and then start the report process. It seems like it's just dying on random logs now, re-running the process it will fail at a different point each time.
    EDIT: The reasons for the UNRECOVERABLE and SKIP_INDEX_MAINTENANCE are to speed the load up. As it is, it still can take 7-12 minutes for each log to load, it's even worse without those on. Overall it's taking about 18 hours for this process to run from start to finish.
    Edited by: user6676140 on Jul 7, 2011 11:37 AM

    Please note that my post stated:  "I have opened a ticket with Oracle support. after 6 days have not had the help that I need."
    I also agree that applying the latest PSU is a Best Practice, which Oracle defines as "a cumulative collection of high impact, low risk, and proven fixes for a specific product or component".
    With that statement I feel there should not be the drastic issues that we have seen.  Our policy is to always apply PSUs, no matter what the product or component, without issue. 
    Except for now.  We did our research, and only open an Oracle ticket when we need expert help.  That has not been forthcoming from them, but we are still working the ticket.
    Hence, I opened this forum because many times I have found help here, where others have faced the same issue and now have an insight.  When having a serious problem I like to use all of my resources, this forum being one of those.
    To restate the question:
    (1)     97% of our databases reside on RAC.  From the Search List for Databases, we do not see the columns Sessions:CPU, Sessions: I/O, Sessions: Other, Instance CPU%, and are told this is working as designed because you must monitor the instance, not the database, with RAC. 
         (a) After applying PSU2 the Oracle Load Map no longer showed any databases. 
    All of this in (1) is making the tool less useful for monitoring at the database level, which we do most of the time.
    (2) Within a few days of applying PSU2, we couldn't log into EM and got the error "Authentication failed. If problem persists, contact your system administrator."
        (b) searching through the emoms.trc files we found the errors listed above posting frantically. 
    After rolling back PSU we are back in business.
    However, there is still the need to remain current with the components of EM.
    I am looking for suggestion, insights, experience.  While I appreciate Akanksha answering so quickly, a recommendation to open an SR is not what I need.
    Sherrie

  • While Filling-up setup tables how to lock users & Suspend user

    Hi Friends & Experts,
    I am going to Run Set-up tables in my BI Production servers as Application wise for example..SD, MM, PP, QM, & Invetary.
    So I want to tell to client kindly lock users & suspend users  to stop document postings.
    How to tell this to clients this situation. pls do suggest on this.
    Siri

    Hi Friends thank you for your quick response...
    Is there any Particular T.Codes as Application wise..E.g: PP, MM, SD, QM. Inventary.. to Lock instead of Lock SM01.
    Because if we lock SM01 All T.codes are going to Lock. I think It's not advisable.
    Pls Suggest me as soon as possible.
    Siri

  • Table data getting locked for multiple user for a Z-table updation after EH4 to EHP6 Upgrade

    Hi,
    We have one new upgraded system at EHP6, earlier system was at EH4 where multiple user can Run one Z  T-code and can edit the entries for the Z-table.
    This Z-Tcode is calling SM30 internally for updating the Z-Table.
    Now in the upgraded system, when one user is into the transation code, and other user runs that T-code, systems throws a POP-UP mesg saying that the data is locked and can be displayed only(can not be edited).
    I have debugged the code in both the environment and found that there is one statement Call C_ENQUEUE ID < > field. for which the Sy_Subrc is coming as 2 in the upgraded system which is causing the issue, where as the sy-subrc is 0 in the system at EH4 level.
    Can any body tell me why this Z-tcode is not allowing to be accessed by multiple user at same time for Editing(updating the table) .
    Regards,
    Archana Jha

    Hi,
    When you create the lock object you can define the keys.
    and then you can use those in the ENQUEUE function.
    Regards.
    regards.

Maybe you are looking for

  • Authorization check when searching for transactions

    Hi all, We have a requirement to show only those activities for which a user is authorized. A custom authorization object has been maintained and the check in CRMD_ORDER has been extended accordingly. When opening an activity, the check is executed c

  • Can somebody explain the error when i try to delete something off my Jlist?

    type String name, password, phone and int currently salary and desired salary. press the add button. then click on the name and pres delete. theres a huge error on the command prompt. could some1 tell me how to solve it? here are the codes: import ja

  • Select after anonymous blocks no INTO allowed

    hi I need to run an EXECUTE IMMEDIATE command to create a SEQUENCE in oracle sql 10g. I can only call EXECUTE IMMEDIATE between a BEGIN and a END; thus creating an anonymous block after the EXECUTE I need to do a select the problem is I get an error

  • Can't build backlite [SOLVED]

    Hi All, I'm on Arch64 clean install and I get this: ==> Starting build()... uic: Error in line 255, column 172 : Unexpected ''. /usr/bin/uic core/dvdprogress.ui -o ui_dvdprogress.h /usr/bin/uic core/progress.ui -o ui_progress.h /usr/bin/uic backup/ba

  • Ordering Multiple Seperate Orders of Books in iPhoto

    I have to order multiple books from iphoto with each having a different shipping, billiing address and CC#s. I was wondering if after I make the first purchase, will the pictures be remembered because they're already uploaded to the server? I need to