OBIEE 11g Usage Tracking -

Hello,
I'm looking for a better way than Administration/ Manage Sessions to keep an eye on long-running queries.
Is there a way to get OBI to place information about currently running (started but not ended) queries into usage tracking so that I can see long-running reports though an analysis in the Usage Tracking subject area?
As far as I can see, I can only query completed reports/dashboards from the usage Tracking Subject area. The "status" column in the Manage Session display is not availalble in the Usage Tracking subject area and a filter on End Time = null yields no results. Any ideas/strategies welcome! Thanks.

You could use the nqquery.log to look for queries that have started but not finished. You'd need to parse it for relevant start/finish and match up the IDs.
There is an nqquery.log parser on MOS somewhere, that might be a good starting point.

Similar Messages

  • OBIEE 11g - Usage Tracking Not Working

    Dear All,
    I have enabled the usage Tracking in OBIEE 11g by using Setting up Usage Tracking in Oracle BI 11g guide.
    Still i am getting the following error
    Usage Tracking not started due to non-existent Usage Tracking table "12-Usage Tracking"."Usage Tracking Schema"."S_NQ_ACCT".
    In my RPD,
    Database Name : "12-Usage Tracking"
    Physical Schema Name : "Usage Tracking Schema"
    Physical Table Name : "S_NQ_ACCT"
    This table reside under BIPLATFORM Schema in Oracle.
    I have followed the steps mentioned in the Document, still unable to find why getting such error. Please point out if any mistake exists.
    Please advice.

    Hi,
    Good for you.
    Maybe you can post the solution and how you solved your issue to help other users having the same problem and then close the thread (currently it's still This question is Not Answered.)

  • OBIEE 11g - Usage Tracking - All details are not captured

    Hi
    We have implemented USAGE TRACKING in our RPD on OBIEE 11.1.1.5. It is working fine, only in few cases it is failing... failing to update with appropriate information...
    For the field SUCCESS_FLG the value is populated as 3 - which means "The query failed due to some other reason" as per documentation. When checked the logs, there is no much information in that to conclude what went wrong. Log level is set to 3.
    My question is, What are the possible reasons to have this success flag as 3? To capture all the details in the table S_NQ_ACCT, what need to be done? Any settings change?
    Please share your thoughts...
    Thanks,

    Hi,
    Good for you.
    Maybe you can post the solution and how you solved your issue to help other users having the same problem and then close the thread (currently it's still This question is Not Answered.)

  • OBIEE 11G - Usage Tracking - Table S_NQ_DB_ACCT

    Hi
    I successfully set up usage tracking in Obiee 11 and the table S_NQ_ACCT gets a lot of new records. Basically it's working.
    In the nqserver.log I get some errors concerning a new table S_NQ_DB_ACCT:
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute: INSERT INTO S_NQ_DB_ACCT (ID,LOGICAL_QUERY_ID,QUERY_TEXT,QUERY_BLOB,TIME_SEC,ROW_COUNT,START_TS,START_DT,START_HOUR_MIN,END_TS,END_DT,END_HOUR_MIN) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12).
    This is an additional Usage Tracking Table which didn't exist in OBIEE 10G.
    I configured the table as S_NQ_ACCT in the same place in the repositry/connection pool. Writing to this table should be possible.
    Does anybody has an idea what could be wrong? Does another user fill data to this table than the user which fills data to S_NQ_ACCT?
    Thank you

    Hi
    Thank you.
    I use the table within the default RCU created schema. What I don't understand ist why the table S_NQ_ACCT gets a lot of records (because I set the loglevel) but S_NQ_DB_ACCT keeps empty with the error in the nqserver.log. I mean if one table works then the other should be working too? I checked also the permissions which are the same for both tables.
    [2012-06-04T15:14:39.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 7d4f9e9d968c0bfe:-39c197c9:13773b9d89f:-8000-000000000005c768] [tid: 18e0] [nQSError: 17011] SQL statement execution failed. [[
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute: INSERT INTO S_NQ_DB_ACCT (ID,LOGICAL_QUERY_ID,QUERY_TEXT,QUERY_BLOB,TIME_SEC,ROW_COUNT,START_TS,START_DT,START_HOUR_MIN,END_TS,END_DT,END_HOUR_MIN) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12).
    ]]

  • OBIEE 11g Usage Tracking - Physical SQL

    Hi All,
    The Query Text column gives me only the logical SQL. The Log Level is set at 2. How can I get the physical SQL via Usage tracking?
    Thanks for your time and help.

    Hi,
    Good for you.
    Maybe you can post the solution and how you solved your issue to help other users having the same problem and then close the thread (currently it's still This question is Not Answered.)

  • 11g usage tracking

    I have installed 11g r5 and I need to configure Usage Tracking
    but I cannot find ddl-file to create S_NQ_ACCT table.
    ...bifoundation\OracleBIServerComponent\coreapplication_obis1\schema\SAACCT.Oracle.sql
    where I can find this ddl-file?

    You can use this,
    CREATE TABLE S_NQ_ACCT
    USER_NAME VARCHAR2(128 CHAR),
    REPOSITORY_NAME VARCHAR2(128 CHAR),
    SUBJECT_AREA_NAME VARCHAR2(128 CHAR),
    NODE_ID VARCHAR2(15 CHAR),
    START_TS DATE,
    START_DT DATE,
    START_HOUR_MIN CHAR(5 CHAR),
    END_TS DATE,
    END_DT DATE,
    END_HOUR_MIN CHAR(5 CHAR),
    QUERY_TEXT VARCHAR2(1024 CHAR),
    QUERY_BLOB CLOB,
    QUERY_KEY VARCHAR2(128 CHAR),
    SUCCESS_FLG NUMBER(10),
    ROW_COUNT NUMBER(10),
    TOTAL_TIME_SEC NUMBER(10),
    COMPILE_TIME_SEC NUMBER(10),
    NUM_DB_QUERY NUMBER(10),
    ***DBTIME_SEC NUMBER(10),
    ***NUMDB_ROW NUMBER(10),
    CACHE_IND_FLG CHAR(1 CHAR) DEFAULT 'N' NOT NULL,
    QUERY_SRC_CD VARCHAR2(30 CHAR) DEFAULT '',
    SAW_SRC_PATH VARCHAR2(250 CHAR) DEFAULT '',
    SAW_DASHBOARD VARCHAR2(150 CHAR) DEFAULT '',
    SAW_DASHBOARD_PG VARCHAR2(150 CHAR) DEFAULT '',
    PRESENTATION_NAME VARCHAR2(128 CHAR) DEFAULT '',
    IMPERSONATOR_USER_NAME VARCHAR2(128 CHAR) DEFAULT '',
    NUM_CACHE_INSERTED NUMBER(10) DEFAULT null,
    NUM_CACHE_HITS NUMBER(10) DEFAULT null
    )

  • OBIEE 10g Usage Tracking

    HI Experts,
    I have implemented Usage Tracking in our project.
    I have few questions on this implementation.
    1. Users coming from Ldap server-- One new user loged into answers after that he has not doing any thing, The home page is blank. wether this user captured into usage tracking table or not?
    2. After login this user he has not select any report /Dashboard .
    Please let me know how we captured this user in usage tracking.
    Please help me it is very urgent.
    Thanks

    Check these
    http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html
    http://santoshbidw.wordpress.com/2010/11/12/portalpath-variable-obiee-10g/
    Pull one more date column click on fx->click on variable->Session-> enter USER
    Pls mark correct or helpful

  • While doing usage tracking

    Hi everyone,
    when i am doing usage tracking i am getting below error
    [2012-12-11T15:39:11.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 919a4c7b38fb3847:-5476f916:13b8a33ecad:-8000-0000000000000b78] [tid: e9c] [nQSError: 17011] SQL statement execution failed. [[
    [nQSError: 17001] Oracle Error code: 984, message: ORA-00984: column not allowed here
    at OCI call OCIStmtExecute: INSERT INTO "S_NQ_ACCT" (USER_NAME, REPOSITORY_NAME, SUBJECT_AREA_NAME, NODE_ID, START_TS, START_DT, START_HOUR_MIN, END_TS, END_DT, END_HOUR_MIN, QUERY_TEXT, QUERY_BLOB, QUERY_KEY, SUCCESS_FLG, ROW_COUNT, TOTAL_TIME_SEC, COMPILE_TIME_SEC, NUM_DB_QUERY, CUM_DB_TIME_SEC, CUM_NUM_DB_ROW, CACHE_IND_FLG, QUERY_SRC_CD, SAW_SRC_PATH, SAW_DASHBOARD, SAW_DASHBOARD_PG, PRESENTATION_NAME, IMPERSONATOR_USER_NAME, NUM_CACHE_INSERTED, NUM_CACHE_HITS) VALUES('weblogic','Star','AGG','instance1:corea',convert(datetime, '2012-12-11 21:09:11', 120),convert(datetime, '2012-12-11 00:00:00', 120),'21:09',convert(datetime, '2012-12-11 21:09:11', 120),convert(datetime, '2012-12-11 00:00:00', 120),'21:09','SET VARIABLE PREFERRED_CURRENCY=''AUD'';SELECT 0 s_0, "AGG"."AGG_ST_DATES_OBIEE"."DAT" s_1, "AGG"."AGG_ST_DATES_OBIEE"."DAY" s_2, "AGG"."AGG_ST_DATES_OBIEE"."MONTH" s_3 FROM "AGG" ORDER BY 1, 4 ASC NULLS LAST, 3 ASC NULLS LAST, 2 ASC NULLS LAST','SET VARIABLE PREFERRED_CURRENCY=''AUD'';SELECT 0 s_0, "AGG"."AGG_ST_DATES_OBIEE"."DAT" s_1, "AGG"."AGG_ST_DATES_OBIEE"."DAY" s_2, "AGG"."AGG_ST_DATES_OBIEE"."MONTH" s_3 FROM "AGG" ORDER BY 1, 4 ASC NULLS LAST, 3 ASC NULLS LAST, 2 ASC NULLS LAST','92FBACEDD4F4F5F3C26F1B31C93C97CD',0,2,0,0,1,0,2,'Y','Report','/shared/CCD/WRITE BACK','','','AGG','',0,1).
    And i think it is happening due to these values
    ,convert(datetime, '2012-12-11 21:09:11', 120),convert(datetime, '2012-12-11 00:00:00', 120),'21:09',convert(datetime, '2012-12-11 21:09:11', 120),convert(datetime, '2012-12-11 00:00:00', 120)
    so plz suggest how to resolve this.
    thanks in advance
    Ashish Kumar

    Ok, when you say you merged the Usage Tracking rpd, where did you get it from? Also, which tables did you create in the database for Usage Tracking? Please try to use the rpd here since the one that comes with the installation had issues: http://total-bi.com/2011/09/obiee-11g-usage-tracking-rpd/

  • Web services in OBIEE 11g

    Hello,
    I have few Questions on webservices usage in OBIEE 11g(11.1.1.7.0).
    Can we use/invoke the web service in OBIEE 11g?If yes,please provide me details.
    If we install OBIEE 11g ,can we get the BI publisher as free product or do i need to configure anything?
    Can i use the Webservices with BI publisher?If yes,then what is the difference between OBIEE 11g usage and BI publisher usage?
    thanks,
    prassu

    Hello Prassu,
    Below my comments in bold
    Can we use/invoke the web service in OBIEE 11g?If yes,please provide me details.
    Yes we can Invoke
    Invoking Web Services from OBIEE | srikalyan's blog
    If we install OBIEE 11g ,can we get the BI publisher as free product or do i need to configure anything?
    Yes we will get
    Can i use the Webservices with BI publisher?If yes,then what is the difference between OBIEE 11g usage and BI publisher usage?
    No we cannot use webservices with BI Publisher.We can only use webservices in OBIEE/Analytics
    Btw what is your requirement?
    Thanks,
    Sasi Nagireddy..

  • OBIEE 11g web services

    Dears
    I'm using OBIEE 11.1.1.5 and i am write java code to call web services as the following:
    import com.siebel.analytics.web.soap.SAWSessionServiceLocator;
    //import oracle.bi.web.soap.internal.SAWSessionServiceSoap;
    import com.siebel.analytics.web.soap.SAWSessionServiceSoap;
    import oracle.svcmsg.ServiceException;
    public class TestSAW {
    public TestSAW() {
    String username = "weblogic";
    String password = "welcome99";
    public void testSimpleOBIEEService() {
    try {
    SAWSessionServiceSoap service = getService();
    String sessionID = service.logon(username, password);
    System.out.println("sessionID" + sessionID);
    } catch (Exception ex) {
    ex.printStackTrace();
    private SAWSessionServiceSoap getService() {
    SAWSessionServiceSoap result = null;
    SAWSessionServiceLocator locator = new SAWSessionServiceLocator();
    locator.setSAWSessionServiceSoapEndpointAddress("http://anas:9704/analytics/saw.dll?wsdl");
    result = locator.getSAWSessionServiceSoap();
    return result;
    public static void main(String[] args) {
    TestSAW tt = new TestSAW();
    tt.testSimpleOBIEEService();
    when i copmile the code it give me that SAWSessionServiceLocator is not found becuase i attached sawsoapjaxwsstubs.jar and it doesn't have this class, so i found this class at sawsoapstubs.jar from OBIEE 10g after i attached it then give me the following error : Error(33,9): Service not found in class com.siebel.analytics.web.soap.SAWSessionServiceLocator .
    can anyone please help me or give me the right code or jar file i should used to call the web services.
    Thanks

    Hello Prassu,
    Below my comments in bold
    Can we use/invoke the web service in OBIEE 11g?If yes,please provide me details.
    Yes we can Invoke
    Invoking Web Services from OBIEE | srikalyan's blog
    If we install OBIEE 11g ,can we get the BI publisher as free product or do i need to configure anything?
    Yes we will get
    Can i use the Webservices with BI publisher?If yes,then what is the difference between OBIEE 11g usage and BI publisher usage?
    No we cannot use webservices with BI Publisher.We can only use webservices in OBIEE/Analytics
    Btw what is your requirement?
    Thanks,
    Sasi Nagireddy..

  • Usage Tracking in OBIEE 11g - S_NQ_DB_ACCT and S_NQ_ACCT

    Hi Experts,
    How to fetch the physical query using usage tracking in OBIEE 11g, i hope in OBIEE 11g there is a feature to capture the physical query using S_NQ_DB_ACCT.
    I have imported the table S_NQ_ACCT and S_NQ_DB_ACCT in to RPD.
    Please let me know how to join these two tables(Using which Key).
    Thanks.

    Hi,
    Which version are you using it?
    If you in obiee11.1.1.6.0 and above version refer,
    CREATE TABLE [dbo].[S_NQ_ACCT](
         [USER_NAME] [varchar](128) NULL,
         [REPOSITORY_NAME] [varchar](128) NULL,
         [SUBJECT_AREA_NAME] [varchar](128) NULL,
         [NODE_ID] [varchar](15) NULL,
         [START_TS] [datetime] NULL,
         [START_DT] [datetime] NULL,
         [START_HOUR_MIN] [char](5) NULL,
         [END_TS] [datetime] NULL,
         [END_DT] [datetime] NULL,
         [END_HOUR_MIN] [char](5) NULL,
         [QUERY_TEXT] [varchar](4000) NULL,
         [QUERY_BLOB] [ntext] NULL,
         [QUERY_KEY] [varchar](128) NULL,
         [SUCCESS_FLG] [numeric](10, 0) NULL,
         [ROW_COUNT] [numeric](10, 0) NULL,
         [TOTAL_TIME_SEC] [numeric](10, 0) NULL,
         [COMPILE_TIME_SEC] [numeric](10, 0) NULL,
         [NUM_DB_QUERY] [numeric](10, 0) NULL,
         [CUM_DB_TIME_SEC] [numeric](10, 0) NULL,
         [CUM_NUM_DB_ROW] [numeric](10, 0) NULL,
         [CACHE_IND_FLG] [char](1) NOT NULL,
         [QUERY_SRC_CD] [varchar](30) NOT NULL,
         [SAW_SRC_PATH] [varchar](250) NOT NULL,
         [SAW_DASHBOARD] [varchar](150) NOT NULL,
         [SAW_DASHBOARD_PG] [varchar](150) NOT NULL,
         [PRESENTATION_NAME] [varchar](128) NOT NULL,
         [ERROR_TEXT] [varchar](250) NOT NULL,
         [IMPERSONATOR_USER_NAME] [varchar](128) NOT NULL,
         [NUM_CACHE_INSERTED] [numeric](10, 0) NULL,
         [NUM_CACHE_HITS] [numeric](10, 0) NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    this one is working fine and no issue.
    Thanks
    Deva

  • OBIEE 11g (11.1.1.6) usage tracking migration

    Hi Team,
    I am facing issue in setting up the usage tracking in 11g (11.1.1.6).
    All the tables and views are available in DEV_BIPLATFORM schema. Migration of the the RPD and the Catalog (available under 'sample' folder) is failing.
    Error: Wrong Password.
    I have used the default password of Usage Tracking rpd (Admin123 as well as Administrator) during migration. Even though the migration fails.
    Is there any bug associated with this as i have also tried to open the RPD with 10g (10.1.3.4) and also with 11g (11.1.1.6). In both case, they failed to open.
    Error in 10g:
    [nQSError: 36010] Server version 184 cannot read the newer version 266 of the repository.
    Error in 11g:
    [nQSError: 36015] Please run the upgrade utility obieerpdmigrateutil to upgrade the repository.

    This is a bug.
    Raised SR with Oracle to resolve it. Oracle has provided a new RPD.

  • Usage Tracking Subject Area in OBIEE 11 not visible in Answers

    Hi All,
    I implemented Usage tracking in OBIEE 11G, set the permissions to every one in presentation layer of the rpd. Re started the server, I am able to see Usage Tracking dashboard but not able to see Usage Tracking Subject area in the Answers.
    Please help me..
    Thanks,
    LonaD

    Hi,
    I tried to set privileges under Administration->Manage Privileges->Add respective role to that SA,
    here the respective role is not showing up to add in search. However i have already Created Application Roles and Assigned User Groups to Roles.
    Please help.
    Thanks,
    LonaD

  • OBIEE usage tracking questions

    Hi,
    I am using OBIEE 11g and we enabled usage tracking.
    Recently, i have observed that some inserts to S_NQ_ACCT table is failing due to "String literal too long" error.
    We have configured VARCHAR(4000)  for QUERY_TEXT column in physical layer which is causing issues since the executing query has more than 4k characters, I would like to configure in such a way that the insert should not fail and  it should exceed with first 4k chars inserted.
    The one way i can think of is, in physical layer importing as a view(with subtr() applied on query_text)  in lieu of physical table.
    Is there any other way i can achieve this?
    Thanks,
    Pandeeswaran

    HI,
    May I know obiee version?
    Can you refer below thread, it sees similar error.
    https://forums.oracle.com/message/9866218
    https://forums.oracle.com/message/10091143
    Thanks,
    Satya

  • Need Usage Pattern Report in OBIEE 11g

    Hi All,
    I have a requirement, where I need to know who logged in, to OBI Application in the last 3 months and who has not. How do I get that? Basing on START_DT in S_NQ_QCCT, I can put a filter with Start Date using BETWEEN RANGE, but since OBIEE logs in only those users who logs in, am not sure how to capture the records for non-logged in users during the same period. I have to report output in a pie chart with the percentages.
    Any help would be highly appreciated, since its an urgent need. Thanks in advance.
    Regards,
    Vinag

    You need to have all users in some custom table and customize the usage tracking BMM model by using outer joins so that you can see user who are not logged in.
    If helps pls mark

Maybe you are looking for