Logging level to get the physical query

Hi All,
Can anyone let me know , what log level i have set it up, so that I can get the physical query for BI Answers request.
Thanks
S

hi,
Logging Levels
Level 0
No logging.
Level 1
Logs the SQL statement issued from the client application.
Logs elapsed times for query compilation, query execution, query cache processing, and back-end database processing.
Logs the query status (success, failure, termination, or timeout). Logs the user ID, session ID, and request ID for each query.
Level 2
Logs everything logged in Level 1.
Additionally, for each query, logs the repository name, business model name, presentation catalog (called Subject Area in Answers) name, SQL for the queries issued against physical databases, queries issued against the cache, number of rows returned from each query against a physical database and from queries issued against the cache, and the number of rows returned to the client application.
Level 3
Logs everything logged in Level 2.
Additionally, adds a log entry for the logical query plan, when a query that was supposed to seed the cache was not inserted into the cache, when existing cache entries are purged to make room for the current query, and when the attempt to update the exact match hit detector fails.
Do not select this level without the assistance of Technical Support.
Level 4
Logs everything logged in Level 3.
Additionally, logs the query execution plan. Do not select this level without the assistance of Technical Support.
Level 5
Logs everything logged in Level 4.
Additionally, logs intermediate row counts at various points in the execution plan. Do not select this level without the assistance of Technical Support.
Level 6 and 7
Reserved for future use.
Hope this helps,
cheers,
vineeth

Similar Messages

  • How to extract the Physical Query(database Query)

    Hi ,
    How to extract the Physical Query(database Query) from obiee which was fired in obiee
    Regards
    Ranga

    Hi Ranganath,
    Have a look the following links.
    Setting Logging level:
    http://gerardnico.com/wiki/dat/obiee/loglevel
    How to see physical query:
    http://gerardnico.com/wiki/dat/obiee/manage_session_log
    If you are new to OBIEE, spend some hours on the following blog to learn from basics to advanced level.
    http://gerardnico.com/wiki/
    http://obiee101.blogspot.com/
    http://www.rittmanmead.com/blog/
    Hope it helps you.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • Viewing the physical query in OBIEE

    In the NQQuery.log file the physical query executed on the database is not logged. I have changed the logging level of the user to "2" in the Administration Tool. What else is needed to view the physical query?

    Hi ,
    if the caching is on your sql runs from cache and you can see 'cache hit' in your NQQuery.log file.If you turn off your caching property from nqsconfig.ini file and purge your cache files from administration tool or manually deleting from its directory then you should see the physical query.
    If your caching property is off, I dont have an idea about it.

  • How to get the physical path of my web app root context ?

    Hi,
    I used this code to initialize my LOG4J logger.
            System.out.println(Version + "Servlet context path : " + sctx .getContextPath());
            String path = sctx .getRealPath("/");
            fullyqualifiedlog4jpath = path + "log4j.xml";
            File locallogxml = new File(fullyqualifiedlog4jpath);
            if (locallogxml.exists()) {
                initialized = true;
                DOMConfigurator.configure(fullyqualifiedlog4jpath);
                log = Logger.getLogger(Log4j.class.getName());
                log.info(Version + "Logger initialized");
            else {
                System.out.println(Version + "Unable to locate the log4j.xml file");
            }It works perfectly when running the application with the embedded Jdev11 WLS.
    When deploying the application on a standalone WLS server the path is not returned ;-( I get a null value.
    Does someone has three lines of code which get the physical path of my web app root context?
    Yves

    Changed the methiod used to access log4j.xml.
            FacesContext ctx = FacesContext.getCurrentInstance();
            ServletContext sctx = (ServletContext) ctx.getExternalContext().getContext();
            String contextPath = sctx.getContextPath();
            HttpServletRequest  hsr = (HttpServletRequest)ctx.getExternalContext().getRequest();
            String host = hsr.getServerName();
            int port = hsr.getServerPort();
            try
              String urlstring = "http://" + host + ":" + port + contextPath + "/faces/log4j.xml";
              DOMConfigurator.configure(new URL(urlstring));
              log = Logger.getLogger(Log4j.class.getName());
    .....using the URL s OK.

  • Get the last query from the current user

    Is there a way to get the last query of the current user, so every query could be log with a database trigger?
    Let's just say I execute:
    DELETE xxxx;
    I tried :
    SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'));
    But the result of this query is :
    'SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'))'
    Is there a way to execute a query that would return :
    'DELETE xxxx'
    Thanks

    You could join SQL_ADDR in v$session with ADDRESS in v$sqlarea to determine the SID that executed that SQL statement last. Note that PREV_SQL_ADDR in v$session will indicate the previous SQL he executed. Though you would have to look at these tables very often to get all SQL statements issued. One note here, I think if a different user ran the SAME SQL with just bind var differences the SQL_AREA will only show the last user’s information that executed it.
    BTW - it will show deletes also...

  • Addition of Filters on Answers changing the physical query

    Hello,
    I have three Dimensions D1, D2 and D3 joining (as left outer join in BM layer, i have a requirement where i have to show all the records from Dimension) to a common Fact 'F'
    I am trying to build a report based on columns from 3 dimensions.
    The report gives a correct output, and returns a single physical query.
    If i add a filter condition from say D1 on the report like D1.Col = <something> on the answers report, the physical
    query splits in two and then join the two query to give the result.
    Any thoughts what could have gone wrong here?
    Thank You

    hi..
    First tell me all dimensions are left outer with fact?
    Then, check your fact table LTS levels..
    If you have created hierarchies for dimensions, and all dimensions are directly connected to the facts... then, mention the levels for particular fact LTS to detail level for all dimensions. .
    Check this...

  • How to get the individual query terms?

    Is there a way in Intermedia to get the individual query terms that are expanded by intermedia after a query using stemming or fuzzy matching.
    Example: a query like "$distinguish" expands to distinguish, distinguished and distinguishes.
    CTX_DOC.MARKUP does the work but returns the complete contents (with markup) of the indexed column in stead of the query terms only.

      1  with t as
      2  ( select 1 day_from, 3 day_to from dual)
      3  select day_from +level -1 day_from, day_to
      4  from t
      5* connect by level <= day_to
    SQL>
    SQL>/
      DAY_FROM     DAY_TO
             1          3
             2          3
             3          3

  • How to get the SQL Query statement of a Search Form ?

    Hi all,
    We have a requirement to send the query result of an ADF Search Form into report application (Crystal rpt).
    Crystal can accept data source as query statement. SO I think of getting the exact query statement "generated" by the ADF Search form and send it to crystal.
    Is this possible ?
    Thank you very much,
    xtanto

    Try the various get methods of the viewObject such as getQuery:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/

  • Is it at all possible to still get the physical cd's for the CS6 from the adobe website with my college student discount?

    I am currently a college student studying photography and my college gives us a free download of Adobe Creative Cloud Master Collection, but once we graduate it will be deleted from our computers. I graduate in May. I am trying to use my student discount to get the the CS6 Master Collection while I still can, but I would like to get the physical CD's to download the programs, and not the Creative Cloud apps simply downloaded over the internet. Is this still possible at all?

    Meagancon it is likely you will be entitled to receive a download.  You are welcome to download and burn the installation files to a DVD.

  • Purchased Lion, installed it - once I log in - i get the curtain and message to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions - still can't get past the "black curtain of death"  any suggestions?

    purchased Lion, installed it - once I log in - i get the curtain and message to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions  to hold the power button till it shuts down.  Worked with the disk repair utility - fixed permissions - still can't get past the "black curtain of death"  any suggestions?
    My machine was patched to date 10.x.x.  I was lucky to get an internet connection and I selected the option to re-download Lion... its curruently being downloaded.  What if that doesn't work?
    Any thougths would be appreciated.
    Joe

    And you have a workstation? not a notebook. 
    Usually a driver or hardware, nothing that Disk utility will fix.
    You know of course what a Prohititory Sign is?
    prohibitory sign, kernel panic
    Forum devoted to Lion:
    Mac OS X v10.7 Lion Communities
    Tips and FAQs
    FAQ kernelpanic
    Resolving Kernel Panics
    Avoiding eliminating Kernel panics
    Lion App Compatibility Table - RoaringApps
    RoaringApps Mac OS X Lion Application Compatibility
    did you make sure your apps, drivers, and hardware support Lion?

  • How to get the Actual Query of View Object

    Hi all,
    I have a standard. I need to modify the query of the VO attached to a picklist based on responsibility. I am able to achieve my requirement but it is getting reflected for all the responsibilities even though i extended the controller for a particular responsibility. I used setQuery() to change the query of my VO. When checking "About this page". The code i added also shown in the page. Now i want to get the actual query to the VO before the controller is extended so that i can set the modified query or actual query based on my responsibility. Kindly share your knowledge.
    Regards,
    Pradeep

    Hi,
    I guess following query will not work ,Why use 2 where clauses.
    SELECT * FROM (select NVL(VENUE_NAME,' ') "Venue",
    NVL(VENUE_CITY,' ') "City",
    NVL(COUNTRY_DESC,' ') "Country",
    EVENT_NUMBER
    From NS_EVENT_VENUE_DETAILS,NS_COUNTRY_MASTER WHERE COUNTRY_CODE = VENUE_COUNTRY) QRSLT WHERE (QRSLT.EVENT_NUMBER = 1539
    you can as following using bind variable.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGDGIJH

  • I have just created an apple ID to use face time, however when I try to log in I get the message 'email already verified' and can't move on.

    I have just created an apple id to use face time. However whenI try to log in I get the message 'email already verified' and then can't move on.
    Can anyone help please.

    You must create the account using an Apple device, a Mac (Lion or greater) or an IOS device (IOS5 or greater). Having done that you will be able to sign in from your Windows machine.
    FYI, iCal is an application that can display calendars from iCloud (and others) it is not a calendar itself, merely a calendar client. In Windows Outlook is the calendar client.

  • Any idea how the java application can get the physical memory?

    Hello, everyone
    Any idea how the java application can get the physical memory?
    thanks in advance

    I believe what yo intend to do is forbidden, but here
    my answer.
    when you start your application you can give your VM
    the entire memory of your pc. like this this memory
    is completly under your control.* headdesk *

  • Is there a way get the actual query that was excecuted

    I have a large query with lots of <cfqueryparam 's
    Is there a way get the actual query that was excecuted so I can debug it/ find out what the problem is, no sql error just logic error

    Personally, I think the easiest way is to use the powerhouse combo of Firebug and ColdFire. (Sorry if you already know this) Firebug is a plugin for Firefox for debugging (great JavaScript debugger in it!). ColdFire is a ColdFusion debugger that hooks into Firebug.
    Firebug: https://addons.mozilla.org/en-US/firefox/addon/1843
    ColdFire: http://coldfire.riaforge.org/
    There are a couple of steps to installing ColdFire on your server (in addition to the Firefox plugin) but it's just a matter of copying a CFM file into a particular folder on your server's CF install. Then you just select ColdFire as the debugging output option in the CF Administrator and you're good to go (the ColdFire zip archive has an install doc).
    Once you're using it, ColdFire lets you see all your queries: the actual SQL, the execution time, whether or not it's cached, etc.
    While there are other techniques for seeing your SQL, I've always found ColdFire to be the easiest to use.

  • Unable to get the report query logs in OBIEE 11g.

    While trying to view the report queries in 11g(Administration >Manage Sessions >Log(of a particular request))
    , I'm getting the following error :
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <2799894530>: Syntax error [nQSError: 26012] . (HY000)
    Has nayone come across the same. Please do share , how to fix this.
    Thank you.

    Hi,
    Even Im facing the same issue.. Reports are working fine... For testing, I opened Analysis page and created a query with 2 columns.. Results are coming but log is not appearing.. The issue is still the same...
    Any help will be appreciated...
    thanks & regards,
    dmaze

Maybe you are looking for

  • Multiprovider display data issue

    Hello, I'm using BI7.0 and created Multiprovider using Custom DSO and Infocube1. the problem is, when i use display data through multiprovider, I'm not able to see data from DSO . I have considered all common fields from DSO and Cube and assigned in

  • Setting  Default values in the Field

    Hi all, In Purchase order document i want to display 99999 number in the quantity field as soon as i purchase order document is opened. can you please guide me how to do this through stored procedures...? Regards, Chetan

  • WAD result row in the name of the WAD report

    Hi, My requirement is we need to show summary of the result rows in front of WAD report output. Is it possible by any means please let me know. amit

  • Changing ipod mini updating option

    My ipod mini repeatedly updates the same "selected itunes playlists" that I initially chose as an updating option. I am not able so far to select the "manual update" or update all songs and playlist. Additionally, experiencing the "blue screen, reboo

  • Problems with offical servise

    I need to post here my problem.... I have 2 major problems with my xperia z2 (there is no 4G signal and have voice issue)....i send phone to offical servise but when i get my phone back, not only they didt repair mob but they damage my phone and now