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

Similar Messages

  • Problem while installing Usage Tracking in OBIEE 10g

    Hi all,
    I am installing usage tracking in OBIEE for that created a database called usertracking using the sample tables provided in OBIEE 10g. everything is fine, but while configuring the NQSConfig.INI (like, PHYSICAL_TABLE_NAME   = "usertracking"."dbo"."S_NQ_ACCT" ; where usertracking is the database ) file I am getting the error called : Error 1067 : The process terminated unexpectedly.
    Please help me by your precious suggestions.
    Thanking you,
    Jagadeesha
    Edited by: Jagadeesh on Apr 15, 2012 9:55 PM

    Hi,
    Just keep it only below
    PHYSICAL_TABLE_NAME = "usertracking"."dbo"."S_NQ_ACCT" ;
    for example oracle default usage tracking setting in NQSconfig.ini file
    PHYSICAL_TABLE_NAME = "OBI Usage Tracking"."Catalog"."dbo"."S_NQ_ACCT";
    CONNECTION_POOL = "OBI Usage Tracking"."Usage Tracking Writer Connection Pool" ;
    For more info refer :
    http://obiee101.blogspot.com/2008/08/obiee-setting-up-usage-tracking.html
    http://www.obieetalk.com/obiee11g-setting-usage-tracking
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/biee/r1013/usage_tracking/usage_tracking.htm
    http://oraclebizint.wordpress.com/2007/08/14/usage-tracking-in-obi-ee/
    Thanks
    Deva

  • Error in implementing Usage Tracking in OBIEE

    Hi All,
    I wants to implement Usage Tracking in my project. I have done all the steps as per link http://obiee101.blogspot.com/2008/08/obiee-setting-up-usage-tracking.html
    But i am getting following error in NQServer.log file----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [59048] Usage Tracking encountered an insert statement execution error. This error has occurred 1 times and resulted in the loss of 1 insert statements since this message was last logged.
    [nQSError: 16001] ODBC error state: S1000 code: 1456 message: [Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction.
    [nQSError: 16015] SQL statement execution failed.
    I have also check by changing the Call_Interface in Connection Pool of Admin Tool from ODBC 3.5 to OCI 10g. By this chage i get ollowing error:
    [59048] Usage Tracking encountered an insert statement execution error. This error has occurred 1 times and resulted in the loss of 1 insert statements since this message was last logged.
    [nQSError: 17001] Oracle Error code: 3114, message: ORA-03114: not connected to ORACLE
    at OCI call OCIStmtExecute.
    [nQSError: 17011] SQL statement execution failed.
    Please help....
    Thanks in Advance...
    Regards,
    Avi

    problem is solved....
    Actually in NQServer.ini file i was using actual Database name instead of Admin Tool Physical Layer name at PHSICAL TABLE NAME: <database>.<schema>.<tablename>
    and at CONNECTION POOL: <database name>.<connection pool>
    thanks...

  • Usage tracking on OBIEE 10.1.3.3.1

    Hi All,
    We want to implement the usage tracking on the OBIEE version 10.1.3.3.1. But the default rpd provided by the Oracle from the link:
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/usage_tracking/files/SH_UsageTracking.zip
    belongs to the OBIEE version 10.1.3.4.0 and higher, so when I try to open the usage tracking rpd in the OBIEE 10.1.3.3.1 the rpd does not open.
    Has anyone encountered similar sort of problem? Any pointers to this would be highly helpful

    Hi,
    You can use the usagetracking RPD available from the below location,
    C:\OracleBI\server\Sample\usagetracking
    Thanks,
    Vino

  • OBIEE 11g RPD and case study document required for practice

    Hi OBIEE guru's,
    Could you please help me by posting OBIEE 11g sample RPD and case study document for creating Answers and Dashboards.
    I need to brushup my skills on creating Answers and Dashboards.
    Thanks in advance.

    Satya,
    have you looked at the sample app. This has many different cases and you can "play" with the data yourself. Quite powerful:
    http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html
    have fun
    alex

  • OBIEE 11g Actions and SSL

    Hi,
    I am attempting to use the action framework within OBIEE 11g, specifically invoke a web service. When I go to New -> Action I get a server error:
    An error occured during processing of the SSL protocol
    1093359936:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:1059
    The log viewer in Enterprise Manager gives us
    UNKNOWN_CA alert received from [HOST] - [IPADDRESS]. The peer is rejecting the certificate chain as being untrusted or incomplete.
    We have SSL on and it is working fine everywhere apart from when I try to create the action. I (and my colleagues) have trawled through all the documentation and googled everything we can think of with no success. Has anyone else seen this or maybe has an idea as to what is going on?
    Thanks for any help.

    Hi Christian
    Thanks for your reply. The BI system is SSl secured so is running over https but I don't even get a chance to select any web service, SSL or not, (or even put in a wsdl url) as the error occurs directly I click on anything that creates a new action. It is therefore an issue with SSL on the BI server itself (or the communication between components) but I am stumped to what it can be.

  • OBIEE 11g, Informatica and DAC: Migrating from Oracle DB to SQL Server?

    Hi Gurus,
    Currently we are implementing OBIEE 11g with Oracle BI Application for EBS (Supply Chain, Procurement & Finance modules). We have incorporated all OUT-OF-THE-BOX mappings and configurations in DAC, Informatica and RPD (no change, only OOTB). We were using Oracle DB and Linux servers.
    Now the client wants to migrate this to one Windows box.
    Can anyone point out, what are the changes need to done to migrate to SQL Server database. Any existing documentation or link will be helpful.
    Edited by: Sudipta Gupta on Aug 2, 2012 1:59 PM

    If you are using SQL Server 2008 then you need to edit the DAC config.bat file replace sqljdbc.jar with sqljdbc4.jar.
    Rest of DAC and Informatica configuration is almost similar.
    Let us if you come across any issues.
    Hope this helps

  • OBIEE 11g Hierarchy and Fact interaction

    I have an issue where I don't know if OBIEE functionality will allow for the behaviour requested. I have 2 Fact tables, one at the Date grain and one at the Date Time grain (Hours and Minutes).
    We have two Physical dimension tables (Time and Date). The Date snowflakes off the Time. My intention was to create one Logical Dimension (Date Time) and set up the appropriate Levels (Year | Month | Day | Hour | Minute).
    The Logical Layer consists of two Logical Facts, each with one LTS. And the one Time Date Dimension. The LTS for the Fact at the Date grain has its Content Level set to Day. The LTS for the Fact at the Date Time grain has its Content Level set to Minute.
    The behaviour I am seeing is that when a user runs an Ad-hoc request and selects, lets say Year, Month, Metric from Date grain fact. The default behaviour allows them to drill down from the Month to the Day, which is expected. What wasn't expected was that the default drill-down is still active on the Day column in this request. When the user drills into the Day column it returns the Hours with the metric now NULL. I would expect the metric being NULL as this Fact isn't at this level. What I wasn't expecting was the tool allowing the user to be able to drill past the Day when the Fact being hit has it's Content Level set to Day.
    I am missing something here or is this the expected behaviour?

    Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.

  • OBIEE 11g - zeros and nulls and rows, oh my!

    Hi, dumb question here, but I need some help with handling zeros and nulls with OBIEE.
    First off, I have a fact table that contains five "metrics" - A, B, C, D, and E. Often (but not always), only 1 of the 5 columns is populated, the others are NULL.
    In the RPD, I've brought in these 5 columns and set their aggregation to SUM. In addition, I've created other calculated metrics such as F = A+B, G = A+C+E, etc. To get these calculations to work right, I seem to have to use IfNull(metric,0) often, because apparently NULL plus a number equals NULL.
    From a usability standpoint, here's what I'm seeing on reports that I don't like (for instance, imagine the particular report is displaying columns A, B, and F only)
    #1 - If A and B are both NULL, the F column always shows as a 0 because the formula is IfNull(A,0) + IfNull(B,0). It would be nice if I could get F to also show NULL, without making the formula complicated
    #2 - Rows are showing on the report where everything on the row is either NULL or 0. I assume this is because one of the columns not being displayed has numbers in it. Is there a way to get OBIEE to not show rows that have all zeros or NULLs? Or is this due to the fact that the IfNull(A,0) + IfNull(B,0) is returning a non-NULL answer...and if I modified the formula so it did return a NULL it would magically go away?
    Thanks!
    Scott

    p.s. regarding issue #2...I suppose I could put a filter on to filter out rows with all zeros or NULLs, but this filter gets uglier and uglier as the number of columns grows...and I wouldn't want developers to have to do this.
    Thx,
    Scott

  • OBIEE 11g RPD and Weblogic Identity Management

    Hi,
    I have an issue where only users from one weblogic Provider (LDAPAuthenticator) can log into OBIEE.
    New users created using the default provider (DefaultAuthenticator) cannot log in (the exception is the Administrator user which was upgraded from 10g).
    If I open the RPD in online mode and connect to 'Identity Management', I do not see the new users above in the list (i.e. they have not been pulled down by OBI)
    Error message in the logs show "authentication passed, however use cannot be found in identity store" - which makes sense as I do not see them in the RPD. Any ideas?
    N.B: New application roles in weblogic are syncing with the the RPD correctly.

    Thanks for your reply Paul. That is quite a drawback if it is the case. I guess the fall back is to implement one authenticator and if that fails, it would pass on to the RPD authentication (like in 10g)? Have you by chance managed to implement the 'act as' obi functionality with the weblogic authenticator setup?

  • OBIEE 11G RPD and Catalog

    HI
    Can any one help me
    how to create new catalog for Bisample repository to deploy the rpd and catalog
    can any one explain beiefly plz

    Follow these steps
    1). Go to localDrive:C:\OBIEE11G\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
    2). Open your instanceconfig.xml file
    3). Find <CatalogPath> and </CatalogPath> tags
    4). Write the new catalong name that you want to create (suppose sh_new) then your tag should look like this
    <CatalogPath>C:\OBIEE11G\instances\instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/obirep</CatalogPath>
    5). Save the file and start/re-start the BI presentation service
    6). It automatically creates the obirep catalog, once we start our presentation service and you need not to create anything manually.
    Pls mark as correct

  • 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.)

  • 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 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).
    ]]

  • USAGE TRACKING Error in Obiee 11.1.1.6.0

    Hi All,
    I have configured usage tracking in our Obiee 11.1.1.6.0 version properly using enterprise manager. And, I have also created a a subject area in the repository called "Usage Tracking" where I gave all the details of "DEV_BIPLATFORM" schema in the connection pool as well. Now when I go to analysis to build a report using same subject area, I can't see any results. I checked the SQL and its quering from the right table "S_NQ_ACCT" but just can't populate the usage information. Also I checked in the database. The table is empty there too!! But It works fine for Obiee 11.1.1.5.0 version.
    I referred following oracle link to configure usage tracking in Obiee 11.1.1.6.0.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/ut/ut.html
    PLEASE HELP!!
    Thanks,
    BK.

    Hi,
    Thank You for your quick reply. The table permission was alright.
    Its very strange that, we configure usage tracking in obiee 11.1.1.6.0 using enterprise manager and that how all document says. And then it should automatically update the "NQSCONFIG.INI". But it was not updated there. So we need to change all configuration settings in both "Enterprise Manager" and also in the "NQSCONFIG.INI". Then it works fine!!
    Thanks,
    BK.

Maybe you are looking for