Query logging?
Hi,
A customer of mine picked up this in the essbase log
Missing Database Config File [C:\Hyperion\AnalyticServices\APP\<app name>\OHead\OHead.cfg], Query logging disabled
The essbase app is used for planning.
I cannot find the file concerned. The other databases do not have a config file.
Any ideas??
Thanks,
Nathan
You will only have a query loggin cfg file if you set one up. It is related to the query logging capability.
From the DBAG
Implementing Query Logs
Query logging provides a way for Essbase administrators to track query patterns of an Essbase database. The query log file tracks all queries performed against the database regardless of whether the query originated from Spreadsheet Add-in or Report Writer. Query logging can track members, generation or level numbers of members belonging to specific generations or levels, and Hybrid Analysis members. Query logging also offers the flexibility to exclude logging of certain dimensions and members belonging to generations or levels. Because the query log file output is an XML document, you can import the log file to any XML-enabled tool to view the log. For details about the query log file structure, refer to querylog.dtd in the ARBORPATH/bin directory.
To enable query logging, create a query configuration file (distinct from the essbase.cfg file) and add to the file the configuration settings that control how query logging is performed.
In the ARBORPATH\App\appname\dbname directory of Essbase, create a query log configuration file. The configuration file must be named dbname.cfg, where dbname matches the name of the database. For example, the query log configuration file for Sample Basic is basic.cfg. The output query log file is located at, by default, ARBORPATH\App\appname\dbname00001.qlg.
For more information about query logging and how to set up the query log configuration file, see the Technical Reference.
Similar Messages
-
OBIEE 11g : query log not found
Hi,
I am not able to see the query log in 11g answers manage session throwing error query log not found.
I am using obiee 11g. 11g admin client is installed in local machine and I upload the rpd through enterprise manager. But I can not able to open the rpd in online mode that's why cannot change the query log level=2 (as in obiee 10g) for seeing the query log in Answers. Usually after making changes in 11g rpd, I upload that in server via enterprise manager console.
Can anyone please tell me what should be correct option to see the query log and how I can open the rpd in online mode and how I can set the query log level in obiee 11g????
Please help.
Thanks
TitasHi,
Its known bug and it can be done by below methods,
Method1:
If you enabled loglevel for each users wise it may be override with below place also can you confirm both places.
enabled Tools-->Options-->Repository-->
System log level by default will be 0 just try to increase to 2 or 3 and save it.
Method1:
by each report wise enabling loglevel
try putting the below syntax in prefix section of advanced tab.
SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;
It should generate the log with database sql as well.
Method 3:
Create Session variable(LOGLEVEL) with initblock
in your init block --> datasource place put it like below query
select 3 from IW_POSITION
Note:just point any existing physical table from u r RPD.
Then try to save it and test it.
Refer screen
http://bidevata.wordpress.com/2012/03/03/no-log-found-error-in-obiee-11g/
Thanks
Deva
Edited by: Devarasu on Oct 11, 2012 11:44 PM -
SQL query log File..
Hi All,
I am using a standalone BIP environment... Is there way we can see the actual query log the BIP generates? which location on the server..or how to get it activated.
I want to see what is the actual sql query that is generated along with variables in it.
Fyi : I want to have the query log n not the server error log..
-devHi Eric,
I would like you to re-check on the content level settings here as they are the primary causes of this kind of behavior. You could notice that the same information might have written down in the logical plan of the query too.
Also, as per your description
"In the SOURCES for this logical table, I've set the logical level of the content for E2 appropriately (detail level, same as E1)"
I would like to check on this point again, as if you had mapped E2 to E1 in the same logical source with an inner join, you would get to set the content level at E1 levels themselves but not E2 (Now, that E2 would become a part of the E1 hierarchy too). This might be the reason, the BI Server is choosing to elimiate(null) the values from E2 too (even you could see them in the sql client)
Hope this helps.
Thank you,
Dhar -
Impact of Query Logging on Performance of Queries in OBIEE
I see from [An Oracle BI Blog post|http://obieeblog.wordpress.com/2009/01/19/obiee-performance-tuning-tip-%e2%80%93-turn-off-query-logging/] that Query Logging has a performance impact in OBIEE.
What is the experience with Query Logging at different levels in a Production environment with, say, 50 or 100 or 500 concurrent users ?
I am completely new to OBIEE, I know the Database. So, please bear with me.
Hemant K ChitaleKumar's blog that you reference says it all really.
I don't know if anyone's going to be able to give you the kind of information you're looking for, because it's a no-brainer not to enable this level of logging :)
Is there are reason you're even considering it?
Imagine in the database running a low-level trace or debug log for every user session... you just wouldn't do it -
Location of query log files in OBIEE 11g (version 11.1.1.5)
Hi,
I wish to know the Location of query log files in OBIEE 11g (version 11.1.1.5)??Hi,
Log Files in OBIEE 11g
Login to the URL http://server.domain:7001/em and navigate to:
Farm_bifoundation_domain-> Business Intelligence-> coreapplications-> Dagnostics-> Log Messages
You will find the available files:
Presentation Services Log
Server Log
Scheduler Log
JavaHost Log
Cluster Controller Log
Action Services Log
Security Services Log
Administrator Services Log
However, you can also review them directly on the hard disk.
The log files for OBIEE components are under <OBIEE_HOME>/instances/instance1/diagnostics/logs.
Specific log files and their location is defined in the following table:
Log Location
Installation log <OBIEE_HOME>/logs
nqquery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
nqserver log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_NQSAdminTool log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_NQSUDMLExec log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_obieerpdmigrateutil log (Migration log) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
sawlog0 log (presentation) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
jh log (Java Host) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent\coreapplication_obijh
webcatupgrade log (Web Catalog Upgrade) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
nqscheduler log (Agents) <OBIEE_HOME>/instances/instance1/diagnostics/logsOracleBISchedulerComponent/coreapplication_obisch1
nqcluster log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIClusterControllerComponent\coreapplication_obiccs1
ODBC log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIODBCComponent/coreapplication_obips1
opmn log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
debug log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
logquery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
service log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
opmn out <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
Upgrade Assistant log <OBIEE_HOME>Oracle_BI1/upgrade/logs
Regards
MuRam -
How to set up Query Logging in OBIEE 11g 11.1.1.6
Hi all,
I couldn't find the option for setting up the query logging for testing and debugging purpose. Could anyone plz help me in this ...
Regards,
ArunHi Arun,
For simplicity I'll direct you to a link http://obiee11gqna.blogspot.com.au/2011/04/obiee-11g-query-log-log-level.html
Richard -
The Connection String for the Query Log table is automatically encrypted.
When I try to use the Usage Based Optimization to apply Aggregation Design to my measure group, it shows me the following
error message.
The connection string cannot be found. Open Microsoft SQL Server Management Studio and, in the Analysis Server Properties
page, check the value of the Log\QueryLog\QueryLogConnectionString
property.
I encountered this error like two weeks ago. At that time I just reset the connection string and every things seem
to be fine. A week ago, I successfully applied the Usage Based Optimization for one of my cubes. However when I tried to apply UBO for my other cubes today, I encountered the same issue again! I believe no one has changed the property of
the connection string.
Also if I query the Query Log table, I can see those latest queries made by the users. I'm sure the queries are still
logging into this table.
This is really strange. Anyone else has encountered the same issue? Thanks.Hello Thomas,
I encounterd this issue. And I am struggling trying to solve this problem. If you have resolved this issue and I guess you must've, because this post is two years old, could you kindly post how you resolved this issue?
Thanks in advance
Best Regards,
Neeraja -
Hi,
i was wondering if there is a way to see sql query logs.
I try to put some BLOBS in the database, on my development evironment this works fine.
But on a new machine with a new database this doesn't work.
It could be helpful so see some kind of query logs, to get en idea of what is going to be inserted
into the database.
It would be helpful anyway to get a log of the sql statements passed to the database system.
Thanks for any helpHi,
although SAP MaxDB logs all data manipulating statements in the log volumes, this information cannot be retranslated into SQL statements.
If you wanted to track DDL (Data Definition Language) commands, you would find these via the SYSDDLHISTORY table. However, there is no such internal table for DML (Data Manipulation Language) commands in SAP MaxDB.
I think you should try to catch your insert statements on application level. If this is not possible, you could try to issue a 'select * from runningcommands' and enable the SAP MaxDB Command Monitor to check which commands are caugth by your constraint settings.
This might seem obvious, but have you verified that your transactions were actually commited, e.g. is either 'autocommit' enabled in your SQL client or did you make sure to manually commit your inserts?
Thorsten -
Webanalysis : Query Log File
Hi,
Plz suggest me where can i the path for report's query log file. i.e I run a webanalysis report and now i want to see the query that it fire to the source.
I want to see the detail level log.
Is there any other setting that i need to do like entry in property file or something.
Plz suggest the way.
ThanksCreate two env variables
ADM_TRACE_LEVEL=0
REDIRECTOR_TRACE_LEVEL=0
Also you can add this line to WA.prop file
LogQueries=true
Hope it hepls
Regards
CK -
I am trying create a query log file for an ASO cube. I have created the database.cfg file in the database directory and restarted the application. Then I run a few queries, and stop the application. Query log file (database.qlg) is not created. My database.cfg file looks like this:<BR>QUERYLOG [LOB]<BR>QUERYLOG LOGFILESIZE 2<BR>QUERYLOG TOTALLOGFILESIZE 1024<BR>QUERYLOG ON<BR><BR>Thanks
I am trying create a query log file for an ASO cube. I have created the database.cfg file in the database directory and restarted the application. Then I run a few queries, and stop the application. Query log file (database.qlg) is not created. My database.cfg file looks like this:<BR>QUERYLOG [LOB]<BR>QUERYLOG LOGFILESIZE 2<BR>QUERYLOG TOTALLOGFILESIZE 1024<BR>QUERYLOG ON<BR><BR>Thanks
-
Enable SQL Query logging while generating a report
I am a newbie to BI Publisher. We are using Oracle BI Publisher 11.1.1.5.0 for reports generation.
I am trying to get the actual SQL query executed when a report is generated.
It would be great if any one can share some tips to enable SQL query logging and how to verify it.
Thanks,
SatyaThanks for your response.
It seems the NQQuery.log is for OBIEE not for BI Publisher. I could see the admin guide refers to Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
I raised an SR at myoraclesupport (MOS), I got a response saying enable SQL query log option is not available in BIP.
Best regards,
Satya -
Disable search Query Logging by powershell
Hello,
Could anyone advise how to disable Query Logging for sharepoint 2010 search service application by powershell?
I found only option to check status ($searchapp.QueryLoggingEnabled) but I can not find any way to disable query logging.
Thanks in advance
CheersHi Przemeklwo,
QueryLoggingEnabled property is already obsolete, so that perhaps you may not able to change the property directly.
http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.administration.searchserviceapplication.queryloggingenabled(v=office.15).aspx
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Query Logging Enabled but cannot find
As per the DBAG I should be able to find the query log hereHYPERION_HOME/logs/essbase/app/appname/dbname/dbname00001.qlg
When I use this path to I can only get to to app D:\EPM\EPMSystem11R1\logs\essbase\app there is nothing inside the app folder. Am I looking at the wrong folder?
Thanks for the help.Hello,
From the DBA guide
To enable query logging, create a query configuration file ... and add to the file the configuration settings that control how query logging is performed.
In the ARBORPATH/app/appname/dbname directory, create a query log configuration file. The configuration file must be named dbname.cfg, where dbname matches the name of the database. For example, the query log configuration file for Sample.Basic is basic.cfg. The output query log file is located, by default, at ARBORPATH/app/appname/dbname00001.qlg.
You must stop and start the application, so it can read the config file.
Contents of a query log config file:
http://docs.oracle.com/cd/E40248_01/epm.1112/essbase_tech_ref/frameset.htm?launch.html
Query Log Settings File SyntaxThe query log settings filename must be of the form dbname.cfg, where dbname represents the name of a database. The dbname.cfg file must be located in the ARBORPATH\App\appname\dbname directory of Essbase. The dbname.cfg file consists of the following syntax:
QUERYLOG [dimension_name]
QUERYLOG NONE GENERATION generation-range
QUERYLOG NONE LEVEL level-range
QUERYLOG GENERATION generation-range
QUERYLOG LEVEL level-range
QUERYLOG LOGHAMBRS ON | OFF
QUERYLOG LOGPATH path-expression
QUERYLOG LOGFORMAT CLUSTER | TUPLE
QUERYLOG LOGFILESIZE n
QUERYLOG TOTALLOGFILESIZE n
QUERYLOG ON | OFF
Regards,
Philip Hulsebosch.
www.trexco.nl
p.s. To all users, close questions which were answered. Then we do not have to open them to see if we can help = saves us time to help others. -
[Thu Aug 7 12:56:40 2003]Local/Headcnt///Info(1024033)Missing Database Config File [hyperion/essbase/app/Headcnt/Headcnt/Headcnt.cfg], Query logging disabledCan someone help me with this setting ? Thanks,Minash...
refer to the ...Hyperion\Essbase\docs\addendum\new_feat.htm file, Query Logging section for more details. This is not an error, just a notification that Query logging is disabled - it should only be enabled if you want to track user query activity
-
SSAS 2012 Tabular. Analysis Services Query Log not working
Hello.
It is possible to configure Analysis Services Query Log on SSAS 2012 Tabular (11.0.3321) server? Or this feature works only with Multidimensional server mode?
It is not a problem for me to configure Query Log on Multidimensional server. But when I'm trying to do this in Tabular server result is always the same: table S_OlapQueryLog created but no data there.
This problem exist in our production server. And is fully reproduced in test environment. This problem was reproduced with SQL 2012 RTM, CU4, SP1 and SP1 CU1.
I tryed to configure Analysis Services Query Log by using SQL account. Later by using windows authentification. Accounts was db owners. Later I have used accounts with sysadmin rights. Results was the same.
In msmdsrv.log i can find only related events like this:
(12/7/2012 9:22:59 PM) Message: The query log was started. (Source:
\\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210003)
(12/7/2012 9:25:03 PM) Message: The query log was stopped. (Source:
\\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210004)
I'm stuck completely with this functionality. So if someone was much luckier than I please write to me.
Regards
AudriusI agree with Gerhard's comments, but there are a couple of additional points
- I am not 100 percent sure if queries that are answered by the SE cache are recorded in the query log
Queries answered by the SE cache are not definitely not recorded in the QueryLog. So depending on the types of queries and the design of your cube you could possible miss a large proportion of the actual end user queries.
The QueryLog records the QuerySubcube events and there are zero to many of these generated for a given end user query (zero if the query can be answered from cache). The optimizer may also choose to pre-fetch a wider range of data or to break a single range
into a few smaller requests so it is not a true indication of the actual query that the end user generated.
Doing a trace is the only way to catch the actual queries submitted by end users.
http://darren.gosbell.com - please mark correct answers
Maybe you are looking for
-
Two iPads on same account, I can't delete any apps from old ipad?
I got a new iPad air and have a first gen iPad too. They are both on the same account so when I install apps on the new iPad they automatically show up on the old iPad too. This is actually a good thing because I can have paid apps on both iPads...
-
Hi guys, I am trying to make a 64-bit win7 image, but for some reason when I run sysprep I get this error "sysprep a fatal error occurred while trying to sysprep the machine". I have checked my unattend.xml file and all seems fine. I have pasted the
-
how can I get my music from my iPod touch version 4.2 to the cloud so I can listen to it on my iPad or computer? I tried a manual transfer from iTunes but that doesn't work.
-
SYS.DBMS_CDC_PUBLISH errors during create table command
While trying to create tables I am getting the following errors. @dv001_bld_emp_profile.sql create table emp_profile_tbl ( ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-01422: exact fetch returns more than requested number o
-
What do you mean by title?
To whom it may CERN my name is cynthia lewis AND Iam haveing trouble installing flash player on my computer can you please please help me.