BI statistic query
Hi All,
Could you please let me know the BI statistic query will give the data for, which user running queries against cube for last 3 months? we are using BI7
(Query name, user name, Day and time)
Regards,
Ravi
Hi Ravi,
Please check these queries..
0TCT_MC01_Q200
0TCT_MC01_Q201
0TCT_MCA1_Q202
0TCT_MCA1_Q200
0TCT_MC02_Q200
0TCT_MC02_Q202
I am not sure which one is for that in the above queries. you can check the queries in the business content and you can directly use the queries.one query will show you aggregated query runtime stats. and detailed query runtime stats i.e, by user by query by executions..you can see all..
Thanks,
Ashok
Similar Messages
-
Hi gurus,
I runs BW Statistics queries, and in most cases I get a record which contain Not Assigned, i.e. under the query name field appear Not Assigned.
Is there anybody encounter this problem ?
What data it contains ?
Thankfully,hi,
have you upload the master data for 0query (? check the exact infoobject name technical name in the bw statistic query, i have no access to system), 0infoobject etc. -
Unable to restrict the new cubes(transactional) in the query
hi bw pro's,
i have a bw statistic query(custom one) query is designed by statistic cube(0BWTC_C02). In the query 4 custom cubes are restriced. now the requirement is 2 more transactional cubes need to be added in the query.
now the problem is when i am trying to restrict the another two cubes, i am unable to find the 2cubes in the list of the cubes.
even i added the two cubes for bw statistics by choosing tools->bw statitstics for infoprovider.
still iam unable to see in the list. Can anybody suggest me. how to proceed.
any response will be rewarded.
thanks
suriHi stefan,
Thanks for your reply.well hope it will resolves the problem.
before that i want to clarify one more doubt, wht exactly ur telling in the first point about navigations, i am not getting that. can you be detail plz.
The second point is BW stats cube are lastly updated on 08. 2004.hope it would also be another reason.
Thanks,
suri -
How often was a specific query executed?
Hey gurus,
this is a question I try to answer with BI Statistics.
Which characteristic do I need, to restrict my statistic-query it to a specific query/Workbook?
Thx and Rgds,
fischmirCheck :
BW Stats to see how often a query is used
How many times BEx query has been executed??? - Very Urgent
How often BW queries are executed -
How to conditionally put a percentage sign in a column in a report
Background: In the past, our users have been provided with a spreadsheet of statistics that was created manually, by running a bunch of barely related queries, manually entering the data into the spreadsheet, adding formatting and headings, etc. They wanted this moved to APEX, and they wanted to be able to export it as one spreadsheet. The only way I could find to do this was to combine all the queries into one huge query.
So I have a report of 22 unique queries unioned together. The third and fifth columns are percentages. I found Column format with percent ( % ) sign post that explained how to use the HTML Expression (under Column Attributes) to add a percentage sign (#COL03#%).
This worked fine except for that in order to get the headings how they wanted them, I had to do something like:
-statistical query-
union all
select '<b>HEADING ONE</b>', null, null, null, null from dual
union all
-statistical query-
etc.
The problem now is that I don't actually want the percentage sign in the heading rows. Is there a way to change the HTML Expression so it's conditional, and it only appends the percentage sign if the value in that row is not null? Or alternately, is there a way to append the percentage sign in the actual select statement, so I could go through each of my 22 queries and append it only when I know it's needed? A simple example of one of these queries is:
select ''New Enrollees'' as a,
(count(case when extract(month from rdate) = :P45_MONTH_SELECT THEN 1 else NULL END)) as monthly,
(((count(case when extract(month from rdate) = :P45_MONTH_SELECT THEN 1 else NULL END))/:P45_TOTAL_MON_SUBMISSIONS)*100) as m,
(count(case when extract(month from rdate) <= :P45_MONTH_SELECT THEN 1 else NULL END)) as YTD,
(((count(case when extract(month from rdate) <= :P45_MONTH_SELECT THEN 1 else NULL END))/:P45_TOTAL_SUBMISSIONS)*100) as y
from main
where extract(year from rdate) = :P45_YEAR_SELECT
Thanks in advance for your help!
-Gaso
Edited by: gaso on Feb 4, 2009 1:39 PM
Edited by: gaso on Feb 9, 2009 4:39 AMwhy don't you add the percentage sign in the query itself, e.g. with a case statement to show it conditionally?
-
BW Statistics Queries & Dashboards
Hello All,
I have a required to build a BW Statistics Dashboard (cockpit).
I already activated the BW Statistics and daily deltas are loading to the cubes. Now i am in the process of creating BW Dashbords.
My question is what Reports/Queries/Charts are frequently used to in BW Stats Dashboards?? any performance indicators ??
any sample dashboards documents or specs for the same are welcome. [email protected]
Thanks in advance
POPSIn 7.0, there is a new BW Statistical Query and Dashboard which can be published on portal, but if you are not in 7.0, then you can use the existing BW Statistical query which was attached to the statistical cubes. Then you just need to create dashboard.
1. Most/least frequently executed query.
2. Average time the most executed query takes.
3. Load performance, how long does the normal daily (weekly, monthly) loads take.
4. Master data load performance.
there are thousands of performance measures in the query and you can create dashboard on those metrics.
thanks.
Wond -
Creating query on Bex - Quaterly comparison for statistical & Actual
Hi All,
I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
My Key Figures should be
1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
same thing for 4 Quaters. finally with
4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
The report was generated with 'no applicable data'.
I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
Please let me know how can I create this query with these Key Figiures.
Any help would be appreciated. Please respond with the reply.
Thanks,
Aparna.Hi
The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type, Version , Valuation View
Then you can check that you have some information with the combination of values of your chars:
Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
PY -
Statistic of the executions of the Query
Hi people,
I have to find out how many time my query was executed.
I know there is a table: RSDDSTAT, but it shows me only one register and this query was already executed many times.
Obs.: This query is based on ODS.
Could you help me please and say why the RSDDSTAT doesn´t show me a quantity of registers we waited to find?
And if there is other better way to find that?
Thank you a lot,
Rosana.1.Goto ST03N
2.Select user mode as "Expert"
3.From Functions list (upper left pane) select "BW System Load" and under month selection, select your time duration
4.From the analysis view (down left pane) from the "Reporting" expand "Query Runtimes" and double click "BEx Queries".
5.Output is shown in right pane.
6.Select aggregation level as query.
7.Double click on the query name
8.A window popup with every run of the query.
9.To find out, how many times it has run, click on "Display Graphics" button. It will show with no of runs as X-axis
OR
if you are working with BW 3.5 you can look in table RSDDSTAT in BI 7.0 it is RSDDSTAT_OLAP.
Make a selction on the infocube and the OLAP Statistic Object which is the query ID/tech name and execute. Then you should see how often the query was executed, by whom and which date/time. -
I'd like to know if there is any easy, and convenient way, for someone to execute an SQL query an calculate, these measurments relative to the query:
1) The I/O performed
2)Number Read I/O
3) Number of Write out I/O
(such that 2+3 = 1
4) Number of buffered reads
5)Query Execution time
6) Query CPU usage
I've heard mention of such statisctis in views such as V$OSSTAT, etc.
But these views give the current values, and not the specific cumulative values. Such as: cummulative CPU usage time since start of the query; cumulative I/O since query begin, etc...
What is the right approach to this. Is it through the V$SESSION view? Would you about it by storing the V$SESSIOn values before the query, you run the query, and get the new V$SESSION values?Well, actually i stayed here a little longer to try you part 2 of the manual.
It worked fine, following comes the output, originating from a spool file, of my first experiment:
Connected.
SQL> set timing on trimspool on linesize 250 pagesize 999
SQL>
SQL> -- system environment can be checked with:
SQL> -- show parameter statis
SQL> -- this show a series of parameters related to statistics
SQL>
SQL> -- this setting can influence your sorting
SQL> -- in particular if an index can satisfy your sort order
SQL> -- alter session set nls_language = 'AMERICAN';
SQL>
SQL>
SQL> rem Set the ARRAYSIZE according to your application
SQL> set arraysize 15 termout off
SQL>
SQL> spool diag2.log
SQL>
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'))
PLAN_TABLE_OUTPUT
SQL_ID b4j5rmwug3u8p, child number 0
SELECT USRID, FAVF FROM (SELECT ID as USRID, FAVF1, FAVF2, FAVF3,
FAVF4, FAVF5 FROM PROFILE) P UNPIVOT (FAVF FOR CNAME IN ( FAVF1,
FAVF2, FAVF3, FAVF4, FAVF5)) FAVFRIEND
Plan hash value: 888567555
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time |
Buffers |
| 0 | SELECT STATEMENT | | 1 | | 5 |00:00:00.01 |
8 |
|* 1 | VIEW | | 1 | 5 | 5 |00:00:00.01 |
8 |
| 2 | UNPIVOT | | 1 | | 5 |00:00:00.01 |
8 |
| 3 | TABLE ACCESS FULL| PROFILE | 1 | 1 | 1 |00:00:00.01 |
8 |
Predicate Information (identified by operation id):
1 - filter("unpivot_view_013"."FAVF" IS NOT NULL)
Note
- dynamic sampling used for this statement
26 rows selected.
Elapsed: 00:00:00.14
SQL>
SQL> spool off
SQL>
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Pr
oduction
With the OLAP, Data Mining and Real Application Testing options
C:\Documents and Settings\Administrator\My Documents\scripts\oracle\99templates_
autotrace>my_part2_template.bat
C:\Documents and Settings\Administrator\My Documents\scripts\oracle\99templates_
autotrace>sqlplus /NOLOG @my_part2_template.sql
SQL*Plus: Release 11.1.0.7.0 - Production on Qui Jul 9 22:00:39 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
SQL> set timing on trimspool on linesize 250 pagesize 999
SQL>
SQL> -- system environment can be checked with:
SQL> -- show parameter statis
SQL> -- this show a series of parameters related to statistics
SQL>
SQL> -- this setting can influence your sorting
SQL> -- in particular if an index can satisfy your sort order
SQL> -- alter session set nls_language = 'AMERICAN';
SQL>
SQL>
SQL> rem Set the ARRAYSIZE according to your application
SQL> set arraysize 15 termout off
SQL>
SQL> spool diag2.log
SQL>
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'))
PLAN_TABLE_OUTPUT
SQL_ID b4j5rmwug3u8p, child number 0
SELECT USRID, FAVF FROM (SELECT ID as USRID, FAVF1, FAVF2, FAVF3,
FAVF4, FAVF5 FROM PROFILE) P UNPIVOT (FAVF FOR CNAME IN ( FAVF1,
FAVF2, FAVF3, FAVF4, FAVF5)) FAVFRIEND
Plan hash value: 888567555
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time |
Buffers |
| 0 | SELECT STATEMENT | | 1 | | 5 |00:00:00.01 |
8 |
|* 1 | VIEW | | 1 | 5 | 5 |00:00:00.01 |
8 |
| 2 | UNPIVOT | | 1 | | 5 |00:00:00.01 |
8 |
| 3 | TABLE ACCESS FULL| PROFILE | 1 | 1 | 1 |00:00:00.01 |
8 |
Predicate Information (identified by operation id):
1 - filter("unpivot_view_013"."FAVF" IS NOT NULL)
Note
- dynamic sampling used for this statement
26 rows selected.
Elapsed: 00:00:00.01
SQL>
SQL> spool off
SQL>
SQL>
SQL> -- rem End of Part 2
SQL> show parameter statis
NAME TYPE VALUE
optimizer_use_pending_statistics boolean FALSE
statistics_level string ALL
timed_os_statistics integer 5
timed_statistics boolean TRUE
SQL> quitIf you notice, at the end of the execution I print my statistics session environment. The statistics_level was set to ALL, as you advisied. But the output I obtained seems a lot more incomplete than the one I got from using the autotrace feature.
Am I missing something. Could it have something to do with the fact that I am running as system and not as sysdba? System shoul have enough permissions to access its session environment statistic values.
May be it's just a language issue (I'm not a native speaker either) but your understanding of Oracle's read consistency model seems to be questionable.No, you could be right; my understanding is questionable indeed. I am familiar with general concepts of concurrency.
Things like: Read uncommited data:
T1 Writes A; T2 Reads A -> Here is a conflict
This enough for you to not be able to guarantee that the execution is serializable.
T1 Reads A, T2 Writes A and commits, T1 Reads A - You get another confli, the Unrepeatable read.
And so on.
I am also familiar with the different levels of atomicity that databse systems in general give you.
Conflict Serializable, normally implemented by using the strict phase locking mechanism.
Repeatable Reads, you lock the rows you access during a transaction. You are guaranteed that those data values you access do not change value; but other entires in the table could be put.
Unrepeatable reads. Only the data you modify is guaranteed to stay the same. Only you write locks are kept throughout the transaction. And so on.
But anyway...
What you explained in your post is more or less what I was saying. In you case much more clear than in mine.
For instance, if a thread T1 reads A; a thread T2 Writes on A
In oracle, you could have the thread T1 read A again without geting an Unrepeatable Read error. This is strange: in a normal system you directly get an exception telling you that your vision of the system is inconsistent. But in oracel you can do so, because oracle tries to fetch from the Undo Table Space that same data objects consistent with the view of the system you had when you first accessed it. It looks for a block with an an SCN older than the current version SCN. Or something like that. The only problem is that those modified blocks do not stay indefinitely there. Once a transaction commits you have a time bomb in your hands. That is, if you are working with that is not at its most current version.
But you are quite right, I have not read enough about Oracle concurrency. But I have a good enough understanding for mu current needs.
I can not know everything, nor do i want to :D.
My memory is very limited.
My best regards, and deepest thanks for your time and attention.
Edited by: user10282047 on Jul 9, 2009 2:41 PM -
Null Under Query Name in BI Statistic
Dear all
Why in BI Statistic there are lots of records with empty query name in the
InfoCube BW statistic OLAP- 0BWTC_C02 ?
Regards
DesmondI am not sure which button you pressed and which tool are you using ;however below are the options available.
Reporting Methods nw2004s
You can use the BEx Analyzer, the Web Applications and the Web Analyzer for the Business Explorer for free multidimensional
data analysis as a part of Enterprise reporting.
Bex Analyzer
http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/45583ca544eb51e10000000a114084/frameset.htm
Web Applications
http://help.sap.com/saphelp_nw2004s/helpdata/en/05/4b583cf7388362e10000000a114084/frameset.htm
Web Analyzer
http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
Hope it Helps
Chetan
@CP.. -
Problem with query based on the statistic cube
Hello,
I need to make a report based on the statistic cube in order to display:
User
Query
Last Date of execution of the Quey
I find the following result:
User 01 Query 01 Date1
User 01 Query 01 Date2
User 01 Query 01 Date3
How to display only the first line with the last date of execution of the query?
Thanks.Hi,
This requirement is easily feasible in webi.In bex you need to create formula variable with replacement path on your date.
Then you can apply exception aggregation on this newly created as last value or first value and reference characteristic as the date.
Only constraint is that you need to put date in rows when you use formula variable otherwise it will not display the value.
So it doesnt serve your purpose.Even we had similar requirements in past where we were not allowed to do modeling level changes so to accomplish that we made webi report.
Hope this helps.
Regards,
AL -
Statistical MP 0BWTC_C10 Query
HI Guy's
i need to create the Statistics query how many users are accessing Inventory Application reports
the information that i need is
attributes:
u2022 user id
u2022 first name
u2022 last name
u2022 country
u2022 organization name
u2022 department name
u2022 email
key figures:
u2022 # of navigations per day
As far as selection criteria are concerned, we need:
u2022 User id
u2022 Date
u2022 Cube
u2022 Query
i found it we are abule to create the query based on the statistical multi provider 0BWTC_C10 , But this MP is available in Business content some one explain me how to install this statistical multi provider and how to maintain the data for this MP.
Regards,
KrishnaHi
Download the pdf document and go through it.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5401ab90-0201-0010-b394-99ffdb15235b
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
http://help.sap.com/saphelp_nw04s/helpdata/en/e5/2d1e3bd129be04e10000000a114084/frameset.htm
There are lots of informations available in SDN regarding BW statistics go through it.
Regards
M.A -
BI Query Statistic - Delta Update for 0TCT_C01.
Hi gurus,
I have installed certain Standard content objects (Infoproviders and respective queries). One of such infoprovider is 0TCT_C01. I donot have a process chain for this infoprovider, hence I load data every morning manually into this cube via a delta.
The number of records that come in with first delta run for the day is around 400 - 500. Yesterday, I ran this delta in the afternoon as well And I got 4 records in the update.
Now, this cube would have details as to how many times a particular query has been run, How many queries have been run for the day, what are the users etc.
My question is that when I ran the delta the first time in the morning, i got 450 odd records, but how come the count is so less when I ran it in the afternoon.
One thing I would mention is that there are a lot of users who use a lot many queries very frequently, so its would not be correct to say that only few queries have been run since morning.
Could anyone put some light on this.
Rgds,
Sree.
Edited by: Sree Nair on Oct 15, 2009 7:51 AMNo update,
So closing the thread -
Query on AWR tables to get a statistic on access to a table
Hi all,
I'm trying to find a way, querying awr tables, to find how many times per hour (as any snapshot is hourly) a table SCOTT.EMP is accessed or an application called myapp.exe perform SELECT operation on a schema...
Does anyone already have a query for this?
Thanks
LukeHi,
Check the below can help you :
http://www.oracleexpert.co.uk/2008/12/useful-10g-awr-historical-system-views/
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
How do you determine or calculate the time which would be taken to fill the Setup tables? Is it based on the number of records in the DB tables or something else?
Suppose somebody says it would take about 10 hours to fill the Setup tables, on what basis does he say or what factors does he consider?
Thank You!HI,
Please go thorugh this thread,same thing has been discussed in details. It might be very useful for you.
LO Extraction approx time duration for PO Items (2lis_02_itm)
Regards,
AL
Maybe you are looking for
-
As soon as I sign in to the bank but before I put in my secure passwords, I look and there is another Mozilla tab saying update 7 drivers, or update now. Above is one of the lines I saw in my browser. This doesn't seem to be happening on any other we
-
Why I can no longer save edited images as jpeg file in CS6?
When the save dialog box appears, under Save Options and next to Layers there is a yellow triangle with an exclamation mark showing the Layers are not saved. My images are 72 dpi, I have changed screen resolution and no result.I have the image set to
-
How to Activate T.code LBK1
Hi guru's, While opening SAP Std T.code LBK1 , systerm is giving error ' transaction doesnot exists ', I know there are some badis we need to implement, but need some help regarding implementation. I want to activate this transaction..for log book en
-
How do I get quicktime to recognize the mp4 file? I am trying to copy a you tube video to powerpoint.
-
Hi All , I i have the data in below format: Name Age Skill Company Vass 21 Java Zylog Samy 24 PB HP Lee 18 ADF CTS Reng 16 Java Info I converted this data into java collections List<Hash Map