473,651 Members | 2,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OpenWithService Components 5 times slower for Oracle than for SQL Server?

Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection, while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin
Jul 19 '05 #1
5 2522

"Florin" <fm****@yahoo.d e> wrote in message
news:e5******** *************** ***@posting.goo gle.com...
Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection, while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin

What about subsequent times? Is the machine (server) swapping? MS
SqlServer is known to take all the ram on the machine and that could do it.
(try shuting down the instance and see if it makes a difference). It is
hard to say since you are going through a lot of non-native stuff. So who
knows what it is doing.
Jim
Jul 19 '05 #2
"Jim Kennedy" <ke************ *************** *@attbi.net> wrote in message news:<B7Fjc.135 $Rd4.61591@attb i_s51>...
"Florin" <fm****@yahoo.d e> wrote in message
news:e5******** *************** ***@posting.goo gle.com...
Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection, while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin

What about subsequent times? Is the machine (server) swapping? MS
SqlServer is known to take all the ram on the machine and that could do it.
(try shuting down the instance and see if it makes a difference). It is
hard to say since you are going through a lot of non-native stuff. So who
knows what it is doing.
Jim


What I did was to open and close the connection 1000 times and take
the average response time for this operation. No DB queries were
involved. I have 1 GB RAM, there is also no swapping involved. It just
seems that the connection pooling is still much slower in Oracle than
in SQL Server (about 5 times) and I would like to know why...

Florin
Jul 19 '05 #3
Florin wrote:
"Jim Kennedy" <ke************ *************** *@attbi.net> wrote in message news:<B7Fjc.135 $Rd4.61591@attb i_s51>...
"Florin" <fm****@yahoo.d e> wrote in message
news:e5****** *************** *****@posting.g oogle.com...
Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection , while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin


What about subsequent times? Is the machine (server) swapping? MS
SqlServer is known to take all the ram on the machine and that could do it.
(try shuting down the instance and see if it makes a difference). It is
hard to say since you are going through a lot of non-native stuff. So who
knows what it is doing.
Jim

What I did was to open and close the connection 1000 times and take
the average response time for this operation. No DB queries were
involved. I have 1 GB RAM, there is also no swapping involved. It just
seems that the connection pooling is still much slower in Oracle than
in SQL Server (about 5 times) and I would like to know why...

Florin

Use IPC (or even better BEQ) stack instead of TCP/IP.

--

Regards,
Frank van Bortel

Jul 19 '05 #4

"Florin" <fm****@yahoo.d e> wrote in message
news:e5******** *************** ***@posting.goo gle.com...
"Jim Kennedy" <ke************ *************** *@attbi.net> wrote in message

news:<B7Fjc.135 $Rd4.61591@attb i_s51>...
"Florin" <fm****@yahoo.d e> wrote in message
news:e5******** *************** ***@posting.goo gle.com...
Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection, while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin

What about subsequent times? Is the machine (server) swapping? MS
SqlServer is known to take all the ram on the machine and that could do it. (try shuting down the instance and see if it makes a difference). It is
hard to say since you are going through a lot of non-native stuff. So who knows what it is doing.
Jim


What I did was to open and close the connection 1000 times and take
the average response time for this operation. No DB queries were
involved. I have 1 GB RAM, there is also no swapping involved. It just
seems that the connection pooling is still much slower in Oracle than
in SQL Server (about 5 times) and I would like to know why...

Florin


Sounds like your connection pooling thing isn't doing its stuff.
Jim
Jul 19 '05 #5
Frank van Bortel <fv********@net scape.net> wrote in message news:<c6******* ***@news4.tilbu 1.nb.home.nl>.. .
Florin wrote:
"Jim Kennedy" <ke************ *************** *@attbi.net> wrote in message news:<B7Fjc.135 $Rd4.61591@attb i_s51>...
"Florin" <fm****@yahoo.d e> wrote in message
news:e5****** *************** *****@posting.g oogle.com...

Hi,

I am experiencing some problems accessing an Oracle database through
OLE DB from an MTS application using OpenWithService Components (which
is supposed to give me connection pooling).
When I connect to a SQL Server database it only takes 3.1 ms to open a
connection , while with Oracle it takes 15.5 ms (both DB's running on
the same machine).
Am I doing something wrong, am I missing something here?
I have tried to use the plain Open method, but in this case it takes
5.4 ms with SQL Server and 31.4 ms with Oracle.
Is Oracle really that much slower when accessing it through OLE DB?

Thanks for any advice/hints!
Florin

What about subsequent times? Is the machine (server) swapping? MS
SqlServer is known to take all the ram on the machine and that could do it.
(try shuting down the instance and see if it makes a difference). It is
hard to say since you are going through a lot of non-native stuff. So who
knows what it is doing.
Jim

What I did was to open and close the connection 1000 times and take
the average response time for this operation. No DB queries were
involved. I have 1 GB RAM, there is also no swapping involved. It just
seems that the connection pooling is still much slower in Oracle than
in SQL Server (about 5 times) and I would like to know why...

Florin

Use IPC (or even better BEQ) stack instead of TCP/IP.


I tried IPC, same results.
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4032
by: Ton | last post by:
I have a question about connectivity between different databases. Oracle, DB2400 and SQL_server. It is easy to integrate application products that are running on different DB platforms? What products can be used to achieve this? Our consultant is mentioning .NET but then we have to run everything on SQL server. Currently we are running on Oracle but our third party generic applications are first developed for SQL server and later...
14
2825
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant number) linking (and sometimes compiling) becomes immensely slow, and task manager shows that link.exe (or cl.exe) is barely using any processor time, but an awful lot of RAM (around 150-200MB). I'm going to keep an eye on page faults since I can't...
87
4937
by: John Rivers | last post by:
Hello everybody, I just wondered if anybody else has noticed this? It takes around 6 seconds to start debugging a very simple ASPX page with VS.NET whereas VB6 takes under 0.5 seconds, even with very large and complex projects. This is a real shame :(
42
6735
by: Paul | last post by:
Anyone know where I can find some good resources to help us choose between SQL and Oracle ( Progress Openedge as well ) . Any comments on what you would choose ?? We are creating a new Warehouse Management System which wil manage our very large inventory. Anyway comments suggestions welcome Thanks Paul
15
1887
by: wizofaus | last post by:
I have a chunk of code which is essentially IDbCommand cmd = db.CreateCommand(); cmd.CommandText = "SELECT X, Y, Count(*) FROM Foo WHERE Z = 1 GROUP BY X, Y"; using (IDataReader reader = cmd.ExecuteReader()) while (reader.Read()) { // grab values from query }
0
1962
by: anneeny | last post by:
Hi there... My company has implemented Oracle Financials and Project applications in 1999 as a part of Y2K project. Oracle 11.0.3 Applications are implemented in 3-tier configuration as per the details given below:- Database Tier: The database tier consists of Intel Server running Windows 2000. This server is dedicated to host ORACLE FINANCIALS DATABASES (8i Enterprise Edition with 8.1.7.4.6 patch set) both for the production and test...
5
126
by: Florin | last post by:
Hi, I am experiencing some problems accessing an Oracle database through OLE DB from an MTS application using OpenWithServiceComponents (which is supposed to give me connection pooling). When I connect to a SQL Server database it only takes 3.1 ms to open a connection, while with Oracle it takes 15.5 ms (both DB's running on the same machine). Am I doing something wrong, am I missing something here? I have tried to use the plain Open...
1
2544
by: Chris Hohmann | last post by:
"Mujahid" <mujahid@iqura.netwrote in message news:OuhAYozFAHA.271@cppssbbsa04... me Oracle Database Utilities (Data Pump/SQL Loader) http://otn.oracle.com/products/database/utilities/index.html Oracle OLAP http://otn.oracle.com/products/bi/olap/olap.html
0
4632
by: sathyguy | last post by:
when i type the below in my RHEL AS 4's Firefox 1.5 http://appsworld.ncc.com:7777/forms/...&form=test.fmx iam getting the below error... The requested URL /forms/frmservlet was not found on this server. formsweb.cfg contents...... baseHTML=/u01/app/oracle/OraHome_1/forms/server/base.htm
0
8352
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8579
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7297
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.