How to obtain the Query Response Time of a query?

Given the Average Length of Row of tables and the number of rows in each table,
is there a way we get the query response time of a query involving
those tables. Query includes joins as well.
For example, suppose there 3 tables t1, t2, t3. I wish to obtain the
time it takes for the following query:
Query
SELECT t1.col1, t2.col2
FROM t1, t2, t3
WHERE t1.col1 = t2.col2
AND t1.col2 IN ('a', 'c', 'd')
AND t2.col1 = t3.col2
AND t2.col1 = t1.col1 (+)
ORDER BY t1.col1
Given are:
Average Row Length of t1 = 200 bytes
Average Row Length of t2 = 100 bytes
Average Row Length of t3 = 500 bytes
No of rows in t1 = 100
No of rows in t2 = 1000
No of rows in t3 = 500
What is required is the 'query response time' for the said query.

I do not know how to do it myself. But if you are running Oracle 10g, I believe that there is a new tool called: SQL Tuning Advisor which might be able to help.
Here are some links I found doing a google search, and it looks like it might meet your needs and even give you more information on how to improve your code.
http://www.databasejournal.com/features/oracle/article.php/3492521
http://www.databasejournal.com/features/oracle/article.php/3387011
http://www.oracle.com/technology/obe/obe10gdb/manage/perflab/perflab.htm
http://www.oracle.com/technology/pub/articles/10gdba/week18_10gdba.html
http://www.oracle-base.com/articles/10g/AutomaticSQLTuning10g.php
Have fun reading:
You can get help from teachers, but you are going to have to learn a lot by yourself, sitting alone in a room ....Dr. Seuss
Regards
Tim

Similar Messages

  • Help required in optimizing the query response time

    Hi,
    I am working on a application which uses a jdbc thin client. My requirement is to select all the table rows in one table and use the column values to select data in another table in another database.
    The first table can have maximum of 6 million rows but the second table rows will be around 9000.
    My first query is returning within 30-40 milliseconds when the table is having 200000 rows. But when I am iterating the result set and query the second table the query is taking around 4 millisecond for each query.
    the second query selection criteria is to find the value in the range .
    for example my_table ( varchar2 column1, varchar2 start_range, varchar2 end_range);
    My first query returns a result which then will be used to select using the following query
    select column1 from my_table where start_range < my_value and end_range> my_value;
    I have created an index on start_range and end_range. this query is taking around 4 millisseconds which I think is too much.
    I am using a preparedStatement for the second query loop.
    Can some one suggest me how I can improve the query response time?
    Regards,
    Shyam

    Try the code below.
    Pre-requistee: you should know how to pass ARRAY objects to oracle and receive resultsets from java. There are 1000s of samples available on net.
    I have written a sample db code for the same interraction.
    Procedure get_list takes a array input from java and returns the record set back to java. You can change the tablenames and the creteria.
    Good luck.
    DROP TYPE idlist;
    CREATE OR REPLACE TYPE idlist AS TABLE OF NUMBER;
    CREATE OR REPLACE PACKAGE mypkg1
    AS
       PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor);
    END mypkg1;
    CREATE OR REPLACE PACKAGE BODY mypkg1
    AS
       PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor)
       AS
          ctr   NUMBER;
       BEGIN
          DBMS_OUTPUT.put_line (myval_list.COUNT);
          FOR x IN (SELECT object_name, object_id, myvalue
                      FROM user_objects a,
                           (SELECT myval_list (ROWNUM + 1) myvalue
                              FROM TABLE (myval_list)) b
                     WHERE a.object_id < b.myvalue)
          LOOP
             DBMS_OUTPUT.put_line (   x.object_name
                                   || ' - '
                                   || x.object_id
                                   || ' - '
                                   || x.myvalue
          END LOOP;
       END;
    END mypkg1;
    [pre]
    Testing the code above. Make sure dbms output is ON.
    [pre]
    DECLARE
       a      idlist;
       refc   sys_refcursor;
       c number;
    BEGIN
       SELECT x.nu
       BULK COLLECT INTO a
         FROM (SELECT 5000 nu
                 FROM DUAL) x;
       mypkg1.get_list (a, refc);
    END;
    [pre]
    Vishal V.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to get query response time from ST03 via a script ?

    Hello People,
    I am trying to get average query response time for BW queries with a script (for monitoring/historisation).
    I know that this data can be found manually in ST03n in the "BI workload'.
    However, I don't know how to get this stat from a script.
    My idea is to run a SQL query to get this information, here is the state of my query :
    select count(*) from sapbw.rsddstat_olap
    where calday = 20140401
    and (eventid = 3100 or eventid = 3010)
    and steptp = 'BEX3'
    The problem is that this query is not returning the same number of navigations as the number shown in ST03n.
    Can you help me to set the correct filters to get the same number of navigation as in ST03n ?
    Regards.

    Hi Experts,
    Do you have ideas for this SQL query ?
    Regards.

  • How to get Query response Time?

    II am on BI 7.0. I ran some queries using RSRT command. I want to find how much time the queries took.
    I went to
    st03 -> expert mode -> BI system load-> select today / week/month according to the query runtime day
    I do not see any Info Providers. Query was on a cube so why no Info Providers.
    Does something have to turned on InfoPorvider to show.
    When I look  in RSDDSTAT_OLAP table, I do see many rows but cannot make any sense. Is there some documentation on how to get total  query time from this table?
    Is there any other way to get query response time?
    Thanks a lot.

    HI,
    why not use RSRT ? You can add database statistics option in "Execut & Debug" and you get all the runtime metrics of your query
    In transaction RSRT, enter the query name and press u2018Execute +Debugu2019.
    Selecting u2018Display Statistics Datau2019 .
    After executing the query will return a list of the measured metrics.
    The event id / text describes the steps  (duration in seconds):
    "OLAP: Read data" gives the SQL statements repsonse time (ok - because the SAP
    application server acts as an Oracle client a little network traffic from the db server is included,
    but as far as you not transferring zillions of rows it can be ignored)
    But it gives you much more (i.e. if the OLAP cache gets used or not )...
    In the "Aggreagate statistcs" you get all the infoproviders involved in that query.
    bye
    yk

  • How to obtain the running time of a task?

    How to obtain the running time of a task? I want to write a program about task progress.
    My email: [email protected]
    Thanks!

    First, Thanks for your code.
    But, I want obtain running time before running it.
    Example:
    class a extends JFrame{
    a() {
    initComponent() ;
    new progressBar(this); // my fancy. (may be other type variant.)
    void initComponent() {
    class progressBar {
    JProgressBar proBar = null ;
    Timer taskTime = null ;
    Double longTime = null ;
    progressBar(JFrame frame) { //JFrame or other.
    longTime = // ??????? You know ?????
    void monitor() {
    taskTime = new Timer(1000, new ActionListener() {
    public void actionPerformed(ActionEvent event) {
    //repaint the proBar code.
    taskTime.start();
    }

  • Rules of thumb for acceptable query response times?

    Once I read a statement from SAP which said that users typically tolerate
    response times up to 7 seconds. So you should strive to achive this goal.
    Unfortunately I cannot remember in which document or webpage this
    statement was made. Does anybody happen to have a reference for this rule
    or any other SAP rules about the BW query response times?
    Regards,
    Mark

    Share with us the situations where your query is running slow. How many rows are you returning via SQL Commands?
    On reports; the maximum row count being returned and/or the pagination scheme can have impact on performance.
    Jeff

  • How to find the Date and Time of Modification of Column in aTable?

    Hi all,
    Do  you know how to find the Date and Time of Addition of Column to a Particular Table?.
    I know however, How to find the modification time of the Table. Using the below Query :
    Select Object_Name, to_Char(Last_DDL_TIME, 'DD-Mon-YYYY HH24:MI:SS') Last_DDL from User_Objects where Object_Type = 'TABLE';
    Object_Name
    Last_DDL
    Employee
    20-Aug-2013 09:23:03
    I wanted to know the Creation or Modification Date and Timestamp of all columns of Employee Table?. Is it possible at all. If possible, How to get it?.
    Regards,
    Bhaskar M

    I agree with you on that. Since its a development enviornment I can remove the column but that not my point here.
    My whole purpose it to know whether we get the Column's Creation or Modification DateTime.

  • How to obtain the row data in the component datatable?

    if I want to edit a row data, and then know which row is edited in the component datatable, and how to do?
    How to obtain the row data in the component datatable, and update it to database, not simplely edit a simple table
    Any ideas? Thanks

    Thank you very much for your help Alexander !
    It's quite confusing when you leave Struts and try to adapt your projects for JSF for the first time...
    I wanted to click on a row with a "onMouseClick" on the TR tag like I used to do in Struts/JSTL. But it seems to be impossible in a dataTable.
    Ok then. I've added a column at the end of the row with an icon.
    But eventually I didn't need to declare link parameters.
    In my BackingBean I did like this :
    public String selectEventForUpdate() throws IllegalAccessException, InvocationTargetException {
            PortletAgenda event = (PortletAgenda) JSFUtils.getInRequestMap("event");
            BeanUtils.copyProperties(this, event);
            return null;
       }JSFUtils.getInRequestMap(...) is a method I wrote in a util object :
    public static Object getInRequestMap(String name) {
            Object res = null;
            Map requestMap=FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
            if (requestMap!=null) {
                res=requestMap.get(name);
            return res;
    }  " event " is the name of the item in my dataTable list.
    My backingBean has the same attributes as "event".
    So when the page is reloaded I have a backingBean full with the selected properties to edit/update.
    Thanks to your reply I realized that putting this form in the middle of the dataTable seems to be impossible.
    So I put this form in a floating DIV in front of the table with a shadow.
    It works :o) !
    But I'm a little bit disapointed to be honest...
    I used to build my web applications with Struts and JSTL and doing this kind of interface was really easy.
    I've decided 3 days ago to convert into JSF because the "GUI Layer" seemed to be improved.
    But now I realize that I cannot put a onMouseOver and onMouseClick on a row and I cannot display a different row in the middle of a table....
    I think it's a shame because there is a facet for header and footer.
    And it would be great if we could create our own personal facet that appears only if a condition is true.
    For exemple " if the current item id is the same as the request parameter id then display the following facet content ....... (with a panel group and a form inside to update the row) "
    It's easy to do that with JSTL thanks to c:forEach and c:if but it seems to be impossible to use JSTL tags like this during the dataTable iteration.
    And JSF tags seems to have no logical tags like " if " or loops that can be nested in dataTable.
    I really need to realize this interface (you click on a row then an edit form appears where you clicked).
    Do I have to write a component myself that extends dataTable?
    Do you know if writing such a component is hard to do for a beginner like me?
    (I've juste discovered JSF 3 days ago and I've used Struts/JSTL for 2 years til now)
    I'd be glad to have much advices from you about that.
    Regards

  • How to obtain the updated column name in a trigger?

    Hello everyone,
    I need to know for audit propose the updated column name in a After Update Trigger on a Table.
    The table have more than 20 columns, and i think that do more than 20 conditions asking for the difference between the :new value and the :old value is not the best way.
    Thanks for the help!
    LCJ

    Hi,
    Thanks to all for the replays.
    I didn't know that i can pass the column name to the UPDATING. This is only possible on 10g??
    Any way, i pass the column name and works fine, but i have another issue because of that.
    I obtain the column name from a cursor that query user_tab_columns view, when i try to obtain the value of the :old or :new, i can't because i don't know how to obtain the value of the value.
    This example show better:
    DECLARE
    vOldValue Varchar2(50);
    Cursor cur_Column_Names Is
    Select COLUMN_NAME
    From User_Tab_Columns
    Where TABLE_NAME = 'table_name';
    BEGIN
    For var_cursor In cur_Column_Names Loop
    If Updating(var_cursor.COLUMN_NAME) Then
    vOldValue := '?'; -- How obtain the value of the :old. + >var_cursor.COLUMN_NAME??
    End If;
    End Loop;
    END;Thanks to all for the help.
    LCJ

  • PRVF-5636 : The DNS response time for an unreachable node exceeded "15000"

    Friends,
    OS: OEL 6.3 64 bit
    DB: 11.2.0.3
    Environment: VirtualBox 4.1.20
    i have 3 nodes. one is for dns and other two for rac1 and rac2
    i have done all the preliminary steps. then i started
    [oracle@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verboseand all are passed except the above subjected error.
    Checking DNS response time for an unreachable node
      Node Name                             Status                 
      rac2                                  failed                 
      rac1                                  failed                 
    PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac2
    File "/etc/resolv.conf" is not consistent across nodesok....now to solve this error...i tried many options...but not able to succeed.
    Try 1:
    [root@mydns ~]# time nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    real    0m0.051s
    user    0m0.003s
    sys     0m0.011s
    [root@mydns ~]# [oracle@rac1 grid]$ time nslookup mydns
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   mydns.sathy.net
    Address: 192.168.1.2
    real    0m0.019s
    user    0m0.005s
    sys     0m0.008s
    [oracle@rac1 grid]$
    [root@rac2 ~]# time nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    real    0m0.019s
    user    0m0.008s
    sys     0m0.005s
    [root@rac2 ~]# Try 2:
    [root@mydns ~]# nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    [root@mydns ~]# nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [root@mydns ~]# nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [root@mydns ~]#
    [oracle@rac1 grid]$ nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    [oracle@rac1 grid]$ nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [oracle@rac1 grid]$ nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [oracle@rac1 grid]$
    [root@rac2 ~]# nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    [root@rac2 ~]# nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [root@rac2 ~]# nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [root@rac2 ~]# Try 3:
    [root@mydns ~]# cat /etc/named.conf
    // Default named.conf generated by install of bind-9.2.4-30.el4_7.2
    options {
            listen-on port 53 { any; };
            directory "/var/named";
            dump-file "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
            forwarders { 192.168.1.1; };
    include "/etc/rndc.key";
    zone "sathy.net" IN {
    type master;
    file "sathy.net.zone";
    allow-update { none; };
    zone "1.168.192.in-addr.arpa." IN {
    type master;
    file "1.168.192.in-addr.arpa";
    allow-update { none; };
    zone "." in {
    type hint;
    file "/dev/null";
    [root@mydns ~]# Try 4:
    [root@mydns ~]# cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [root@mydns ~]#
    [oracle@rac1 grid]$ cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [oracle@rac1 grid]$
    [root@rac2 ~]# cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [root@rac2 ~]# what else i have to check to solve this error?
    for the past 2 days..i am trying to solve this error. may be somewhere a small mistake is happened from my side, but i am not able to find out.
    hope somebody will find out and help me.
    thanks

    ok...here it is....
    [root@mydns ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@mydns ~]#
    [root@rac1 ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@rac1 ~]#
    [root@rac2 ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@rac2 ~]#
    [root@mydns ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@mydns ~]#
    [root@rac1 ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@rac1 ~]#
    [root@rac2 ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@rac2 ~]#
    [oracle@rac1 ~]$ ssh rac2 date
    Sun Sep  9 22:04:45 IST 2012
    [oracle@rac1 ~]$ su - grid
    Password:
    [grid@rac1 ~]$ ssh rac2 date
    Sun Sep  9 22:04:54 IST 2012
    [grid@rac1 ~]$
    [oracle@rac2 ~]$ ssh rac1 date
    Sun Sep  9 22:04:18 IST 2012
    [oracle@rac2 ~]$ su - grid
    Password:
    [grid@rac2 ~]$ ssh rac1 date
    Sun Sep  9 22:04:31 IST 2012
    [grid@rac2 ~]$ Now the error is ...
    PRVF-5637 : DNS response time could not be checked on following nodes: rac2,rac1what else?
    i wonder how it was successful in my previous installation which in oel 5.7....
    Edited by: OraDB on Sep 9, 2012 9:44 AM

  • PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes

    HI
    I received this error message when i was trying to install 10g software on oracle linux 5.632 bit machine . how to resolve this issues
    Checking consistency of file "/etc/resolv.conf" across nodes
    Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
    File "/etc/resolv.conf" does not have both domain and search entries defined
    Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
    domain entry in file "/etc/resolv.conf" is consistent across nodes
    Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
    search entry in file "/etc/resolv.conf" is consistent across nodes
    Checking DNS response time for an unreachable node
      Node Name                             Status                 
      rac2                                  failed                 
      rac1                                  failed                 
    PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac2,rac1
    File "/etc/resolv.conf" is not consistent across nodes
    Thanks

    [oracle@bdk-dev-db2 ~]$ time nslookup bdk-dev-db2
    Server: 10.244.56.102
    Address: 10.244.56.102#53
    Name: bdk-dev-db2.dev.com
    Address: 10.244.56.104
    real 0m1.811s
    user 0m0.003s
    sys 0m0.004s
    [oracle@bdk-dev-db2 ~]$ time nslookup bdk-dev-db1
    Server: 10.244.56.102
    Address: 10.244.56.102#53
    Name: bdk-dev-db1.dev.com
    Address: 10.244.56.103
    real 0m0.007s
    user 0m0.003s
    sys 0m0.002s

  • How to record the data against time?

    Hi there,
    I am doing a real-time measurement, and i get a 1-D dataflow  from the loading cell without time stamp.  I know how to record it and save it to a file. However, how to store the data against time? I know I can use "get date time in seconds.vi" to obtain the system time, but how to integrate it with the dataflow from the loading cell? it would be best if I can view the dataflow changing with respect to the system time in a waveform chat.
    Thanks.
    Mike

    You are doing a measurement with what? NI DAQ card or something else? The chart and saving to file are two different things. For an example of displaying time in a chart, look at the example called Real-Time Chart. How exactly do you want the time/measurement data written to file?

  • How to obtain the default serie for a document

    Hi,
        Anybody know how can obtain the default serie for a document throw a query??
    I can`t see the relation between the ONNM and the NNM1 tables because the 'dfltseries' field of the ONNM not corresponding with the 'Series' field of the NNM1.
    For example for an A/P Invoice
    Thanks!!

    Hi Mariano,
    According to the SDK Help file, you need to query the NNM2 table
    Series Default
    Table name: NNM2
    ObjectCode     UserSign     Series     DocSubType
    So, the query to retrieve the A/P default series for the manager user would be:
    SELECT T0.Series FROM [dbo].[nnm2] T0 WHERE T0.ObjectCode='13' AND T0.UserSign = 1
    From the SDK you can replace the T0.UserSign = 1 for T0.UserSign = oCompany.UserSignature to retrieve the default series for the current user...
    Regards,
    Vítor Vieira

  • How to monitor end user response times?

    Hi everyone.
    I'm using Oracle Enterprise Manager 10.2.0.5.0 for monitoring our development environment. We have many products but my focus is on a web application that is running on an Oracle Application Server. I need to monitor the reponse time of every HTTP request to check if this time is in the range of our SLAs.
    I've seen that OHS monitoring shows the mean response time, resource consumption, etc. But I haven't found any that lets me do more detailed monitoring (at the level o HTTP request).
    I'm reading right now 3 books about it but it does't mention this feature (just in case):
    - Middleware Management with Oracle Enterprise Manager Grid Control 10gR5
    - Oracle Enterprise Manager Administration 10.2.0.5 (from Oracle Library)
    - Oracle Enterprise Manager Grid Contro lInstallation And Configuration 10.2.0.5.0
    ¿Does anybody knows if Enterprise Manager have this feature?
    Thanks in advance.

    Hi.
    Sorry for a long delay.
    The answer was so generic and didn't help too much. But today, after several days of research I found how to monitor the user perceived performance by using "End-User Performance Monitoring". In theory this feature lets me register a Web Server and monitor its access log and also create a SLAs monitor based on it.
    Right now I'm reading a lot about it just and trying of enable it to an OHS. I did it for an Oracle Web Cache.
    Anyway, thanks a lot for your interest and if someone find it useful, when I get more functionality working, I'll post something here.
    Best regards.

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Maybe you are looking for

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please. Code functionality: A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then n

  • ITunes 8.2.1 Error (-50) synchronizing Photos to Apple TV

    I have updated the iTunes on my Macbook and cannot synchronize Photos from iPhoto to Apple TV. Error message: iTunes cannot synchronize Apple TV because of a problem on your computer. An unknown error occurred (-50)... any ideas on how to solve this?

  • JAVA Mapping for XML conversion during runtime

    Dear SAP JAVA experts, For quite I have been struggling to keep the JAVA code in place for JSON to XML conversion being a newbie. Following is the code snippet. import java.io.InputStream; import net.sf.json.JSON; import net.sf.json.JSONSerializer; i

  • I have problems to connect my iphone 6 with IOS 8.0.2 to my citroen c5.

    My iphone 6 has problems to connect to my citron c5 via bluetooth. After several attempts I was able to pair the phone to the car but neither are the contacts from the phone accessible by the car nor is can I successfully create calls using the car.

  • Spc chart CL

    Hi How can I change how many data points the centre line is calculated over on my SPC chart?