About the Average Connection Times

Hi, guys
Has anyone tested the connection time about the OCCI?
we can compute the average time in the following way:
-----------------------------------------------------------------------------timeStart
env->createConnection(userID, userPwd, conStr)
-----------------------------------------------------------------------------timeEnd
On my test, the time took about 0.115s to connect to the Oracle Database 10g.
what about urs?
Thank you!

Thanks andreister,
well, i did my test on the same machine, and i just created a database connection. As to the average time, i put the function in the sys/time.h to get the current time of the system just before and after the createConnection interface, respectively getting the timeStart and timeEnd.
So the average time i got should be the time the interface createConnection tooks.

Similar Messages

  • The Average Wait Time of SQL instance "CONFIGMGRSEC" on computer " SEC_SITE_SERVER " is too high

    I have a SCCM 2012 SP1 CU4 environment with SCOM monitoring installed.
    I also do have 4 secondary sites installed below my primary. The secondaries are using SQL 2012 Express version default deployed using the secondary site installation.
    My SCOM monitoring is generating tickets with the following message:
    The Average Wait Time of SQL instance "CONFIGMGRSEC" on computer "<SEC_SITE_SERVER>" is too high
    How can i solve this ? Or do I need to ignore this ?

    Never ignore messages, but tune them.
    In this specific case you might want to take a look at this:
    http://social.technet.microsoft.com/Forums/en-US/ffeefe0d-0ef7-49a3-862e-9be27989dc5d/scom2012-alert-sql-2008-db-average-wait-time-recompilationis-too-high?forum=operationsmanagergeneral
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Measure the average read time of a single database block for hardware.

    Hi,
    how to Measure the average read time of a single database block for hardware ?
    Many thanks.

    Hi,
    A STATSPACK report has data file level I/O tunings, but they include buffered reads, so they are biased.
    Try this in 9i:
    http://www.dba-oracle.com/oracle_tips_cost_adj.htm
    select
    a.average_wait c1,
    b.average_wait c2,
    a.total_waits /(a.total_waits + b.total_waits)*100 c3,
    b.total_waits /(a.total_waits + b.total_waits)*100 c4,
    (b.average_wait / a.average_wait)*100 c5
    from
    v$system_event a,
    v$system_event b
    where
    a.event = 'db file scattered read'
    and
    b.event = 'db file sequential read';
    Or this, in 10g:
    col c1 heading 'Average Waits for|Full Scan Read I/O' format 9999.999
    col c2 heading 'Average Waits for|Index Read I/O' format 9999.999
    col c3 heading 'Percent of| I/O Waits|for scattered|Full Scans' format 9.99
    col c4 heading 'Percent of| I/O Waits|for sequential|Index Scans' format 9.99
    col c5 heading 'Starting|Value|for|optimizer|index|cost|adj' format 999
    select
    sum(a.time_waited_micro)/sum(a.total_waits)/1000000 c1,
    sum(b.time_waited_micro)/sum(b.total_waits)/1000000 c2,
    sum(a.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c3,
    sum(b.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c4,
    sum(b.time_waited_micro) /
    sum(b.total_waits)) /
    (sum(a.time_waited_micro)/sum(a.total_waits)
    ) * 100 c5
    from
    dba_hist_system_event a,
    dba_hist_system_event b
    where
    a.snap_id = b.snap_id
    and
    a.event_name = 'db file scattered read'
    and
    b.event_name = 'db file sequential read';

  • GETTING THE AVERAGE OF TIME

    Hi,I have the following code which returns day of week name, position and date and time of surgeries.
    SELECT
    DATENAME(WEEKDAY,OPE_START_TIME) AS DOW,
    [OPE_ORDER_IN_SESS_ASC] AS POSITION,
    OPE_START_TIME AS [TIME]
    FROM table1The data looks like thisHow can i group this data so I get the average start time by day of week and position?

    try this
    \declare @table table(c1 varchar(20),c2 int,c3 datetime2(0))
    insert into @table
    values('monday',1,'2015-04-29 02:09:42')
    ,('monday',1,'2015-04-29 02:05:42'),
    ('tuesday',1,'2015-04-29 02:59:42')
    ,('tuesday',2,'2015-04-29 02:55:42')
    ;with cte as (select avg(datepart(second,c3)+((datepart(minute,c3)+(datepart(hour,c3)*60))*60)) as c3
    ,c2,c1 from @table
    group by c1,c2)
    select right('0'+cast(c3/3600 as varchar),2)+':'+right('0'+cast((c3%3600)/60 as varchar),2)
    +':'+right('0'+cast((c3%3600)%60 as varchar),2) as [AvgTime],c2,c1 from cte
    Hope it Helps!!

  • I am trying update my iphone4 to iOS5 but its say the network connection time outing all

    i am trying update my iphone4 to iOS5 but its say the network connection time outing all the times. can someone please help me out to solve this issue.

    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion

    I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion and on both my MacPro and my wife's Imac. I also see my mailboxes randomly disconnecting and reconnecting. Any other ideas of a possible cause?

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • Confused about the meaning of  Time Quota Types

    I am learning SAP-HCM on IDES 6.0. I am confused about the meaning of Time Quota Type. I have gone thru the SAP documentation, but still not clear about it. Please help me with a few examples. How is it different from Absence Type?

    Hi Gopal ,
    Absences are very generic ones that we create which needs to be reflected in IT2001 and dedcution can happen.
    Absence Quotas are the limited entitlement that is fixed say ur eligible for 10 days sick leave so here this is a Quota for each year  and so becomes a Quota say Sick leave Quota =10 and will be seen in IT2006.
    Now an absence needs to be linked to this Quota for dedcution.
    An absence can be or may not be linked to a Quota.This depends on business Requirement.
    Let me know if u have further Questions.
    Thanks
    Swati

  • About the approval working time

    Hi gurus,
    I don't know if it's the correct place to post this.We are using MSS 1.0 and EP 7 .I have a small problem.For the approval working Time we are using task TS20000460 task and we modified it based on the requirement of the client .Now we have discovered that when manager approves the time in MSS , the infotypes are updated automatically which the client does'nt  want that to happen.Is the MSS approval will work the same way or it's because of workflow.Is there any setting to be done so that when the manager approves it the update will go into the CATSDB table but not the infotypes.
    Reply is needed very urgently on this.
    Thanks in advance.

    As long as the AC adaptor is connected the battery will charge if needed. Maximum battery life, however, is dependent upon having the battery fully charged before use. For more info see:
    About Batteries in Modern Apple Laptops
    Apple - Batteries - Notebooks
    Extending the Life of Your Laptop Battery
    Apple - Batteries
    Determining Battery Cycle Count
    Calibrating your computer's battery for best performance
    MacBook and MacBook Pro- Mac reduces processor speed when battery is removed while operating from an A-C adaptor
    Battery University

  • How much is the average standy time of your iphone4s? Mine is 11 hours ONLY!

    How much is the average stand by time of your Iphone 4s? Mine is 11 hours ONLY. I think this is not normal.

    Please search this forum before posting.  Your issue has been addressed in hundreds of posts already.  Either use the search box at the upper right hand corner, or look in the "More Like This" box immediately to your right.

  • Questions about the database connection

    hi all,
    I am developing a project with JDeveloper 10g and I created a database connection to my Oracle RAC database.
    However, whenever I start the project with the JDeveloper and I do a "netstat -an" with the command prompt window. I show there are over 100 connection ESTABLISHED to my database. I don't have any idea how this happens. The problem is since there are over 100 connection established, I couldn't run the project with the JDeveloper's embedded OC4J.
    Can anyone help me to fix this problem?

    I have set the Max connections to 30 in the connection-pool setting of my project in the Embedded OC4J Server Preferences, but it doesn't work.
    There are still over 100 connections to the database...

  • About the generic connectivity error.

    I use the Generic Connectivity to link a mySQL database and appeared some mistakes:
    ORA-28500: [Generic Connectivity Using ODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'SA'@'SERVER' (using password: YES) (SQL State: S1000; SQL Code: 1045)
    Is that the reason why?
    I checked once, that my ODBC parameter establishes normally.

    you need to surround the username and password while creating the database link to SQL Server with DOUBLE QUOTES.
    Look at the error message; it states: SA instead of sa.
    As MS SQL Server usernames/passwords as well as columns and tables are case sensitive for some settings you need to define the db link using double quotes as follows:
    create database link server connect to "sa" identified by "PaSSworD" using '<tns alias>':

  • About the battery charging time.

    Hello everyone,
    I'm buying a Macbook pro 13 the next week and I have just one question about it.
    I've seen a lot of video reviews and unboxing videos in which the owners of the computers turn them on, with out charging the laptop. In addition, when they push the battery indicator button on the left side, the battery seems to be fully charged. So my question is: Do I have to have my macbook all the day long charging itself to get the maximum battery life?
    I hope you can understand my question and answer it, sorry for my English.
    Message was edited by: Fran93

    As long as the AC adaptor is connected the battery will charge if needed. Maximum battery life, however, is dependent upon having the battery fully charged before use. For more info see:
    About Batteries in Modern Apple Laptops
    Apple - Batteries - Notebooks
    Extending the Life of Your Laptop Battery
    Apple - Batteries
    Determining Battery Cycle Count
    Calibrating your computer's battery for best performance
    MacBook and MacBook Pro- Mac reduces processor speed when battery is removed while operating from an A-C adaptor
    Battery University

  • Stressed about the whole connection thing

    I have just bought a new 1 gig nano, first gen
    My iPod will not be recognized by "my computer" or iTunes, it is usually recognized in "safely remove hardware". when the iPod is connected it constantly displays "do not disconnect", I can't restore it since iTunes won't open and the service updater thing won't acknowlegde that the iPod is connected. it seems like when my iPod is connected it corrupts anything that tries to recognize it
    I have been looking through the forums and help topics but there are so many, and none seem to match my problem.
    thanks for any help

    yah, mines a 4 gig ipod nano that i bought in june, and its doing the exact same thing. ive connected it to several computers with itunes, and evertime i still get the do not dissconnect thing with no recognition in itunes. i sent it to apple, and they sent it back saying theres nothing wrong with it, now im out 200 dollars from a worthless ipod nano, and another 30 for their ******** shipping fee. thanks apple.

  • Confused about the way Connect by works ??Please help me

    Hi
    All Oracle Gurus,
    Please can you explain the reason for difference in the result.
    SQL> select level,rownum from dual connect by level < rownum;
    LEVEL ROWNUM
    1 1
    SQL> select level,rownum from dual connect by level <= rownum;
    LEVEL ROWNUM
    1 1
    2 2
    SQL> select level,rownum from dual connect by level = rownum;
    LEVEL ROWNUM
    1 1
    2 2
    SQL>select level,rownum from dual connect by level > rownum;
    result set has Infinite Rows.
    SQL>select level,rownum from dual connect by level >= rownum;
    result set has Infinite Rows.
    Thanks for Reading the Post
    Raj.Ganga

    Hi all,
    i got the reason,pls correct me if i am wrong.
    1) level < rownum
    no start with so first one added to the tree.
    second row picked up
    level = 2 Rownum = 1 -- Condition Failed
    2) level <= rownum
    no start with so first one added to the tree
    now level = 2, rownum = 1 -- picked second row
    now level = 3 rownum = 1 -- failed
    so 2 rows
    3) same as 2
    4) level > rownum
    no start with so first one added to the tree
    now level 2 rownum 1
    level is increment the base table dual has only one row so it is always true
    5) same as 4
    Thanks
    Raj.G.

  • Whats the average charging time for the ipad air?

    just charged a new ipad air for the first time and it took 11 hours, is that normal???

    You can increase the speed of the charge if you turn off all Blue Tooth and Wi-fy and leave it in Air plane mode. It really made a huge difference in my charging time, even if I was reading a book on it. If you don't need Blue Tooth leave it off.

Maybe you are looking for

  • How to find out about the SMTP Server

    Hi, I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to

  • I downloaded news Keynote version but when I try to open it the compute says I need to update it. Any ideas what could be going on?

    I downloaded news Keynote version but when I try to open it the compute says I need to update it. Any ideas what could be going on?

  • Impossible to use an Amex payment method in Luxembourg

    I am trying to change my payment method from a no longer valid Mastercard to an Amex card. Unfortunately, the system does not let me submit an Amex payment method from Luxembourg - "Your payment method is not valid in this Store. Please enter a new p

  • Why doesnt itunes recognize my iphone device

    My Iphone is not recognized by my Computer that uses windows 7 and latest version of Itunes. I deleted Itunes programs in Itunes in order. Reinstalled Itunes. My computer recognizes the device and lets me pull pictures off. But Itunes is still not sh

  • Timing a SQL query

    Hi Is there a way to time how long a SQL query takes to execute on the server itself? Currently I'm just whacking declare @blah datetime set @blah = getdate select datediff(ms, @blah, getdate()) at the front and back of the passed SQL string and then