DB-Statistics Problem
Hello All,
We are in BI 7.0 but using the datamodels of BW3.5.
We are doing delta loads for Infocube on daily basis and after completion of load we do create index, DB statistics, Rollup using process chians. today I can see the process chain completed successfully but when I goto manage Infocube -> Performance tab-> Check DB-statistics. It shows yellow.
I also checked the joblog but no issues, its green.
Can anyone letme know the reason why it is yellow after successful completion of DB-statitics in process chain.
Also pls let me why we do DB-statistics ?
Regards..
Bala
Hi Bala,
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6473e07211d2acb80000e829fbfe/content.htm
Bye
Dinesh
Similar Messages
-
Hi,
I have an insert statment that is waiting most of the time on P.K index.
82661 was inserted , but explain plan bellow shows that only : 6396 rows was fetched.
1. Does i have statistics problem ?
2. What would you suggest to do in case of waiting on db file sequential read (please remember that its a primark key index) .
(remarks: I cant use NOLOGGOING , i set initrans to 20 )
Thanks
INSERT /*+ APPEND */ INTO TLOG (USERNAME,ACCT_SESSION,IP,START_DATE,END_DATE,
CALLING_NUMBER,CALLED_NUMBER,NAS_IP,
NAS_TYPE,NAS_PORT,START_STOP,SERVEREND_POINT,CLIENTEND_POINT,SERVER_AUTH_ID,CLIENT_AUTH_ID,
RB_CONTENT_NAME,ACCT_INPUT_OCTETS,ACCT_OUTPUT_OCTETS,SPEED,TERMINATE_CAUSE,ACCT_SESSION_TIME,
EVENT_TIMESTAMP,ACCT_AUTHENTIC,ACCT_DELAY_TIME,ACCT_INPUT_PACKETS,ACCT_OUTPUT_PACKETS,
FRAMED_PROTOCOL,SERVICE_TYPE,TERM_CODE)
SELECT /*+ PARALLEL (p,8) */ USERNAME,ACCT_SESSION,IP,START_DATE,END_DATE,CALLING_NUMBER,
CALLED_NUMBER,NAS_IP, NAS_TYPE,NAS_PORT,START_STOP,SERVEREND_POINT,CLIENTEND_POINT,
SERVER_AUTH_ID,CLIENT_AUTH_ID,RB_CONTENT_NAME, ACCT_INPUT_OCTETS,
ACCT_OUTPUT_OCTETS,SPEED,TERMINATE_CAUSE,ACCT_SESSION_TIME,EVENT_TIMESTAMP,ACCT_AUTHENTIC,
ACCT_DELAY_TIME,ACCT_INPUT_PACKETS,ACCT_OUTPUT_PACKETS,FRAMED_PROTOCOL,SERVICE_TYPE,TERM_CODE
FROM RADIUS_LOG_EXT p
LOG ERRORS INTO ERR_LOG REJECT LIMIT unlimited
call count cpu elapsed disk query current rows
Parse 10 0.24 0.23 0 7809 0 0
Execute 10 25.17 288.97 47830 37301 1021273 82661
Fetch 0 0.00 0.00 0 0 0 0
total 20 25.41 289.21 47830 45110 1021273 82661
Misses in library cache during parse: 9
Optimizer mode: ALL_ROWS
Parsing user id: 59 (RADIUS)
Rows Row Source Operation
6396 PX COORDINATOR (cr=36 pr=1 pw=0 time=319409 us)
0 PX SEND QC (RANDOM) :TQ10000 (cr=0 pr=0 pw=0 time=0 us)
0 PX BLOCK ITERATOR (cr=0 pr=0 pw=0 time=0 us)
0 EXTERNAL TABLE ACCESS FULL LOG_EXT (cr=0 pr=0 pw=0 time=0 us)
0 INSERT STATEMENT MODE: ALL_ROWS
6396 PX COORDINATOR
0 PX SEND (QC (RANDOM)) OF ':TQ10000' [:Q1000]
0 PX BLOCK (ITERATOR) [:Q1000]
0 EXTERNAL TABLE ACCESS (FULL) OF 'LOG_EXT' (TABLE)
[:Q1000]
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
------------------------------ Waited ---------- ------------
SQL*Net message to client 11 0.00 0.00
SQL*Net message from client 11 0.00 0.00
os thread startup 8 0.01 0.13
PX Deq: Join ACK 52 0.00 0.00
PX Deq: Parse Reply 64 0.04 0.35
PX Deq: Execute Reply 56 0.01 0.10
db file sequential read 47824 0.23 265.09
buffer busy waits 8 0.00 0.00
undo segment extension 4 0.00 0.00
PX Deq: Signal ACK 92 0.00 0.00
enq: PS - contention 25 0.00 0.00
log file sync 11 0.04 0.14
**********************************************************************user10634138 wrote:
Hi ,
I remove the parallel hint from the select statment but i am still facing poor insrert performance.
Now its took 373 seconds (5.5 minute) to insert just : 56,483 rows as you can see bellow.
It's been a few years since I last checked, but the LOG ERRORS may be turning your array-based insert into single row processing, leading to excess random I/O.
You may find that you can load the data faster if you use a pl/sql approch that does a "bulk collect and forall insert" with array exeception handling, processing (say) 100 rows at a time. You may get an extra benefit if your driving select also does an 'order by' on the primary key.
Do you have only one index on the table ? The number of current gets seems a bit too high for the number of rows inserted if there's only one index.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan -
Hi All,
I believe that, to collect BW statistics infoprmation for an Infocube, tools -> BW Statistics for Infoproviders -> check OLAP and WHM for the required infocube and save. I believe any data loads here after or any query runs here after will update the RSDD tables.
right..??
But in my case, RSDD tables contains no data for that Infocube.
So, do i need to set any other settings...?
Once the RSDD tables got filled... then i can schedule the statistical data into BW Statistics cubes for performance analysis.your help is appreciable...
Thanks
Suman.Hi Suman,
Perhaps you need to check the cubes for statistics first and then create the statistics. What I meant was - May be you did the reverse process.
Just try to create statistics for a cube and check the tables.
Bye
Dinesh -
Help! Bw Statistics Problem
I install the BW Statistics follow the How to Dociment.
But When I excute the step 9. I can't find the content of info package. How can I handle it? Help Me!Hi Shangfu,
See if this forum discussion helps you ...
bw statistics
This discussion talks about a reference to a Note. So, check if this applies to you .
assign points if useful ***
Thanks,
Raj -
LTAP Table Update Statistics Problem
Hi ,
We are facing misaligned in update statics for LTAP table. Threshold values has been assigned to this is 50% .So as per threshold value assigned , the cahnges happening in number of inserted row and changed in row are more in number (when it exceed its threshold value). My problem is that can we change the threshold value in less % ,so that changes happening in inserted now and coloum will be in low in number.IS it possible, then how and what will be impact of other table or system . Is it possbile or it is recomended to do this task.Please help me in this with details that how and what can i do better in this.
Regards
Brijesh PrasadBrijesh,
Did you try DB20?
Manoj -
BI statistics - problem with records transferred from database
Hello,
I just recreated an old BW statistics report in the new 7.0 version and this on multicube 0TCT_MC01.
In the old report (BW 3.5) there was a difference between:
1) - records transferred from DB (0TCTDBTRA)
2) - Cells transferred to Front End (0TCTNCELLS)
I red the following paper on SDN, titled: 'SAP NetWeaver BI Administration Cockpit Technical Content BI Statistics'.
And here they talk about:
- 0TCTNDBTRA (unfortunately this is a keyfigure of another multicube 0TCT_MC03, so it can not be used in my report)
- 0TCT_DBTRA (this KF even does not exist in the technical content!)
In the new report (BI 7.0) I used 0TCTDBTRANS to replace the 0TCTNCELLS.
Now my question is how can I replace/define 0TCTDBTRA in the new report. I really need this key-figure in a report on the 0TCT_MC01 multicube.
Hope you can help me, I you have any further questions do not hesitate to contact me.
Kind regards,
lexI posted the issue with another user but from this moment I will check it with my user.
Hopefully somebody can help me with the issue....
Regards,
lex -
Index Statistics Update - Problem
We had performance problem yesterday with FI report FAGLL03, it timed out in online execution and in background mode it took 5000+ sec to execute. Result was no more than 100 records.
Later with some investigation problem drill down to index usage of table FAGLFLEXA. We then updated the index statistics of table from DB02. After that report worked fine with execution time of 10-15 sec for same set of input.
However user, in morning , was complaining again about performance problem with same report FAGLL03. We did that update index statistics again and as it was the case yesterday it fixed the problem.
Later today I checked SQL server the job SAP CCMS_xxx_xxx_Update_Tabstats, which I guess is updating index statistics daily at 0400 hours, is working fine. I can't see any error log there. Daily job to check database consistency is also not reporting anything.
Anyidea what could be going wrong.
Basis Consultants are looking into problem however I am putting this case here if anyone of you had same problem and fixed it.
Thanks,
Pawan.
Edited by: Pawan Kesari on Dec 11, 2009 4:05 PMHi,
Appears the stats are dropped eveytime the job runs @04:00
Have a look at the table DBSTATC in trx: DB21 to see if it's setup to dropped the stats..
Mark -
Performance Problems - Index and Statistics
Dear Gurus,
I am having problems lossing indexes and statistics on cubes ,it seems my indexes are too old which in fact are not too old just created a month back and we check indexes daily and it returns us RED on the manage TAB.
please helpDear Mr Syed ,
Solution steps I mentioned in my previous reply itself explains so called RE-ORG of tables;however to clarify more on that issue.
Occasionally,ORACLE <b>Cost-Based Optimizer</b> may calculate the estimated costs for a Full Table Scan lower than those for an Index Scan, although the actual runtime of an access via an index would be considerably lower than the runtime of the Full Table Scan,Some Imperative points to be considered in order to perk up the performance and improve on quandary areas such as extensive running times for Change runs & Aggregate activate & fill ups.
Performance problems based on a wrong optimizer decision would show that there is something serious missing at Database level and we need to RE_ORG the degenerated indexes in order to perk up the overall performance and avoid daily manual (RSRV+RSNAORA)activities on almost similar indexes.
For <b>Re-organizing</b> degenerated indexes 3 options are available-
<b>1) DROP INDEX ..., and CREATE INDEX </b>
<b>2)ALTER INDEX <index name> REBUILD (ONLINE PARALLEL x NOLOGGING)</b>
<b>3) ALTER INDEX <index name> COALESCE [as of Oracle 8i (8.1) only]</b>
Each option has its Pros & Cons ,option <b>2</b> seems to be having lot of advantages to
<b>Advantages- option 2</b>
1)Fast storage in a different table space possible
2)Creates a new index tree
3)Gives the option to change storage parameters without deleting the index
4)As of Oracle 8i (8.1), you can avoid a lock on the table by specifying the ONLINE option. In this case, Oracle waits until the resource has been released, and then starts the rebuild. The "resource busy" error no longer occurs.
I would still leave the Database tech team be the best to judge and take a call on these.
These modus operandi could be institutionalized for all fretful cubes & its indexes as well.
However,I leave the thoughts with you.
Hope it Helps
Chetan
@CP.. -
Problem in UpdateStats(update database statistics)
Hello Experts,
I am getting this problem while running job UpdateStats, job failed with this error in Job Log:
BR0301E SQL error -20000 at location stats_ind_collect-3, SQL statement:
'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR10"', INDNAME => '"/BIC/B0001751000KE"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;'
ORA-20000: index "SAPSR10"."/BIC/B0001751000KE" or partition of such index is in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 10613
ORA-06512: at "SYS.DBMS_STATS", line 10648
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for index SAPSR10./BIC/B0001751000KE
Current patch Level is 18.
Please suggest solution.Hi Amit,
Proceed as follows:
1.Execute the 'RSAR_PSA_PARTITION_CHECK' program without setting the repair indicator.
2.If there are inconsistent secondary indexes in your system, these along with the errors that are described in more detail in Note 1012607 are listed.
3.Now execute the 'RSAR_PSA_PARTITION_CHECK' program in repair mode ( REPAIR = 'X' ) if you are prompted to do so in the second row of the log. We recommend that you execute the 'RSAR_PSA_PARTITION_CHECK' program in the background.
4.Program 'RSAR_PSA_PARTITION_CHECK' can repair incorrect indexes only. If there are other errors in the log, you can correct them manually as described in Note 1012607.
5.You can use transaction SLG1 and the following selections to display the log:
Object = 'RSAR'
Subobject = 'METADATA'
Ext. Identif. = 'RSAR_PSA_PARTITION_CHECK'
You do not need to carry out any more manual activities (for 'ORACLE').
Please check the notes:1042182,633914.
And also please check the below link:
http://wallsdb.vicp.net/bbs/viewthread.php?tid=102
Hope it will resolve your issue.
Thanks
Kishore -
Problem with Construct DB Statistics varaint in Process Chain.
Hi Experts,
I try to create a variant Construct DB Statistics over Info Cube. my PC is as follows:
1. Start
2. Delete Index
3. Load data into Info Cube (Full Load).
4. Create Index
5. Construct DB Statistics
6. Delete Overlapping Requests from InfoCube .
I got the error message: No type "Delete Index" process can be in front of process "Construct Database Statistics" variable XXXXX in the chain
I* While creating the variant construct DB Statistics shall I take the object type as Info Cube or Info Package?*
Because when I use the InfoPackage as the Object Type I won't get any error message.
I need the clarification that:
Shall we Construct the DB Statistics over Info Cube or over the Info package?
Any suggestions please.
Thanks & RegardsWe had the same problem. This had to do with a support package. Implement note 1122289 or BI Patch 17 (SAPKW70017). This solved our problem.
Regards,
Freek -
Hi all,
I am facing trouble in Bi 7 admin cockpit.
all infocubes, datasources,infopackages,process chains are installed .
Process chains are running without any errors...
But the problem is DATA IS NOT GETTING UPDATED.
As tehre is no errors i took one example.
I ran 10 queries with long set of runtime s
I thought it should update the data in Statistics.
But the next day after process chains completed their schedule ,
There is no relevant data related to runtimes of queries .
There is no relevant data related to runtimes of such queries even after 1 week.
I ran all queries in Front end and olap section.....
What can be the error that i would be facing ?
there is similar to other things
rElated to Runtimes of cubes, Process chain status etc....
The data is not updating correctly...
Please suggest.Please check the following note
Note 1049806 - ST03N : No workload data found
I hope it helps.
regards
tamilboy -
Problem in Dataload for Statistics Infocube
Hi,
We are installing BI Statistics Infocubes (0TCT_C01) in our BID, BIT & BIP systems respectively and running the Statistics Query (ZTCT_C01_MQ_01) to track the Performance. The Infocubes were successfully loaded with data in BID & BIT systems and we also ran the Query in both the systems. In the middle, We recently refreshed our BI Quality system (BIT system) with a copy of the BI Production system (BIP system). After refreshing, the Infopackages created in BIT system for loading Statistics no longer exists. We created Infopackages again and tried loading the data but the dataload fails giving a Short dump. Please find the short dump below:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_PARAMETER_INVALID_RANGE', was not
caught in procedure "GET_MD_TIMESTAMP" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated. The reason for the exception is:
Parameter has invalid value: Parameter SYST_DATE/SYST_TIME has invalid value
00000000/000000.
From the Short dump, it seems the dataload failures is due to the problem in Time stamp & date variation. We checked the system date and time and is showing the correct value only. We are confused on what could be the problem. Is there any specific OSS Note to solve this issue?
Your help is highly appreciated.
Thanks,
MuraliHi Daya,
Thanks for your time.
I tried the step. I gave the Source system name as {"BITCLNT001" & Datasource name as "0TCT_DS01", i am getting a pop-up message "There is no Datasource with these attributes".
The Datasource name is correct only, i am not sure why this pop message is displayed.
Regards,
Murali -
Problem in update database statistics
when i run
update database statistics
when it completed it becomes red
then i check it out
log file there i found error
BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:
'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~0"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;
ORA-00904: : invalid identifier
ORA-06512: at "SYS.DBMS_STATS", line 10621
ORA-06512: at "SYS.DBMS_STATS", line 10645
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~0
BR0280I BRCONNECT time stamp: 2009-11-03 10.56.12
BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:
'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~DSX"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE
ORA-00904: : invalid identifier
ORA-06512: at "SYS.DBMS_STATS", line 10621
ORA-06512: at "SYS.DBMS_STATS", line 10645
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~DSX
what will i do
please suggest somethingHi Anant ,
I think you need to update your brtool patch as described in [Note 874911 - Workaround for ORA-31603 (BR0996E) during reorganization|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=874911].
Hope it will solve your problem as it is due to bug in oracle.
Regards,
Gagan Deep Kaushal -
Problem with Amplitude Statistics
I'm a relatively new Adobe Audition user and am trying to use it to identify peaks in my recordings of gunshots, but am having problems. I generally have 3-4 gunshots recorded in 1 file and need to find the peak amplitude of each one. I was under the impression I could select each gunshot in turn and use Window -> Amplitude Statistics to find the peak amplitude for the selected recording, but it keeps giving me amplitudes for what are quite clearly (by visual inspection) not the peaks, or the peak of the next gunshot (which hasn't been selected). Can anyone help me with this problem or has anyone experienced anything similar?
Many thanks.
LisaWell it works fine here, exactly the way you are using it, but there are two things:
Firstly, when you are zoomed right out, you don't necessarily see all of the peaks - they can easily get lost. Sometimes you have to zoom in quite a long way to see the true ones.
Secondly, if you aren't running it, then download and install the 3.0.1 patch for Audition - this has a number of bugfixes in it, including one for the Amplitude statistics. -
Hi Folks,
i have installed the bi content queries for BI Statistics. 0TCT_MCA1_Q0200. for this query the the records are displaying like this.
bi application- bi application object-count for bi applicaitoncount for bi application objecttotal time
1. WebTemplate # 10 0 70
2. not assigned query1 0 4 20
likewise.....
my doubt is in the first record the web template contains 2 queries so the count at BI applicaiton object must be 2 right? but why its giving 0 which is meaning less. either way is not possible. bcas in the 2nd record its correct ,as it don include in the web template. so please advice me what i have to do to make the data meaningful and please let me know if any settings need to do anywhere.
waiting for your reply. as this is high priority issue please respond immediately.
your help will be appreciated greatly.
Thanks in advance,
AshokHi Rama,
thanks for your reply. i know the difference b/w BI application and BI application object counts.
bi applicaiton count only give the workbooks and web templates no of executions.
bi application object count will give the number of query/query view/element navigation executions.
but my question here is if we display both in single query why its not showing the values with complete record.
if the count for either is having values then other one is having 0's.
i just wnat to know why this is happening. even i checked the query on the cube 0TCT_CA1. in cube also its same.
please let me know the mitigation in that. the report will display like that only or what..?
my requirement is i want to see for my web template what is the count and how many queries are included in the web template and what is time take to execute the web template and the queries included in that as a single record.
hope u understand..if no plz let me know.
Thanks,
Ashok
Maybe you are looking for
-
HT1923 itunesHelper was not installed correctly. please reinstall itunes. error 7
I am trying to install new version of itunes. It kept telling me that it was not installed properly. My os system is window 7. I unstalled apple related software through control panel and reinstalled new one. But still erros. Please help!!
-
Multi mapping and File Content Conversion
Hi, I've created a similar interface to the the one in this blog /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible In the Config, I receive a CSV and use FCC in the File Adapter to build the XML file. Because of the mult
-
Getting a new phone from a Verizon store
Ok I need someone to clear this up for me please. I am a Verizon prepaid customer and I went to a Verizon Wireless store to buy a new Verizon prepaid cell phone because my old one is starting to fall apart. I was told at the store that if I wanted to
-
Hi I had an old Actionscript code that works with a Tree component. The idea is that when you open an Branch, it collapses before the already opened ones, so you have only branch at the same time. I try to reproduce it with a flex component but if I
-
Installation problems with MSI KT6V
Hi friends I've bought a MSI KT6V with AMD Athlon 3000+ XP When i try to install any game i have this message. Sorry for the frenchies' OS It's says : An In-Out error has occured while installing a file. This is generally made by an alterated file