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
Similar Messages
-
Enabling OBIA Usage tracking in Unix server.
Hi,
I am working in OBIA project where I need to enable Usage Tracking. I have done it successfully in my local machine which is in Windows OS. But when I deployed the same Repository in Unix server its not working.I have enabled the Usage Tracking in NQSConfig.INI and set the connection pool properly for Usage Tracking table.
When I am looking at the server log file, the Usage Tracking subject area is loading properly. But I am not able to understand what additional setting i need to do in Unix server to make it enable.
Please help me in resolving the isssue.
The NQSConfig entry is as below:
[ USAGE_TRACKING ]
ENABLE = YES;
//==============================================================================
// 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 = "Oracle Analytics Usage"."Catalog"."dbo"."S_NQ_ACCT" ; // Or "<Database>"."<Schema>"."<Table>" ;
CONNECTION_POOL = "Oracle Analytics Usage"."Usage Tracking Connection Pool" ;
BUFFER_SIZE = 10 MB ;
BUFFER_TIME_LIMIT_SECONDS = 5 ;
NUM_INSERT_THREADS = 5 ;
MAX_INSERTS_PER_TRANSACTION = 1 ;
Thanks.
Edited by: user8846993 on Jan 28, 2010 4:16 AMHi
Check whether you are getting answers capability ....for usage tracking
If you have that ...Did you deploy the usage tracking catalog in your
instance config file...only after that you will be able to see the preseeded
usage tracking dashboard
Regards -
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. -
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 PMHi,
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 -
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. -
I configured Usage tracking but for some reason S_NQ_Acct table is not populating rows. I checked the error log and I see there has been some problem with the usage tracking. I used the 10.1.3.4 usage tracking rpd and did update the connection pools to point to the right database.
The rpd metadata columns and the tables created under the schema are consistent. I do not see any errors under Usage tracking canned reports or the columns. All i see is No results because S_NQ_ACCT table is always empty, even though I ran some reports.
Here is my usage tracking settings under nqsconfig.ini file
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 ;
My NqServer log details:
2010-07-08 14:53:14
[59055] Usage Tracking started.
2010-07-08 14:53:16
[16020] Metadata Database Type: Oracle8.1
Data Source Name: Dev
Data Source Type: Oracle 10.02.0020
2010-07-08 14:53:16
Data Source Name: Dev
Client Driver Version 10.02.0001
2010-07-08 14:53:16
[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: 984 message: [Oracle][ODBC][Ora]ORA-00984: column not allowed here.
[nQSError: 16015] SQL statement execution failed.
I tried to debug what that error is but i was not successfull in doing so. One thing that i wanted to mention here is, when creating the NQ_LOGIN_GROUP view, I edited th default script for creating the column LOGIN to USER_NAME as LOGIN is a key word in ORACLE database. I dont think that is causing the issue here, as I renamed the rpd Physical column of the table as well. That was the only change i made and rest of them are default settings.
Any suggestions here....
Thanks
PrashA lot of things smell fishy in your post. For a start your BI Server log says "Metadata Database Type: Oracle8.1" but then it says you are using "Client Driver Version 10.02.0001". Which database version are you running? If you are running 10g then make sure you set the correct database type in the Physical layer. If you are using Oracle then you should be using Oracle native drviers in your connection pool (OCI) however the PHYSICAL_TABLE_NAME definition has the "dbo" which seems to suggest you are using ODBC. Also the error you are gettign seems to suggest you are using ODBC. The insert the BI Server sends looks like this:
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, 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, RUNAS_USER_NAME, NUM_CACHE_INSERTED, NUM_CACHE_HITS)
So try that manually to see if it works but it seems you need to to some RPD config changes first as it all looks too fishy to me. -
Hello,
Can we customize the usage tracking tables?
I want to capture how long a user had a session open. Is this achievable?
If yes, how?
Thanks,
DeepYou said :
The query used to get trimmed outI thought that you may use a trigger on the table "OBI"."S_NQ_ACCT".
Check here for a before insert trigger :
http://www.techonthenet.com/oracle/triggers/before_insert.php
Or as example,
connect you on oracle on the OBI schema and start this code :
CREATE OR REPLACE TRIGGER S_NQ_ACCT_before_insert
BEFORE INSERT
ON S_NQ_ACCT
FOR EACH ROW
BEGIN
-- Substr
:new.QUERY_TEXT := substr(:old.QUERY_TEXT,1,1024);
END;Then for each row, a substr will be performed.
Success
Nico -
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,
ApoorvThe 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 -
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 -
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,
Aviproblem 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 - Access problem when Authentication Mode = Windows
Hi Everyone,
I´m working on UPK Usage Tracking configuration, in order to provide the finished training material.
1) In Server01 (on Window Server 2003) the UPK Usage Tracking is installed
2) In Server02 (also on Windows Server 2003) the Usage Tracking database is installed
3) By accessing the configuration file (http://Server01/ODSTrack/configuration/setup.aspx) on Server01,I setup the Authentication Mode = Forms
Note: The rest of the configurations were done.
4) Once the configuration from step 3 is done, I execute the traning material (on Server01) from another node of the windows network
and as a result I´m able to perform it.
5) I access the Statistc data on Server01 by accessing the file (http://Server01/ODSTrack/admin/default.aspx)and I´m also able to see the results.
6) When I execute the step 3 but with Authentication Mode = Windows, and including the GROUP name (windows group specially created for this goal where my user is included),
- I still have access to the training material (step 4)
- I have NO aceess to the statistics data any more (step 5) and the following message is display
"You do not have permission to access this page. Please contact your Usage Tracking Server Administrator to update your permissions. "
I don´t know what else I can do, and I wonder if some other configurations need to be done at windows network and/or explorer lever or any other.
Any help would be appreciated.
Best Regards//
Rubén ZamudioHi All,
This problem was solved by reconfiguring Usage Tracking in the authentication method (was anonymous and the solution was Windows integrated).
It is important to count on people from your organization working on Networks with some knowledge in IIS.
Best Regards
Ruben -
Usage Tracking Catalog Problem
I am trying to setup usage tracking in OBIEE running on Windows 2008. Every time I try to open the sample catalog I receive the following error: Error initializing/loading existing Catalog: D:\UsageStatistics\UsageTracking. I have tried the file from three different installs with the same error. I am using 7-Zip to unpack the zip file.
Any ideasSorry about that -- this is 11g. I haven't gotten far. I have been using blogs like: http://obieeelegant.blogspot.com/2011/08/obiee11g-setting-up-usage-tracking.html to guide me. While looking at the sample files provided I just wanted to take a look at the catalog provided in OBIEEHOME\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\sample\usagetracking\usagetracking.zip. When I unzip and then try and open it in offline mode I am getting the error.
Maybe you are looking for
-
Efficientl​y building an array of increasing values for a graph
I need to build an array of values increasing by 3E-8. Initializing an array and changing each value in a while loop works fine, but it is terribly slow. Is there a better (faster) way of building an array of increasing values like this?
-
How to use event structure of event data nodes event filter nodes in programming
hi, I need manual of how to use 'event structure' events of 'event data nodes' and 'event data filters'...please help me.... Regards Ravindranath
-
Successfully backed up Curve 8330 to DM V 4.1. (ad to wipe handheld due to a server upgrade.) Tried to restore back to Curve V 4.7 and won't recognize the file. First thought is to restore to an old 7130 phone first then perform a back up on a ne
-
Error 523 please help for that
im facing this problm ..phn restart continuously and app error 523 is display..plz for tht
-
I do not manage to install Final Cut Studio 5.1
I ordered and received from APPLE the universal version of Final Cut Studio 5.1. I do not manage to install it owing to the fact that when I write the serial number manufacturer for the recording and that I make "enter" ; a window appears east mentio