Slow connection through Oracle ODBC

Hello,
I have problems with connecting to ORACLE fr om IIS (Win2000) using Oracle's ODBC driver.
I am using Oracle 8.1.7 SE. I tried to change connection pooling timeout of the ODBC driver, but still connections time out after a minute or so and it takes 6-8 seconds to load a simple web page that reads only ~ 1 kb of information from ORACLE. The time to establish a connection to MS (Access ,SQL server) is less than a second. How can I establish connections to ORACLE faster?
Please help,
thanks,
Gyorgy

Justin,
thanks for your quick replies.
Using Oracle ODBC 32Bit Test:
the connection seems instantaneous. I tried to enable connection pooling for Oracle ODBC driver with a wait in the pool for 600s. Maybe this will keep it live and I can instantiate a fake connection every 10 minutes? I do not what else I could try ...
Gyorgy
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
Can you try connecting via ODBCTest or via the 'Test Connection' button in the DSN creation dialog box, to see how long that takes? Your tnspings are certainly reasonable.
I'm curious as to whether you see a difference between connecting via a DSN or through a DSN-less connection string.
Justin<HR></BLOCKQUOTE>
null

Similar Messages

  • "stack overflow" when trying to connect with Oracle ODBC

    Hi,
    I'm trying to connect to Oracle DB (8.1.7.3.0) from WinNT 4.0 SP6 with Oracle ODBC driver 8.0.6.6.0. I've been trying to connect with "Oracle ODBC Test" and with "MS Query". In either way I end up with Dr. Watson reporting about "stack overflow". Before starting to upgrade ODBC driver I wanted to ask - should these versions of driver and DB work together at all (even unofficially)? Or may I be missing some other thing? Any hints, ideas are welcome.
    Regards,
    Madis Priilinn

    Thank You for replying, Justin!
    Yes, I can connect successfully to the database through other tools - at the moment I tried SQL*Plus, Net8 Easy Config and Schema Manager.
    The Oracle client in the NT machine is 8.0.5.0.0. And unfortunately I do not know anything about the Oracle installation on this machine and at the moment I don't have that person near me too whom to ask also. But I think the installation was ok, because the connection through ODBC was working before the DB upgrade as far as I understood (sorry, again at the moment I don't know what was the previous version of DB. I will ask that information as soon as possible).
    The main problem that bothers me at the moment is that I can't install 8.1.* series OraODBC driver with 8.0.5.0.0 Oracle Installer. I managed to install 8.0.6.6.0 version of the driver, but not the newer ones. As far as I've understood I have to upgrade the whole Oracle in the NT machine to upgrade that installer. Am I correct?
    Regards,
    Madis Priilinn

  • Why is my iphone 4s slow connecting through wifi

    hi, i've just got my new iphone 4s, all set up ok but when i want to go on the internet through wifi, it is painfully slow.
    connecting through 3g is fine, but wifi is a no go. the phone does recognise my network, just doesn't connect to the internet. any help would be great.
    many thanx

    You're welcome.
    You tried every thing listed/provided including resetting your router and checking/changing the channels along with everything included with this link?
    http://support.apple.com/kb/HT4199
    Have you reset network settings on the iPhone?
    Have you tried connecting the iPhone to any other wireless network? Any problem there?

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • OAS 10.1.2 - Slow connection to Oracle 10gR2 DB

    Hi,
    We have an application running on OAS 10.1.2.0.2 on Solaris 10 64bit edition. We have data sources configured to connect to a 10gR2 DB (10.2.0.4) using OCI drivers. When the application makes initial connection to the DB it takes 30 mins.... The application uses the OCI client library under <OAS_HOME>/lib directory. The server instance is started using the JDK bundled along with the app server.
    We also have a separate Instant client installation 10.1.0.5 which is certified to work with OAS 10.1.2 and JDK 1.4.2_19 on the same environment. We have a written a Java program to test the DB connectivity through OCI... When we either use the OCI libraries on OAS or the instant client we encounter an error saying wrong ELF class: ELFCLASS64 error
    We proceeded to execute the test program with -d64 switch to the java executable which cuased the program to connect instantly to the DB,
    The question is the OAS, Solaris, Instant client all are 64 bit editions but the JDK that comes bundled with OAS does not accept -d64 switch and causes it to terminate immediately.
    Can anybody tell me whether the JDK bundled with OAS 10.1.2 is 32 bit or 64 bit and does it cause performance or connectivity issues when trying to use along with 64 bit libraries.
    Thanks
    Karthik

    Hi,
    Do you have any LANG parameter at your environement variable ?.
    if U have just remove it then stop your metadata+as including your 8i DB.
    Then start all of them again & try to connect to your database.
    If it helps it's okay, otherwise let me know so we can go further for some other solutions. it 'll be little bit hard but I 'm thinking of upgrade your DB will be necessary.
    Regards,
    Hamdy

  • Connectivity Through Oracle Server

    The senario is that i have established Oracle 8.05 as a server and three Oracle 8 client in a LAN Environment.HOst naming Configuration technique make SQLPLUS of client to connect with Oracle server.i have also installed Developer 2000 on the CLient but the problem of connectivity of developer to oracle server bothers me so please give me some configuration technique about it asap
    Thanks

    hello,
    unfortunatly you do not describe your problem precisely, so i guess you can connect from sql-plus but not from developer.
    you have to define your databases in both ORACLE_HOMES. the easiest way is to copy the TNSNAMES.ORA file from the ORACLE_HOME of SQLPLUS to the ORACLE_HOME of DEVELOPER.
    regards,
    the oracle reports team

  • Decimal values truncated from SQL Call through Oracle ODBC

    Hi
    I'm using Oracle ODBC driver v 9.02.00.06; when I make a SQL call to query data from the Oracle ERP (PO_Lines_All), my decimal values are truncated. Instead of getting 112.25, I only get 112
    Can someone help me fix this problem?
    thanks

    The problem is commonly related to a language difference between Oracle and SQL Server.
    Try setting HS_LANGUAGE=american_america.we8mswin1252 in the intialisatuion file of HSODBC.
    Then start a new SQL*Plis session and give it a try.
    If you still have problems, set it to:
    HS_LANGUAGE=german_germany.we8mswin1252 in the

  • Slow Connection Through Base Station

    I have Virgin 10MB cable connection and it's normally bang on 10MB is measured using speedtest.net
    If I connect through my Airport Extreme Base Station I get between 1MB and 2MB.
    This never used to happen, started about 2-3 weeks ago. Can't see anything in the Airport config hat would really change this and certainly haven't made any config changes myself.
    This is for a wired connection - not tested wireless.
    Any help appreciated

    I have the same problem. I am using Virgin Media's 20Mb/s cable service with their cable modem.
    Connecting the modem directly to my Macbook, I get 18Mb/s at the ZDNet speedtest.
    Connecting a TimeCapsule (which is similar to an Airport Extreme) between the Macbook and the cable modem (wired, not wireless) the speed drops to 0.5Mb/s
    Previously, I was using an ADSL connection and the TimeCapsule worked fine.
    I have no solution but I would be very interested in resolving this issue.
    Thanks
    Andrew

  • Problem connecting through with ODBC driver

    I have a virtual machine (Win XP SP3) running Oracle 11.1.0.7.0. The name of the machine is UK010862.uk.int.**********.com.
    sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT)
    tsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = UK010862)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    I'm running this machine on a Windows 7 64bit dekstop which has Oracle InstantClient 11.2 installed.
    When I set up an ODBC connection on the Oracle server with the TSN name (ORCL), it works fine, I can connect to the listener. When I do it with hostname:port it fails.
    When I'm trying to connect from the Windows 7 machine, I can't connect at all. If I use the TSN name I get 'could not resolve the connect identifier specified' error. If I use the host:port I get 'listener was not given the SERVICE_NAME in CONNECT_DATA' error.
    I checked that I can ping the two machines from both ends. I have the hostname in the hosts file. I checked that the 1521 port is listening with telnet. I also have the TSN_ADMIN environmental variable set to the folder where the tsnames.ora file is on the server.
    What else am I possibly missing?
    Many thanks

    Sorted: tnsnames.ora file was missing on the client.

  • Slow connection to oracle 11g R2 database if no Internet connection

    Hi all,
    I've read some similar topics, but could not find a solution for my problem. I'm running Windows 7 Enterprise with a VMWare (Player) with a virtual Linux image on my machine (centos 5.4) in NAT connection mode. On the virtual machine I have installed an Oracle 11g R2 database. As long as I'm connected to Wi-FI or I'm plugged into my LAN network, I can access the database and run applications without a problem. But if I don't have an Internet connection, it's almost impossible to connect to the database or use certain applications.
    Thanks in advance for your help !
    Gianni
    Below the settings on my virtual machine:
    TNSNAMES.ora
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dmserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    LISTENER.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = dmserver)(PORT = 1521))
    ADR_BASE_LISTENER = /usr/local/software/oracle
    I also have a local loopback adaptor installed (below some info from my ifconfig):
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:9396 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9396 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3047584 (2.9 MiB) TX bytes:3047584 (2.9 MiB)
    Edited by: 939190 on Jun 7, 2012 2:04 AM

    Solved it by commenting out my nameserver in resolv.conf and adding my hostname explicitely to the etc/hosts file in Linux. A good thread on this is: Oracle connection extremely slow(Oracle 11G on Linux RHEL4)

  • Slow connection through a Linksys WET11

    Hi There! I have a WET11 connected to a slot loading iMac. It has been configured and picks up the Netgear WPN824 router, which is on the floor below.
    The iMac can connect to the internet but it is incredibly slow; slower than dial-up. How can I improve the speed through the WET11? Many thanks for your input. jd

    Hi There! I have a WET11 connected to a slot loading iMac. It has been configured and picks up the Netgear WPN824 router, which is on the floor below.
    The iMac can connect to the internet but it is incredibly slow; slower than dial-up. How can I improve the speed through the WET11? Many thanks for your input. jd

  • Iron port slow connection through firewall interface, data blanked out

    Hi Alll
    Installing a new pair of IronPort c170 appliances behind a ASA 5520 and currently getting blanked out response when connecting via telnet on port 25 to the outside interface.  Testing this internally there are no issues and the hostname is shown, but from the outside, response is very slow and some information is masked as xxxxxxx.
    Going through the ASA, esmtp stateful packet inspection is removed and the IPS has already been ruled out.
    Has anyone come accross this issue before. Please could you shine some light on this.
    Many thanks

    Hello James,
    when some of the information is masked, this means you still have SMTP fixup enabled on the ASA. I am not an expert on these devices, but here is an article on this topic that may be useful:
    Article #1816: Why do we see XXXXXXXA after EHLO and "500 #5.5.1 command not recognized" after STARTTLS? Link: http://tools.cisco.com/squish/E68cB
    Hope that helps.
    Andreas

  • Can't get Microsoft FrontPage to connect to Oracle 9.2i

    After considerble discussion in the microsoft.public.frontpage.client newsgroup (subject: "Database | Results ... won't ... through Oracle ODBC"), we had to give up and conclude that there didn't seem to be a straightforward way to connect to Oracle 9.2i via the FrontPage database wizard.
    I tried a system Oracle ODBC DSN via MS Access and it worked; but, ` can't get the same DSN to work from FrontPage. From FrontPage it generates a user/password error, though the same user/password works from MS Access.
    I tried an OLEDB connection and still received the following:
    Server error: Unable to connect to a database from the web server using the
    connection string 'Provider=MSDAORA; PWD=myPwd; UID=Administrator; Data
    Source=glOdb.mikecoughlin.net'.
    The following error message comes from the database driver software; it may
    appear in a different language depending on how the driver is configured.
    ORA-01017: invalid username/password; logon denied
    Source: Microsoft OLE DB Provider for Oracle
    Number: -2147217843 (0x80040e4d)
    I'm certain that this user/password combination is valid e.g. it works in Enterprise Manager to view tables etc.
    So, my question is:
    Does anyone have a/the workaround to use FrontPage to connect to Oracle 9.2i ?
    thanks,

    Trying use ODBC driver of Oracle Client, available on this Web Site.

  • Ms-access XP front-end and oracle ODBC driver

    Hi all,
    I need to set up 5 workstations with ms-access front end accessing an oracle database through Oracle ODBC 9.2.0.5.0 driver and linked tables.
    My main concern is to learn about any issues that may limit what can and can�t be done through access as opposed to an oracle client. I found out that the maximum size of an access XP database is 2GB, but I have not found accurate information as to the maximum number of records ms-access can handle per table. This would be of critical importance to me because the tables I'm working with may eventually hold up to hundreds of thousands of records.
    Concurrency control is also an important topic since 2 or more of the clients may at some point read or write information on the same tables.
    Answers to these questions and any other issues of special importance would be greatly appreciated.
    Thanks a lot,
    JP.

    Just seen this message you had posted to OTN. I am currently looking for some sample codes developing applications using MS Access as front end connected to Oracle database. I appreciate if you can provide me some sample codes that has a master-detail-relationship type of access form that performs an inserts into the master and detail table. Thanks a lot.

  • [Oracle][ODBC SQL Server Driver][libssclient22]General network error

    I am using oracle gateway (11.1) for sqlserver on Linux platform with Oracle Server 10g.
    I am getting following error when i run any select query:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][libssclient22]General network error. Check your network documentation.[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen (connect()).[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    ORA-02063: preceding 2 lines from SQLSERVER
    Another thing is, i have created a ODBC DSN named as "sqlserver" as well. This configuration works fine when "program" parameter is set to dg4odbc in Listener.ora. But with dg4msql, it gives error.
    Followings are the configuration files:
    initsqlserver.ora
    # HS init parameters
    HS_FDS_CONNECT_INFO=database_machine:1433//test_master
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    listener.ora
    SID_LIST_sqlserver =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0.6.0/gateway)
    (PROGRAM = dg4msql)
    sqlserver =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Server_Machine )(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
    tnsnames.ora
    SQLSERVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Server_Machine)(PORT = 1522))
    (CONNECT_DATA =
    (SID = sqlserver)
    (HS = OK)
    )

    Hi,
    The error you get is because your HS_FDS_CONNECT_STRING is not correct:
    Be sure you can ping the SQL SERVER name from the Oracle Server,or use TCP/IP address
    Check the port, it is not necessary 1433.
    You can use the instance name insted of port:
    HS_FDS_CONNECT_STRING=server_ip_address/instance_name/database_name
    Be careful, in the LISTENER.ORA, you must specify the Gateway machine and not the SQL SERVER machine:
    sqlserver =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gateway_Machine )(PORT = 1522)) <====you must specify Oracle Gateway machine
    (ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
    Idem for TNSNAMES.ORA:
    SQLSERVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gateway_Machine)(PORT = 1522))
    (CONNECT_DATA =
    (SID = sqlserver)
    (HS = OK)
    Regards
    Mireille

Maybe you are looking for

  • IPod no longer connects to home Wi-Fi at distance

    Got home yesterday to find that my iPod only connects to my WiFi when I'm right in front of the hub (BT). I can no longer get WiFi on my iPod anywhere in the house (where I always had 2 bars of signal), but all other devices (tablet, phone, xbox, lap

  • How to handle error while using dbms_sql.execute

    Hi, I am inserting some records by using the following piece of code. stmt := 'insert into SSI_KPI_GOAL_VALUE_H (KPI_VAL_KPI_ID, KPI_VAL_RM_CDE,'|| v_day_value ||',KPI_VAL_ACT_DLY,'||v_month_val||',KPI_VAL_BIZ_UNIT_CDE) values (:kpi_array,:rm_array,:

  • Spaces Keyboard Freeze, Possible Insight?

    I’m one of the thousands who are struggling with the use of Spaces and the locked up keyboard.  When I use my keyboard to move between spaces, the Spaces image remains on the screen, freezing up my keyboard so that only limited buttons still work.  T

  • HR-US-TX

    Hi Experts, I am getting PY driver error for AZ tax authority employees for US. I need to check whether BTXRATE table on both SAP and BSI is maintained with same rate for the tax authorities. How can i check this on BSI side? Please advice. Regards,

  • FRM-47313

    Hi all, I work in Forms 6.0. I have constructed an tree item and I used a query to populate it. The format of query is: select 1,level,ename,null,to_char(empno) from emp connect by prior empno=mgr start with MGR IS NULL I used the apropriate PRE-BLOC