OBIEE 10G/11G - Nqquery.log (Query logging)

Obi Edition

About

It's the log file of BI Server showing information about the process of a logical SQL query.

It's located in the directory:

  • 10g: BI_ORACLE_HOME/server/Log
  • 11g: ORACLE_INSTANCE/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1

To extract the informations contain in this file, you can :

Oracle BI Server query logging is tracked at a user level. It is a resource-intensive process if you track the entire user community. For production systems, it is recommended that query logging be enabled only for a very targeted user community. In production systems, you can use Usage tracking as the production-level logging facility

NqQuery.log file shows Physical SQL Query, logical execution plan where Usage tracking does not have this information.

You can define the amount of information written by setting the loglevel.

You can query this log file online. See WebLogic - Diagnostics Framework (WLDF)

Configuration

10G

In the nqsconfig.ini file, you can change two parameters :

# ##############################################################################
# User Log Section
# The user log NQQuery.log is kept in the server\log directory. It logs
# activity about queries when enabled for a user. Entries can be
# viewed using a text editor or the nQLogViewer executable.
# ##############################################################################

[USER_LOG]

USER_LOG_FILE_SIZE = 10 MB;   // default size
CODE_PAGE = "UTF8";           // ANSI, UTF8, 1252, etc.

Documentation / Reference





Discover More
Obiee 11g Connection Pool Connection Script Timesten
OBIEE - Aggregate Persistence (Script)

The Aggregate Persistence functionality is the ability to: create and populate aggregate tables, and map them to the metadata repository in order to use the aggregate navigation capability of the...
Obiee Parameter Prompt Result
OBIEE - Dashboard parameter prompt - The WHEN 1=0 or ifnull solution

You may need to create a dashboard prompt to set a presentation parameter (as for the hierachy level) to change the behaviour of your dashboard. The dashboard prompt is based on the column of a subject...
Obiee Fragmentation Content One Column
OBIEE - Fragmentation Content, value-based, horizontal partitioning

This capabilities of OBIEE is also known as : Content Fragmentation Value-Based fragmentation Fact Horizontal Partitioning The term Fragmentation is more an OBIEE term whereas the term partitioning...
Obiee Connection Pool Shared Logon
OBIEE - How to define one different database credential for each user (the shared logon) ?

For system architecture reasons, you may want to have one database credential by user. Example : When one schema (of one user) is the logical entity of one company, you may decide to have the same...
Bi Server Architecture With Client
OBIEE - Logical Request (before navigation)

The creation of a logical request is the first step of the BI Server query processing when it receive a logical SQL. You can find it in the nqquery log file.
Obiee Nested Aggregate Case When Formula
OBIEE - Nested aggregate measure

This article talk nested aggregate measure in OBIEE and try to found the best way to implement it. Before continuing, we have to answer to this simple question : what is a nested aggregated measure...
Bi Server Architecture With Client
OBIEE - ODBC

ODBC ODBC is closer related to the BI Server. It uses it to: retrieve data from data source in the back-end through the physical layer but also to expose the presentation catalog of BI Server as...
Obiee Query Log
OBIEE - Physical SQL

The physical SQL is the SQL that send the BI Server to the data sources in order to retrieve data. This SQL is most of the time generated by the query compiler during the query processing of the logical...
Obi Edition
OBIEE - The Log Viewer (nQLogViewer)

Use the Oracle BI log viewer utility nQLogViewer (or a text editor) to view the query log. Each entry in the query log is tagged with the user ID of the user who issued the query, the session ID of the...
Exp Builder Ago Td
OBIEE - Time Series Conversion Functions : AGO and TODATE

Time series functions in OBIEE. The implementation of the time serie function is based on the time dimension. ( See set up time dimensions) At query time, the Oracle BI Server then generates SQL that...



Share this page:
Follow us:
Task Runner