Significance of S_ETL_DAY & S_ETL_TIME_DAY tables in "Usage Tracking"

Hello Experts,
I am working with Usage Tracking.
I found that there are tables S_ETL_DAY & S_ETL_TIME_DAY tables.
Can you please explain me the significance of these tables and what is the job of those. I just googled for it but no luck.
How these tables data updated and used if i want to implement usage tracking for my project? (real time)
Thanks in advance

Hi.
S_ETL_DAY and S_ETL_TIME_DAY are time dimension tables. One has day and other has day-time as granularity.
They are used in usage tracking option along with S_NQ_ACCT which joins them.
Joins are:
S_ETL_DAY.DAY_DT = S_NQ_ACCT.START_DT
and
S_ETL_TIME_DAY.HOUR_MIN = S_NQ_ACCT.START_HOUR_MIN
They are also used for time series calculations. If you see, they have AGO columns.
Regards
Goran
http://108obiee.blogspot.com

Similar Messages

  • 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 - 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 - Cant perform insert operation inside a READ ONLY trans

    Hello,
    I have been experiencing the following error message when trying to install a row in our s_nq_acct table for USAGE TRACKING:
    [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.
    - I am able to manually insert rows via SQL*Plus whilst logged on as the same user as the Connection Pool
    - The Read Only option is not ticked for the ODBC
    Can anyone please help me with this?
    Thanks,
    Rhys

    Hi rnm1978,
    You were right!
    I was being a bit retarded and had to simply switch the call interface on the connection pool to use the OCI and ensure the dta source name was that of the TNS names entry and not the system DSN.

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

  • How does the S_NQ_AACT table gets written when working with Usage Tracking?

    Hi,
    We want to monitor the performance of each subject area so we have implemented the Usage Tracking.
    We have followed the steps mentioned on the link http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/usage_tracking/usage_tracking.htm
    But now the table S_NQ_ACCT is not getting written, whenever any user logs into OBIEE and runs a request his entry is not logged into that table.
    Anybody has encountered such a type of issue help would be appreciated.
    Regards,
    Apoorv

    The part of NQSConfig,ini goes like this:
    [ USAGE_TRACKING ]
    ENABLE = YES; //DEFAULT: NO
    //==============================================================================
    // Parameters used for writing data to a flat file (i.e. DIRECT_INSERT = NO).
    STORAGE_DIRECTORY = "<full directory path>";
    CHECKPOINT_INTERVAL_MINUTES = 5;
    FILE_ROLLOVER_INTERVAL_MINUTES = 30;
    CODE_PAGE = "ANSI"; // ANSI, UTF8, 1252, etc.
    //==============================================================================
    DIRECT_INSERT = YES;
    //==============================================================================
    // Parameters used for inserting data into a table (i.e. DIRECT_INSERT = YES).
    PHYSICAL_TABLE_NAME = "OBI Usage Tracking"."Catalog"."dbo"."S_NQ_ACCT" ; // "<Database>"."<Catalog>"."<Schema>"."<Table>" ; // Or "<Database>"."<Schema>"."<Table>" ;
    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 ;
    //==============================================================================
    The User has the previleges to write to the table, I am not sure where I have gone wrong?
    Regards,
    Apoorv

  • [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".

  • Unable to import sample Usage Tracking RPD objects

    Hi guys,
    OBIEE version 10.1.3.3.0. We are trying to import the objects that come in the sample Usage Tracking RPD (OracleBI/server/Sample/usagetracking/UsageTracking.rpd) into our own RPD. We have been able to create the S_NQ_ACCT table which is working fine and the BI Server populates with user activity in our Oracle DB. We also created and populated the NQ_LOGIN_GROUP, S_ETL_DAY and S_ETL_TIME_DAY tables from the scripts provided in OracleBI/server/Sample/usagetracking/SQL_Server_Time/. I added all the objects to the Physical Layer and updated row counts with no problems. I am now trying to import the objects into the Business Layer in the Admin Tool. When I try to copy/paste the Measures object from the sample RPD I get the following error:
    [nQSError: 28006] Near Line 904, <"join nQ_CALENDAR Year Ago NQSACCT">: Not defined.
    I am doing the following replacement:
    "OBI Usage Tracking"."Catalog"."dbo"
    for
    "Usage Tracking".""."MIOBIEE_O"
    Which covers the different DB setup in my RPD. What else am I missing?

    I didn't copy paste the objects from one repository to the other, but I imported the UsageTracking.rpd into our main repository, by clicking on File, Import -> from Repository.
    Before you do this, you must make this option available. Under Tools, Options and tab General, you must check the "Allow import from repository" option.
    Then you should check the database settings in the connection pool, for instance the call interface, this can be OCI instead of ODBC.
    Regards,
    Stijn

  • OBI 11.1.1.6 Usage Tracking

    Hi,
    I want to enable Usage Tracking in OBI and I'm wondering if I can use table S_NQ_ACCT which was created by RCU and can I create S_ETL_DAY time table in DEV_BIPLATFORM schema created by RCU?

    Yep, that's the right way to do it. Note that the 11.1.1.6 release notes say the bug about having a 10g version of the usage tracking RPD fixed to be 11g doesn't seem right - I still get errors that the version is incompatible.
    Thx,
    Scott

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

  • BI publisher report : why "Database Usage Tracking Summary"  repport is empty ?

    Hi everyone,
    I'me using BI publisher intergated to Grid Control12c (R3), trying to get "Database Usage Tracking Summary" report folowing Oracle documentation (http://docs.oracle.com/cd/E24628_01/doc.121/e24473/usage_reports.htm#EMADM13568)
    And I have 2 problems :
    1) FTPburst delivery is not working, sftp is configured but still have the folowing error
    Echec de la distribution.
    [INSTANCE_ID=gs00slli052.occ.lan.1424277393149] [OUTPUT_ID=1973]
    Echec de distribution du document
    [INSTANCE_ID=gs00slli052.occ.lan.1424277393149] [DELIVERY_ID=1974]Error deliver document to FTP::Exception happened when calling deliver API::Error deliver document to FTP::FILE=[::Exception happened when calling deliver API::oracle.xdo.delivery.ssh2.SshException: Error in writing data Broken pipeoracle.xdo.service.delivery.DeliveryException: oracle.xdo.delivery.ssh2.SshException: Error in writing data Broken pipe
    at oracle.xdo.service.delivery.impl.DeliveryServiceI
    2) Since FTPburst delivery is not working, i decide to try mail delivery. The delivery itself is working but the report is empty (see Sortie1.xls in attachements)
    So i don't know why is it empty.
    Can someone   guide me  ?

    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.

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

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

Maybe you are looking for