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

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 -

    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.

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

  • OBIEE Usage Tracking Table Is Not Populated

    Hello everybody,
    OBIEE Usage tracking table (s_nq_acct) is not populated correctly for last a few weeks. I have no experience on configuring / managing usage tracking jobs, so I do not know where to start to solve this problem. First of all, which log file should I go to find the problem? And also which parameters should I look? Can you help me please.
    Regards,
    Dilek

    Check that the absolutely correct and precise connection pool information contained in your RPD matches what your entries in the MBeans which then get written to the NQSConfig.ini.
    Check that your UT physical model in the RPD physical layer isn't and old (11.1.1.5) setup running on a 11.1.1.7 env where the column definitions don't match.
    Several log files. NQServer.log and NQQuery.log to begin with.

  • 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

  • Write Back from OBIEE 11g to multiple tables in DB

    Hi All,
    We have requirement to write-back from OBIEE 11g to multiple tables in DB.
    1) Inserting a new row in report. Inserting record into multiple tables through OBIEE?
    2) In report we have fields like Region Id, Product Id, Date, Quantity. Region Id, Product Id, Date are dimension fields and Quantity is Fact measure while inserting row in report does OBIEE checks Refrential Integrity Constraint during Write Back on DB.
    Let me know if you need more details on this. Thanks in Advance.
    Regards,
    Rajkumar.

    Hi,
    1) With regard to inserts into multiple tables, try using multiple insert tags (I haven't tried it) but I think it should work.
    2) I don't think OBIEE would check referential integrity , but DB would and give you appropriate response.
    Let us know how you got on...
    Thanks & Regards

  • [59053] Usage Tracking stopped because the specified Usage Tracking table

    Immideatly after server startup, I am gettting this log in the NQServer.log.
    [59053] Usage Tracking stopped because the specified Usage Tracking table contained the wrong number of columns or a column with an inappropriate data type.
    Any idea how I can find out which table needs update?
    Thanks
    -SJ
    Here are the details of hte tables I have in the Usage tracking schema :
    CREATE TABLE "RMI"."S_NQ_ACCT"
    (     "USER_NAME" VARCHAR2(128 BYTE),
         "REPOSITORY_NAME" VARCHAR2(128 BYTE),
         "SUBJECT_AREA_NAME" VARCHAR2(128 BYTE),
         "NODE_ID" VARCHAR2(15 BYTE),
         "START_TS" TIMESTAMP (6),
         "START_DT" TIMESTAMP (6),
         "START_HOUR_MIN" CHAR(5 BYTE),
         "END_TS" TIMESTAMP (6),
         "END_DT" TIMESTAMP (6),
         "END_HOUR_MIN" CHAR(5 BYTE),
         "QUERY_TEXT" VARCHAR2(1024 BYTE),
         "SUCCESS_FLG" NUMBER(10,0),
         "ROW_COUNT" NUMBER(10,0),
         "TOTAL_TIME_SEC" NUMBER(10,0),
         "COMPILE_TIME_SEC" NUMBER(10,0),
         "NUM_DB_QUERY" NUMBER(10,0),
         "CUM_DB_TIME_SEC" NUMBER(10,0),
         "CUM_NUM_DB_ROW" NUMBER(10,0),
         "CACHE_IND_FLG" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
         "QUERY_SRC_CD" VARCHAR2(30 BYTE) DEFAULT '',
         "SAW_SRC_PATH" VARCHAR2(250 BYTE) DEFAULT '',
         "SAW_DASHBOARD" VARCHAR2(150 BYTE) DEFAULT '',
         "SAW_DASHBOARD_PG" VARCHAR2(150 BYTE) DEFAULT '',
         "PRESENTATION_NAME" VARCHAR2(128 BYTE) DEFAULT '',
         "ERROR_TEXT" VARCHAR2(250 BYTE) DEFAULT '',
         "RUNAS_USER_NAME" VARCHAR2(128 BYTE) DEFAULT '',
         "NUM_CACHE_INSERTED" NUMBER(10,0) DEFAULT NULL,
         "NUM_CACHE_HITS" NUMBER(10,0) DEFAULT NULL
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M1" ON "RMI"."S_NQ_ACCT" ("START_DT", "START_HOUR_MIN", "USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M2" ON "RMI"."S_NQ_ACCT" ("START_HOUR_MIN", "USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M3" ON "RMI"."S_NQ_ACCT" ("USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE OR REPLACE FORCE VIEW "RMI"."NQ_LOGIN_GROUP" ("LOGIN", "RESP") AS
    Select DISTINCT USER_NAME as "LOGIN", RUNAS_USER_NAME as RESP From S_NQ_ACCT
    Edited by: SachinJ on Aug 3, 2009 7:54 AM

    Compare the S_NQ_ACCT table you created with the table structure defined in the rpd under the physical layer database object "Oracle Analytics Usage".

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

  • Usage Tracking table column definition

    Hi Gurus,
    I am not able to visualize the difference / significance of these two columns in S_NQ_ACCT table for usage tracking:
    NUM_CACHE_HITS - {Indicates the number of times existing cache was returned.}
    NUM_CACHE_INSERTED - {Indicates the number of times query generated cache was returned.}
    i got NUM_CACHE_HITS which gives the number of times cache match has occured, but what is role / meaning of NUM_CACHE_INSERTED, the documentation says "Indicates the number of times query generated cache was returned" what is query generated cache?
    Thanks,
    Sri

    hi jups,
    By deafult that parameter wil be null ,but any query got cached then it updates its value this way num_cache_inserted = 1
    Will this help you Definitions of time-related fields of usage tracking data
    hope helps you.
    Cheers,
    KK

  • OBIEE 11g - No fact table exists at the requested level of detail

    My dimesion tables are snow-flake.
    Table1 has Key, ProductName, ProductSize, Table2Key
    Table2 has Key, ProductDepartment, Table3Key
    Table3 has Key, ProductDivision
    I have created 2 hierarchies (in same dimension Product). Note: ProductSize is in Table1.
    ProductDivision > ProductDepartment > ProductName (shared level)
    ProductSize > ProductName (shared level)
    There are 2 fact tables
    Fact1 is at ProductName level
    Fact2 is at ProductDepartment level
    When I create a request with columns as ProductSize and some measure; and filter it on ProductDepartment. The request fails with error "No fact table exists at the requested level of detail", but the request can ideally be answered using fact with ProductName level.
    I have properly defined logical level keys in the hierarchies and logical level in the LTS (content tab)
    Can anyone point me what I am doing wrong here?

    Since both fact tables are at same granular level I would suggest to map each other (Signon_A maping Signon_B) in BMM layer logical fact @source.
    Considering them as Fact and with fact extension.
    BTW: Did you try by setting implicit fact at subject area properties?
    Edited by: Srini VEERAVALLI on Feb 1, 2013 9:04 AM

  • 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/

  • Usage tracking problem : not started due to non-existent Usage Tracking tab

    Hello,
    I need some help after following the necessary steps to setup 'Usage Tracking'.
    My table S_NQ_ACCT stays empty.
    The structure in the rpd files looks like
    * OBI Usage Tracking
    Connection Pool
    Usage Tracking Writer Connection Pool
    Catalog
    dbo
    S_NQ_ACCT
    My nqsconfig has the following entries related to usage tracking
    # Usage Tracking Section
    # Collect usage statistics on each logical query submitted to the
    # server.
    [ USAGE_TRACKING ]
    ENABLE = YES;
    DIRECT_INSERT = YES;
    PHYSICAL_TABLE_NAME = "OBI Usage Tracking"."Catalog"."dbo"."S_NQ_ACCT";
    CONNECTION_POOL = "OBI Usage Tracking"."Usage Tracking Writer Connection Pool" ;
    BUFFER_SIZE = 10 MB ;
    BUFFER_TIME_LIMIT_SECONDS = 5 ;
    NUM_INSERT_THREADS = 5 ;
    MAX_INSERTS_PER_TRANSACTION = 1 ;
    When making queries on the Usage Tracking SA, I still receive the following error in the NQServer.log File
    +[59049] Usage Tracking not started due to non-existent Usage Tracking table "<Database>"."<Catalog>"."<Schema>"."<Table>".+
    What am I doing wrong??
    Txs for your quick help on this!
    Kr,
    A.

    Can you post your entire NQSConfig.INI file?
    According to the message guide (http://download.oracle.com/docs/cd/E12103_01/books/AnyMsg/AnyMsg_Messages.html#wp1007961) the error you're getting specifies the table that OBIEE is trying to use, so the fact that yours reports literally "<Database>"."<Catalog>"."<Schema>"."<Table>" makes me think maybe the wrong config is being picked up. Also your comment that using a file instead of DB doesn't work either.

  • Usage tracking problem

    Hi all,
    I am trying to set up usage tracking in obiee 11.1.1.6 but I am not able to see any data in the usage tracking table (S_NQ_ACCT). The table is always empty and no data get collected.
    I used the new MBean feature to set up the usage tracking details in NQSConfig.ini
    I don't see any details in the NQServer.log saying that usage tracking has started.
    I did it in two different environment and in both I am not able to see data in the table.
    Any ideas?
    Thanks

    So connection is good and all usage tracking settings in Mbean set to "true".
    1. Are you using table created by RCU in _BIPLATFORM schema?
    2. Is this fresh install or upgraded?

Maybe you are looking for

  • Since i have updated the osx, my audio and video for Photo Booth had been altered... How to fix this problem????!!!!

    please help me! I make YouTube videos and count on PhotoBooth to do so and now it's not working!!! Any solutions??? Am I the only one with this problem??? When I record a video it goes and i will talk and yea... make a video... but then when I play i

  • Problems updating iPOD with iTunes.

    My library has 4800 songs and iTune starts the update process normally. At some point through the process, the ststus bar will say "Ok to disconnect iPod" and nothing has been transfered. I also noticed that bottom of of the screen indicated the disk

  • SQL Developer dropping first column in a SQL SELECT

    Am not too certain who to report this to... but I just noticed that SQL Developer will not return the first column in a SELECT statement when there is a comment just after the SELECT reserved word when running the query in the SQL Worksheet. For inst

  • Error -50 when exporting to YouTube, .mac, etc.

    I made an iMovie, that I want to export to Youtube. The Movie plays fine within iMovie 08, but when I want to export it to YouTube or .mac, I get the following error message : The following Event is missing "Desktop". Error -50. Anone has got any ide

  • Can't install Security Update 2012-003 for Leopard

    I can't install neither Security Update 2012-003 nor Flashback Removal Update. The installer says the software cannot be installed on my machine. I am on a G5 (PPC) iMac running OSX 10.5.8. What's going wrong? By the way, automatic software update di